[PATCH 0/3] media: Support runtime PM and system sleep for TI-CSI2RX

Jai Luthra posted 3 patches 9 months, 3 weeks ago
There is a newer version of this series
drivers/media/platform/cadence/Kconfig             |   1 +
drivers/media/platform/cadence/cdns-csi2rx.c       | 121 +++++++++-----
drivers/media/platform/ti/Kconfig                  |   1 +
.../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c  | 180 +++++++++++++++++++--
4 files changed, 252 insertions(+), 51 deletions(-)
[PATCH 0/3] media: Support runtime PM and system sleep for TI-CSI2RX
Posted by Jai Luthra 9 months, 3 weeks ago
This series adds support for runtime power management and system sleep
for the TI (J721E) CSI2RX pipeline.

Some basic testing with suspend-to-idle mode has been performed to
ensure that any ongoing stream resumes smoothly after wakeup. More
testing with suspend-to-memory mode will be done later, as I need to
update the device management boot firmware, which supports newer APIs
used by the mainline kernel.

I have picked PATCH 1/3 from Changhuang's earlier series [1] with minor
modifications.

Link: https://lore.kernel.org/linux-media/20240718032834.53876-1-changhuang.liang@starfivetech.com/ [1]

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Changhuang Liang (1):
      media: cadence: csi2rx: Support runtime PM

Jai Luthra (2):
      media: ti: j721e-csi2rx: Support runtime suspend
      media: ti: j721e-csi2rx: Support system suspend using pm_notifier

 drivers/media/platform/cadence/Kconfig             |   1 +
 drivers/media/platform/cadence/cdns-csi2rx.c       | 121 +++++++++-----
 drivers/media/platform/ti/Kconfig                  |   1 +
 .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c  | 180 +++++++++++++++++++--
 4 files changed, 252 insertions(+), 51 deletions(-)
---
base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
change-id: 20250224-ti_csi_pm-24808b2b445c

Best regards,
-- 
Jai Luthra <jai.luthra@ideasonboard.com>
Re: [PATCH 0/3] media: Support runtime PM and system sleep for TI-CSI2RX
Posted by Rishikesh Donadkar 4 months, 2 weeks ago
On 24/02/25 19:05, Jai Luthra wrote:
> This series adds support for runtime power management and system sleep
> for the TI (J721E) CSI2RX pipeline.
>
> Some basic testing with suspend-to-idle mode has been performed to
> ensure that any ongoing stream resumes smoothly after wakeup. More
> testing with suspend-to-memory mode will be done later, as I need to
> update the device management boot firmware, which supports newer APIs
> used by the mainline kernel.
>
> I have picked PATCH 1/3 from Changhuang's earlier series [1] with minor
> modifications.
>
> Link: https://lore.kernel.org/linux-media/20240718032834.53876-1-changhuang.liang@starfivetech.com/ [1]
>
> Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>


Hi Jai,

Thank you for the patches. For the entire series,

Tested-by: Rishikesh Donadkar <r-donadkar@ti.com>

Reviewed-by: Rishikesh Donadkar <r-donadkar@ti.com>


Test Logs (AM62A): 
https://gist.github.com/Rishikesh-D/303218d56f51c8acdc02282fef40da36


> ---
> Changhuang Liang (1):
>        media: cadence: csi2rx: Support runtime PM
>
> Jai Luthra (2):
>        media: ti: j721e-csi2rx: Support runtime suspend
>        media: ti: j721e-csi2rx: Support system suspend using pm_notifier
>
>   drivers/media/platform/cadence/Kconfig             |   1 +
>   drivers/media/platform/cadence/cdns-csi2rx.c       | 121 +++++++++-----
>   drivers/media/platform/ti/Kconfig                  |   1 +
>   .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c  | 180 +++++++++++++++++++--
>   4 files changed, 252 insertions(+), 51 deletions(-)
> ---
> base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
> change-id: 20250224-ti_csi_pm-24808b2b445c
>
> Best regards,