commit | 4624faadffdb1cad65ad0c77d5a302ccbfaf4eae | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Fri Jul 27 10:20:39 2018 +0800 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Aug 06 11:52:19 2018 +0200 |
tree | afbe276bc8272c2ee8d9160a378bfcc35bf933ca | |
parent | 3ad3077848474d75f75cde31dc3eb80d075a4b82 [diff] |
dm: power-domain: query power domain after get device This is to test power_domain_on in device_probe. If the device has a power-domain property, enable it when probe the device. So add the test to check whether it is powered on or not. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>