Re: Re: [PATCH 2/2] soc: s4: Add support for power domains controller

From: Kevin Hilman
Date: Wed Feb 09 2022 - 15:31:03 EST


"shunzhou.jiang@xxxxxxxxxxx" <shunzhou.jiang@xxxxxxxxxxx> writes:

> Hi Kevin:
> Thanks your reply.
> Please refer to below comment,
>> S4_VPU_HDMI: for vpu domain, this domain provide power to many moudles(osd, vpp, hdr, dv, di), if close, will cause system crash
>> S4_USB_COMB domain: for usb, if not always on, all usb status will clear to 0, that's not right status for usb

Yes, I understand, this is teh same as for other SoCs (e.g. A1.) The
solution is not to set the domain to always on. The solution is for the
drivers for the devices in these domains use runtime PM so that when the
drivers are active, the power domain does not get shut off.

>> S4_ETH: for ethernet online wakeup, and if power down, status also not right

OK, this one makes sense for "always on" since it used by firmware for
wakeup.

Kevin