]> git.karo-electronics.de Git - linux-beck.git/commitdiff
DT: i2c: Deprecate adi,adxl34x compatible string
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 21 May 2015 23:06:49 +0000 (16:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 May 2015 23:58:02 +0000 (16:58 -0700)
DT nodes should use the more specific adi,adxl345 and adi,adxl346
compatible values instead. As the ADXL346 is backward-compatible with
the ADXL345, ADXL346 nodes must list both adi,adxl346 and adi,adxl345,
in that order.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/i2c/trivial-devices.txt

index aaa8325004d23ae6313223594817f392c1a31359..03db591255690489de8e67f47e4d5151ca8b833d 100644 (file)
@@ -19,8 +19,7 @@ adi,adt7475           +/-1C TDM Extended Temp Range I.C
 adi,adt7476            +/-1C TDM Extended Temp Range I.C
 adi,adt7490            +/-1C TDM Extended Temp Range I.C
 adi,adxl345            Three-Axis Digital Accelerometer
-adi,adxl346            Three-Axis Digital Accelerometer
-adi,adxl34x            Three-Axis Digital Accelerometer
+adi,adxl346            Three-Axis Digital Accelerometer (backward-compatibility value "adi,adxl345" must be listed too)
 at,24c08               i2c serial eeprom  (24cxx)
 atmel,24c00            i2c serial eeprom  (24cxx)
 atmel,24c01            i2c serial eeprom  (24cxx)