mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-08 00:06:59 +02:00
We don't support USB super-speed in U-Boot yet, we lack the SS PHY drivers, however from my testing even with a PHY driver there seem to be other issues when talking to super-speed peripherals. In pursuit of maintaining upstream DT compatibility, and simplifying porting for new devices, let's implement the DT fixups necessary to configure USB in high-speed only mode at runtime. The pattern is identical for all Qualcomm boards that use the Synaptics DWC3 controller: * Add an additional property on the Qualcomm wrapper node * Remove the super-speed phy phandle and phy-name entries. Acked-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
21 lines
474 B
C
21 lines
474 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef __QCOM_PRIV_H__
|
|
#define __QCOM_PRIV_H__
|
|
|
|
#if CONFIG_IS_ENABLED(OF_LIVE)
|
|
/**
|
|
* qcom_of_fixup_nodes() - Fixup Qualcomm DT nodes
|
|
*
|
|
* Adjusts nodes in the live tree to improve compatibility with U-Boot.
|
|
*/
|
|
void qcom_of_fixup_nodes(void);
|
|
#else
|
|
static inline void qcom_of_fixup_nodes(void)
|
|
{
|
|
log_debug("Unable to dynamically fixup USB nodes, please enable CONFIG_OF_LIVE\n");
|
|
}
|
|
#endif /* OF_LIVE */
|
|
|
|
#endif /* __QCOM_PRIV_H__ */
|