[U-Boot] [PATCH V2 1/2] power: domain: add dev_power_domain_on
Lokesh Vutla
lokeshvutla at ti.com
Tue Sep 24 07:57:30 UTC 2019
On 17/09/19 2:59 PM, Peng Fan wrote:
> Add this new API to power on multiple domains attached
> to a device.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>
[..snip..]
> + */
> +#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
> + CONFIG_IS_ENABLED(POWER_DOMAIN)
> +int dev_power_domain_on(struct udevice *dev);
> +#else
> +int dev_power_domain_on(struct udevice *dev)
static inline
Thanks and regards,
Lokesh
> +{
> + return 0;
> +}
> +#endif
> +
> #endif
>
More information about the U-Boot
mailing list