ARM: at91: sama5d3: get rid of atmel_tsadcc driver
PATCH 1/1 ARM: at91: sama5d3: get rid of atmel_tsadcc driver
From: Ludovic Desroches <[email protected]>
Touchscreen support for at91_adc has been introduced so we can get rid of atmel_tsadcc.
Signed-off-by Ludovic Desroches <[email protected]>
--- arch/arm/boot/dts/sama5d3.dtsi | 14 +------------- arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++---- 2 files changed, 4 insertions(+), 17 deletions(-)
arch/arm/boot/dts/sama5d3.dtsi +1 -13
@@ -239,7 +239,7 @@ }; adc0: adc at f8018000 { - compatible = "atmel,at91sam9260-adc"; + compatible = "atmel,at91sam9x5-adc"; reg = <0xf8018000 0x100>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; pinctrl-names = "default";
@@ -295,18 +295,6 @@ }; }; - tsadcc: tsadcc at f8018000 { - compatible = "atmel,at91sam9x5-tsadcc"; - reg = <0xf8018000 0x4000>; - interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; - atmel,tsadcc_clock = <300000>; - atmel,filtering_average = <0x03>; - atmel,pendet_debounce = <0x08>; - atmel,pendet_sensitivity = <0x02>; - atmel,ts_sample_hold_time = <0x0a>; - status = "disabled"; - }; - i2c2: i2c at f801c000 { compatible = "atmel,at91sam9x5-i2c"; reg = <0xf801c000 0x4000>;
arch/arm/boot/dts/sama5d3xdm.dtsi +3 -4
@@ -23,10 +23,9 @@ }; adc0: adc at f8018000 { - status = "disabled"; - }; - - tsadcc: tsadcc at f8018000 { + atmel,adc-clock-rate = <1000000>; + atmel,adc-ts-wires = <4>; + atmel,adc-ts-pressure-threshold = <10000>; status = "okay"; };
Signature · 1 line
1.7.9.5
PATCH 1/1 ARM: at91: sama5d3: get rid of atmel_tsadcc driver
Quoted 6 lines · Ludovic Desroches
From: Ludovic Desroches <[email protected]>
Touchscreen support for
at91_adchas been introduced so we can get rid ofatmel_tsadcc.Signed-off-by Ludovic Desroches <[email protected]>
Quoted 63 lines
--- arch/arm/boot/dts/sama5d3.dtsi | 14 +------------- arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++---- 2 files changed, 4 insertions(+), 17 deletions(-)arch/arm/boot/dts/sama5d3.dtsi +1
-13@@ -239,7 +239,7 @@ }; adc0: adc at f8018000 { - compatible = "atmel,at91sam9260-adc"; + compatible = "atmel,at91sam9x5-adc"; reg = <0xf8018000 0x100>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; pinctrl-names = "default";@@ -295,18 +295,6 @@ }; }; - tsadcc: tsadcc at f8018000 { - compatible = "atmel,at91sam9x5-tsadcc"; - reg = <0xf8018000 0x4000>; - interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; - atmel,tsadcc_clock = <300000>; - atmel,filtering_average = <0x03>; - atmel,pendet_debounce = <0x08>; - atmel,pendet_sensitivity = <0x02>; - atmel,ts_sample_hold_time = <0x0a>; - status = "disabled"; - }; - i2c2: i2c at f801c000 { compatible = "atmel,at91sam9x5-i2c"; reg = <0xf801c000 0x4000>;arch/arm/boot/dts/sama5d3xdm.dtsi +3
-4@@ -23,10 +23,9 @@ }; adc0: adc at f8018000 { - status = "disabled"; - }; - - tsadcc: tsadcc at f8018000 { + atmel,adc-clock-rate = <1000000>; + atmel,adc-ts-wires = <4>; + atmel,adc-ts-pressure-threshold = <10000>; status = "okay"; };Signature · 7 lines
1.7.9.5 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 10 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140226/0d60c1dc/attachment.sig>
PATCH 1/1 ARM: at91: sama5d3: get rid of atmel_tsadcc driver
In reply to ludovic.desroches at atmel.comOn 26/02/2014 17:29, ludovic.desroches at atmel.com :
Quoted 6 lines
From: Ludovic Desroches <[email protected]>
Touchscreen support for
at91_adchas been introduced so we can get rid ofatmel_tsadcc.Signed-off-by Ludovic Desroches <[email protected]>
Acked-by Nicolas Ferre <[email protected]>
stacked on at91-3.15-dt.
Thanks,
Quoted 56 lines
--- arch/arm/boot/dts/sama5d3.dtsi | 14 +------------- arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++---- 2 files changed, 4 insertions(+), 17 deletions(-)arch/arm/boot/dts/sama5d3.dtsi +1
-13@@ -239,7 +239,7 @@ }; adc0: adc at f8018000 { - compatible = "atmel,at91sam9260-adc"; + compatible = "atmel,at91sam9x5-adc"; reg = <0xf8018000 0x100>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; pinctrl-names = "default";@@ -295,18 +295,6 @@ }; }; - tsadcc: tsadcc at f8018000 { - compatible = "atmel,at91sam9x5-tsadcc"; - reg = <0xf8018000 0x4000>; - interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>; - atmel,tsadcc_clock = <300000>; - atmel,filtering_average = <0x03>; - atmel,pendet_debounce = <0x08>; - atmel,pendet_sensitivity = <0x02>; - atmel,ts_sample_hold_time = <0x0a>; - status = "disabled"; - }; - i2c2: i2c at f801c000 { compatible = "atmel,at91sam9x5-i2c"; reg = <0xf801c000 0x4000>;arch/arm/boot/dts/sama5d3xdm.dtsi +3
-4@@ -23,10 +23,9 @@ }; adc0: adc at f8018000 { - status = "disabled"; - }; - - tsadcc: tsadcc at f8018000 { + atmel,adc-clock-rate = <1000000>; + atmel,adc-ts-wires = <4>; + atmel,adc-ts-pressure-threshold = <10000>; status = "okay"; };
Signature · 1 line
Nicolas Ferre