arm: am33xx: add TSC/ADC mfd device support
authorPatil, Rachna <rachna@ti.com>
Thu, 24 Jan 2013 03:45:12 +0000 (03:45 +0000)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 12 Jun 2013 16:50:20 +0000 (18:50 +0200)
Add support for core multifunctional device along
with its clients touchscreen and ADC.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am33xx.dtsi

index 0423298a26fe634e174b4138cac7ee2ee28f6a2c..26fea97dd6e03c3cb09af0f1e1f517f0a967730e 100644 (file)
 &cpsw_emac1 {
        phy_id = <&davinci_mdio>, <1>;
 };
+
+&tscadc {
+       status = "okay";
+       tsc {
+               ti,wires = <4>;
+               ti,x-plate-resistance = <200>;
+               ti,coordiante-readouts = <5>;
+               ti,wire-config = <0x00 0x11 0x22 0x33>;
+       };
+
+       adc {
+               ti,adc-channels = <4>;
+       };
+};
index 1460d9b88adfee928d8c150ae56812abbb2b2d28..4ad7797b97b61e018ed34ea5c702ddcbd0ce1937 100644 (file)
                        ti,hwmods = "wkup_m3";
                };
 
+               tscadc: tscadc@44e0d000 {
+                       compatible = "ti,am3359-tscadc";
+                       reg = <0x44e0d000 0x1000>;
+                       interrupt-parent = <&intc>;
+                       interrupts = <16>;
+                       ti,hwmods = "adc_tsc";
+                       status = "disabled";
+
+                       tsc {
+                               compatible = "ti,am3359-tsc";
+                       };
+                       am335x_adc: adc {
+                               #io-channel-cells = <1>;
+                               compatible = "ti,am3359-adc";
+                       };
+
+               };
+
                gpmc: gpmc@50000000 {
                        compatible = "ti,am3352-gpmc";
                        ti,hwmods = "gpmc";
This page took 0.04334 seconds and 5 git commands to generate.