Thread (22 messages) 22 messages, 3 authors, 2022-05-11

Re: [PATCH v4 08/13] ARM: dts: lan966x: add hwmon node

From: <hidden>
Date: 2022-05-09 06:27:21
Also in: linux-devicetree, lkml

On 03.05.2022 01:41, Michael Walle wrote:
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Add the monitoring node which covers the temperature sensor as well as
the PWM controller and the FAN tacho input.

Signed-off-by: Michael Walle <redacted>
Reviewed-by: Claudiu Beznea <redacted>

quoted hunk ↗ jump to hunk
---
 arch/arm/boot/dts/lan966x.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi
index 342c8cee2b9a..64290fb43926 100644
--- a/arch/arm/boot/dts/lan966x.dtsi
+++ b/arch/arm/boot/dts/lan966x.dtsi
@@ -444,6 +444,14 @@ sgpio_out: gpio@1 {
                        };
                };

+               hwmon: hwmon@e2010180 {
+                       compatible = "microchip,lan9668-hwmon";
+                       reg = <0xe2010180 0xc>,
+                             <0xe20042a8 0xc>;
+                       reg-names = "pvt", "fan";
+                       clocks = <&sys_clk>;
+               };
+
                gic: interrupt-controller@e8c11000 {
                        compatible = "arm,gic-400", "arm,cortex-a7-gic";
                        #interrupt-cells = <3>;
--
2.30.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help