lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <582a9226dab419d27ea90e21c723856e4669a81c.1468626668.git.stillcompiling@gmail.com>
Date:	Fri, 15 Jul 2016 17:18:23 -0700
From:	Joshua Clayton <stillcompiling@...il.com>
To:	Rob Herring <robh+dt@...nel.org>,
	Mark Rutland <mark.rutland@....com>,
	Shawn Guo <shawnguo@...nel.org>,
	Sascha Hauer <kernel@...gutronix.de>,
	Fabio Estevam <fabio.estevam@....com>,
	Russell King <linux@...linux.org.uk>,
	Jean Delvare <jdelvare@...e.com>,
	Guenter Roeck <linux@...ck-us.net>, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-hwmon@...r.kernel.org
Cc:	Joshua Clayton <stillcompiling@...il.com>
Subject: [RCF 3/3] ARM: imx6q-evi: ads ads1118 support

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@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ