From: Florian Larysch <fl@n621.de>
To: Scott Wood <oss@buserror.net>
Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
Florian Larysch <fl@n621.de>
Subject: [PATCH v2 1/2] powerpc/dts: add device tree entry for W83793 on T4240RDB
Date: Thu, 17 Nov 2016 11:23:23 +0100 [thread overview]
Message-ID: <20161117102324.18319-2-fl@n621.de> (raw)
In-Reply-To: <20161117102324.18319-1-fl@n621.de>
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
next prev parent reply other threads:[~2016-11-17 10:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161117102324.18319-2-fl@n621.de \
--to=fl@n621.de \
--cc=devicetree@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=oss@buserror.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).