linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v16 0/2] add power control in i2c
@ 2021-03-08  4:36 Hsin-Yi Wang
  2021-03-08  4:36 ` [PATCH v16 1/2] dt-binding: i2c: add bus-supply property Hsin-Yi Wang
  2021-03-08  4:36 ` [PATCH v16 2/2] i2c: core: support bus regulator controlling in adapter Hsin-Yi Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Hsin-Yi Wang @ 2021-03-08  4:36 UTC (permalink / raw)
  To: Wolfram Sang, Bartosz Golaszewski, linux-i2c
  Cc: Matthias Brugger, linux-kernel, linux-arm-kernel, linux-mediatek,
	Bibby Hsieh, Marek Szyprowski

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 v15:
 - Squash the fix[1] for v15.
[1] https://patchwork.ozlabs.org/project/linux-i2c/patch/20200522101327.13456-1-m.szyprowski@samsung.com/

Changes since v14:
 - change the return value in normal condition
 - access the variable after NULL pointer checking
 - add ack tag

Changes since v13:
 - fixup some logic error

Changes since v12:
 - rebase onto v5.7-rc1
 - change the property description in binding

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

        [... 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                   | 93 +++++++++++++++++++
 include/linux/i2c.h                           |  2 +
 3 files changed, 98 insertions(+)

-- 
2.30.1.766.gb4fecdf3b7-goog


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-04-07  7:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-08  4:36 [PATCH v16 0/2] add power control in i2c Hsin-Yi Wang
2021-03-08  4:36 ` [PATCH v16 1/2] dt-binding: i2c: add bus-supply property Hsin-Yi Wang
2021-03-08  4:36 ` [PATCH v16 2/2] i2c: core: support bus regulator controlling in adapter Hsin-Yi Wang
2021-03-08 17:16   ` Mark Brown
2021-03-09 13:34     ` Hsin-Yi Wang
2021-04-07  7:30       ` Hsin-Yi Wang

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