lkml.org 
[lkml]   [2016]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/7] ARM: dtsi: sun8i-a33: add A33 thermal sensor
    Date
    This adds the DT node for the thermal sensor present in the Allwinner
    A33 GPADC.

    Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
    ---
    arch/arm/boot/dts/sun8i-a33.dtsi | 12 ++++++++++++
    1 file changed, 12 insertions(+)

    diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi
    index 2878a77..1fcae81 100644
    --- a/arch/arm/boot/dts/sun8i-a33.dtsi
    +++ b/arch/arm/boot/dts/sun8i-a33.dtsi
    @@ -151,6 +151,13 @@
    reset-names = "ahb";
    };

    + rtp: rtp@01c25000 {
    + compatible = "allwinner,sun8i-a33-gpadc-iio";
    + reg = <0x01c25000 0x100>;
    + #thermal-sensor-cells = <0>;
    + #io-channel-cells = <0>;
    + };
    +
    fe0: display-frontend@01e00000 {
    compatible = "allwinner,sun8i-a33-display-frontend";
    reg = <0x01e00000 0x20000>;
    @@ -261,6 +268,11 @@
    };
    };
    };
    +
    + iio-hwmon {
    + compatible = "iio-hwmon";
    + io-channels = <&rtp>;
    + };
    };

    &ccu {
    --
    2.9.3
    \
     
     \ /
      Last update: 2016-12-20 11:31    [W:4.441 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site