diff mbox series

[3/7] dt-bindings: phy: cadence-torrent: Add binding for refclk driver

Message ID 20201224114250.1083-4-kishon@ti.com
State New
Headers show
Series AM64: Add SERDES bindings and driver support | expand

Commit Message

Kishon Vijay Abraham I Dec. 24, 2020, 11:42 a.m. UTC
Add binding for refclk driver used to route the refclk out of the
SERDES.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

---
 .../bindings/phy/phy-cadence-torrent.yaml       | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

-- 
2.17.1

Comments

Rob Herring Jan. 8, 2021, 3:01 a.m. UTC | #1
On Thu, Dec 24, 2020 at 05:12:46PM +0530, Kishon Vijay Abraham I wrote:
> Add binding for refclk driver used to route the refclk out of the

> SERDES.

> 

> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

> ---

>  .../bindings/phy/phy-cadence-torrent.yaml       | 17 +++++++++++++++++

>  1 file changed, 17 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml

> index e266ade53d87..d3b96afd514c 100644

> --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml

> +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml

> @@ -125,6 +125,23 @@ patternProperties:

>  

>      additionalProperties: false

>  

> +  "^refclk-driver":

> +    type: object

> +    description: |

> +      Driver to route the reference clock out of the SERDES.

> +    properties:

> +      clocks:

> +        maxItems: 1

> +        description: Phandle to clock nodes representing the input to the

> +          refclk driver.

> +

> +      "#clock-cells":

> +        const: 0


Just move to the parent node.

> +

> +    required:

> +      - clocks

> +      - "#clock-cells"

> +

>  required:

>    - compatible

>    - "#address-cells"

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
index e266ade53d87..d3b96afd514c 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
@@ -125,6 +125,23 @@  patternProperties:
 
     additionalProperties: false
 
+  "^refclk-driver":
+    type: object
+    description: |
+      Driver to route the reference clock out of the SERDES.
+    properties:
+      clocks:
+        maxItems: 1
+        description: Phandle to clock nodes representing the input to the
+          refclk driver.
+
+      "#clock-cells":
+        const: 0
+
+    required:
+      - clocks
+      - "#clock-cells"
+
 required:
   - compatible
   - "#address-cells"