diff mbox

[v2] ARM: ux500: Apply other compatible name to the u8540 DTS file

Message ID 20130522144957.GA18714@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lee Jones May 22, 2013, 2:49 p.m. UTC
ARM: ux500: Apply other compatible name to the u8540 DTS file
    
Devices in board DTS files are usually searchable by multiple
compatible strings. In this case the 8540 based SoC should be
obtainable via the chipset [DB8540 & AB8540] name 'u8540' or
the board name 'ccu8540'. It's already possible to obtain the
Device Tree via its chipset name, this patch makes it possible
to get it by its board name too.
    
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Comments

Linus Walleij May 27, 2013, 10:45 a.m. UTC | #1
On Wed, May 22, 2013 at 4:49 PM, Lee Jones <lee.jones@linaro.org> wrote:

> ARM: ux500: Apply other compatible name to the u8540 DTS file
>
> Devices in board DTS files are usually searchable by multiple
> compatible strings. In this case the 8540 based SoC should be
> obtainable via the chipset [DB8540 & AB8540] name 'u8540' or
> the board name 'ccu8540'. It's already possible to obtain the
> Device Tree via its chipset name, this patch makes it possible
> to get it by its board name too.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>

Applied to my ux500-devicetree branch.

Thanks!
Linus Walleij
diff mbox

Patch

diff --git a/arch/arm/boot/dts/ccu8540.dts b/arch/arm/boot/dts/ccu8540.dts
index 18daa01..af4487f 100644
--- a/arch/arm/boot/dts/ccu8540.dts
+++ b/arch/arm/boot/dts/ccu8540.dts
@@ -14,7 +14,7 @@ 
 
 / {
 	model = "ST-Ericsson U8540 platform with Device Tree";
-	compatible = "st-ericsson,u8540";
+	compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
 
 	memory {
 		reg = <0x00000000 0x20000000>;