]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dt-bindings: move I2C eeprom descriptions to the proper file
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 7 Jan 2016 20:50:59 +0000 (21:50 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 10 Jan 2016 08:39:12 +0000 (09:39 +0100)
EEPROMs can have additional properties, so they are not suitable for
trivial-devices.txt. Move most bindings to the designated eeprom.txt.
Add the missing "atmel,24c08" while doing that. Note that the remaining
ones in trivial-devices need to be dealt with separately because of
improper manufacturer names.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/eeprom/eeprom.txt
Documentation/devicetree/bindings/i2c/trivial-devices.txt

index 4342c10de1bf8db1a5216f3bc63300c32add54ef..acb600399c3d945cbbe6fc10d53f76e47fe144d8 100644 (file)
@@ -2,11 +2,20 @@ EEPROMs (I2C)
 
 Required properties:
 
-  - compatible : should be "<manufacturer>,<type>"
-                If there is no specific driver for <manufacturer>, a generic
-                driver based on <type> is selected. Possible types are:
-                24c00, 24c01, 24c02, 24c04, 24c08, 24c16, 24c32, 24c64,
-                24c128, 24c256, 24c512, 24c1024, spd
+  - compatible : should be "<manufacturer>,<type>", like these:
+
+       "atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04",
+       "atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64",
+       "atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024"
+
+       "catalyst,24c32"
+
+       "ramtron,24c64"
+
+        If there is no specific driver for <manufacturer>, a generic
+        driver based on <type> is selected. Possible types are:
+        "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64",
+        "24c128", "24c256", "24c512", "24c1024", "spd"
 
   - reg : the I2C address of the EEPROM
 
index 1f25fba604e8530bd90ebb030e1ef95502b7d0e7..f0568a6448c994eed191be0df3e5d42f1ecc5bcc 100644 (file)
@@ -21,21 +21,9 @@ adi,adt7490          +/-1C TDM Extended Temp Range I.C
 adi,adxl345            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)
-atmel,24c02            i2c serial eeprom  (24cxx)
-atmel,24c04            i2c serial eeprom  (24cxx)
-atmel,24c16            i2c serial eeprom  (24cxx)
-atmel,24c32            i2c serial eeprom  (24cxx)
-atmel,24c64            i2c serial eeprom  (24cxx)
-atmel,24c128           i2c serial eeprom  (24cxx)
-atmel,24c256           i2c serial eeprom  (24cxx)
-atmel,24c512           i2c serial eeprom  (24cxx)
-atmel,24c1024          i2c serial eeprom  (24cxx)
 atmel,at97sc3204t      i2c trusted platform module (TPM)
 capella,cm32181                CM32181: Ambient Light Sensor
 capella,cm3232         CM3232: Ambient Light Sensor
-catalyst,24c32         i2c serial eeprom
 cirrus,cs42l51         Cirrus Logic CS42L51 audio codec
 dallas,ds1307          64 x 8, Serial, I2C Real-Time Clock
 dallas,ds1338          I2C RTC with 56-Byte NV RAM
@@ -82,7 +70,6 @@ ovti,ov5642           OV5642: Color CMOS QSXGA (5-megapixel) Image Sensor with OmniBSI an
 pericom,pt7c4338       Real-time Clock Module
 plx,pex8648            48-Lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch
 pulsedlight,lidar-lite-v2      Pulsedlight LIDAR range-finding sensor
-ramtron,24c64          i2c serial eeprom  (24cxx)
 ricoh,r2025sd          I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
 ricoh,r2221tl          I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
 ricoh,rs5c372a         I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC