coresight: debug: Move ACPI device support from AMBA to platform driver
This drops cpu debug from the AMBA ACPI device list and instead moves them
inside platform ACPI devices list which can be detected, and processed via
a new platform driver i.e debug_platform_driver.
Platform driver's probe() function initializes the required clock support.
A new clock element has been added to struct debug_drvdata in this regard.
A new helper __debug_probe() which has been refactored from debug_probe(),
which now can be used from both AMBA and platfrom driver probe functions.
The platform driver also adds power management operations support.
Signed-off-by:
Anshuman Khandual <anshuman.khandual@arm.com>
Loading
Please register or sign in to comment