Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1440986

[PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

From Hoan Tran <hotran@apm.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree
Date 2016-07-12 02:40 +0200
Message-ID <rTTTX-5WU-7@gated-at.bofh.it> (permalink)
References <rTTTX-5WU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds DT node to enable hwmon driver for APM X-Gene SoC.

Signed-off-by: Hoan Tran <hotran@apm.com>
---
 arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 +++++
 arch/arm64/boot/dts/apm/apm-storm.dtsi     | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
index c569f76..a5935f5 100644
--- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
@@ -472,6 +472,11 @@
 			mboxes = <&mailbox 0>;
 		};
 
+		hwmonslimpro {
+			compatible = "apm,xgene-slimpro-hwmon";
+			mboxes = <&mailbox 7>;
+		};
+
 		serial0: serial@10600000 {
 			device_type = "serial";
 			compatible = "ns16550";
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 5147d76..f8ea5b5 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -716,6 +716,11 @@
 			mboxes = <&mailbox 0>;
 		};
 
+		hwmonslimpro {
+			compatible = "apm,xgene-slimpro-hwmon";
+			mboxes = <&mailbox 7>;
+		};
+
 		serial0: serial@1c020000 {
 			status = "disabled";
 			device_type = "serial";
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] hwmon: xgene: Add support for X-Gene hwmon driver Hoan Tran <hotran@apm.com> - 2016-07-12 02:40 +0200
  [PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Hoan Tran <hotran@apm.com> - 2016-07-12 02:40 +0200
    Re: [PATCH v2 1/3] Documentation: dtb: xgene: Add hwmon dts binding  documentation Rob Herring <robh@kernel.org> - 2016-07-16 21:30 +0200
  [PATCH v2 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Hoan Tran <hotran@apm.com> - 2016-07-12 02:40 +0200
  [PATCH v2 2/3] hwmon: xgene: Add hwmon driver Hoan Tran <hotran@apm.com> - 2016-07-12 02:40 +0200
    Re: [PATCH v2 2/3] hwmon: xgene: Add hwmon driver Guenter Roeck <linux@roeck-us.net> - 2016-07-16 18:40 +0200
      Re: [PATCH v2 2/3] hwmon: xgene: Add hwmon driver Hoan Tran <hotran@apm.com> - 2016-07-18 23:40 +0200

csiph-web