Document the Qualcomm Nord integrated DesignWare XPCS compatible. The
XPCS resides in an Ethernet power domain and requires its CSR clock for
register access, so require the clock and power-domain resources for
this compatible.
Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
---
.../devicetree/bindings/net/pcs/snps,dw-xpcs.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/pcs/snps,dw-xpcs.yaml b/Documentation/devicetree/bindings/net/pcs/snps,dw-xpcs.yaml
index e77eec9ac9ee08d2e11a28975f61f8c36b4e0a95..68bb941cbb290d29bbd94d7280b89d2ad0f38e7a 100644
--- a/Documentation/devicetree/bindings/net/pcs/snps,dw-xpcs.yaml
+++ b/Documentation/devicetree/bindings/net/pcs/snps,dw-xpcs.yaml
@@ -22,6 +22,17 @@ description:
by means of the APB3/MCI interfaces. In the later case the XPCS can be mapped
right to the system IO memory space.
+allOf:
+ - if:
+ properties:
+ compatible:
+ const: qcom,nord-dw-xpcs
+ then:
+ required:
+ - clocks
+ - clock-names
+ - power-domains
+
properties:
compatible:
oneOf:@@ -41,6 +52,8 @@ properties:
const: snps,dw-xpcs-gen5-10g
- description: Synopsys DesignWare XPCS with Consumer Gen5 12G PMA
const: snps,dw-xpcs-gen5-12g
+ - description: Qualcomm Nord integrated DesignWare XPCS
+ const: qcom,nord-dw-xpcs
reg:
items:@@ -98,6 +111,10 @@ properties:
- enum: [core, pad]
- const: pad
+ power-domains:
+ description: Power domain containing the integrated PCS registers
+ maxItems: 1
+
required:
- compatible
- reg
--
2.34.1