Commit 72c1d110 authored by Alexander Stein's avatar Alexander Stein Committed by Jonathan Cameron
Browse files

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: db73419d ("dt-bindings: iio: adc: Add binding documentation for NXP IMX8QXP ADC")
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: default avatarHaibo Chen <haibo.chen@nxp.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230424092312.61746-1-alexander.stein@ew.tq-group.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3e27ef0c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@ properties:
  power-domains:
    maxItems: 1

  vref-supply:
    description: |
      External ADC reference voltage supply on VREFH pad. If VERID[MVI] is
      set, there are additional, internal reference voltages selectable.
      VREFH1 is always from VREFH pad.

  "#io-channel-cells":
    const: 1

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