* [PATCH 0/2] dt-bindings: refactor i2c eeprom bindings, step 1 @ 2016-01-07 20:50 Wolfram Sang 2016-01-07 20:50 ` [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file Wolfram Sang 2016-01-07 20:51 ` [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device Wolfram Sang 0 siblings, 2 replies; 6+ messages in thread From: Wolfram Sang @ 2016-01-07 20:50 UTC (permalink / raw) To: devicetree; +Cc: Wolfram Sang, linux-i2c, linux-sh, Simon Horman, linux-kernel A first step to clean up the bindings for i2c eeproms. Please see the patch descriptions for further details. I suggest I take these via my i2c tree. D'accord? Thanks, Wolfram Wolfram Sang (2): dt-bindings: move I2C eeprom descriptions to the proper file dt-bindings: i2c: eeprom: add another EEPROM device Documentation/devicetree/bindings/eeprom/eeprom.txt | 21 ++++++++++++++++----- .../devicetree/bindings/i2c/trivial-devices.txt | 13 ------------- 2 files changed, 16 insertions(+), 18 deletions(-) -- 2.1.4 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file 2016-01-07 20:50 [PATCH 0/2] dt-bindings: refactor i2c eeprom bindings, step 1 Wolfram Sang @ 2016-01-07 20:50 ` Wolfram Sang 2016-01-07 23:00 ` Rob Herring 2016-01-07 20:51 ` [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device Wolfram Sang 1 sibling, 1 reply; 6+ messages in thread From: Wolfram Sang @ 2016-01-07 20:50 UTC (permalink / raw) To: devicetree; +Cc: Wolfram Sang, linux-i2c, linux-sh, Simon Horman, linux-kernel From: Wolfram Sang <wsa+renesas@sang-engineering.com> 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 seperately because of improper manufacturer names. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- Documentation/devicetree/bindings/eeprom/eeprom.txt | 19 ++++++++++++++----- .../devicetree/bindings/i2c/trivial-devices.txt | 13 ------------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index 4342c10de1bf8d..acb600399c3d94 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt @@ -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 diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt index c50cf13c852e51..7e41304e45f81e 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt @@ -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 @@ -80,7 +68,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 -- 2.1.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file 2016-01-07 20:50 ` [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file Wolfram Sang @ 2016-01-07 23:00 ` Rob Herring 2016-01-10 8:40 ` Wolfram Sang 0 siblings, 1 reply; 6+ messages in thread From: Rob Herring @ 2016-01-07 23:00 UTC (permalink / raw) To: Wolfram Sang; +Cc: devicetree, linux-i2c, linux-sh, Simon Horman, linux-kernel On Thu, Jan 07, 2016 at 09:50:59PM +0100, Wolfram Sang wrote: > From: Wolfram Sang <wsa+renesas@sang-engineering.com> > > 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 seperately because of s/seperately/separately/ > improper manufacturer names. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > --- > Documentation/devicetree/bindings/eeprom/eeprom.txt | 19 ++++++++++++++----- > .../devicetree/bindings/i2c/trivial-devices.txt | 13 ------------- > 2 files changed, 14 insertions(+), 18 deletions(-) Acked-by: Rob Herring <robh@kernel.org> Fine to take these thru your tree. Rob ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file 2016-01-07 23:00 ` Rob Herring @ 2016-01-10 8:40 ` Wolfram Sang 0 siblings, 0 replies; 6+ messages in thread From: Wolfram Sang @ 2016-01-10 8:40 UTC (permalink / raw) To: Rob Herring Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-i2c-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA, Simon Horman, linux-kernel-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1032 bytes --] On Thu, Jan 07, 2016 at 05:00:12PM -0600, Rob Herring wrote: > On Thu, Jan 07, 2016 at 09:50:59PM +0100, Wolfram Sang wrote: > > From: Wolfram Sang <wsa+renesas@sang-engineering.com> > > > > 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 seperately because of > > s/seperately/separately/ > > > improper manufacturer names. > > > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > > --- > > Documentation/devicetree/bindings/eeprom/eeprom.txt | 19 ++++++++++++++----- > > .../devicetree/bindings/i2c/trivial-devices.txt | 13 ------------- > > 2 files changed, 14 insertions(+), 18 deletions(-) > > Acked-by: Rob Herring <robh@kernel.org> > > Fine to take these thru your tree. Fixed the typo and applied both to for-next, thanks for the acks, Rob! [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device 2016-01-07 20:50 [PATCH 0/2] dt-bindings: refactor i2c eeprom bindings, step 1 Wolfram Sang 2016-01-07 20:50 ` [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file Wolfram Sang @ 2016-01-07 20:51 ` Wolfram Sang 2016-01-07 23:01 ` Rob Herring 1 sibling, 1 reply; 6+ messages in thread From: Wolfram Sang @ 2016-01-07 20:51 UTC (permalink / raw) To: devicetree; +Cc: Wolfram Sang, linux-i2c, linux-sh, Simon Horman, linux-kernel From: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- Documentation/devicetree/bindings/eeprom/eeprom.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/eeprom.txt b/Documentation/devicetree/bindings/eeprom/eeprom.txt index acb600399c3d94..735bc94444bbd7 100644 --- a/Documentation/devicetree/bindings/eeprom/eeprom.txt +++ b/Documentation/devicetree/bindings/eeprom/eeprom.txt @@ -12,6 +12,8 @@ Required properties: "ramtron,24c64" + "renesas,r1ex24002" + 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", -- 2.1.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device 2016-01-07 20:51 ` [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device Wolfram Sang @ 2016-01-07 23:01 ` Rob Herring 0 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2016-01-07 23:01 UTC (permalink / raw) To: Wolfram Sang; +Cc: devicetree, linux-i2c, linux-sh, Simon Horman, linux-kernel On Thu, Jan 07, 2016 at 09:51:00PM +0100, Wolfram Sang wrote: > From: Wolfram Sang <wsa+renesas@sang-engineering.com> > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > --- > Documentation/devicetree/bindings/eeprom/eeprom.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-01-10 8:40 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-01-07 20:50 [PATCH 0/2] dt-bindings: refactor i2c eeprom bindings, step 1 Wolfram Sang 2016-01-07 20:50 ` [PATCH 1/2] dt-bindings: move I2C eeprom descriptions to the proper file Wolfram Sang 2016-01-07 23:00 ` Rob Herring 2016-01-10 8:40 ` Wolfram Sang 2016-01-07 20:51 ` [PATCH 2/2] dt-bindings: i2c: eeprom: add another EEPROM device Wolfram Sang 2016-01-07 23:01 ` Rob Herring
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).