mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
arm64: dts: imx8-apalis: specify adc reference voltage regulator
This sets in_voltage_scale to calculate the measured voltage from the raw digital value of the ADC. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
committed by
Shawn Guo
parent
a2c79d55bd
commit
4a59771555
@@ -284,11 +284,13 @@
|
|||||||
&adc0 {
|
&adc0 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_adc0>;
|
pinctrl-0 = <&pinctrl_adc0>;
|
||||||
|
vref-supply = <®_vref_1v8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&adc1 {
|
&adc1 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_adc1>;
|
pinctrl-0 = <&pinctrl_adc1>;
|
||||||
|
vref-supply = <®_vref_1v8>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpu_alert0 {
|
&cpu_alert0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user