Add support for CP110 UTMI PHY
Subsystems (4)
v2 cover Add support for CP110 UTMI PHY
From: Konstantin Porotchkin <[email protected]>
This series of patches adds a new PHY driver for supporting CP110 UTMI PHY in Linux. Currently the functionality of USB ports connected to this PHY depends on boot loader setup.
The new driver eliminates kernel configuration dependency from the boot loader.
v2:
- extend the comment about reference clock
- fix driver probe function, add some prints
- move to usage of dr_mode from connected USB controller instead of dedicated device tree property
Konstantin Porotchkin (4):
drivers: phy: add support for Armada CP110 UTMI PHY devicetree/bindings: add support for CP110 UTMI driver arch/arm64: dts: add support for Marvell CP110 UTMI driver arch/arm64: dts: enable CP110 UTMI driver
.../bindings/phy/phy-mvebu-utmi.txt | 78 +++- .../arm64/boot/dts/marvell/armada-7040-db.dts | 14 +- .../arm64/boot/dts/marvell/armada-8040-db.dts | 21 +- .../boot/dts/marvell/armada-8040-mcbin.dtsi | 19 +- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 + arch/arm64/boot/dts/marvell/cn9130-db.dts | 12 +- arch/arm64/boot/dts/marvell/cn9131-db.dts | 9 +- arch/arm64/boot/dts/marvell/cn9132-db.dts | 11 +- drivers/phy/marvell/Kconfig | 8 + drivers/phy/marvell/Makefile | 1 + drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 384 ++++++++++++++++++ 11 files changed, 556 insertions(+), 20 deletions(-) create mode 100644 drivers/phy/marvell/phy-mvebu-cp110-utmi.c
Signature · 1 line
2.17.1
PATCH v2 1/4 drivers: phy: add support for Armada CP110 UTMI PHY
From: Konstantin Porotchkin <[email protected]>
Add support for Marvell CP110 UTMI PHY driver allowing the USB2 port configuration independently from the boot loader setup. The CP110/CP115 dies have 2 UTMI PHYs that could be connected to two USB host controllers or to single USB device controller. Since there is only one USB device controller on die, only one of the UTMI PHYs could work in USB device mode.
The CONFIG_PHY_MVEBU_CP110_UTMI should be enabled for usage of this driver.
--- drivers/phy/marvell/Kconfig | 8 + drivers/phy/marvell/Makefile | 1 + drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 384 ++++++++++++++++++++ 3 files changed, 393 insertions(+) create mode 100644 drivers/phy/marvell/phy-mvebu-cp110-utmi.c
drivers/phy/marvell/Kconfig +8 -0
@@ -67,6 +67,14 @@ config PHY_MVEBU_CP110_COMPHY lanes can be used by various controllers (Ethernet, sata, usb, PCIe...). +config PHY_MVEBU_CP110_UTMI + tristate "Marvell CP110 UTMI driver" + depends on ARCH_MVEBU || COMPILE_TEST + depends on OF + select GENERIC_PHY + help + Enable this to support Marvell CP110 UTMI PHY driver. + config PHY_MVEBU_SATA def_bool y depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
drivers/phy/marvell/Makefile +1 -0
@@ -8,6 +8,7 @@ obj-$(CONFIG_PHY_MVEBU_A3700_COMPHY) += phy-mvebu-a3700-comphy.o obj-$(CONFIG_PHY_MVEBU_A3700_UTMI) += phy-mvebu-a3700-utmi.o obj-$(CONFIG_PHY_MVEBU_A38X_COMPHY) += phy-armada38x-comphy.o obj-$(CONFIG_PHY_MVEBU_CP110_COMPHY) += phy-mvebu-cp110-comphy.o +obj-$(CONFIG_PHY_MVEBU_CP110_UTMI) += phy-mvebu-cp110-utmi.o obj-$(CONFIG_PHY_MVEBU_SATA) += phy-mvebu-sata.o obj-$(CONFIG_PHY_PXA_28NM_HSIC) += phy-pxa-28nm-hsic.o obj-$(CONFIG_PHY_PXA_28NM_USB2) += phy-pxa-28nm-usb2.o
drivers/phy/marvell/phy-mvebu-cp110-utmi.c new file +384 -0
384 lines not on this page · raw message
Signature · 1 line
2.17.1
kernel test robot
build botRe: [PATCH v2 1/4] drivers: phy: add support for Armada CP110 UTMI PHY
Thank you for the patch! Yet something to improve:
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on arm/for-next keystone/next soc/for-next rockchip/for-next arm64/for-next/core shawnguo/for-next kvmarm/next linus/master v5.11] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/kostap-marvell-com/Add-support-for-CP110-UTMI-PHY/20210215-000633 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: parisc-randconfig-r034-20210221 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/dcbc3ab68fea9223d2fe44c3348da8a11c9d5ce3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review kostap-marvell-com/Add-support-for-CP110-UTMI-PHY/20210215-000633 git checkout dcbc3ab68fea9223d2fe44c3348da8a11c9d5ce3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
All errors (new ones prefixed by >>):
hppa-linux-ld: drivers/phy/marvell/phy-mvebu-cp110-utmi.o: in function `mvebu_cp110_utmi_phy_probe':
>> (.text+0x230): undefined reference to `of_usb_get_dr_mode_by_phy'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
kernel test robot
build botRe: [PATCH v2 1/4] drivers: phy: add support for Armada CP110 UTMI PHY
In reply to [email protected]Thank you for the patch! Yet something to improve:
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on arm/for-next keystone/next soc/for-next rockchip/for-next arm64/for-next/core shawnguo/for-next kvmarm/next linus/master v5.11 next-20210219] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/kostap-marvell-com/Add-support-for-CP110-UTMI-PHY/20210215-000633 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: riscv-randconfig-r021-20210221 (attached as .config) compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/dcbc3ab68fea9223d2fe44c3348da8a11c9d5ce3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review kostap-marvell-com/Add-support-for-CP110-UTMI-PHY/20210215-000633 git checkout dcbc3ab68fea9223d2fe44c3348da8a11c9d5ce3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
All errors (new ones prefixed by >>):
riscv32-linux-ld: drivers/phy/marvell/phy-mvebu-cp110-utmi.o: in function `.L13':
>> phy-mvebu-cp110-utmi.c:(.text+0x1f8): undefined reference to `of_usb_get_dr_mode_by_phy'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
PATCH v2 2/4 devicetree/bindings: add support for CP110 UTMI driver
In reply to [email protected]From: Konstantin Porotchkin <[email protected]>
Add DTS binding for Marvell CP110 UTMI driver
--- Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt | 78 ++++++++++++++++++-- 1 file changed, 72 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +72 -6
@@ -1,30 +1,56 @@ -MVEBU A3700 UTMI PHY --------------------- +MVEBU UTMI PHY +--------------- USB2 UTMI+ PHY controllers can be found on the following Marvell MVEBU SoCs: * Armada 3700 +* Armada 7k/8k (on the CP110) +* Armada CN913x (on the CP115) On Armada 3700, there are two USB controllers, one is compatible with the USB2 and USB3 specifications and supports OTG. The other one is USB2 compliant and only supports host mode. Both of these controllers come with a slightly different UTMI PHY. +On Armada 7k/8k and CN913x, there are two host and one device USB controllers. +Each of two exiting UTMI PHYs could be connected to either USB host or USB device +controller. +The USB device controller can only be connected to a single UTMI PHY port: + 0.H----- USB HOST0 +UTMI PHY0 --------/ + 0.D-----0 + \------ USB DEVICE + 1.D-----1 +UTMI PHY1 --------\ + 1.H----- USB HOST1 + + Required Properties: - compatible: Should be one of: * "marvell,a3700-utmi-host-phy" for the PHY connected to - the USB2 host-only controller. + the USB2 host-only controller (for Armada3700 only). * "marvell,a3700-utmi-otg-phy" for the PHY connected to - the USB3 and USB2 OTG capable controller. + the USB3 and USB2 OTG capable controller (for Armada3700 only. + * "marvell,cp110-utmi-phy" (for Armada 7k/8k or CN913x only). - reg: PHY IP register range. - marvell,usb-misc-reg: handle on the "USB miscellaneous registers" shared region covering registers related to both the host - controller and the PHY. -- #phy-cells: Standard property (Documentation: phy-bindings.txt) Should be 0. + controller and the PHY (for Armada3700 only). +- marvell,system-controller: should contain a phandle to the system + controller node (for Armada 7k/8k or CN913x only) +- #phy-cells: Standard property (Documentation: phy-bindings.txt. + Should be 0 (for Armada3700 only). + + +Required properties (child nodes, for Armada 7k/8k/CN913x only): + +- reg: UTMI PHY port ID (0 or 1). +- #phy-cells : Should be 0. Example: +Armada3700 usb2_utmi_host_phy: phy@5f000 { compatible = "marvell,armada-3700-utmi-host-phy"; reg = <0x5f000 0x800>;
@@ -36,3 +62,43 @@ Example: compatible = "marvell,armada-3700-usb2-host-misc", "syscon"; reg = <0x5f800 0x800>; }; + +Armada 7k/8k/CN913x + + cp0_utmi: utmi@580000 { + compatible = "marvell,cp110-utmi-phy"; + reg = <0x580000 0x2000>; + marvell,system-controller = <&cp0_syscon0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + cp0_utmi0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + cp0_utmi1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + + cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phys = <&cp0_utmi0>; + phy-names = "utmi"; + /* UTMI0 is connected to USB host controller (default mode) */ + dr_mode = "host"; + }; + + cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phys = <&cp0_utmi1>; + phy-names = "utmi"; + /* UTMI1 is connected to USB device controller */ + dr_mode = "peripheral"; + }; +
Signature · 1 line
2.17.1
Rob Herring
maintainerRe: [PATCH v2 2/4] devicetree/bindings: add support for CP110 UTMI driver
Quoted 3 lines · On Sun, Feb 14, 2021 at 06:01:06PM +0200, [email protected] wrote:
From: Konstantin Porotchkin <[email protected]>
Add DTS binding for Marvell CP110 UTMI driver
Bindings are for h/w blocks/devices, not drivers.
Quoted 5 lines
Signed-off-by Konstantin Porotchkin <[email protected]>--- Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt | 78 ++++++++++++++++++-- 1 file changed, 72 insertions(+), 6 deletions(-)
This is a big enough change, please convert to schema first.
Quoted 72 lines
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +32
-6@@ -1,30 +1,56 @@ -MVEBU A3700 UTMI PHY --------------------- +MVEBU UTMI PHY +--------------- USB2 UTMI+ PHY controllers can be found on the following Marvell MVEBU SoCs: * Armada 3700 +* Armada 7k/8k (on the CP110) +* Armada CN913x (on the CP115) On Armada 3700, there are two USB controllers, one is compatible with the USB2 and USB3 specifications and supports OTG. The other one is USB2 compliant and only supports host mode. Both of these controllers come with a slightly different UTMI PHY. +On Armada 7k/8k and CN913x, there are two host and one device USB controllers. +Each of two exiting UTMI PHYs could be connected to either USB host or USB device +controller. +The USB device controller can only be connected to a single UTMI PHY port: + 0.H----- USB HOST0 +UTMI PHY0 --------/ + 0.D-----0 + \------ USB DEVICE + 1.D-----1 +UTMI PHY1 --------\ + 1.H----- USB HOST1 + + Required Properties: - compatible: Should be one of: * "marvell,a3700-utmi-host-phy" for the PHY connected to - the USB2 host-only controller. + the USB2 host-only controller (for Armada3700 only). * "marvell,a3700-utmi-otg-phy" for the PHY connected to - the USB3 and USB2 OTG capable controller. + the USB3 and USB2 OTG capable controller (for Armada3700 only. + * "marvell,cp110-utmi-phy" (for Armada 7k/8k or CN913x only). - reg: PHY IP register range. - marvell,usb-misc-reg: handle on the "USB miscellaneous registers" shared region covering registers related to both the host - controller and the PHY. -- #phy-cells: Standard property (Documentation: phy-bindings.txt) Should be 0. + controller and the PHY (for Armada3700 only). +- marvell,system-controller: should contain a phandle to the system + controller node (for Armada 7k/8k or CN913x only) +- #phy-cells: Standard property (Documentation: phy-bindings.txt. + Should be 0 (for Armada3700 only). + + +Required properties (child nodes, for Armada 7k/8k/CN913x only): + +- reg: UTMI PHY port ID (0 or 1). +- #phy-cells : Should be 0. Example: +Armada3700 usb2_utmi_host_phy: phy@5f000 { compatible = "marvell,armada-3700-utmi-host-phy"; reg = <0x5f000 0x800>;@@ -36,3 +62,43 @@ Example: compatible = "marvell,armada-3700-usb2-host-misc", "syscon"; reg = <0x5f800 0x800>; };
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt Example: · line 74
Quoted 10 lines
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +10
-0+ +Armada 7k/8k/CN913x + + cp0_utmi: utmi@580000 { + compatible = "marvell,cp110-utmi-phy"; + reg = <0x580000 0x2000>; + marvell,system-controller = <&cp0_syscon0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled";
Don't put status in examples.
Quoted 9 lines
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +9
-0+ + cp0_utmi0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + cp0_utmi1: phy@1 { + reg = <1>; + #phy-cells = <0>;
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt Example: · line 93
Quoted 10 lines
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +10
-0+ }; + }; + + cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phys = <&cp0_utmi0>; + phy-names = "utmi"; + /* UTMI0 is connected to USB host controller (default mode) */ + dr_mode = "host";
Nodes need to be complete (and pass validation).
Quoted 14 lines
Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt +11
-0+ }; + + cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phys = <&cp0_utmi1>; + phy-names = "utmi"; + /* UTMI1 is connected to USB device controller */ + dr_mode = "peripheral"; + }; +Signature · 1 line
2.17.1
PATCH v2 3/4 arch/arm64: dts: add support for Marvell CP110 UTMI driver
In reply to [email protected]From: Konstantin Porotchkin <[email protected]>
Add support for Marvell CP110 UTMI driver in a common DTSI
--- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi +19 -0
@@ -275,6 +275,25 @@ }; }; + CP11X_LABEL(utmi): utmi@580000 { + compatible = "marvell,cp110-utmi-phy"; + reg = <0x580000 0x2000>; + marvell,system-controller = <&CP11X_LABEL(syscon0)>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + CP11X_LABEL(utmi0): phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + CP11X_LABEL(utmi1): phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; + CP11X_LABEL(usb3_0): usb@500000 { compatible = "marvell,armada-8k-xhci", "generic-xhci";
Signature · 1 line
2.17.1
PATCH v2 4/4 arch/arm64: dts: enable CP110 UTMI driver
In reply to [email protected]From: Konstantin Porotchkin <[email protected]>
Enable support for CP110 UTMI driver in Armada SoC family platform device trees.
--- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 14 +++++++++---- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 21 ++++++++++++++++++-- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 19 ++++++++++++++++-- arch/arm64/boot/dts/marvell/cn9130-db.dts | 12 +++++++++-- arch/arm64/boot/dts/marvell/cn9131-db.dts | 9 +++++++-- arch/arm64/boot/dts/marvell/cn9132-db.dts | 11 ++++++++-- 6 files changed, 72 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +10 -4
@@ -218,6 +218,10 @@ }; }; +&cp0_utmi { + status = "okay"; +}; + &cp0_comphy1 { cp0_usbh0_con: connector { compatible = "usb-a-connector";
@@ -226,8 +230,9 @@ }; &cp0_usb3_0 { - phys = <&cp0_comphy1 0>; - phy-names = "cp0-usb3h0-comphy"; + phys = <&cp0_comphy1 0>, <&cp0_utmi0>; + phy-names = "cp0-usb3h0-comphy", "utmi"; + dr_mode = "host"; status = "okay"; };
@@ -239,8 +244,9 @@ }; &cp0_usb3_1 { - phys = <&cp0_comphy4 1>; - phy-names = "cp0-usb3h1-comphy"; + phys = <&cp0_comphy4 1>, <&cp0_utmi1>; + phy-names = "cp0-usb3h1-comphy", "utmi"; + dr_mode = "host"; status = "okay"; };
arch/arm64/boot/dts/marvell/armada-8040-db.dts +19 -2
@@ -154,8 +154,15 @@ }; /* CON9 on CP0 expansion */ +&cp0_utmi { + status = "okay"; +}; + &cp0_usb3_0 { usb-phy = <&cp0_usb3_0_phy>; + phys = <&cp0_utmi0>; + phy-names = "utmi"; + dr_mode = "host"; status = "okay"; };
@@ -168,8 +175,9 @@ /* CON10 on CP0 expansion */ &cp0_usb3_1 { - phys = <&cp0_comphy4 1>; - phy-names = "cp0-usb3h1-comphy"; + phys = <&cp0_comphy4 1>, <&cp0_utmi1>; + phy-names = "usb", "utmi"; + dr_mode = "host"; status = "okay"; };
@@ -306,14 +314,23 @@ }; }; +&cp1_utmi { + status = "okay"; +}; + /* CON9 on CP1 expansion */ &cp1_usb3_0 { usb-phy = <&cp1_usb3_0_phy>; + phys = <&cp1_utmi0>; + phy-names = "utmi"; + dr_mode = "host"; status = "okay"; }; /* CON10 on CP1 expansion */ &cp1_usb3_1 { + phys = <&cp1_utmi1>; + phy-names = "utmi"; status = "okay"; };
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +17 -2
@@ -259,13 +259,23 @@ vqmmc-supply = <&v_3_3>; }; +&cp0_utmi { + status = "okay"; +}; + &cp0_usb3_0 { /* J38? - USB2.0 only */ + phys = <&cp0_utmi0>; + phy-names = "utmi"; + dr_mode = "host"; status = "okay"; }; &cp0_usb3_1 { /* J38? - USB2.0 only */ + phys = <&cp0_utmi1>; + phy-names = "utmi"; + dr_mode = "host"; status = "okay"; };
@@ -364,9 +374,14 @@ }; }; +&cp1_utmi { + status = "okay"; +}; + &cp1_usb3_0 { /* CPS Lane 2 - CON7 */ - phys = <&cp1_comphy2 0>; - phy-names = "cp1-usb3h0-comphy"; + phys = <&cp1_comphy2 0>, <&cp1_utmi0>; + phy-names = "cp1-usb3h0-comphy", "utmi"; + dr_mode = "host"; status = "okay"; };
arch/arm64/boot/dts/marvell/cn9130-db.dts +10 -2
@@ -390,14 +390,22 @@ }; }; +&cp0_utmi { + status = "okay"; +}; + &cp0_usb3_0 { status = "okay"; usb-phy = <&cp0_usb3_0_phy0>; - phy-names = "usb"; + phys = <&cp0_utmi0>; + phy-names = "utmi"; + dr_mode = "host"; }; &cp0_usb3_1 { status = "okay"; usb-phy = <&cp0_usb3_0_phy1>; - phy-names = "usb"; + phys = <&cp0_utmi1>; + phy-names = "utmi"; + dr_mode = "host"; };
arch/arm64/boot/dts/marvell/cn9131-db.dts +7 -2
@@ -193,10 +193,15 @@ }; /* CON58 */ +&cp1_utmi { + status = "okay"; +}; + &cp1_usb3_1 { status = "okay"; usb-phy = <&cp1_usb3_0_phy0>; /* Generic PHY, providing serdes lanes */ - phys = <&cp1_comphy3 1>; - phy-names = "usb"; + phys = <&cp1_comphy3 1>, <&cp1_utmi1>; + phy-names = "usb", "utmi"; + dr_mode = "host"; };
arch/arm64/boot/dts/marvell/cn9132-db.dts +9 -2
@@ -205,17 +205,24 @@ }; }; +&cp2_utmi { + status = "okay"; +}; + &cp2_usb3_0 { status = "okay"; usb-phy = <&cp2_usb3_0_phy0>; + phys = <&cp2_utmi0>; phy-names = "usb"; + dr_mode = "host"; }; /* SLM-1521-V2, CON11 */ &cp2_usb3_1 { status = "okay"; usb-phy = <&cp2_usb3_0_phy1>; - phy-names = "usb"; /* Generic PHY, providing serdes lanes */ - phys = <&cp2_comphy3 1>; + phys = <&cp2_comphy3 1>, <&cp2_utmi1>; + phy-names = "usb", "utmi"; + dr_mode = "host"; };
Signature · 1 line
2.17.1