[PATCH v8 1/2] dt-bindings: phy: Add CIX Sky1 USB3 PHY
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Nov 16 18:52:09 PST 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: phy: cix,sky1-usb3-phy uses #phy-cells = 0 for
two-lane PHY
--
commit c8a29919e01294d52dd3eac0bc1ce8854b5d00a0
Author: Hongliang Yang <hongliang.yang at cixtech.com>
dt-bindings: phy: Add CIX Sky1 USB3 PHY
This commit adds the Device Tree binding schema for the CIX Sky1 USB3
SuperSpeedPlus PHY and updates MAINTAINERS.
> diff --git a/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml
> new file mode 100644
> index 0000000000000..205140bf84e7c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/cix,sky1-usb3-phy.yaml
> @@ -0,0 +1,78 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/phy/cix,sky1-usb3-phy.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: CIX Sky1 USB3 PHY
> +
> +maintainers:
> + - Hongliang Yang <hongliang.yang at cixtech.com>
> +
> +description: |
> + The CIX Sky1 USB3 PHY provides the SuperSpeed lanes of the USB3 Type-A
> + ports of the SoC.
> +
> + Both lanes are programmed through one register block and share the
> + same clocks and resets, so the node is a single PHY provider with
> + #phy-cells = <0> that all consumers reference. The driver reference
> + counts phy_init() and phy_exit(), so the block is set up once for all
> + its consumers.
> +
> +properties:
> + compatible:
> + const: cix,sky1-usb3-phy
> +
> + reg:
> + maxItems: 1
> +
> + "#phy-cells":
> + const: 0
[Severity: Low]
As reported by Krzysztof Kozlowski on v6 [1], shouldn't #phy-cells be 1
instead of 0 so that each USB3 controller consumer node can specify which
of the two PHY lanes it is connected to?
The hardware block has two distinct lanes with separate per-lane register
sets serving two independent USB3 controllers. Locking #phy-cells to 0
omits the per-lane routing from the Device Tree ABI and prevents any
future per-lane control or tuning without breaking the binding. Also, the
description references Linux driver internals (phy_init() and phy_exit()
reference counting) rather than strictly describing the hardware.
[1] https://lore.kernel.org/r/20261105-kind-macaque-of-enhancement-ee0365@quoll
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261117022858.2210212-1-hongliang.yang@cixtech.com?part=1
More information about the linux-phy
mailing list