]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: dts: am335x-icev2: Add ADC support
authorAndrew F. Davis <afd@ti.com>
Fri, 7 Oct 2016 14:44:24 +0000 (09:44 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Nov 2016 15:05:43 +0000 (07:05 -0800)
7 of the 8 ADC inputs on the am335x are connected to the Industrial I/O
header, add this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-icev2.dts

index fa3f5dc4ffa01ac1b9105f7c4049b6f0116f0a34..1463df3b5b195544f7fafc97f3a7dc62efa01f4f 100644 (file)
        };
 };
 
+&tscadc {
+       status = "okay";
+       adc {
+               ti,adc-channels = <1 2 3 4 5 6 7>;
+       };
+};
+
 #include "tps65910.dtsi"
 
 &tps {