* [PATCH] ARM: at91: sama5d3: get rid of atmel_tsadcc driver
@ 2014-02-26 16:19 ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
0 siblings, 0 replies; 4+ messages in thread
From: ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w @ 2014-02-26 16:19 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w,
plagnioj-sclMFOaUSTBWk0Htik3J/w,
devicetree-u79uwXL29TY76Z2rM5mHXA, Ludovic Desroches
From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Touchscreen support for at91_adc has been introduced so we can get rid of
atmel_tsadcc.
Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/sama5d3.dtsi | 14 +-------------
arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++----
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 3d5faf8..26d7ed5 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -239,7 +239,7 @@
};
adc0: adc@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@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@f801c000 {
compatible = "atmel,at91sam9x5-i2c";
reg = <0xf801c000 0x4000>;
diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi
index f9bdde5..0b8f5d1 100644
--- a/arch/arm/boot/dts/sama5d3xdm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
@@ -23,10 +23,9 @@
};
adc0: adc@f8018000 {
- status = "disabled";
- };
-
- tsadcc: tsadcc@f8018000 {
+ atmel,adc-clock-rate = <1000000>;
+ atmel,adc-ts-wires = <4>;
+ atmel,adc-ts-pressure-threshold = <10000>;
status = "okay";
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: at91: sama5d3: get rid of atmel_tsadcc driver
@ 2014-02-26 16:29 ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
[not found] ` <1393432190-8799-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w @ 2014-02-26 16:29 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w,
plagnioj-sclMFOaUSTBWk0Htik3J/w,
devicetree-u79uwXL29TY76Z2rM5mHXA, Ludovic Desroches
From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Touchscreen support for at91_adc has been introduced so we can get rid of
atmel_tsadcc.
Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/sama5d3.dtsi | 14 +-------------
arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++----
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 3d5faf8..26d7ed5 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -239,7 +239,7 @@
};
adc0: adc@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@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@f801c000 {
compatible = "atmel,at91sam9x5-i2c";
reg = <0xf801c000 0x4000>;
diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi
index f9bdde5..0b8f5d1 100644
--- a/arch/arm/boot/dts/sama5d3xdm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
@@ -23,10 +23,9 @@
};
adc0: adc@f8018000 {
- status = "disabled";
- };
-
- tsadcc: tsadcc@f8018000 {
+ atmel,adc-clock-rate = <1000000>;
+ atmel,adc-ts-wires = <4>;
+ atmel,adc-ts-pressure-threshold = <10000>;
status = "okay";
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: at91: sama5d3: get rid of atmel_tsadcc driver
[not found] ` <1393432190-8799-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2014-02-26 17:00 ` Alexandre Belloni
2014-03-12 14:20 ` Nicolas Ferre
1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-02-26 17:00 UTC (permalink / raw)
To: ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
plagnioj-sclMFOaUSTBWk0Htik3J/w,
nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w,
devicetree-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 2544 bytes --]
On 26/02/2014 at 17:29:50 +0100, Ludovic Desroches wrote :
> From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
>
> Touchscreen support for at91_adc has been introduced so we can get rid of
> atmel_tsadcc.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Acked-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 14 +-------------
> arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++----
> 2 files changed, 4 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 3d5faf8..26d7ed5 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -239,7 +239,7 @@
> };
>
> adc0: adc@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@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@f801c000 {
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf801c000 0x4000>;
> diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi
> index f9bdde5..0b8f5d1 100644
> --- a/arch/arm/boot/dts/sama5d3xdm.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
> @@ -23,10 +23,9 @@
> };
>
> adc0: adc@f8018000 {
> - status = "disabled";
> - };
> -
> - tsadcc: tsadcc@f8018000 {
> + atmel,adc-clock-rate = <1000000>;
> + atmel,adc-ts-wires = <4>;
> + atmel,adc-ts-pressure-threshold = <10000>;
> status = "okay";
> };
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: at91: sama5d3: get rid of atmel_tsadcc driver
[not found] ` <1393432190-8799-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-02-26 17:00 ` Alexandre Belloni
@ 2014-03-12 14:20 ` Nicolas Ferre
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-03-12 14:20 UTC (permalink / raw)
To: ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Cc: plagnioj-sclMFOaUSTBWk0Htik3J/w,
devicetree-u79uwXL29TY76Z2rM5mHXA
On 26/02/2014 17:29, ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org :
> From: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
>
> Touchscreen support for at91_adc has been introduced so we can get rid of
> atmel_tsadcc.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
stacked on at91-3.15-dt.
Thanks,
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 14 +-------------
> arch/arm/boot/dts/sama5d3xdm.dtsi | 7 +++----
> 2 files changed, 4 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 3d5faf8..26d7ed5 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -239,7 +239,7 @@
> };
>
> adc0: adc@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@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@f801c000 {
> compatible = "atmel,at91sam9x5-i2c";
> reg = <0xf801c000 0x4000>;
> diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi
> index f9bdde5..0b8f5d1 100644
> --- a/arch/arm/boot/dts/sama5d3xdm.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
> @@ -23,10 +23,9 @@
> };
>
> adc0: adc@f8018000 {
> - status = "disabled";
> - };
> -
> - tsadcc: tsadcc@f8018000 {
> + atmel,adc-clock-rate = <1000000>;
> + atmel,adc-ts-wires = <4>;
> + atmel,adc-ts-pressure-threshold = <10000>;
> status = "okay";
> };
>
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-12 14:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 16:29 [PATCH] ARM: at91: sama5d3: get rid of atmel_tsadcc driver ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
[not found] ` <1393432190-8799-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-02-26 17:00 ` Alexandre Belloni
2014-03-12 14:20 ` Nicolas Ferre
-- strict thread matches above, loose matches on Subject: below --
2014-02-26 16:19 ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).