diff options
author | Ye Li <ye.li@nxp.com> | 2019-10-26 16:24:03 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-11-03 17:04:16 +0100 |
commit | 264977d1c2f12c8b7bcb125405a66bb05332d3c5 (patch) | |
tree | 3b4b9c0e2054d82164950b37cec3e7dd725bd9d3 /drivers/power | |
parent | 6dcc6cebcf1a0d2ab2b8dde5936556b58807f77d (diff) | |
download | u-boot-264977d1c2f12c8b7bcb125405a66bb05332d3c5.tar.gz |
mach-imx: Adding new argument for SIP call interface
Need to pass total 5 arguments for SIP HAB call on i.MX8MQ,
so update the interface to add new argument.
Signed-off-by: Ye Li <ye.li@nxp.com>
[agust: fixed imx8m-power-domain build]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Patrick Wildt <patrick@blueri.se>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/domain/imx8m-power-domain.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/power/domain/imx8m-power-domain.c b/drivers/power/domain/imx8m-power-domain.c index 164fb3d31d..40ece9ee3f 100644 --- a/drivers/power/domain/imx8m-power-domain.c +++ b/drivers/power/domain/imx8m-power-domain.c @@ -37,7 +37,8 @@ static int imx8m_power_domain_on(struct power_domain *power_domain) if (pdata->has_pd) power_domain_on(&pdata->pd); - call_imx_sip(IMX_SIP_GPC, IMX_SIP_GPC_PM_DOMAIN, pdata->resource_id, 1); + call_imx_sip(IMX_SIP_GPC, IMX_SIP_GPC_PM_DOMAIN, + pdata->resource_id, 1, 0); return 0; } @@ -51,7 +52,8 @@ static int imx8m_power_domain_off(struct power_domain *power_domain) if (pdata->resource_id < 0) return -EINVAL; - call_imx_sip(IMX_SIP_GPC, IMX_SIP_GPC_PM_DOMAIN, pdata->resource_id, 0); + call_imx_sip(IMX_SIP_GPC, IMX_SIP_GPC_PM_DOMAIN, + pdata->resource_id, 0, 0); if (pdata->has_pd) power_domain_off(&pdata->pd); |