Re: [PATCH v8 1/2] dt-bindings: usb: Add CIX Sky1 USBSSP controller

From: Hongliang Yang

Date: Sat Nov 14 2026 - 21:40:53 EST


Two points.

> [Medium] dt-bindings: usb: cix,sky1-usbssp: overlapping reg windows in
> RCSU block

The example size is wrong, thank you. The window of one instance ends after
STRAP_STATUS0 at 0x091c0400, so it is 0xf0 bytes. With 0x100 the example
reaches 0x091c0413 and includes STRAP_STATUS4 at 0x091c0410, which is the
status register of the other instance. v9 fixes the example; the arm64 dts
is not part of this series and gets the same fix when it is posted.

The -EBUSY does not happen. cdnsp_sky1_probe() maps the range with
devm_ioremap(), not devm_platform_ioremap_resource(), because the windows
overlap, and that is why the overlap is written down in the schema.

Two 4-byte entries, "strap" and "status", as in cix,sky1-pcie-host.yaml,
would remove the overlap, and the driver would not need the offset of the
status register inside the window either. That is the shape question the DT
review already asked, though: v8 keeps the single range that v7 introduced
in answer to it, and I asked Krzysztof which of the two he wants before
posting another version (1794391238.309976-1-hongliang.yang@xxxxxxxxxxx).
If he prefers two entries, v9 will be that.

> [Medium] dt-bindings: usb: cix,sky1-usbssp: redundant disable
> properties

cix,ssp-disable is not redundant. It clears CFG_3XPORT_SSP_SUPPORT, BIT(31)
of the 3xPort mode register in the host register set. maximum-speed is read
only by the gadget paths, through usb_get_maximum_speed() in cdns3-gadget.c
and cdnsp-gadget.c; nothing in the host path reads it. For a port that runs
in host mode there is no other way to keep it at Gen1.

cix,u3-port-disable is not redundant either: it writes the integration value
0xa0031e07 to the 3xPort mode register in both register sets, and
maximum-speed can neither express nor restore those port mode bits. You are
right that the device-side register is also updated by cdnsp_run() from the
child's speed, so a dual-role port could ask for SuperSpeed Plus on an
integration without SuperSpeed lanes. Every board we ship that sets the
property uses it on a host-only port (dr_mode = "host"), where the gadget is
never started, so the two writers do not meet there. v9 states that
constraint in the property description.

Best regards,
Hongliang Yang