mbox series

[0/7] firmware: imx: scu-pd: misc update

Message ID 20230714090936.937344-1-peng.fan@oss.nxp.com (mailing list archive)
Headers show
Series firmware: imx: scu-pd: misc update | expand

Message

Peng Fan (OSS) July 14, 2023, 9:09 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

This patchset is to upstream NXP downstream scu-pd driver patches.
patch 1,2 is to support more PDs
patch 3 is to not power off console when no console suspend
patch 4 is to suppress bind
patch 5 is to make genpd align with HW state
patch 6 is to support LP mode in runtime suspend, OFF mode in system suspend.
patch 7 is to change init level to avoid uneccessary defer probe

Dong Aisheng (2):
  firmware: imx: scu-pd: do not power off console if no_console_suspend
  firmware: imx: scu-pd: change init level to subsys_initcall

Peng Fan (5):
  firmware: imx: scu-pd: enlarge PD range
  firmware: imx: scu-pd: add more PDs
  firmware: imx: scu-pd: Suppress bind attrs
  firmware: imx: scu-pd: initialize is_off according to HW state
  firmware: imx: scu-pd: add multi states support

 drivers/firmware/imx/scu-pd.c | 193 ++++++++++++++++++++++++++++++++--
 1 file changed, 182 insertions(+), 11 deletions(-)

Comments

Shawn Guo July 19, 2023, 7 a.m. UTC | #1
+Ulf

On Fri, Jul 14, 2023 at 05:09:29PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> This patchset is to upstream NXP downstream scu-pd driver patches.
> patch 1,2 is to support more PDs
> patch 3 is to not power off console when no console suspend
> patch 4 is to suppress bind
> patch 5 is to make genpd align with HW state
> patch 6 is to support LP mode in runtime suspend, OFF mode in system suspend.
> patch 7 is to change init level to avoid uneccessary defer probe
> 
> Dong Aisheng (2):
>   firmware: imx: scu-pd: do not power off console if no_console_suspend
>   firmware: imx: scu-pd: change init level to subsys_initcall
> 
> Peng Fan (5):
>   firmware: imx: scu-pd: enlarge PD range
>   firmware: imx: scu-pd: add more PDs
>   firmware: imx: scu-pd: Suppress bind attrs
>   firmware: imx: scu-pd: initialize is_off according to HW state
>   firmware: imx: scu-pd: add multi states support
> 
>  drivers/firmware/imx/scu-pd.c | 193 ++++++++++++++++++++++++++++++++--
>  1 file changed, 182 insertions(+), 11 deletions(-)

We have genpd subsystem [1] coming.  Should we consider to move this
scu-pd driver there too?

Shawn

[1] https://lore.kernel.org/linux-arm-kernel/20230714092301.28690-1-ulf.hansson@linaro.org/T/
Peng Fan (OSS) July 20, 2023, 8:19 a.m. UTC | #2
On 7/19/2023 3:00 PM, Shawn Guo wrote:
> 
> +Ulf
> 
> On Fri, Jul 14, 2023 at 05:09:29PM +0800, Peng Fan (OSS) wrote:
>> From: Peng Fan <peng.fan@nxp.com>
>>
>> This patchset is to upstream NXP downstream scu-pd driver patches.
>> patch 1,2 is to support more PDs
>> patch 3 is to not power off console when no console suspend
>> patch 4 is to suppress bind
>> patch 5 is to make genpd align with HW state
>> patch 6 is to support LP mode in runtime suspend, OFF mode in system suspend.
>> patch 7 is to change init level to avoid uneccessary defer probe
>>
>> Dong Aisheng (2):
>>    firmware: imx: scu-pd: do not power off console if no_console_suspend
>>    firmware: imx: scu-pd: change init level to subsys_initcall
>>
>> Peng Fan (5):
>>    firmware: imx: scu-pd: enlarge PD range
>>    firmware: imx: scu-pd: add more PDs
>>    firmware: imx: scu-pd: Suppress bind attrs
>>    firmware: imx: scu-pd: initialize is_off according to HW state
>>    firmware: imx: scu-pd: add multi states support
>>
>>   drivers/firmware/imx/scu-pd.c | 193 ++++++++++++++++++++++++++++++++--
>>   1 file changed, 182 insertions(+), 11 deletions(-)
> 
> We have genpd subsystem [1] coming.  Should we consider to move this
> scu-pd driver there too?

ok, I could move scu-pd driver to genpd.

Regards,
Peng.

> 
> Shawn
> 
> [1] https://lore.kernel.org/linux-arm-kernel/20230714092301.28690-1-ulf.hansson@linaro.org/T/