linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string
@ 2014-07-22 14:07 Alexandre Belloni
  2014-07-26 20:06 ` Sergei Shtylyov
  2014-08-29 16:46 ` Nicolas Ferre
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-07-22 14:07 UTC (permalink / raw)
  To: linux-arm-kernel

Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index 2c0d6ea3ab41..5d7cf394f537 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -964,7 +964,7 @@
 			adc0: adc at f804c000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
-				compatible = "atmel,at91sam9260-adc";
+				compatible = "atmel,at91sam9x5-adc";
 				reg = <0xf804c000 0x100>;
 				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
 				clocks = <&adc_clk>,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string
  2014-07-22 14:07 [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string Alexandre Belloni
@ 2014-07-26 20:06 ` Sergei Shtylyov
  2014-07-26 20:13   ` Alexandre Belloni
  2014-08-29 16:46 ` Nicolas Ferre
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2014-07-26 20:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 07/22/2014 06:07 PM, Alexandre Belloni wrote:

> Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs.

> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>   arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 2c0d6ea3ab41..5d7cf394f537 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -964,7 +964,7 @@
>   			adc0: adc at f804c000 {
>   				#address-cells = <1>;
>   				#size-cells = <0>;
> -				compatible = "atmel,at91sam9260-adc";
> +				compatible = "atmel,at91sam9x5-adc";

    Actually, wildcards are not allowed in the "compatible" prop.

WBR, Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string
  2014-07-26 20:06 ` Sergei Shtylyov
@ 2014-07-26 20:13   ` Alexandre Belloni
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-07-26 20:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 27/07/2014 at 00:06:56 +0400, Sergei Shtylyov wrote :
> >diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> >index 2c0d6ea3ab41..5d7cf394f537 100644
> >--- a/arch/arm/boot/dts/at91sam9x5.dtsi
> >+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> >@@ -964,7 +964,7 @@
> >  			adc0: adc at f804c000 {
> >  				#address-cells = <1>;
> >  				#size-cells = <0>;
> >-				compatible = "atmel,at91sam9260-adc";
> >+				compatible = "atmel,at91sam9x5-adc";
> 
>    Actually, wildcards are not allowed in the "compatible" prop.
> 

This is not really a wildcard, the sam9x5 family of SoC is supported
through only one dtsi, at91sam9x5.dtsi and this name is used for all the
compatible strings of the IPs that appeared with that family.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string
  2014-07-22 14:07 [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string Alexandre Belloni
  2014-07-26 20:06 ` Sergei Shtylyov
@ 2014-08-29 16:46 ` Nicolas Ferre
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-08-29 16:46 UTC (permalink / raw)
  To: linux-arm-kernel

On 22/07/2014 16:07, Alexandre Belloni :
> Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Yep!

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
>  arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 2c0d6ea3ab41..5d7cf394f537 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -964,7 +964,7 @@
>  			adc0: adc at f804c000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
> -				compatible = "atmel,at91sam9260-adc";
> +				compatible = "atmel,at91sam9x5-adc";
>  				reg = <0xf804c000 0x100>;
>  				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
>  				clocks = <&adc_clk>,
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-29 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 14:07 [PATCH] ARM: at91/dt: sam9x5: fix ADC compatible string Alexandre Belloni
2014-07-26 20:06 ` Sergei Shtylyov
2014-07-26 20:13   ` Alexandre Belloni
2014-08-29 16:46 ` Nicolas Ferre

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).