linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] i2c: designware: Add support for a bus clock
@ 2019-02-21 16:10 Gareth Williams
  2019-02-21 16:10 ` [PATCH v4 1/2] dt: snps,designware-i2c: Add clock bindings documentation Gareth Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Gareth Williams @ 2019-02-21 16:10 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Alexandre Belloni, Wolfram Sang,
	Jarkko Nikula, Andy Shevchenko, Mika Westerberg
  Cc: Gareth Williams, devicetree, linux-i2c, linux-renesas-soc,
	linux-kernel, Phil Edworthy

The Synopsys I2C Controller has a peripheral clock that some SoCs 
require to access the registers. This series also details the new clock
property in the bindings documentation.

v4:
 - Code comments and commit messages updated to reference "peripheral clock"
   instead of "bus clock".
 - Rebased onto next-20190221.
v3:
 - busclk renamed to pclk.
 - Added comment with dw_i2c_dev struct definition describing pclk.
 - Added enable rollback of first clock if second fails to enable.
 - Changed clocks and clock-names sections to use term "peripheral clock"
   (pclk) instead of "bus clock" (busclk) in dt-bindings documentation.

v2:
 - Use new devm_clk_get_optional() function as it simplifies handling when
   the optional clock is not present.

Phil Edworthy (2):
  dt: snps,designware-i2c: Add clock bindings documentation
  i2c: designware: Add support for a peripheral clock

 .../devicetree/bindings/i2c/i2c-designware.txt         |  9 +++++++++
 drivers/i2c/busses/i2c-designware-common.c             | 18 ++++++++++++++++--
 drivers/i2c/busses/i2c-designware-core.h               |  2 ++
 drivers/i2c/busses/i2c-designware-platdrv.c            |  5 +++++
 4 files changed, 32 insertions(+), 2 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2019-02-27  9:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21 16:10 [PATCH v4 0/2] i2c: designware: Add support for a bus clock Gareth Williams
2019-02-21 16:10 ` [PATCH v4 1/2] dt: snps,designware-i2c: Add clock bindings documentation Gareth Williams
2019-02-22 15:06   ` Rob Herring
2019-02-26 14:54   ` Jarkko Nikula
2019-02-26 15:39     ` Wolfram Sang
2019-02-27  7:10       ` Jarkko Nikula
2019-02-27  9:43         ` Luis de Oliveira
2019-02-26 18:39     ` Luis de Oliveira
2019-02-21 16:10 ` [PATCH v4 2/2] i2c: designware: Add support for a peripheral clock Gareth Williams
2019-02-23  9:32 ` [PATCH v4 0/2] i2c: designware: Add support for a bus clock Wolfram Sang
2019-02-25  9:28   ` Gareth Williams

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).