All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] i2c: add generic support for timing parameters in DT
@ 2015-12-08  9:37 ` Wolfram Sang
  0 siblings, 0 replies; 46+ messages in thread
From: Wolfram Sang @ 2015-12-08  9:37 UTC (permalink / raw)
  To: linux-i2c
  Cc: linux-sh, Magnus Damm, Simon Horman, Laurent Pinchart,
	Geert Uytterhoeven, Wolfram Sang, Yoshihiro Shimoda,
	linux-rockchip, Mika Westerberg, Andy Shevchenko, Jarkko Nikula

Here is a patch series adding better DT support for timing parameters like the
raise time or the fall time which are generic for the I2C subsystem. There is a
core function for parsing and an implementation for the RCar driver how to use
it.

I added people of the designware and rk3x driver to CC because they might be
interested in this new function. They provided the basis for this series, so it
should be easy to convert them.

Please have a look, test, comment...

Thanks,

    Wolfram

Changes since V1:
* switched from DT properties to device properties
* that means no dependency on OF and rename of the parsing function
* removed a superfluous comment
* adapted the RCar driver to the changes
* added Rob's ack

Changes since RFC:
* better tested
* added documentation for the new function and the new struct
* reworded some commit messages slightly
* moved the new property in the dtsi above the "status" property

Wolfram Sang (9):
  i2c: document generic DT bindings for timing parameters
  i2c: add generic routine to parse DT for timing information
  i2c: rcar: refactor probe function a little
  i2c: rcar: switch to i2c generic dt parsing
  i2c: rcar: honor additional i2c timings from DT
  ARM: shmobile: r8a7790: dtsi: add internal delay for i2c IPs
  ARM: shmobile: r8a7791: dtsi: add internal delay for i2c IPs
  ARM: shmobile: r8a7794: dtsi: add internal delay for i2c IPs
  arm64: renesas: r8a7795: add internal delay for i2c IPs

 Documentation/devicetree/bindings/i2c/i2c-rcar.txt |  4 ++
 Documentation/devicetree/bindings/i2c/i2c.txt      | 31 ++++++++--
 arch/arm/boot/dts/r8a7790.dtsi                     |  4 ++
 arch/arm/boot/dts/r8a7791.dtsi                     |  6 ++
 arch/arm/boot/dts/r8a7794.dtsi                     |  6 ++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           |  7 +++
 drivers/i2c/busses/i2c-rcar.c                      | 67 +++++++++++-----------
 drivers/i2c/i2c-core.c                             | 47 +++++++++++++++
 include/linux/i2c.h                                | 18 ++++++
 9 files changed, 151 insertions(+), 39 deletions(-)

-- 
2.1.4


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

end of thread, other threads:[~2015-12-15  4:14 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08  9:37 [PATCH v2 0/9] i2c: add generic support for timing parameters in DT Wolfram Sang
2015-12-08  9:37 ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 1/9] i2c: document generic DT bindings for timing parameters Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 2/9] i2c: add generic routine to parse DT for timing information Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08 10:54   ` Andy Shevchenko
2015-12-08 10:54     ` Andy Shevchenko
2015-12-08 13:03     ` Wolfram Sang
2015-12-08 13:03       ` Wolfram Sang
2015-12-08 21:51       ` Wolfram Sang
2015-12-08 21:51         ` Wolfram Sang
2015-12-09 12:12         ` Andy Shevchenko
2015-12-09 12:12           ` Andy Shevchenko
2015-12-14  9:49           ` Wolfram Sang
2015-12-14  9:49             ` Wolfram Sang
2015-12-08 11:09   ` Mika Westerberg
2015-12-08 11:09     ` Mika Westerberg
2015-12-08 12:53     ` Wolfram Sang
2015-12-08 12:53       ` Wolfram Sang
2015-12-08 13:03       ` Mika Westerberg
2015-12-08 13:03         ` Mika Westerberg
2015-12-08  9:37 ` [PATCH v2 3/9] i2c: rcar: refactor probe function a little Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 4/9] i2c: rcar: switch to i2c generic dt parsing Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08 10:59   ` Andy Shevchenko
2015-12-08 10:59     ` Andy Shevchenko
2015-12-08 11:00     ` Shevchenko, Andriy
2015-12-08 11:00       ` Shevchenko, Andriy
2015-12-08  9:37 ` [PATCH v2 5/9] i2c: rcar: honor additional i2c timings from DT Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 6/9] ARM: shmobile: r8a7790: dtsi: add internal delay for i2c IPs Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 7/9] ARM: shmobile: r8a7791: " Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 8/9] ARM: shmobile: r8a7794: " Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-08  9:37 ` [PATCH v2 9/9] arm64: renesas: r8a7795: " Wolfram Sang
2015-12-08  9:37   ` Wolfram Sang
2015-12-10  5:00 ` [PATCH v2 0/9] i2c: add generic support for timing parameters in DT Simon Horman
2015-12-10  5:00   ` Simon Horman
2015-12-14 10:00 ` Wolfram Sang
2015-12-14 10:00   ` Wolfram Sang
2015-12-15  4:14   ` Simon Horman
2015-12-15  4:14     ` Simon Horman

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.