Skip to contentSkip to conversation

ARM: dts: imx6ul-tqma6ulx-common: add vref-supply for ADC

PATCH New Alexander Stein 1 participant 2 messages Nov 11

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: imx6ul-tqma6ulx-common: add vref-supply for ADC

From: Markus Niebel <[email protected]>

On MBa6ULx no ADC channel is available as the pads are muxed to different functions. Provide the correct reference voltage in case ADC is used on a different mainboard.

---
 arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi +4 -0
index 5c90d0a3ee2e7..1cb1791f64a45 100644
@@ -10,6 +10,10 @@
  * - TQMa6ULLx
  */
 
+&adc1 {
+	vref-supply = <&reg_sw2>;
+};
+
 &m24c64_50 {
 	vcc-supply = <&reg_sw2>;
 };
Signature · 1 line
2.55.0
#1 lore raw

PATCH 2/2 ARM: dts: imx6ul-tqma6ulxl-common: add vref-supply for ADC

From: Markus Niebel <[email protected]>

On MBa6ULx no ADC channel is available as the pads are muxed to different functions. Provide the correct reference voltage in case ADC is used on a different mainboard.

---
 arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi +4 -0
index 133961ee72831..fa117acdfcb27 100644
@@ -20,6 +20,10 @@ reg_vin: reg-vin {
 	};
 };
 
+&adc1 {
+	vref-supply = <&reg_vin>;
+};
+
 &m24c64_50 {
 	vcc-supply = <&reg_vin>;
 };
Signature · 1 line
2.55.0