Add JH7110 USB and USB PHY driver support
Subsystems (9)
Minda Chen
maintainerPATCH v6 1/7 dt-bindings: phy: Add StarFive JH7110 USB PHY
In reply to Minda ChenAdd StarFive JH7110 SoC USB 2.0 PHY dt-binding.
--- .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml
Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml new file +50 -0
@@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 USB 2.0 PHY + +maintainers: + - Minda Chen <[email protected]> + +properties: + compatible: + const: starfive,jh7110-usb-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: PHY 125m + - description: app 125m + + clock-names: + items: + - const: 125m + - const: app_125m + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@10200000 { + compatible = "starfive,jh7110-usb-phy"; + reg = <0x10200000 0x10000>; + clocks = <&syscrg 95>, + <&stgcrg 6>; + clock-names = "125m", "app_125m"; + #phy-cells = <0>; + };
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 3/7 phy: starfive: Add JH7110 USB 2.0 PHY driver
In reply to Minda ChenAdd Starfive JH7110 SoC USB 2.0 PHY driver support. USB 2.0 PHY default connect to Cadence USB controller.
--- MAINTAINERS | 6 ++ drivers/phy/starfive/Kconfig | 11 ++ drivers/phy/starfive/Makefile | 1 + drivers/phy/starfive/phy-jh7110-usb.c | 150 ++++++++++++++++++++++++++ 4 files changed, 168 insertions(+) create mode 100644 drivers/phy/starfive/phy-jh7110-usb.c
MAINTAINERS +6 -0
@@ -20160,6 +20160,12 @@ S: Supported F: Documentation/devicetree/bindings/watchdog/starfive* F: drivers/watchdog/starfive-wdt.c +STARFIVE JH71X0 USB PHY DRIVER +M: Minda Chen <[email protected]> +S: Supported +F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml +F: drivers/phy/starfive/phy-jh7110-usb.c + STATIC BRANCH/CALL M: Peter Zijlstra <[email protected]> M: Josh Poimboeuf <[email protected]>
drivers/phy/starfive/Kconfig +11 -0
@@ -11,3 +11,14 @@ config PHY_STARFIVE_DPHY_RX Choose this option if you have a StarFive D-PHY in your system. If M is selected, the module will be called phy-starfive-dphy-rx. + +config PHY_STARFIVE_JH7110_USB + tristate "Starfive JH7110 USB 2.0 PHY support" + depends on USB_SUPPORT + select GENERIC_PHY + select USB_PHY + help + Enable this to support the StarFive USB 2.0 PHY, + used with the Cadence USB controller. + If M is selected, the module will be called + phy-jh7110-usb.ko.
drivers/phy/starfive/Makefile +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PHY_STARFIVE_DPHY_RX) += phy-starfive-dphy-rx.o +obj-$(CONFIG_PHY_STARFIVE_JH7110_USB) += phy-jh7110-usb.o
drivers/phy/starfive/phy-jh7110-usb.c new file +150 -0
150 lines not on this page · raw message
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 4/7 phy: starfive: Add JH7110 PCIE 2.0 PHY driver
In reply to Minda ChenAdd Starfive JH7110 SoC PCIe 2.0 PHY driver support. PCIe 2.0 PHY default connect to PCIe controller. PCIe PHY can connect to USB 3.0 controller.
--- MAINTAINERS | 4 +- drivers/phy/starfive/Kconfig | 10 ++ drivers/phy/starfive/Makefile | 1 + drivers/phy/starfive/phy-jh7110-pcie.c | 204 +++++++++++++++++++++++++ 4 files changed, 218 insertions(+), 1 deletion(-) create mode 100644 drivers/phy/starfive/phy-jh7110-pcie.c
MAINTAINERS +3 -1
@@ -20160,10 +20160,12 @@ S: Supported F: Documentation/devicetree/bindings/watchdog/starfive* F: drivers/watchdog/starfive-wdt.c -STARFIVE JH71X0 USB PHY DRIVER +STARFIVE JH71X0 PCIE AND USB PHY DRIVER M: Minda Chen <[email protected]> S: Supported +F: Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml +F: drivers/phy/starfive/phy-jh7110-pcie.c F: drivers/phy/starfive/phy-jh7110-usb.c STATIC BRANCH/CALL
drivers/phy/starfive/Kconfig +10 -0
@@ -12,6 +12,16 @@ config PHY_STARFIVE_DPHY_RX system. If M is selected, the module will be called phy-starfive-dphy-rx. +config PHY_STARFIVE_JH7110_PCIE + tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support" + select GENERIC_PHY + select USB_PHY + help + Enable this to support the StarFive PCIe 2.0 PHY, + or used as USB 3.0 PHY. + If M is selected, the module will be called + phy-jh7110-pcie.ko. + config PHY_STARFIVE_JH7110_USB tristate "Starfive JH7110 USB 2.0 PHY support" depends on USB_SUPPORT
drivers/phy/starfive/Makefile +1 -0
@@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_PHY_STARFIVE_DPHY_RX) += phy-starfive-dphy-rx.o +obj-$(CONFIG_PHY_STARFIVE_JH7110_PCIE) += phy-jh7110-pcie.o obj-$(CONFIG_PHY_STARFIVE_JH7110_USB) += phy-jh7110-usb.o
drivers/phy/starfive/phy-jh7110-pcie.c new file +204 -0
204 lines not on this page · raw message
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 5/7 dt-bindings: usb: Add StarFive JH7110 USB controller
In reply to Minda ChenStarFive JH7110 platforms USB have a wrapper module around the Cadence USBSS-DRD controller. Add binding information doc for that.
--- .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml
Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml new file +115 -0
@@ -0,0 +1,115 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/starfive,jh7110-usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller + +maintainers: + - Minda Chen <[email protected]> + +properties: + compatible: + const: starfive,jh7110-usb + + ranges: true + + starfive,stg-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Register Controller stg_syscon node. + - description: dr mode register offset of STG_SYSCONSAIF__SYSCFG register for USB. + description: + The phandle to System Register Controller syscon node and the offset + of STG_SYSCONSAIF__SYSCFG register for USB. + + dr_mode: + enum: [host, otg, peripheral] + + "#address-cells": + enum: [1, 2] + + "#size-cells": + enum: [1, 2] + + clocks: + items: + - description: link power management clock + - description: standby clock + - description: APB clock + - description: AXI clock + - description: UTMI APB clock + + clock-names: + items: + - const: lpm + - const: stb + - const: apb + - const: axi + - const: utmi_apb + + resets: + items: + - description: Power up reset + - description: APB clock reset + - description: AXI clock reset + - description: UTMI APB clock reset + + reset-names: + items: + - const: pwrup + - const: apb + - const: axi + - const: utmi_apb + +patternProperties: + "^usb@[0-9a-f]+$": + $ref: cdns,usb3.yaml# + description: Required child node + +required: + - compatible + - ranges + - starfive,stg-syscon + - '#address-cells' + - '#size-cells' + - dr_mode + - clocks + - resets + +additionalProperties: false + +examples: + - | + usb@10100000 { + compatible = "starfive,jh7110-usb"; + ranges = <0x0 0x10100000 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + starfive,stg-syscon = <&stg_syscon 0x4>; + clocks = <&syscrg 4>, + <&stgcrg 5>, + <&stgcrg 1>, + <&stgcrg 3>, + <&stgcrg 2>; + clock-names = "lpm", "stb", "apb", "axi", "utmi_apb"; + resets = <&stgcrg 10>, + <&stgcrg 8>, + <&stgcrg 7>, + <&stgcrg 9>; + reset-names = "pwrup", "apb", "axi", "utmi_apb"; + dr_mode = "host"; + + usb@0 { + compatible = "cdns,usb3"; + reg = <0x0 0x10000>, + <0x10000 0x10000>, + <0x20000 0x10000>; + reg-names = "otg", "xhci", "dev"; + interrupts = <100>, <108>, <110>; + interrupt-names = "host", "peripheral", "otg"; + maximum-speed = "super-speed"; + }; + };
Signature · 1 line
2.17.1
Minda Chen
maintainerv6 cover Add JH7110 USB and USB PHY driver support
This patchset adds USB driver and USB PHY for the StarFive JH7110 SoC. USB work mode is peripheral and using USB 2.0 PHY in VisionFive 2 board. The patch has been tested on the VisionFive 2 board.
This patchset should be applied after the patchset [1], [2] and [3]:
[1] https://patchwork.kernel.org/project/linux-riscv/cover/[email protected]/
[2] https://patchwork.kernel.org/project/linux-clk/cover/[email protected]
[3] https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/
This patchset is base on v6.4-rc1
patch 1 is usb phy dt-binding document.
patch 2 is Pcie PHY dt-binding document.
patch 3 is USB 2.0 PHY driver.
patch 4 is PCIe PHY driver.
patch 5 is usb dt-binding document.
patch 6 is the wrapper module driver of Cadence USB3. USB controller IP is Cadence USB3. patch 7 is USB device tree configuration.
previous version
---
version 1 patchset are split to different kernel organization. It is incorrect. But they were sent, and Emil sent comments. I think I should reserve them in cover-letter. To read the change records and previous version, please start with version 2.
v1: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v2: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v3: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v4: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v5: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
changes
v6:
1. (patch 3) remove the platform remove function.
2. (patch 4)
- add switch to pcie mode function.
- remove the redundant init/exit function.
3. (patch 5)
- dts split to wrapper layer and cdns node. The codes are like v3.
- add cdns3 sub node dts-binding references.
4. (patch 6)
For stg-syscon iomem 0x10240000 - 0x10240010 actually is belonged to usb, so USB contain its own registers. So do not merge the dts node. The codes are like v3.
- remove the cdns3_platform_add function.
- remove phy ops because cdns3 contain all the phy ops.
- runtime suspend function just shutdown the clocks.
5. (patch 7)
- add cdns3 subnode again.
v5:
1. (patch 1) set correct model name and commit title.
2. (patch 2) change to '-item' in syscon property. change commit title.
3. (patch 5)
- change to '-item' in syscon configure.
- change commit title and doc title.
4. (patch 6)
- add clk and phy deinit function
- add clk deinit function if phy init failed.
- coding style changes and other format changes.
v4:
1. (patch 1) split PCIe PHY dt-binding doc to patch 2.
2. (patch 2) PCIe PHY add stg and sys con configuration to dt-binding doc.
3. (patch 3)
- split PCIe PHY driver to patch 4.
- replace dr_mode to phy mode in jh7110_usb2_phy.
4. (patch 4)
- Makefile and Kconfig sorted by alphabet sequence.
- Add PCIe PHY stg and syscon PHY connection configuration for USB 3.0.
5. (patch 5)
- commit message changed.
- merge wrapper dts node and cdns3 node in example.
- Add interrupts, reg, phy and dr_mode in property.
- Add reset-name in property example.
6. (patch 6)
- For dts node is merged, Using platform_device_alloc and platform_device_add to generate cadence sub device.
- IOMEM and IRQ resource are passed to Cadence sub device.
- Add PHY ops process for PHY dts setting can not be passed to Cadence USB driver.
- remove the stg and sys USB 3.0 PHY configuration.
- Change the suspend clock reset and clock enable sequence.
- Get all reset and clock resources before enable them in cdns_clk_rst_init.
- commit message changed.
7. (patch 7)
- merge wrapper dts node and cdns3 node in usb dts.
- move the stg and sys USB 3.0 PHY confiuration to
PCIe PHY dts node.
- commit message changed.
- Add reset-names dts.
v3:
1. Add patch 1 - 4. Add USB PHY driver and dt-binding doc. USB PHY codes are moved to patch 3 and patch 4.
2. (patch 5)
- USB wrapper module dts document is moved to usb directory.
- Remove the 'dr_mode' and 'starfive,usb2-only' setting.
- Some dts format changes. dts binding check pass.
3. (patch 6)
- Remove the PHY codes.
- Search 'dr_mode' and phy setting from Cadence subnode.
4. (patch 7)
- Add USB PHY dts configurion.
- 'dr_mode' is moved to Cadence controller submode.
v2:
1. (patch 5) dt-binding changes. The document example is the same as dts config.
2. (patch 6) using dev_err_probe and syscon_regmap_lookup_by_phandle_args function. Some formats changes
3. (patch 7) dts nodes sorted by the address after @
Minda Chen (7):
dt-bindings: phy: Add StarFive JH7110 USB PHY
dt-bindings: phy: Add StarFive JH7110 PCIe PHY
phy: starfive: Add JH7110 USB 2.0 PHY driver
phy: starfive: Add JH7110 PCIE 2.0 PHY driver
dt-bindings: usb: Add StarFive JH7110 USB controller
usb: cdns3: Add StarFive JH7110 USB driver
riscv: dts: starfive: Add USB dts configuration for JH7110
.../phy/starfive,jh7110-pcie-phy.yaml | 58 +++++ .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 ++++ .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++ MAINTAINERS | 14 + .../jh7110-starfive-visionfive-2.dtsi | 5 + arch/riscv/boot/dts/starfive/jh7110.dtsi | 53 ++++ drivers/phy/starfive/Kconfig | 21 ++ drivers/phy/starfive/Makefile | 2 + drivers/phy/starfive/phy-jh7110-pcie.c | 204 +++++++++++++++ drivers/phy/starfive/phy-jh7110-usb.c | 150 +++++++++++ drivers/usb/cdns3/Kconfig | 11 + drivers/usb/cdns3/Makefile | 1 + drivers/usb/cdns3/cdns3-starfive.c | 246 ++++++++++++++++++ 13 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml create mode 100644 drivers/phy/starfive/phy-jh7110-pcie.c create mode 100644 drivers/phy/starfive/phy-jh7110-usb.c create mode 100644 drivers/usb/cdns3/cdns3-starfive.c
base-commit: ac9a78681b921877518763ba0e89202254349d1b
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 2/7 dt-bindings: phy: Add StarFive JH7110 PCIe PHY
Add StarFive JH7110 SoC PCIe 2.0 PHY dt-binding. PCIe PHY0 (phy@10210000) can be used as USB 3.0 PHY.
--- .../phy/starfive,jh7110-pcie-phy.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml
Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml new file +58 -0
@@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 PCIe 2.0 PHY + +maintainers: + - Minda Chen <[email protected]> + +properties: + compatible: + const: starfive,jh7110-pcie-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + starfive,sys-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Register Controller sys_syscon node. + - description: PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY. + description: + The phandle to System Register Controller syscon node and the PHY connect offset + of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller. + + starfive,stg-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Register Controller stg_syscon node. + - description: PHY mode offset of STG_SYSCONSAIF__SYSCFG register. + - description: PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register. + description: + The phandle to System Register Controller syscon node and the offset + of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset. + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@10210000 { + compatible = "starfive,jh7110-pcie-phy"; + reg = <0x10210000 0x10000>; + #phy-cells = <0>; + starfive,sys-syscon = <&sys_syscon 0x18>; + starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>; + };
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 7/7 riscv: dts: starfive: Add USB dts configuration for JH7110
In reply to Minda ChenAdd USB wrapper layer and Cadence USB3 controller dts configuration for StarFive JH7110 SoC and VisionFive2 Board.
USB controller connect to PHY, The PHY dts configuration are also added.
--- .../jh7110-starfive-visionfive-2.dtsi | 5 ++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 53 +++++++++++++++++++ 2 files changed, 58 insertions(+)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +5 -0
@@ -221,3 +221,8 @@ pinctrl-0 = <&uart0_pins>; status = "okay"; }; + +&usb0 { + dr_mode = "peripheral"; + status = "okay"; +};
arch/riscv/boot/dts/starfive/jh7110.dtsi +53 -0
59 lines not on this page · raw message
Signature · 1 line
2.17.1
Minda Chen
maintainerPATCH v6 6/7 usb: cdns3: Add StarFive JH7110 USB driver
In reply to Minda ChenAdds Specific Glue layer to support USB peripherals on StarFive JH7110 SoC.
There is a Cadence USB3 core for JH7110 SoCs, the cdns core is the child of this USB wrapper module device.
--- MAINTAINERS | 6 + drivers/usb/cdns3/Kconfig | 11 ++ drivers/usb/cdns3/Makefile | 1 + drivers/usb/cdns3/cdns3-starfive.c | 246 +++++++++++++++++++++++++++++ 4 files changed, 264 insertions(+) create mode 100644 drivers/usb/cdns3/cdns3-starfive.c
MAINTAINERS +6 -0
@@ -20168,6 +20168,12 @@ F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml F: drivers/phy/starfive/phy-jh7110-pcie.c F: drivers/phy/starfive/phy-jh7110-usb.c +STARFIVE JH71X0 USB DRIVERS +M: Minda Chen <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml +F: drivers/usb/cdns3/cdns3-starfive.c + STATIC BRANCH/CALL M: Peter Zijlstra <[email protected]> M: Josh Poimboeuf <[email protected]>
drivers/usb/cdns3/Kconfig +11 -0
@@ -78,6 +78,17 @@ config USB_CDNS3_IMX For example, imx8qm and imx8qxp. +config USB_CDNS3_STARFIVE + tristate "Cadence USB3 support on StarFive SoC platforms" + depends on ARCH_STARFIVE || COMPILE_TEST + help + Say 'Y' or 'M' here if you are building for StarFive SoCs + platforms that contain Cadence USB3 controller core. + + e.g. JH7110. + + If you choose to build this driver as module it will + be dynamically linked and module will be called cdns3-starfive.ko endif if USB_CDNS_SUPPORT
drivers/usb/cdns3/Makefile +1 -0
@@ -24,6 +24,7 @@ endif obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o +obj-$(CONFIG_USB_CDNS3_STARFIVE) += cdns3-starfive.o cdnsp-udc-pci-y := cdnsp-pci.o
drivers/usb/cdns3/cdns3-starfive.c new file +246 -0
246 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [PATCH v6 5/7] dt-bindings: usb: Add StarFive JH7110 USB controller
In reply to Minda ChenQuoted 18 lines · Minda Chen
StarFive JH7110 platforms USB have a wrapper module around the Cadence USBSS-DRD controller. Add binding information doc for that.
Signed-off-by Minda Chen <[email protected]>Reviewed-by Peter Chen <[email protected]>Reviewed-by Hal Feng <[email protected]>--- .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yamlDocumentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml new file +0
-0
Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml line 7
Quoted 7 lines
Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml new file +7
-0@@ -0,0 +1,115 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/starfive,jh7110-usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller
I think you told Krzysztof you'd rename this to "StarFive JH7110 Cadence USBSS-DRD SoC controller"?
Otherwise, it looks like all the stuff from him and Rob have been sorted out, so other than $title this is
Thanks,
Conor..
Conor Dooley
maintainerRe: [PATCH v6 7/7] riscv: dts: starfive: Add USB dts configuration for JH7110
In reply to Minda ChenGreg,
Quoted 13 lines · Minda Chen
Add USB wrapper layer and Cadence USB3 controller dts configuration for StarFive JH7110 SoC and VisionFive2 Board.
USB controller connect to PHY, The PHY dts configuration are also added.Signed-off-by Minda Chen <[email protected]>arch/riscv/boot/dts/starfive/jh7110.dtsi +0
-0
arch/riscv/boot/dts/starfive/jh7110.dtsi line 375
Quoted 10 lines
arch/riscv/boot/dts/starfive/jh7110.dtsi +7
-0@@ -366,6 +366,59 @@ status = "disabled"; }; + usb0: usb@10100000 { + compatible = "starfive,jh7110-usb"; + ranges = <0x0 0x0 0x10100000 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + starfive,stg-syscon = <&stg_syscon 0x4>; + clocks = <&stgcrg JH7110_STGCLK_USB0_LPM>,
Please don't pick this patch, if the rest of the series is applicable, as this will break building the dtb as stgcrg does not yet exist in any maintainer tree.
Thanks,
Conor.
Signature · 3 lines
linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Quoted 136 lines · Minda Chen
This patchset adds USB driver and USB PHY for the StarFive JH7110 SoC. USB work mode is peripheral and using USB 2.0 PHY in VisionFive 2 board. The patch has been tested on the VisionFive 2 board.
This patchset should be applied after the patchset [1], [2] and [3]:
[1] https://patchwork.kernel.org/project/linux-riscv/cover/[email protected]/
[2] https://patchwork.kernel.org/project/linux-clk/cover/[email protected]
[3] https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/This patchset is base on v6.4-rc1
patch 1 is usb phy dt-binding document.
patch 2 is Pcie PHY dt-binding document.
patch 3 is USB 2.0 PHY driver.
patch 4 is PCIe PHY driver.
patch 5 is usb dt-binding document.
patch 6 is the wrapper module driver of Cadence USB3. USB controller IP is Cadence USB3. patch 7 is USB device tree configuration.previous version
---
version 1 patchset are split to different kernel organization. It is incorrect. But they were sent, and Emil sent comments. I think I should reserve them in cover-letter. To read the change records and previous version, please start with version 2.v1: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v2: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v3: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v4: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v5: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/changes
v6:
1. (patch 3) remove the platform remove function.
2. (patch 4)
- add switch to pcie mode function.
- remove the redundant init/exit function.
3. (patch 5)
- dts split to wrapper layer and cdns node. The codes are like v3.
- add cdns3 sub node dts-binding references.
4. (patch 6)
For stg-syscon iomem0x10240000-0x10240010actually is belonged to usb, so USB contain its own registers. So do not merge the dts node. The codes are like v3.
- remove thecdns3_platform_addfunction.
- remove phy ops because cdns3 contain all the phy ops.
- runtime suspend function just shutdown the clocks.
5. (patch 7)
- add cdns3 subnode again.v5:
1. (patch 1) set correct model name and commit title.
2. (patch 2) change to '-item' in syscon property. change commit title.
3. (patch 5)
- change to '-item' in syscon configure.
- change commit title and doc title.
4. (patch 6)
- add clk and phy deinit function
- add clk deinit function if phy init failed.
- coding style changes and other format changes.v4:
1. (patch 1) split PCIe PHY dt-binding doc to patch 2.
2. (patch 2) PCIe PHY add stg and sys con configuration to dt-binding doc.
3. (patch 3)
- split PCIe PHY driver to patch 4.
- replacedr_modeto phy mode injh7110_usb2_phy.
4. (patch 4)
-MakefileandKconfigsorted by alphabet sequence.
- Add PCIe PHY stg and syscon PHY connection configuration for USB 3.0.
5. (patch 5)
- commit message changed.
- merge wrapper dts node and cdns3 node in example.
- Add interrupts, reg, phy anddr_modein property.
- Add reset-name in property example.
6. (patch 6)
- For dts node is merged, Usingplatform_device_allocandplatform_device_addto generate cadence sub device.
- IOMEM and IRQ resource are passed to Cadence sub device.
- Add PHY ops process for PHY dts setting can not be passed to Cadence USB driver.
- remove the stg and sys USB 3.0 PHY configuration.
- Change the suspend clock reset and clock enable sequence.
- Get all reset and clock resources before enable them incdns_clk_rst_init.
- commit message changed.
7. (patch 7)
- merge wrapper dts node and cdns3 node in usb dts.
- move the stg and sys USB 3.0 PHY confiuration to
PCIe PHY dts node.
- commit message changed.
- Add reset-names dts.v3:
1. Add patch 1 - 4. Add USB PHY driver and dt-binding doc. USB PHY codes are moved to patch 3 and patch 4.
2. (patch 5)
- USB wrapper module dts document is moved to usb directory.
- Remove the 'dr_mode' and 'starfive,usb2-only' setting.
- Some dts format changes. dts binding check pass.
3. (patch 6)
- Remove the PHY codes.
- Search 'dr_mode' and phy setting from Cadence subnode.
4. (patch 7)
- Add USB PHY dts configurion.
- 'dr_mode' is moved to Cadence controller submode.v2:
1. (patch 5) dt-binding changes. The document example is the same as dts config.
2. (patch 6) usingdev_err_probeandsyscon_regmap_lookup_by_phandle_argsfunction. Some formats changes
3. (patch 7) dts nodes sorted by the address after @Minda Chen (7):
dt-bindings: phy: Add StarFive JH7110 USB PHY
dt-bindings: phy: Add StarFive JH7110 PCIe PHY
phy: starfive: Add JH7110 USB 2.0 PHY driver
phy: starfive: Add JH7110 PCIE 2.0 PHY driver
dt-bindings: usb: Add StarFive JH7110 USB controller
usb: cdns3: Add StarFive JH7110 USB driver
riscv: dts: starfive: Add USB dts configuration for JH7110.../phy/starfive,jh7110-pcie-phy.yaml | 58 +++++ .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 ++++ .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++ MAINTAINERS | 14 + .../jh7110-starfive-visionfive-2.dtsi | 5 + arch/riscv/boot/dts/starfive/jh7110.dtsi | 53 ++++ drivers/phy/starfive/Kconfig | 21 ++ drivers/phy/starfive/Makefile | 2 + drivers/phy/starfive/phy-jh7110-pcie.c | 204 +++++++++++++++ drivers/phy/starfive/phy-jh7110-usb.c | 150 +++++++++++ drivers/usb/cdns3/Kconfig | 11 + drivers/usb/cdns3/Makefile | 1 +
Quoted 9 lines
drivers/usb/cdns3/cdns3-starfive.c | 246 ++++++++++++++++++ 13 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml create mode 100644 drivers/phy/starfive/phy-jh7110-pcie.c create mode 100644 drivers/phy/starfive/phy-jh7110-usb.c create mode 100644 drivers/usb/cdns3/cdns3-starfive.c
For this series:
Signature · 3 lines
linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Minda Chen
maintainerRe: [PATCH v6 5/7] dt-bindings: usb: Add StarFive JH7110 USB controller
In reply to Conor DooleyQuoted 13 lines · Conor Dooley
Quoted 12 lines · Minda Chen
StarFive JH7110 platforms USB have a wrapper module around the Cadence USBSS-DRD controller. Add binding information doc for that.
Signed-off-by Minda Chen <[email protected]>Reviewed-by Peter Chen <[email protected]>Reviewed-by Hal Feng <[email protected]>--- .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml
Quoted 17 lines
Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml line 7
Quoted 13 lines
Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml new file +7
-0@@ -0,0 +1,115 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/starfive,jh7110-usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controllerI think you told Krzysztof you'd rename this to "StarFive JH7110 Cadence USBSS-DRD SoC controller"?
The previous title describe whole USB controller for previous dts node is merged. Now the dts node is split. "starfive,jh7110-usb" just contain starfive wrapper layer dts configuration.
Quoted 6 lines
Otherwise, it looks like all the stuff from him and Rob have been sorted out, so other than $title this is
Reviewed-by Conor Dooley <[email protected]>Thanks,
Conor..
Thanks
Re: [PATCH v6 5/7] dt-bindings: usb: Add StarFive JH7110 USB controller
Quoted 8 lines · Minda Chen
Quoted 5 lines
Quoted 1 line
+title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller
I think you told Krzysztof you'd rename this to "StarFive JH7110 Cadence USBSS-DRD SoC controller"?
The previous title describe whole USB controller for previous dts node is merged. Now the dts node is split.
"starfive,jh7110-usb" just contain starfive wrapper layer dts configuration.
Okay, I must have misunderstood the conversation on the previous version. Sorry about that.
Quoted 3 lines
Quoted 3 lines
Otherwise, it looks like all the stuff from him and Rob have been sorted out, so other than $title this is
Reviewed-by Conor Dooley <[email protected]>
Greg Kroah-Hartman
maintainerRe: [PATCH v6 7/7] riscv: dts: starfive: Add USB dts configuration for JH7110
In reply to Conor DooleyQuoted 19 lines · Conor Dooley
Greg,
Quoted 16 lines · Minda Chen
Add USB wrapper layer and Cadence USB3 controller dts configuration for StarFive JH7110 SoC and VisionFive2 Board.
USB controller connect to PHY, The PHY dts configuration are also added.Signed-off-by Minda Chen <[email protected]>arch/riscv/boot/dts/starfive/jh7110.dtsi +0
-0@@ -366,6 +366,59 @@ status = "disabled"; };
Quoted 11 lines
arch/riscv/boot/dts/starfive/jh7110.dtsi line 375
Quoted 7 lines
arch/riscv/boot/dts/starfive/jh7110.dtsi +7
-0+ usb0: usb@10100000 { + compatible = "starfive,jh7110-usb"; + ranges = <0x0 0x0 0x10100000 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + starfive,stg-syscon = <&stg_syscon 0x4>; + clocks = <&stgcrg JH7110_STGCLK_USB0_LPM>,Please don't pick this patch, if the rest of the series is applicable, as this will break building the dtb as stgcrg does not yet exist in any maintainer tree.
Ok, I'll just take patch 6/7 then.
thanks,
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH v6 6/7] usb: cdns3: Add StarFive JH7110 USB driver
In reply to Minda ChenQuoted 21 lines · Minda Chen
Adds Specific Glue layer to support USB peripherals on StarFive JH7110 SoC.
There is a Cadence USB3 core for JH7110 SoCs, the cdns core is the child of this USB wrapper module device.Signed-off-by Minda Chen <[email protected]>Acked-by Peter Chen <[email protected]>Reviewed-by Roger Quadros <[email protected]>--- MAINTAINERS | 6 + drivers/usb/cdns3/Kconfig | 11 ++ drivers/usb/cdns3/Makefile | 1 + drivers/usb/cdns3/cdns3-starfive.c | 246 +++++++++++++++++++++++++++++ 4 files changed, 264 insertions(+) create mode 100644 drivers/usb/cdns3/cdns3-starfive.cMAINTAINERS +0
-0
MAINTAINERS F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml · line 20175
Quoted 8 lines
MAINTAINERS +5
-0@@ -20168,6 +20168,12 @@ F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml F: drivers/phy/starfive/phy-jh7110-pcie.c F: drivers/phy/starfive/phy-jh7110-usb.c +STARFIVE JH71X0 USB DRIVERS +M: Minda Chen <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml +F: drivers/usb/cdns3/cdns3-starfive.c
Does not apply anymore, please rebase and resend.
thanks,
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH v6 6/7] usb: cdns3: Add StarFive JH7110 USB driver
Quoted 25 lines · Greg Kroah-Hartman
Quoted 24 lines · Minda Chen
Adds Specific Glue layer to support USB peripherals on StarFive JH7110 SoC.
There is a Cadence USB3 core for JH7110 SoCs, the cdns core is the child of this USB wrapper module device.Signed-off-by Minda Chen <[email protected]>Acked-by Peter Chen <[email protected]>Reviewed-by Roger Quadros <[email protected]>--- MAINTAINERS | 6 + drivers/usb/cdns3/Kconfig | 11 ++ drivers/usb/cdns3/Makefile | 1 + drivers/usb/cdns3/cdns3-starfive.c | 246 +++++++++++++++++++++++++++++ 4 files changed, 264 insertions(+) create mode 100644 drivers/usb/cdns3/cdns3-starfive.cMAINTAINERS +0
-0@@ -20168,6 +20168,12 @@ F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml F: drivers/phy/starfive/phy-jh7110-pcie.c F: drivers/phy/starfive/phy-jh7110-usb.c
Quoted 7 lines
MAINTAINERS F: Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml · line 20175
Quoted 5 lines
MAINTAINERS +5
-0+STARFIVE JH71X0 USB DRIVERS +M: Minda Chen <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml +F: drivers/usb/cdns3/cdns3-starfive.cDoes not apply anymore, please rebase and resend.
Nevermind, I fixed it up.
Minda Chen
maintainerQuoted 149 lines · Roger Quadros
Quoted 136 lines · Minda Chen
This patchset adds USB driver and USB PHY for the StarFive JH7110 SoC. USB work mode is peripheral and using USB 2.0 PHY in VisionFive 2 board. The patch has been tested on the VisionFive 2 board.
This patchset should be applied after the patchset [1], [2] and [3]:
[1] https://patchwork.kernel.org/project/linux-riscv/cover/[email protected]/
[2] https://patchwork.kernel.org/project/linux-clk/cover/[email protected]
[3] https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/This patchset is base on v6.4-rc1
patch 1 is usb phy dt-binding document.
patch 2 is Pcie PHY dt-binding document.
patch 3 is USB 2.0 PHY driver.
patch 4 is PCIe PHY driver.
patch 5 is usb dt-binding document.
patch 6 is the wrapper module driver of Cadence USB3. USB controller IP is Cadence USB3. patch 7 is USB device tree configuration.previous version
---
version 1 patchset are split to different kernel organization. It is incorrect. But they were sent, and Emil sent comments. I think I should reserve them in cover-letter. To read the change records and previous version, please start with version 2.v1: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v2: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v3: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v4: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/
v5: https://patchwork.kernel.org/project/linux-usb/cover/[email protected]/changes
v6:
1. (patch 3) remove the platform remove function.
2. (patch 4)
- add switch to pcie mode function.
- remove the redundant init/exit function.
3. (patch 5)
- dts split to wrapper layer and cdns node. The codes are like v3.
- add cdns3 sub node dts-binding references.
4. (patch 6)
For stg-syscon iomem0x10240000-0x10240010actually is belonged to usb, so USB contain its own registers. So do not merge the dts node. The codes are like v3.
- remove thecdns3_platform_addfunction.
- remove phy ops because cdns3 contain all the phy ops.
- runtime suspend function just shutdown the clocks.
5. (patch 7)
- add cdns3 subnode again.v5:
1. (patch 1) set correct model name and commit title.
2. (patch 2) change to '-item' in syscon property. change commit title.
3. (patch 5)
- change to '-item' in syscon configure.
- change commit title and doc title.
4. (patch 6)
- add clk and phy deinit function
- add clk deinit function if phy init failed.
- coding style changes and other format changes.v4:
1. (patch 1) split PCIe PHY dt-binding doc to patch 2.
2. (patch 2) PCIe PHY add stg and sys con configuration to dt-binding doc.
3. (patch 3)
- split PCIe PHY driver to patch 4.
- replacedr_modeto phy mode injh7110_usb2_phy.
4. (patch 4)
-MakefileandKconfigsorted by alphabet sequence.
- Add PCIe PHY stg and syscon PHY connection configuration for USB 3.0.
5. (patch 5)
- commit message changed.
- merge wrapper dts node and cdns3 node in example.
- Add interrupts, reg, phy anddr_modein property.
- Add reset-name in property example.
6. (patch 6)
- For dts node is merged, Usingplatform_device_allocandplatform_device_addto generate cadence sub device.
- IOMEM and IRQ resource are passed to Cadence sub device.
- Add PHY ops process for PHY dts setting can not be passed to Cadence USB driver.
- remove the stg and sys USB 3.0 PHY configuration.
- Change the suspend clock reset and clock enable sequence.
- Get all reset and clock resources before enable them incdns_clk_rst_init.
- commit message changed.
7. (patch 7)
- merge wrapper dts node and cdns3 node in usb dts.
- move the stg and sys USB 3.0 PHY confiuration to
PCIe PHY dts node.
- commit message changed.
- Add reset-names dts.v3:
1. Add patch 1 - 4. Add USB PHY driver and dt-binding doc. USB PHY codes are moved to patch 3 and patch 4.
2. (patch 5)
- USB wrapper module dts document is moved to usb directory.
- Remove the 'dr_mode' and 'starfive,usb2-only' setting.
- Some dts format changes. dts binding check pass.
3. (patch 6)
- Remove the PHY codes.
- Search 'dr_mode' and phy setting from Cadence subnode.
4. (patch 7)
- Add USB PHY dts configurion.
- 'dr_mode' is moved to Cadence controller submode.v2:
1. (patch 5) dt-binding changes. The document example is the same as dts config.
2. (patch 6) usingdev_err_probeandsyscon_regmap_lookup_by_phandle_argsfunction. Some formats changes
3. (patch 7) dts nodes sorted by the address after @Minda Chen (7):
dt-bindings: phy: Add StarFive JH7110 USB PHY
dt-bindings: phy: Add StarFive JH7110 PCIe PHY
phy: starfive: Add JH7110 USB 2.0 PHY driver
phy: starfive: Add JH7110 PCIE 2.0 PHY driver
dt-bindings: usb: Add StarFive JH7110 USB controller
usb: cdns3: Add StarFive JH7110 USB driver
riscv: dts: starfive: Add USB dts configuration for JH7110.../phy/starfive,jh7110-pcie-phy.yaml | 58 +++++ .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 ++++ .../bindings/usb/starfive,jh7110-usb.yaml | 115 ++++++++ MAINTAINERS | 14 + .../jh7110-starfive-visionfive-2.dtsi | 5 + arch/riscv/boot/dts/starfive/jh7110.dtsi | 53 ++++ drivers/phy/starfive/Kconfig | 21 ++ drivers/phy/starfive/Makefile | 2 + drivers/phy/starfive/phy-jh7110-pcie.c | 204 +++++++++++++++ drivers/phy/starfive/phy-jh7110-usb.c | 150 +++++++++++ drivers/usb/cdns3/Kconfig | 11 + drivers/usb/cdns3/Makefile | 1 +Quoted 9 lines
drivers/usb/cdns3/cdns3-starfive.c | 246 ++++++++++++++++++ 13 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml create mode 100644 Documentation/devicetree/bindings/usb/starfive,jh7110-usb.yaml create mode 100644 drivers/phy/starfive/phy-jh7110-pcie.c create mode 100644 drivers/phy/starfive/phy-jh7110-usb.c create mode 100644 drivers/usb/cdns3/cdns3-starfive.c
Quoted 2 lines
For this series:
Reviewed-by Roger Quadros <[email protected]>
Thanks Roger, Coner and Greg.
Patch 6 (USB controller codes) are accepted.
Thanks Rob and Krzysztof.
Dts-binding doc are reviewed.
Hi Vinod , Kishon and Linux-PHY maintainer
Could you take time to review USB PHY codes (patch 3 and patch4) ? Thanks
Conor Dooley
maintainerRe: [PATCH v6 7/7] riscv: dts: starfive: Add USB dts configuration for JH7110
In reply to Greg Kroah-HartmanQuoted 32 lines · Greg Kroah-Hartman
Quoted 19 lines · Conor Dooley
Greg,
Quoted 16 lines · Minda Chen
Add USB wrapper layer and Cadence USB3 controller dts configuration for StarFive JH7110 SoC and VisionFive2 Board.
USB controller connect to PHY, The PHY dts configuration are also added.Signed-off-by Minda Chen <[email protected]>arch/riscv/boot/dts/starfive/jh7110.dtsi +0
-0@@ -366,6 +366,59 @@ status = "disabled"; };Quoted 11 lines
arch/riscv/boot/dts/starfive/jh7110.dtsi line 375
Quoted 7 lines
arch/riscv/boot/dts/starfive/jh7110.dtsi +7
-0+ usb0: usb@10100000 { + compatible = "starfive,jh7110-usb"; + ranges = <0x0 0x0 0x10100000 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + starfive,stg-syscon = <&stg_syscon 0x4>; + clocks = <&stgcrg JH7110_STGCLK_USB0_LPM>,Please don't pick this patch, if the rest of the series is applicable, as this will break building the dtb as stgcrg does not yet exist in any maintainer tree.
Quoted 1 line
Ok, I'll just take patch 6/7 then.
I think I missed this mail somehow. 5/7 had the binding for the driver so probably that should've gone via the USB tree too? Should apply on its own (no deps on the phy patches) & has dt-binding maintainer reviews.
b4 am -P 5 [email protected] if that's your cup of tea.
Cheers,
Conor.
Minda Chen
maintainerRe: [PATCH v6 5/7] dt-bindings: usb: Add StarFive JH7110 USB controller
In reply to Conor DooleyQuoted 7 lines · Conor Dooley
Quoted 5 lines · Minda Chen
Quoted 5 lines
Quoted 1 line
+title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller
I think you told Krzysztof you'd rename this to "StarFive JH7110 Cadence USBSS-DRD SoC controller"?
Quoted 11 lines
Quoted 3 lines
The previous title describe whole USB controller for previous dts node is merged. Now the dts node is split.
"starfive,jh7110-usb" just contain starfive wrapper layer dts configuration.Okay, I must have misunderstood the conversation on the previous version. Sorry about that.
Quoted 3 lines
Quoted 3 lines
Otherwise, it looks like all the stuff from him and Rob have been sorted out, so other than $title this is
Reviewed-by Conor Dooley <[email protected]>
Hi Greg
Can this patch can be applied to Linux-USB-next tree? Since this patch is reviewed by Conor.
List Below is Conor's previous E-mail.
I think I missed this mail somehow. 5/7 had the binding for the driver so probably that should've gone via the USB tree too? Should apply on its own (no deps on the phy patches) & has dt-binding maintainer reviews.
b4 am -P 5 [email protected] if that's your cup of tea.
Greg Kroah-Hartman
maintainerRe: [PATCH v6 5/7] dt-bindings: usb: Add StarFive JH7110 USB controller
Quoted 27 lines · Minda Chen
Quoted 7 lines · Conor Dooley
Quoted 5 lines · Minda Chen
Quoted 5 lines
Quoted 1 line
+title: StarFive JH7110 wrapper module for the Cadence USBSS-DRD controller
I think you told Krzysztof you'd rename this to "StarFive JH7110 Cadence USBSS-DRD SoC controller"?
Quoted 11 lines
Quoted 3 lines
The previous title describe whole USB controller for previous dts node is merged. Now the dts node is split.
"starfive,jh7110-usb" just contain starfive wrapper layer dts configuration.Okay, I must have misunderstood the conversation on the previous version. Sorry about that.
Quoted 3 lines
Quoted 3 lines
Otherwise, it looks like all the stuff from him and Rob have been sorted out, so other than $title this is
Reviewed-by Conor Dooley <[email protected]>Hi Greg
Can this patch can be applied to Linux-USB-next tree? Since this patch is reviewed by Conor.List Below is Conor's previous E-mail.
Quoted 7 lines
I think I missed this mail somehow. 5/7 had the binding for the driver so probably that should've gone via the USB tree too? Should apply on its own (no deps on the phy patches) & has dt-binding maintainer reviews.
b4 am -P 5 [email protected]if that's your cup of tea.
Thanks, I missed that, now applied!
greg k-h