Skip to content

Commit 72c1d11

Browse files
tq-steinajic23
authored andcommitted
dt-bindings: iio: imx8qxp-adc: add missing vref-supply
Although this property is used right now for IIO_CHAN_INFO_SCALE, this ADC has two internal reference voltages, which the driver currently doesn't make use of. Fixes: db73419 ("dt-bindings: iio: adc: Add binding documentation for NXP IMX8QXP ADC") Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Haibo Chen <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 3e27ef0 commit 72c1d11

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ properties:
3939
power-domains:
4040
maxItems: 1
4141

42+
vref-supply:
43+
description: |
44+
External ADC reference voltage supply on VREFH pad. If VERID[MVI] is
45+
set, there are additional, internal reference voltages selectable.
46+
VREFH1 is always from VREFH pad.
47+
4248
"#io-channel-cells":
4349
const: 1
4450

@@ -72,6 +78,7 @@ examples:
7278
assigned-clocks = <&clk IMX_SC_R_ADC_0>;
7379
assigned-clock-rates = <24000000>;
7480
power-domains = <&pd IMX_SC_R_ADC_0>;
81+
vref-supply = <&reg_1v8>;
7582
#io-channel-cells = <1>;
7683
};
7784
};

0 commit comments

Comments
 (0)