• Lee Jones's avatar
    usb: dwc3: qcom: Add support for booting with ACPI · 2bc02355
    Lee Jones authored
    In Linux, the DWC3 core exists as its own independent platform device.
    Thus when describing relationships in Device Tree, the current default
    boot configuration table option, the DWC3 core often resides as a child
    of the platform specific node.  Both of which are given their own
    address space descriptions and the drivers can be mostly agnostic to
    each other.
    
    However, other Operating Systems have taken a more monolithic approach,
    which is evident in the configuration ACPI tables for the Qualcomm
    Snapdragon SDM850, where all DWC3 (core and platform) components are
    described under a single IO memory region.
    
    To ensure successful booting using the supplied ACPI tables, we need to
    devise a way to chop up the address regions provided and subsequently
    register the DWC3 core with the resultant information, which is
    precisely what this patch aims to achieve.
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    2bc02355
Kconfig 4.07 KB