[PATCH linux dev-5.8 v3 02/12] dt-binding: iio: add syscon property to NPCM ADC

Joel Stanley joel at jms.id.au
Fri Jan 15 17:27:26 AEDT 2021


On Wed, 13 Jan 2021 at 20:00, Tomer Maimon <tmaimon77 at gmail.com> wrote:
>
> Add syscon property to NPCM ADC to handle FUSE
> registers.
>
> Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>

Reviewed-by: Joel Stanley <joel at jms.id.au>

> ---
>  Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt
> index ef8eeec1a997..faf9f9b54f5b 100644
> --- a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt
> +++ b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt
> @@ -14,6 +14,7 @@ Optional properties:
>  - vref-supply: The regulator supply ADC reference voltage, in case the
>                            vref-supply is not added the ADC will use internal voltage
>                            reference.
> +- syscon: a phandle to access FUSE registers
>
>  Example:
>
> @@ -23,4 +24,5 @@ adc: adc at f000c000 {
>         interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
>         clocks = <&clk NPCM7XX_CLK_ADC>;
>         resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;
> +       syscon = <&fuse>;
>  };
> --
> 2.22.0
>


More information about the openbmc mailing list