[PATCH dev-4.10] ARM: dts: aspeed: quanta: Add iio-hwmon

Joel Stanley joel at jms.id.au
Thu Sep 7 11:46:00 AEST 2017


On Thu, Sep 7, 2017 at 7:48 AM, Patrick Venture <venture at google.com> wrote:
> Signed-off-by: Patrick Venture <venture at google.com>

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

> ---
>  arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> index cab64e4230c5..0ff3af7ed871 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> @@ -93,6 +93,13 @@
>                         aspeed,fan-tach-ch = /bits/ 8 <0x07>;
>                 };
>         };
> +
> +       iio-hwmon {
> +               compatible = "iio-hwmon";
> +               io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
> +                       <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
> +                       <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>;
> +       };
>  };
>
>  &fmc {
> --
> 2.14.1.581.gf28d330327-goog
>


More information about the openbmc mailing list