All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v5 00/16] eeprom: at24: Add OF device ID table
@ 2017-06-15 18:54 ` Javier Martinez Canillas
  0 siblings, 0 replies; 115+ messages in thread
From: Javier Martinez Canillas @ 2017-06-15 18:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Rob Herring, Javier Martinez Canillas,
	Florian Larysch, David Lechner, Rob Herring, Andy Shevchenko,
	Catalin Marinas, Sören Brinkmann, Simon Horman,
	Michal Simek, Dinh Nguyen, Russell King, Will Deacon, devicetree,
	Sekhar Nori, Scott Wood, Benjamin Herrenschmidt,
	Joachim Eastwood, Mark Rutland, linux-arm-kernel,
	Masahiro Yamada, Michael Ellerman, Santosh Shilimkar,
	linux-renesas-soc, Paul Mackerras, Magnus Damm, linuxppc-dev,
	Uwe Kleine-König, linux-i2c

Hello Wolfram,

This series is a follow-up to patch [0] that added an OF device ID table
to the at24 EEPROM driver. As you suggested [1], this version instead of
adding entries for every used <vendor,device> tuple, only adds a single
entry for each chip type using the "atmel" vendor as a generic fallback.

The first patch documents in the DT binding what's the correct vendor to
use and what are the ones that are being deprecated. The second one adds
the OF device ID table for the at24 driver and the next patches use this
vendor in the compatible string to each DTS that defines a compatible I2C
EEPROM device node.

Patches can be applied independently since the DTS changes without driver
changes are no-op and the OF table won't be used without the DTS changes.

[0]: https://lkml.org/lkml/2017/3/14/589
[1]: https://lkml.org/lkml/2017/3/15/99

Best regards,
Javier

Changes in v5:
- Only deprecate the atmel variants at25 and at (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).
- Only replace atmel variant but keep other EEPROM vendors (Geert Uytterhoeven).

Changes in v4:
- Document the manufacturers that have been deprecated (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).
- Only use the atmel manufacturer in the compatible string instead of
  keeping the deprecated ones (Rob Herring).

Changes in v3:
- Fix wrong .data values for "atmel,24c02" and "atmel,24c64" entries.
- Add Geert Uytterhoeven reviewed-by tag.
- Add Geert Uytterhoeven reviewed-by tag.

Changes in v2:
- Only add a single OF device ID entry for each device type (Wolfram Sang).

Javier Martinez Canillas (16):
  dt-bindings: i2c: eeprom: Document vendor to be used and deprecated
    ones
  eeprom: at24: Add OF device ID table
  ARM: dts: efm32: Add generic compatible string for I2C EEPROM
  ARM: dts: keystone: Add generic compatible string for I2C EEPROM
  ARM: dts: lpc18xx: Add generic compatible string for I2C EEPROM
  ARM: dts: r7s72100: Add generic compatible string for I2C EEPROM
  ARM: dts: koelsch: Add generic compatible string for I2C EEPROM
  ARM: dts: socfpga: Add generic compatible string for I2C EEPROM
  ARM: dts: uniphier: Add generic compatible string for I2C EEPROM
  ARM: dts: zynq: Add generic compatible string for I2C EEPROM
  arm64: zynqmp: Add generic compatible string for I2C EEPROM
  powerpc/5200: Add generic compatible string for I2C EEPROM
  powerpc/fsl: Add generic compatible string for I2C EEPROM
  powerpc/512x: Add generic compatible string for I2C EEPROM
  powerpc/83xx: Add generic compatible string for I2C EEPROM
  powerpc/44x: Add generic compatible string for I2C EEPROM

 .../devicetree/bindings/eeprom/eeprom.txt          |  6 +-
 arch/arm/boot/dts/efm32gg-dk3750.dts               |  2 +-
 arch/arm/boot/dts/keystone-k2e-evm.dts             |  2 +-
 arch/arm/boot/dts/keystone-k2hk-evm.dts            |  2 +-
 arch/arm/boot/dts/keystone-k2l-evm.dts             |  2 +-
 arch/arm/boot/dts/lpc4337-ciaa.dts                 |  6 +-
 arch/arm/boot/dts/lpc4350-hitex-eval.dts           |  2 +-
 arch/arm/boot/dts/lpc4357-ea4357-devkit.dts        |  2 +-
 arch/arm/boot/dts/r7s72100-genmai.dts              |  2 +-
 arch/arm/boot/dts/r8a7791-koelsch.dts              |  2 +-
 arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts |  2 +-
 arch/arm/boot/dts/uniphier-pro4-ace.dts            |  2 +-
 arch/arm/boot/dts/uniphier-pro4-sanji.dts          |  2 +-
 arch/arm/boot/dts/uniphier-pxs2-gentil.dts         |  2 +-
 arch/arm/boot/dts/zynq-zc702.dts                   |  2 +-
 arch/arm/boot/dts/zynq-zc706.dts                   |  2 +-
 arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts        |  4 +-
 arch/powerpc/boot/dts/digsy_mtc.dts                |  2 +-
 arch/powerpc/boot/dts/fsl/b4qds.dtsi               |  8 +--
 arch/powerpc/boot/dts/fsl/c293pcie.dts             |  2 +-
 arch/powerpc/boot/dts/fsl/p1010rdb.dtsi            |  2 +-
 arch/powerpc/boot/dts/fsl/p1023rdb.dts             |  2 +-
 arch/powerpc/boot/dts/fsl/p2041rdb.dts             |  4 +-
 arch/powerpc/boot/dts/fsl/p3041ds.dts              |  4 +-
 arch/powerpc/boot/dts/fsl/p4080ds.dts              |  4 +-
 arch/powerpc/boot/dts/fsl/p5020ds.dts              |  4 +-
 arch/powerpc/boot/dts/fsl/p5040ds.dts              |  4 +-
 arch/powerpc/boot/dts/fsl/t208xqds.dtsi            |  8 +--
 arch/powerpc/boot/dts/fsl/t4240qds.dts             | 12 ++--
 arch/powerpc/boot/dts/fsl/t4240rdb.dts             |  6 +-
 arch/powerpc/boot/dts/mpc5121ads.dts               |  2 +-
 arch/powerpc/boot/dts/mpc8308_p1m.dts              |  2 +-
 arch/powerpc/boot/dts/mpc8349emitx.dts             |  4 +-
 arch/powerpc/boot/dts/mpc8377_rdb.dts              |  2 +-
 arch/powerpc/boot/dts/mpc8377_wlan.dts             |  2 +-
 arch/powerpc/boot/dts/mpc8378_rdb.dts              |  2 +-
 arch/powerpc/boot/dts/mpc8379_rdb.dts              |  2 +-
 arch/powerpc/boot/dts/pcm030.dts                   |  2 +-
 arch/powerpc/boot/dts/pcm032.dts                   |  2 +-
 arch/powerpc/boot/dts/warp.dts                     |  2 +-
 drivers/misc/eeprom/at24.c                         | 65 +++++++++++++++++++++-
 41 files changed, 130 insertions(+), 63 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 115+ messages in thread

end of thread, other threads:[~2017-11-07  8:20 UTC | newest]

Thread overview: 115+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-15 18:54 [RESEND PATCH v5 00/16] eeprom: at24: Add OF device ID table Javier Martinez Canillas
2017-06-15 18:54 ` Javier Martinez Canillas
2017-06-15 18:54 ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 01/16] dt-bindings: i2c: eeprom: Document vendor to be used and deprecated ones Javier Martinez Canillas
2017-06-23 18:17   ` Rob Herring
2017-06-23 18:17     ` Rob Herring
2017-08-28 16:02   ` Wolfram Sang
2017-06-15 18:54 ` [RESEND PATCH v5 02/16] eeprom: at24: Add OF device ID table Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 03/16] ARM: dts: efm32: Add generic compatible string for I2C EEPROM Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-08-16 14:21   ` Javier Martinez Canillas
2017-08-16 14:21     ` Javier Martinez Canillas
2017-08-16 14:21     ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 04/16] ARM: dts: keystone: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 05/16] ARM: dts: lpc18xx: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 06/16] ARM: dts: r7s72100: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-16 13:36   ` Simon Horman
2017-06-16 13:36     ` Simon Horman
2017-06-15 18:54 ` [RESEND PATCH v5 07/16] ARM: dts: koelsch: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-16 13:36   ` Simon Horman
2017-06-16 13:36     ` Simon Horman
2017-06-15 18:54 ` [RESEND PATCH v5 08/16] ARM: dts: socfpga: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-11-07  8:20   ` Javier Martinez Canillas
2017-11-07  8:20     ` Javier Martinez Canillas
2017-11-07  8:20     ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 09/16] ARM: dts: uniphier: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 10/16] ARM: dts: zynq: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-21 11:43   ` Michal Simek
2017-06-21 11:43     ` Michal Simek
2017-06-21 11:43     ` Michal Simek
2017-08-23 14:28     ` Javier Martinez Canillas
2017-08-23 14:28       ` Javier Martinez Canillas
2017-08-23 14:28       ` Javier Martinez Canillas
2017-08-24 13:44       ` Michal Simek
2017-08-24 13:44         ` Michal Simek
2017-09-21  9:41         ` Javier Martinez Canillas
2017-09-21  9:41           ` Javier Martinez Canillas
2017-09-21  9:41           ` Javier Martinez Canillas
2017-09-25  8:06           ` Michal Simek
2017-09-25  8:06             ` Michal Simek
2017-09-26  8:00             ` Javier Martinez Canillas
2017-09-26  8:00               ` Javier Martinez Canillas
2017-09-26  8:00               ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 11/16] arm64: zynqmp: " Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-15 18:54   ` Javier Martinez Canillas
2017-06-21 11:43   ` Michal Simek
2017-06-21 11:43     ` Michal Simek
2017-06-21 11:43     ` Michal Simek
2017-08-21 11:27     ` Javier Martinez Canillas
2017-08-21 11:27       ` Javier Martinez Canillas
2017-08-21 12:04       ` Michal Simek
2017-08-21 12:04         ` Michal Simek
2017-08-21 12:58         ` Javier Martinez Canillas
2017-08-21 12:58           ` Javier Martinez Canillas
2017-06-15 18:54 ` [RESEND PATCH v5 12/16] powerpc/5200: " Javier Martinez Canillas
2017-06-29 12:21   ` [RESEND, v5, " Michael Ellerman
2017-06-29 12:21     ` Michael Ellerman
2017-06-15 18:54 ` [RESEND PATCH v5 13/16] powerpc/fsl: " Javier Martinez Canillas
2017-06-29 12:21   ` [RESEND, v5, " Michael Ellerman
2017-06-29 12:21     ` Michael Ellerman
2017-06-15 18:54 ` [RESEND PATCH v5 14/16] powerpc/512x: " Javier Martinez Canillas
2017-06-29 12:21   ` [RESEND, v5, " Michael Ellerman
2017-06-29 12:21     ` Michael Ellerman
2017-06-15 18:54 ` [RESEND PATCH v5 15/16] powerpc/83xx: " Javier Martinez Canillas
2017-06-29 12:21   ` [RESEND, v5, " Michael Ellerman
2017-06-29 12:21     ` Michael Ellerman
2017-06-15 18:54 ` [RESEND PATCH v5 16/16] powerpc/44x: " Javier Martinez Canillas
2017-06-29 12:21   ` [RESEND, v5, " Michael Ellerman
2017-06-29 12:21     ` Michael Ellerman
2017-07-10  7:47 ` [RESEND PATCH v5 00/16] eeprom: at24: Add OF device ID table Javier Martinez Canillas
2017-07-10  7:47   ` Javier Martinez Canillas
2017-07-10  7:47   ` Javier Martinez Canillas
2017-07-31 15:30 ` Wolfram Sang
2017-07-31 15:30   ` Wolfram Sang
2017-07-31 15:30   ` Wolfram Sang
2017-07-31 16:17   ` Javier Martinez Canillas
2017-07-31 16:17     ` Javier Martinez Canillas
2017-07-31 16:17     ` Javier Martinez Canillas
2017-08-28 16:01     ` Wolfram Sang
2017-08-28 16:01       ` Wolfram Sang
2017-08-28 16:01       ` Wolfram Sang
2017-08-29  8:44       ` Javier Martinez Canillas
2017-08-29  8:44         ` Javier Martinez Canillas
2017-08-29  8:44         ` Javier Martinez Canillas
2017-08-29  8:48         ` Wolfram Sang
2017-08-29  8:48           ` Wolfram Sang
2017-08-29  8:48           ` Wolfram Sang
2017-08-30 16:19           ` Javier Martinez Canillas
2017-08-30 16:19             ` Javier Martinez Canillas
2017-08-30 16:19             ` Javier Martinez Canillas
2017-08-30 17:42             ` Wolfram Sang
2017-08-30 17:42               ` Wolfram Sang
2017-08-30 17:42               ` Wolfram Sang
2017-08-30 19:57               ` Javier Martinez Canillas
2017-08-30 19:57                 ` Javier Martinez Canillas
2017-08-30 19:57                 ` Javier Martinez Canillas
2017-08-30 20:15                 ` Geert Uytterhoeven
2017-08-30 20:15                   ` Geert Uytterhoeven
2017-08-30 20:15                   ` Geert Uytterhoeven
2017-08-30 20:59                   ` Javier Martinez Canillas
2017-08-30 20:59                     ` Javier Martinez Canillas
2017-08-30 20:59                     ` Javier Martinez Canillas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.