[PATCH v5 0/4] i3c: renesas: Add suspend/resume support

Tommaso Merciai posted 4 patches 1 month ago
drivers/i3c/master/renesas-i3c.c | 259 ++++++++++++++++++++-----------
1 file changed, 170 insertions(+), 89 deletions(-)
[PATCH v5 0/4] i3c: renesas: Add suspend/resume support
Posted by Tommaso Merciai 1 month ago
Dear All,
This series adds suspend/resume support to the Renesas I3C controller driver.

Thanks & Regards,
Tommaso

v4->v5:
 - Rebased on top of next-20260107
 - PATCH 1/4:
     - Improved check for clk_bulk_get_all_enabled() failure into
       renesas_i3c_probe().
 - PATCH 2/4:
     - Moved presetn and tresetn reset controls renesas_i3c struct
       entries above num_clks to avoid padding.
 - PATCH 4/4:
     - Collected tag.

v3->v4:
 - Rebased on top of next-20260105
 - PATCH 1/4:
     - Collected tag.
 - PATCH 4/4:
     - Use clk_bulk_disable/enable() into renesas_i3c_suspend/resume_noirq()
       instead of clk_bulk_prepare_enable()/clk_bulk_disable_unprepare()

v2->v3:
 - PATCH 1/4:
     - Added define for TCLK index.
     - Use devm_clk_bulk_get_all_enabled() into renesas_i3c_probe().
     - Improved commit body.
     - Dropped unnecessary static const char * const renesas_i3c_clks[].
     - Removed the need for per-SoC clock handling and the renesas_i3c_config data.
 - PATCH 2/4:
     - Collected FLi tag.
     - Improved commit body.
 - PATCH 3/4:
     - Collected FLi tag.
     - Improved commit body.
 - PATCH 4/4:
     Fixed error path into renesas_i3c_resume_noirq() and
     renesas_i3c_suspend_noirq() function.

v1->v2:
 - Split patches into smaller chunks.
 - Use clock bulk API.
 - Update patch 4/4 accordingly.

Tommaso Merciai (4):
  i3c: renesas: Switch to clk_bulk API and store clocks in private data
  i3c: renesas: Store clock rate and reset controls in struct
    renesas_i3c
  i3c: renesas: Factor out hardware initialization to separate function
  i3c: renesas: Add suspend/resume support

 drivers/i3c/master/renesas-i3c.c | 259 ++++++++++++++++++++-----------
 1 file changed, 170 insertions(+), 89 deletions(-)

-- 
2.43.0
Re: [PATCH v5 0/4] i3c: renesas: Add suspend/resume support
Posted by Alexandre Belloni 3 weeks, 2 days ago
On Wed, 07 Jan 2026 11:33:46 +0100, Tommaso Merciai wrote:
> This series adds suspend/resume support to the Renesas I3C controller driver.
> 
> Thanks & Regards,
> Tommaso
> 
> v4->v5:
>  - Rebased on top of next-20260107
>  - PATCH 1/4:
>      - Improved check for clk_bulk_get_all_enabled() failure into
>        renesas_i3c_probe().
>  - PATCH 2/4:
>      - Moved presetn and tresetn reset controls renesas_i3c struct
>        entries above num_clks to avoid padding.
>  - PATCH 4/4:
>      - Collected tag.
> 
> [...]

Applied, thanks!

[1/4] i3c: renesas: Switch to clk_bulk API and store clocks in private data
      https://git.kernel.org/i3c/c/579c7255922a
[2/4] i3c: renesas: Store clock rate and reset controls in struct renesas_i3c
      https://git.kernel.org/i3c/c/ff4e4f03f008
[3/4] i3c: renesas: Factor out hardware initialization to separate function
      https://git.kernel.org/i3c/c/5eb3e8763e07
[4/4] i3c: renesas: Add suspend/resume support
      https://git.kernel.org/i3c/c/e7218986319b

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com