[PATCH] ARM: shmobile: kzm9g dts: Add adxl345-specific compatible property

Geert Uytterhoeven geert at linux-m68k.org
Mon Jul 6 03:49:50 PDT 2015


On Mon, Jul 6, 2015 at 12:17 PM, Laurent Pinchart
<laurent.pinchart at ideasonboard.com> wrote:
>> --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
>> +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
>> @@ -206,7 +206,7 @@
>>       };
>>
>>       accelerometer at 1d {
>> -             compatible = "adi,adxl34x";
>> +             compatible = "adi,adxl345", "adi,adxl34x";
>
> "adi,adxl34x" is deprecated and shouldn't be used in DT. You can just specify
> "adi,adxl345".

Right, we only care (sometimes ;-) about backward-compatibility,
not about forward-compatibility.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-arm-kernel mailing list