*
* Return: Returns status, either success or error+reason
*/
-int zynqmp_pm_system_shutdown(const u32 restart)
+int zynqmp_pm_system_shutdown(const u32 type, const u32 subtype)
{
- return invoke_pm_fn(SYSTEM_SHUTDOWN, restart, 0, 0, 0, NULL);
+ return invoke_pm_fn(SYSTEM_SHUTDOWN, type, subtype, 0, 0, NULL);
}
EXPORT_SYMBOL_GPL(zynqmp_pm_system_shutdown);
pm_api_arg[1], pm_api_arg[2]);
break;
case SYSTEM_SHUTDOWN:
- ret = zynqmp_pm_system_shutdown(pm_api_arg[0]);
+ ret = zynqmp_pm_system_shutdown(pm_api_arg[0], pm_api_arg[1]);
break;
case REQUEST_NODE:
ret = zynqmp_pm_request_node(pm_api_arg[0],
int zynqmp_pm_set_wakeup_source(const u32 target,
const u32 wakeup_node,
const u32 enable);
-int zynqmp_pm_system_shutdown(const u32 restart);
+int zynqmp_pm_system_shutdown(const u32 type, const u32 subtype);
/* API for suspending of RPU */
int zynqmp_pm_force_powerdown(const u32 target,