Add HUSB311 Type-C controller
Get series with b4
b4 am [email protected] change-id 20260115-husb311-291bbb1a7776Versions newest first
- v4 Latest4 patches 2 repliesIn review
- v34 patches 3 repliesSuperseded
- v25 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
- Picked up the review tag from Heikki Krogerus (thanks!)
- Kept the format of "enum" for the single-value compatibles instead of converting them to "const" entries directly under "oneOf" (thanks Krzysztof)
- Clarify the commit message stating that ET7304 is identical to RT1715 except for its VID value (thanks Krzysztof)
- Adjusted the style of the "Link:" tag with [1] in it (thanks Krzysztof)
- Link to v3: https://lore.kernel.org/r/[email protected]
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: vendor-prefixes: Add Hynetek Semiconductor Co., Ltd.Documentation/ | +2 | 0 replies | |
| 2/4 | dt-bindings: usb: richtek,rt1711h: Switch ETEK ET7304 to use a fallback compatibleDocumentation/ | +8 | 1 reply | |
| 3/4 | dt-bindings: usb: richtek,rt1711h: Add Hynetek HUSB311Documentation/ | +5 | 1 reply | |
| 4/4 | usb: typec: tcpci_rt1711h: Drop unnecessary VID/PID/DID checksdrivers/ | +2 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Conor Dooley | Heikki Krogerus | Krzysztof Kozlowski |
|---|---|---|---|
| 1/4 | A-b | ||
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/4] Add HUSB311 Type-C controller
HUSB311 is a drop-in replacement for RT1711H, used in Rockchip RK3576 EVB1 board and some other boards closely following the reference schematic.
The existing RT1711H driver seems to work fine with HUSB311, and publicly available documentation does not provide enough information for HUSB311 to identify any meaningful differences, so this series wires up the existing driver to treat HUSB311 in the same way it treats RT1711H, by the way of introducing fallback compatibles in the binding and removing unnecessary VID/PID/DID checks from the driver.
Note that patches 2 and 4 are on top of commits by Yanshen Cao which are currently in next but not in master. Maybe they can be squashed in full or in part to reduce churn, if we agree on using fallback compatibles. From what I can tell, ET7304 can also be used with a fallback compatible alone and without driver changes once VID/PID/DID checks are removed (I don't see it used in any DTS in either mainline or next yet, though)
---
Changes in v4:
- Picked up the review tag from Heikki Krogerus (thanks!)
- Kept the format of "enum" for the single-value compatibles instead of converting them to "const" entries directly under "oneOf" (thanks Krzysztof)
- Clarify the commit message stating that ET7304 is identical to RT1715 except for its VID value (thanks Krzysztof)
- Adjusted the style of the "Link:" tag with [1] in it (thanks Krzysztof)
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Dropped the DTS change from this USB-centric patch series (thanks Krzysztof)
- Dropped commit references for patches not yet in mainline to avoid confusion, as they will change upon merging
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Changed the binding to use fallback compatibles (thanks Conor for the suggestion)
- Rebased on top of recent next, thus also adjusted the binding for ET7304 to fall back to RT1715. There are no in-tree DT users yet
- Removed the VID/PID/DID checks altogether instead of endlessly multiplying the list of matches for new clones (thanks Conor for the suggestion)
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Alexey Charkov (4):
dt-bindings: vendor-prefixes: Add Hynetek Semiconductor Co., Ltd.
dt-bindings: usb: richtek,rt1711h: Switch ETEK ET7304 to use a fallback compatible
dt-bindings: usb: richtek,rt1711h: Add Hynetek HUSB311
usb: typec: tcpci_rt1711h: Drop unnecessary VID/PID/DID checks
.../devicetree/bindings/usb/richtek,rt1711h.yaml | 17 +++++-- .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/usb/typec/tcpm/tcpci_rt1711h.c | 59 +--------------------- 3 files changed, 17 insertions(+), 61 deletions(-)
---
base-commit: 8e5a478b6d6a5bb0a3d52147862b15e4d826af19
change-id: 20260115-husb311-291bbb1a7776
Best regards,
Signature · 1 line
Alexey Charkov <[email protected]>