commit | 7a2c2be013742df10b411c1d29c4604432d463dc | [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 | 6fba32d2f37210e637db414c1febd1812a1f8094 [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>