lkml.org 
[lkml]   [2020]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 2/3] arm64: dts: sparx5: Add hwmon temperature sensor
    Date
    This adds a hwmon temperature node sensor to the Sparx5 SoC.

    Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
    ---
    arch/arm64/boot/dts/microchip/sparx5.dtsi | 6 ++++++
    1 file changed, 6 insertions(+)

    diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi
    index c9dbd1a8b22b6..49d4f289b9026 100644
    --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi
    +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi
    @@ -244,5 +244,11 @@ i2c1: i2c@600103000 {
    clock-frequency = <100000>;
    clocks = <&ahb_clk>;
    };
    +
    + tmon0: tmon@610508110 {
    + compatible = "microchip,sparx5-temp";
    + reg = <0x6 0x10508110 0xc>;
    + #thermal-sensor-cells = <0>;
    + };
    };
    };
    --
    2.27.0
    \
     
     \ /
      Last update: 2020-06-16 10:27    [W:4.893 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site