From: stillcompiling@gmail.com (Joshua Clayton)
To: linux-arm-kernel@lists.infradead.org
Subject: [RCF 3/3] ARM: imx6q-evi: ads ads1118 support
Date: Fri, 15 Jul 2016 17:18:23 -0700 [thread overview]
Message-ID: <582a9226dab419d27ea90e21c723856e4669a81c.1468626668.git.stillcompiling@gmail.com> (raw)
In-Reply-To: <cover.1468626668.git.stillcompiling@gmail.com>
add support to imx6q-evi for the 3 ADS1118 temperature/adc units,
now that is has has a kernel driver
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
---
arch/arm/boot/dts/imx6q-evi.dts | 90 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts
index 4fa5601..7e175bf 100644
--- a/arch/arm/boot/dts/imx6q-evi.dts
+++ b/arch/arm/boot/dts/imx6q-evi.dts
@@ -105,6 +105,66 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi3 &pinctrl_ecspi3cs>;
status = "okay";
+
+ temp1: adc at 0 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ cpu-v at 0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ cpld at 1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ vocm at 2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ fpga at 3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
+
+ adc2: adc at 1 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ signal at 0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ signal at 1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ probedrive at 2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ probedrive at 3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
};
&ecspi5 {
@@ -126,6 +186,36 @@
reg = <1>;
};
+ temp0: temp at 2 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ analog-x at 0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ analog-y at 1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ main-12v at 2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ battbox at 3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
+
pb_rtc: rtc at 3 {
compatible = "nxp,rtc-pcf2123";
spi-max-frequency = <2450000>;
--
2.7.4
prev parent reply other threads:[~2016-07-16 0:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 0:18 [RCF 0/3] hwmon: add driver for TI ADS1118 Joshua Clayton
2016-07-16 0:18 ` [RCF 1/3] hwmon: Add ads1118 driver Joshua Clayton
2016-07-16 1:40 ` Guenter Roeck
2016-07-22 14:39 ` Joshua Clayton
2016-07-23 1:20 ` ADS1118: hwmon or iio ? [was: Re: [RCF 1/3] hwmon: Add ads1118 driver] Guenter Roeck
2016-07-23 5:43 ` Jonathan Cameron
2016-07-23 6:02 ` [RCF 1/3] hwmon: Add ads1118 driver Jonathan Cameron
2016-07-16 17:22 ` kbuild test robot
2016-07-16 0:18 ` [RCF 2/3] hwmon: Document bindings for ads1118 adc driver Joshua Clayton
2016-07-17 20:34 ` Rob Herring
2016-07-18 12:51 ` Joshua Clayton
2016-07-16 0:18 ` Joshua Clayton [this message]
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=582a9226dab419d27ea90e21c723856e4669a81c.1468626668.git.stillcompiling@gmail.com \
--to=stillcompiling@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).