[PATCH v5 1/3] dt-bindings: phy: Add rockchip,rk3568-edp-phy
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Nov 10 00:01:11 PST 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: soc: rockchip: leftover clocks in
rk3568-edp-phy-grf schema
--
commit 9b91012944140ff14ec2e2563f712e212d1da630
Author: Damon Ding <damon.ding at rock-chips.com>
dt-bindings: phy: Add rockchip,rk3568-edp-phy
This commit adds Device Tree binding schemas for the RK3568 eDP
transmitter PHY and its parent eDP PHY GRF syscon node.
> diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip,rk3568-edp-phy-grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/rockchip,rk3568-edp-phy-grf.yaml
> new file mode 100644
> index 0000000000000..852420798f06a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip,rk3568-edp-phy-grf.yaml
> @@ -0,0 +1,80 @@
[ ... ]
> +properties:
> + compatible:
> + items:
> + - const: rockchip,rk3568-edp-phy-grf
> + - const: syscon
> + - const: simple-mfd
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 1
> +
> + ranges: true
> +
> +patternProperties:
> + "^phy@[0-9a-f]+$":
> + type: object
> + $ref: /schemas/phy/rockchip,rk3568-edp-phy.yaml#
> + unevaluatedProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - "#address-cells"
> + - "#size-cells"
> + - ranges
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/rk3568-cru.h>
> +
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + edp_phy_grf: syscon at fdcb0000 {
> + compatible = "rockchip,rk3568-edp-phy-grf", "syscon", "simple-mfd";
> + reg = <0x0 0xfdcb0000 0x0 0x8000>;
> + clocks = <&cru PCLK_EDPPHY_GRF>;
> + ranges = <0x0 0x0 0xfdcb0000 0x100>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + edp_phy: phy at 0 {
> + compatible = "rockchip,rk3568-edp-phy";
> + reg = <0x0 0x100>;
> + clocks = <&pmucru XIN_OSC0_EDPPHY_G>, <&cru PCLK_EDPPHY_GRF>;
> + clock-names = "ref", "apb";
> + #phy-cells = <0>;
> + };
> + };
> + };
[Severity: Medium]
Should clocks be dropped from properties, required, and the parent
syscon at fdcb0000 example node in rockchip,rk3568-edp-phy-grf.yaml?
The child rockchip,rk3568-edp-phy schema now owns and requires the apb
clock (PCLK_EDPPHY_GRF). Requiring clocks on the parent syscon node as
well causes dtbs_check failures unless device trees duplicate
PCLK_EDPPHY_GRF on both the parent syscon and the child PHY node.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110074533.4052196-1-damon.ding@rock-chips.com?part=1
More information about the linux-phy
mailing list