mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 15:24:54 +00:00
feat(versal2): implement USB_SET_STATE dummy IOCTL
USB DWC3 driver calls firmware API to set USB D0/D3 power states. In absence of firmware driver probe these PM APIs return -ENODEV and DWC3 driver probe fails. Till PLM implement these PM APIs as a temporary workaround add dummy PM implementation in TFA. Change-Id: I8768301524ffdc2f275221296feaa2a3ad0ad4f6 Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
This commit is contained in:
parent
b76929825b
commit
282bce19bb
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,8 @@ static int32_t no_pm_ioctl(uint32_t device_id, uint32_t ioctl_id,
|
||||||
mmio_write_32(PMXC_IOU_SLCR_SRAM_CSR, arg2);
|
mmio_write_32(PMXC_IOU_SLCR_SRAM_CSR, arg2);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case IOCTL_USB_SET_STATE:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = PM_RET_ERROR_NOFEATURE;
|
ret = PM_RET_ERROR_NOFEATURE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue