Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444692 > unrolled thread
| Started by | Joshua Clayton <stillcompiling@gmail.com> |
|---|---|
| First post | 2016-07-16 02:20 +0200 |
| Last post | 2016-07-16 02:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[RCF 3/3] ARM: imx6q-evi: ads ads1118 support Joshua Clayton <stillcompiling@gmail.com> - 2016-07-16 02:20 +0200
| From | Joshua Clayton <stillcompiling@gmail.com> |
|---|---|
| Date | 2016-07-16 02:20 +0200 |
| Subject | [RCF 3/3] ARM: imx6q-evi: ads ads1118 support |
| Message-ID | <rVluN-5cw-9@gated-at.bofh.it> |
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@0 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ cpu-v@0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ cpld@1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ vocm@2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ fpga@3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
+
+ adc2: adc@1 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ signal@0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ signal@1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ probedrive@2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ probedrive@3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
};
&ecspi5 {
@@ -126,6 +186,36 @@
reg = <1>;
};
+ temp0: temp@2 {
+ compatible = "ti,ads1118";
+ spi-max-frequency = <500000>;
+ spi-cpha;
+ reg = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,tempsensor;
+ analog-x@0 {
+ reg = <0>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ analog-y@1 {
+ reg = <1>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ main-12v@2 {
+ reg = <2>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ battbox@3 {
+ reg = <3>;
+ ti,fullscale = <6144000>;
+ ti,datarate = <860>;
+ };
+ };
+
pb_rtc: rtc@3 {
compatible = "nxp,rtc-pcf2123";
spi-max-frequency = <2450000>;
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web