lkml.org 
[lkml]   [2020]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/5] ARM: dts: vf610-zii-ssmb-spu3: Add voltage monitor DT node
    Date
    Add a DT node for various voltage supply rails connected to SoC's ADC
    for voltage monitoring purposes.

    Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
    Cc: Chris Healy <cphealy@gmail.com>
    Cc: Fabio Estevam <festevam@gmail.com>
    Cc: Shawn Guo <shawnguo@kernel.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    ---
    arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts | 8 ++++++++
    1 file changed, 8 insertions(+)

    diff --git a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts
    index 453fce80f858..3d05c894bdc0 100644
    --- a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts
    +++ b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts
    @@ -46,6 +46,14 @@
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    };
    +
    + supply-voltage-monitor {
    + compatible = "iio-hwmon";
    + io-channels = <&adc0 8>, /* 12V_MAIN */
    + <&adc0 9>, /* +3.3V */
    + <&adc1 8>, /* VCC_1V5 */
    + <&adc1 9>; /* VCC_1V2 */
    + };
    };

    &adc0 {
    --
    2.21.0
    \
     
     \ /
      Last update: 2020-01-14 16:20    [W:14.057 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site