summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp135f-dk.dts
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2022-10-12 17:22:04 +0300
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2022-10-24 12:11:38 +0300
commitab2806ddad9d94e449f962a15035846c80f89738 (patch)
tree20c7484206a0f35e1db603cc15350478cfb9161f /arch/arm/boot/dts/stm32mp135f-dk.dts
parent022932ab55fd0181aa3cf52f8c757b74acf01131 (diff)
downloadlinux-ab2806ddad9d94e449f962a15035846c80f89738.tar.xz
ARM: dts: stm32: add dummy vdd_adc regulator on stm32mp135f-dk
Add a dummy fixed regulator vdd-adc for STM32 ADC, on STM32MP135F-DK board, while SCMI regulators are not available. This patch will have to be removed when SCMI regulator support is added to STM32MP13. This patch intends to allow ADC enabling on STM32MP13. With this patch the ADC can probe but it cannot return valid conversion data, as it's regulator is not actually enabled. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp135f-dk.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp135f-dk.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts
index 5cdd9e3756a8..c1c4b5ac8128 100644
--- a/arch/arm/boot/dts/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/stm32mp135f-dk.dts
@@ -59,6 +59,14 @@
};
};
+ vdd_adc: vdd-adc {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_adc";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
vdd_sd: vdd-sd {
compatible = "regulator-fixed";
regulator-name = "vdd_sd";