devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v12 0/2] add power control in i2c and at24
@ 2020-03-06  3:49 Bibby Hsieh
  2020-03-06  3:49 ` [PATCH v12 1/2] dt-binding: i2c: add bus-supply property Bibby Hsieh
  2020-03-06  3:49 ` [PATCH v12 2/2] i2c: core: support bus regulator controlling in adapter Bibby Hsieh
  0 siblings, 2 replies; 9+ messages in thread
From: Bibby Hsieh @ 2020-03-06  3:49 UTC (permalink / raw)
  To: Wolfram Sang, Bartosz Golaszewski, linux-i2c
  Cc: tfiga, drinkcat, srv_heupstream, robh+dt, mark.rutland,
	devicetree, Rafael J . Wysocki, Bibby Hsieh

Although in the most platforms, the power of eeprom and i2c are alway on,
some platforms disable the eeprom and i2c power in order to meet low power request.
This patch add the pm_runtime ops to control power to support all platforms.

Changes since v11:
 - use suspend_late/resume_early instead of suspend/resume
 - rebase onto v5.6-rc1

Changes since v10:
 - fixup some worng codes

Changes since v9:
 - fixup build error
 - remove redundant code

Changes since v8:
 - fixup some wrong code
 - remove redundant message

Changes since v7:
 - add binding describe supply property in i2c and at24.
 - move i2c bus supply control in i2c-core.
 - rebase onto v5.5-rc1

Changes since v6:
 - add back error check for devm_regulator_bulk_get()

        [... snip ...]

Bibby Hsieh (2):
  dt-binding: i2c: add bus-supply property
  i2c: core: support bus regulator controlling in adapter

 Documentation/devicetree/bindings/i2c/i2c.txt |  3 +
 drivers/i2c/i2c-core-base.c                   | 81 +++++++++++++++++++
 include/linux/i2c.h                           |  2 +
 3 files changed, 86 insertions(+)

-- 
2.18.0

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

end of thread, other threads:[~2020-04-15 18:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-06  3:49 [PATCH v12 0/2] add power control in i2c and at24 Bibby Hsieh
2020-03-06  3:49 ` [PATCH v12 1/2] dt-binding: i2c: add bus-supply property Bibby Hsieh
2020-03-22 13:07   ` Wolfram Sang
2020-03-23 12:18     ` Tomasz Figa
2020-03-24 10:34       ` Wolfram Sang
2020-04-15  8:49         ` Bibby Hsieh
2020-04-15 18:20           ` Tomasz Figa
2020-03-06  3:49 ` [PATCH v12 2/2] i2c: core: support bus regulator controlling in adapter Bibby Hsieh
2020-03-06  5:09   ` Tomasz Figa

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