Skip to content

phy-rockchip-inno-usb2: support rk356x usb2phy

Peter Geis linux-arm-kernel linux-devicetree linux-phy linux-rockchip lkml 3 versions – Applied

Status from this message: Applied patches 2-6 to phy-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 3 repliesApplied
  2. v28 patches 5 repliesSuperseded
  3. v1 RFC9 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- adjust usb2phy dt-bindings to filter correctly, thanks Rob and Johan
- adjust usb2phy dts names to fix alphetical ordering, thanks Michael
- squash "phy: rockchip-inno-usb2: Don't print useless error" thanks Ondrej

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8dt-bindings: soc: rockchip: add rk3568-usb2phy-grfDocumentation/devicetree/bindings/soc/rockchip/grf.yaml+1 -00 replies
2/8dt-bindings: phy: phy-rockchip-inno-usb2: add rk3568 documentationDocumentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml+40 -41 reply
3/8phy: phy-rockchip-inno-usb2: support #address_cells = 2drivers/phy/rockchip/phy-rockchip-inno-usb2.c+10 -10 replies
4/8phy: phy-rockchip-inno-usb2: support standalone phy nodesdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+12 -50 replies
5/8phy: phy-rockchip-inno-usb2: support muxed interruptsdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+119 -490 replies
6/8phy: phy-rockchip-inno-usb2: add rk3568 supportdrivers/phy/rockchip/phy-rockchip-inno-usb2.c+65 -00 replies
7/8arm64: dts: rockchip: add usb2 nodes to rk3568 device treearch/arm64/boot/dts/rockchip/rk356x.dtsi+98 -00 replies
8/8arm64: dts: rockchip: add Quartz64-A usb2 supportarch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts+52 -00 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchMichael RieschRob Herring
SeriesT-b
1/8A-b
2/8R-b
3/8T-b
4/8T-b
5/8T-b
6/8T-b
7/8T-b
8/8T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] phy-rockchip-inno-usb2: support rk356x usb2phy

Good Afternoon,

This is my series to support the usb2 phy devices on the rk356x. The rk356x phy has a single muxed interrupt and has moved the usb2phy nodes out of the grf and into their own nodes.
The phy needs to tie back into the grf for register control, similar to the rv1108.
By moving the phys into their own nodes, they now have full #address_cells = 2 register addresses, but they still reside below the 32bit mmio range.

This driver series only supports the host configuration for the rk356x. I have have tested it on the following:
rk3566 - Pine64 Quartz64 Model A
rk3399 - Pine64 Rockpro64

Please provide feedback and comments as you see fit.

Changelog:
v3:
- adjust usb2phy dt-bindings to filter correctly, thanks Rob and Johan
- adjust usb2phy dts names to fix alphetical ordering, thanks Michael
- squash "phy: rockchip-inno-usb2: Don't print useless error" thanks Ondrej

v2:
- correct the order of the usb2phy-grf dt-bindings patch, thanks Johan
- correct the conditional requirements of phy-rockchip-inno-usb2, thanks Johan
- drop increase generic-ohci clocks patch, thanks Heiko
- correct rk356x.dtsi ordering
- fix a dtbs-check callout

Peter Geis (8):
dt-bindings: soc: rockchip: add rk3568-usb2phy-grf
dt-bindings: phy: phy-rockchip-inno-usb2: add rk3568 documentation
phy: phy-rockchip-inno-usb2: support #address_cells = 2
phy: phy-rockchip-inno-usb2: support standalone phy nodes
phy: phy-rockchip-inno-usb2: support muxed interrupts
phy: phy-rockchip-inno-usb2: add rk3568 support
arm64: dts: rockchip: add usb2 nodes to rk3568 device tree
arm64: dts: rockchip: add Quartz64-A usb2 support

 .../bindings/phy/phy-rockchip-inno-usb2.yaml  |  44 ++-
 .../devicetree/bindings/soc/rockchip/grf.yaml |   1 +
 .../boot/dts/rockchip/rk3566-quartz64-a.dts   |  52 ++++
 arch/arm64/boot/dts/rockchip/rk356x.dtsi      |  98 +++++++
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 259 ++++++++++++++----
 5 files changed, 396 insertions(+), 58 deletions(-)
Signature · 1 line
2.25.1