
30 May
2018
30 May
'18
9:18 p.m.
Hi Peng,
On 28 May 2018 at 06:25, Peng Fan peng.fan@nxp.com wrote:
Add power_domain_lookup_name interface to power domain uclass to find a power domain device by its DTB node name, not using its associated client device.
Through this interface, we can operate the power domain devices directly. This is needed for non-DM drivers.
Signed-off-by: Ye Li ye.li@nxp.com Signed-off-by: Peng Fan peng.fan@nxp.com Cc: Simon Glass sjg@chromium.org
drivers/power/domain/power-domain-uclass.c | 42 ++++++++++++++++++++++++++++++ include/power-domain.h | 15 +++++++++++ 2 files changed, 57 insertions(+)
Please add a test to test/dm/power-domain.c for your newe function.
Regards, Simon