Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: move I2C eeprom descriptions to the proper file

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>

authored by

Wolfram Sang and committed by
Wolfram Sang
f5e12d0d b33af11d

+14 -18
+14 -5
Documentation/devicetree/bindings/eeprom/eeprom.txt
··· 2 2 3 3 Required properties: 4 4 5 - - compatible : should be "<manufacturer>,<type>" 6 - If there is no specific driver for <manufacturer>, a generic 7 - driver based on <type> is selected. Possible types are: 8 - 24c00, 24c01, 24c02, 24c04, 24c08, 24c16, 24c32, 24c64, 9 - 24c128, 24c256, 24c512, 24c1024, spd 5 + - compatible : should be "<manufacturer>,<type>", like these: 6 + 7 + "atmel,24c00", "atmel,24c01", "atmel,24c02", "atmel,24c04", 8 + "atmel,24c08", "atmel,24c16", "atmel,24c32", "atmel,24c64", 9 + "atmel,24c128", "atmel,24c256", "atmel,24c512", "atmel,24c1024" 10 + 11 + "catalyst,24c32" 12 + 13 + "ramtron,24c64" 14 + 15 + If there is no specific driver for <manufacturer>, a generic 16 + driver based on <type> is selected. Possible types are: 17 + "24c00", "24c01", "24c02", "24c04", "24c08", "24c16", "24c32", "24c64", 18 + "24c128", "24c256", "24c512", "24c1024", "spd" 10 19 11 20 - reg : the I2C address of the EEPROM 12 21
-13
Documentation/devicetree/bindings/i2c/trivial-devices.txt
··· 21 21 adi,adxl345 Three-Axis Digital Accelerometer 22 22 adi,adxl346 Three-Axis Digital Accelerometer (backward-compatibility value "adi,adxl345" must be listed too) 23 23 at,24c08 i2c serial eeprom (24cxx) 24 - atmel,24c00 i2c serial eeprom (24cxx) 25 - atmel,24c01 i2c serial eeprom (24cxx) 26 - atmel,24c02 i2c serial eeprom (24cxx) 27 - atmel,24c04 i2c serial eeprom (24cxx) 28 - atmel,24c16 i2c serial eeprom (24cxx) 29 - atmel,24c32 i2c serial eeprom (24cxx) 30 - atmel,24c64 i2c serial eeprom (24cxx) 31 - atmel,24c128 i2c serial eeprom (24cxx) 32 - atmel,24c256 i2c serial eeprom (24cxx) 33 - atmel,24c512 i2c serial eeprom (24cxx) 34 - atmel,24c1024 i2c serial eeprom (24cxx) 35 24 atmel,at97sc3204t i2c trusted platform module (TPM) 36 25 capella,cm32181 CM32181: Ambient Light Sensor 37 26 capella,cm3232 CM3232: Ambient Light Sensor 38 - catalyst,24c32 i2c serial eeprom 39 27 cirrus,cs42l51 Cirrus Logic CS42L51 audio codec 40 28 dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock 41 29 dallas,ds1338 I2C RTC with 56-Byte NV RAM ··· 70 82 pericom,pt7c4338 Real-time Clock Module 71 83 plx,pex8648 48-Lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch 72 84 pulsedlight,lidar-lite-v2 Pulsedlight LIDAR range-finding sensor 73 - ramtron,24c64 i2c serial eeprom (24cxx) 74 85 ricoh,r2025sd I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 75 86 ricoh,r2221tl I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 76 87 ricoh,rs5c372a I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC