public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [v1,PATCH 0/1] i2c: mediatek: add bus regulator control for power saving
@ 2026-03-18  8:46 adlavinitha reddy
  2026-03-18  8:46 ` [v1,PATCH 1/1] " adlavinitha reddy
  0 siblings, 1 reply; 5+ messages in thread
From: adlavinitha reddy @ 2026-03-18  8:46 UTC (permalink / raw)
  To: Qii Wang, Andi Shyti, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: linux-i2c, linux-kernel, linux-arm-kernel, linux-mediatek,
	Project_Global_Chrome_Upstream_Group, adlavinitha reddy

This patch adds conditional bus regulator enable/disable support in
mtk_i2c_transfer() to allow I2C bus power gating on platforms that
provide a vbus-supply in the device tree.

The implementation:
- Enables bus_regulator before clk_bulk_enable() if vbus-supply is defined
- Disables bus_regulator after clk_bulk_disable()
- Only activates when vbus-supply is provided in device tree
- Has no impact on platforms without vbus-supply defined

This approach provides power savings for platforms with an extra I2C bus
regulator, while avoiding runtime PM complexity.

Based on linux-next, tag: next-20260305

adlavinitha reddy (1):
  i2c: mediatek: add bus regulator control for power saving

 drivers/i2c/busses/i2c-mt65xx.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

--
2.45.2


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [v1,PATCH 0/1] i2c: mediatek: add bus regulator control for power saving
@ 2026-03-18  8:42 adlavinitha reddy
  2026-03-18  8:42 ` [v1,PATCH 1/1] " adlavinitha reddy
  0 siblings, 1 reply; 5+ messages in thread
From: adlavinitha reddy @ 2026-03-18  8:42 UTC (permalink / raw)
  To: Qii Wang, Andi Shyti, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: linux-i2c, linux-kernel, linux-arm-kernel, linux-mediatek,
	Project_Global_Chrome_Upstream_Group, adlavinitha reddy

This patch adds conditional bus regulator enable/disable support in
mtk_i2c_transfer() to allow I2C bus power gating on platforms that
provide a vbus-supply in the device tree.

The implementation:
- Enables bus_regulator before clk_bulk_enable() if vbus-supply is defined
- Disables bus_regulator after clk_bulk_disable()
- Only activates when vbus-supply is provided in device tree
- Has no impact on platforms without vbus-supply defined

This approach provides power savings for platforms with an extra I2C bus
regulator, while avoiding runtime PM complexity.

Based on linux-next, tag: next-20260305

adlavinitha reddy (1):
  i2c: mediatek: add bus regulator control for power saving

 drivers/i2c/busses/i2c-mt65xx.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

--
2.45.2


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

end of thread, other threads:[~2026-04-14 23:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18  8:46 [v1,PATCH 0/1] i2c: mediatek: add bus regulator control for power saving adlavinitha reddy
2026-03-18  8:46 ` [v1,PATCH 1/1] " adlavinitha reddy
2026-03-26  9:49   ` Chen-Yu Tsai
2026-04-14 23:03   ` Andi Shyti
  -- strict thread matches above, loose matches on Subject: below --
2026-03-18  8:42 [v1,PATCH 0/1] " adlavinitha reddy
2026-03-18  8:42 ` [v1,PATCH 1/1] " adlavinitha reddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox