Tool/software: Linux
Hi,
We have a custom board with an AM3352 and are currently migrating from kernel 3.2 to kernel 4.9. In kernel 3.2 we had a small driver responsible for controlling the USBx_DRVVBUS state, since (due to project restrictions) we don't use the kernel's Power Management functionality.
When migrating the driver to kernel 4.9, we ran into a problem because our driver issues a request_mem_region that fails because the request memory region (USB1 power control register @ 0x47401C0) is already reserved (the region is reserved in the device tree, by the usb1 device).
Given this scenario, I have 2 questions:
- How can I access this register to control DRVVBUS's state without using any of the kernel's PM functionality?
- Is there a way to access this memory region reserved by the device?
I saw some older questions regarding this issue, but I was wondering if there were any developments in the recente kernel releases.
Regards,
Guilherme