[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <06aa0e2a7958c81fb6d3ab9c23164156@agner.ch>
Date: Tue, 16 Feb 2016 09:50:08 -0800
From: Stefan Agner <stefan@...er.ch>
To: Sanchayan Maity <maitysanchayan@...il.com>
Cc: linux@...ck-us.net, shawnguo@...nel.org, jdelvare@...e.com,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, lm-sensors@...sensors.org
Subject: Re: [PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC
temperature channel
On 2016-02-15 21:00, Sanchayan Maity wrote:
> Add iio-hwmon node to expose the temperature channel on Vybrid as
> hardware monitor device using the iio_hwmon driver.
>
> Signed-off-by: Sanchayan Maity <maitysanchayan@...il.com>
Acked-by: Stefan Agner <stefan@...er.ch>
> ---
> arch/arm/boot/dts/vfxxx.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
> index a5f07e3..24ac5b1 100644
> --- a/arch/arm/boot/dts/vfxxx.dtsi
> +++ b/arch/arm/boot/dts/vfxxx.dtsi
> @@ -673,5 +673,10 @@
> status = "disabled";
> };
> };
> +
> + iio-hwmon {
> + compatible = "iio-hwmon";
> + io-channels = <&adc0 16>, <&adc1 16>;
> + };
> };
> };
Powered by blists - more mailing lists