ARM: at91: dts: add adc resolution stuff
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 29 Mar 2013 09:13:19 +0000 (10:13 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 4 Apr 2013 15:44:49 +0000 (17:44 +0200)
Add the ADC low and high resolution configuration and which one to use.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91sam9260.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9x5.dtsi

index cb7bcc5..367a604 100644 (file)
                                atmel,adc-drdy-mask = <0x10000>;
                                atmel,adc-status-register = <0x1c>;
                                atmel,adc-trigger-register = <0x04>;
+                               atmel,adc-res = <8 10>;
+                               atmel,adc-res-names = "lowres", "highres";
+                               atmel,adc-use-res = "highres";
 
                                trigger@0 {
                                        trigger-name = "timer-counter-0";
index 6b1d4ca..0fa28af 100644 (file)
                                atmel,adc-drdy-mask = <0x10000>;
                                atmel,adc-status-register = <0x1c>;
                                atmel,adc-trigger-register = <0x08>;
+                               atmel,adc-res = <8 10>;
+                               atmel,adc-res-names = "lowres", "highres";
+                               atmel,adc-use-res = "highres";
 
                                trigger@0 {
                                        trigger-name = "external-rising";
index 7a32a3f..a3d4464 100644 (file)
                                atmel,adc-drdy-mask = <0x1000000>;
                                atmel,adc-status-register = <0x30>;
                                atmel,adc-trigger-register = <0xc0>;
+                               atmel,adc-res = <8 10>;
+                               atmel,adc-res-names = "lowres", "highres";
+                               atmel,adc-use-res = "highres";
 
                                trigger@0 {
                                        trigger-name = "external-rising";