devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] T4240RBD: add device tree entry for W83793
@ 2016-11-17 10:23 Florian Larysch
  2016-11-17 10:23 ` [PATCH v2 1/2] powerpc/dts: add device tree entry for W83793 on T4240RDB Florian Larysch
  2016-11-17 10:23 ` [PATCH v2 2/2] DT: i2c: W83793 is a trivial device Florian Larysch
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Larysch @ 2016-11-17 10:23 UTC (permalink / raw)
  To: Scott Wood; +Cc: devicetree, linuxppc-dev, Florian Larysch

v2:
 - Ordered DT nodes by address
 - Added an entry for the chip to the trivial-devices list

Florian Larysch (2):
  powerpc/dts: add device tree entry for W83793 on T4240RDB
  DT: i2c: W83793 is a trivial device

 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 arch/powerpc/boot/dts/fsl/t4240rdb.dts                    | 4 ++++
 2 files changed, 5 insertions(+)

-- 
2.10.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/2] powerpc/dts: add device tree entry for W83793 on T4240RDB
  2016-11-17 10:23 [PATCH v2 0/2] T4240RBD: add device tree entry for W83793 Florian Larysch
@ 2016-11-17 10:23 ` Florian Larysch
  2016-11-17 10:23 ` [PATCH v2 2/2] DT: i2c: W83793 is a trivial device Florian Larysch
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Larysch @ 2016-11-17 10:23 UTC (permalink / raw)
  To: Scott Wood; +Cc: devicetree, linuxppc-dev, Florian Larysch

The T4240RDB contains a W83793 hardware monitoring chip. Add a device
tree entry to make the driver attach to it, as the i2c-mpc bus driver
dropped support for class-based instantiation of devices a long time
ago.

Signed-off-by: Florian Larysch <fl@n621.de>
---
 arch/powerpc/boot/dts/fsl/t4240rdb.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/t4240rdb.dts b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
index cc0a264..8166c66 100644
--- a/arch/powerpc/boot/dts/fsl/t4240rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t4240rdb.dts
@@ -125,6 +125,10 @@
 		};
 
 		i2c@118000 {
+			hwmon@2f {
+				compatible = "winbond,w83793";
+				reg = <0x2f>;
+			};
 			eeprom@52 {
 				compatible = "at24,24c256";
 				reg = <0x52>;
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] DT: i2c: W83793 is a trivial device
  2016-11-17 10:23 [PATCH v2 0/2] T4240RBD: add device tree entry for W83793 Florian Larysch
  2016-11-17 10:23 ` [PATCH v2 1/2] powerpc/dts: add device tree entry for W83793 on T4240RDB Florian Larysch
@ 2016-11-17 10:23 ` Florian Larysch
       [not found]   ` <20161117102324.18319-3-fl-J+Jo6bLUB7M@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Florian Larysch @ 2016-11-17 10:23 UTC (permalink / raw)
  To: Scott Wood; +Cc: devicetree, linuxppc-dev, Florian Larysch

Signed-off-by: Florian Larysch <fl@n621.de>
---
 Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index fbbad64..c65aff0 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -158,4 +158,5 @@ ti,tsc2003		I2C Touch-Screen Controller
 ti,tmp102		Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
 ti,tmp103		Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
 ti,tmp275		Digital Temperature Sensor
+winbond,w83793		Winbond/Nuvoton H/W Monitor
 winbond,wpct301		i2c trusted platform module (TPM)
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 2/2] DT: i2c: W83793 is a trivial device
       [not found]   ` <20161117102324.18319-3-fl-J+Jo6bLUB7M@public.gmane.org>
@ 2016-11-18 14:30     ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2016-11-18 14:30 UTC (permalink / raw)
  To: Florian Larysch
  Cc: Scott Wood, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On Thu, Nov 17, 2016 at 11:23:24AM +0100, Florian Larysch wrote:
> Signed-off-by: Florian Larysch <fl-J+Jo6bLUB7M@public.gmane.org>
> ---
>  Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-18 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-17 10:23 [PATCH v2 0/2] T4240RBD: add device tree entry for W83793 Florian Larysch
2016-11-17 10:23 ` [PATCH v2 1/2] powerpc/dts: add device tree entry for W83793 on T4240RDB Florian Larysch
2016-11-17 10:23 ` [PATCH v2 2/2] DT: i2c: W83793 is a trivial device Florian Larysch
     [not found]   ` <20161117102324.18319-3-fl-J+Jo6bLUB7M@public.gmane.org>
2016-11-18 14:30     ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).