Re: [PATCH v4 2/6] dt-bindings: phy: Add rockchip,rk3568-edp-phy
From: Damon Ding
Date: Mon Nov 09 2026 - 22:01:53 EST
Hi Rob,
On 11/6/2026 11:29 PM, Rob Herring wrote:
On Wed, Nov 04, 2026 at 04:59:58PM +0800, Damon Ding wrote:
Hi Krzysztof,
On 11/3/2026 7:20 PM, Krzysztof Kozlowski wrote:
On Fri, Oct 30, 2026 at 02:49:01PM +0800, Damon Ding wrote:
Document the eDP transmitter PHY with NaNeng IP block found on the
RK3568 SoC. The PHY has its own register window inside the eDP PHY
GRF, so its node is modeled as a child of the eDP PHY GRF syscon with
a reg property describing that window. Also add the
"rockchip,rk3568-edp-phy-grf" compatible and the phy node reference to
the Rockchip GRF schema.
Signed-off-by: Damon Ding <damon.ding@xxxxxxxxxxxxxx>
---
Changes in v4:
- Add the reg entry for the PHY node and the ranges/#address-cells/
#size-cells for the parent syscon node.
---
.../bindings/phy/rockchip,rk3568-edp-phy.yaml | 68 +++++++++++++++++++
.../devicetree/bindings/soc/rockchip/grf.yaml | 20 ++++++
2 files changed, 88 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3568-edp-phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/rockchip,rk3568-edp-phy.yaml b/Documentation/devicetree/bindings/phy/rockchip,rk3568-edp-phy.yaml
new file mode 100644
index 000000000000..b78da00ffefd
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/rockchip,rk3568-edp-phy.yaml
@@ -0,0 +1,68 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/rockchip,rk3568-edp-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip eDP Transmitter PHY with NaNeng IP block
+
+maintainers:
+ - Damon Ding <damon.ding@xxxxxxxxxxxxxx>
+ - Heiko Stuebner <heiko@xxxxxxxxx>
+
+description:
+ On the RK3568 SoC the eDP PHY is controlled through the eDP PHY GRF
+ registers, therefore the PHY node is expected to be a child of the
+ eDP PHY GRF syscon node.
+
+properties:
+ compatible:
+ const: rockchip,rk3568-edp-phy
+
+ reg:
+ maxItems: 1
+ description: PHY registers within the eDP PHY GRF.
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: refclk
Just "ref"
Will fix in v5.
+
+ "#phy-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/rk3568-cru.h>
+
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ edp_phy_grf: syscon@fdcb0000 {
+ compatible = "rockchip,rk3568-edp-phy-grf", "syscon", "simple-mfd";
This is beyond the scope of this binding. Drop entire node.
Will Drop in v5. The example should only show the PHY node itself.
Actually, drop the whole thing and put in GRF binding if you want an
example. MFD examples should be complete, not piecemeal with each
sub-device.
Understood. For incoming v5, the example will be dropped from the PHY binding schema entirely, and the complete MFD example will live only in the GRF binding schema.
Best regards,
Damon