Commit eaabb559 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Vinod Koul

dt-bindings: phy: cadence-torrent: Add binding for refclk driver

Add binding for refclk driver used to route the refclk out of torrent
SERDES.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210310112745.3445-3-kishon@ti.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 6c363eaf
...@@ -28,13 +28,27 @@ properties: ...@@ -28,13 +28,27 @@ properties:
'#size-cells': '#size-cells':
const: 0 const: 0
'#clock-cells':
const: 1
clocks: clocks:
maxItems: 1 minItems: 1
maxItems: 2
description: description:
PHY reference clock. Must contain an entry in clock-names. PHY reference clock for 1 item. Must contain an entry in clock-names.
Optional Parent to enable output reference clock.
clock-names: clock-names:
const: refclk minItems: 1
items:
- const: refclk
- const: phy_en_refclk
assigned-clocks:
maxItems: 3
assigned-clock-parents:
maxItems: 3
reg: reg:
minItems: 1 minItems: 1
......
...@@ -10,4 +10,6 @@ ...@@ -10,4 +10,6 @@
#define TORRENT_SERDES_EXTERNAL_SSC 1 #define TORRENT_SERDES_EXTERNAL_SSC 1
#define TORRENT_SERDES_INTERNAL_SSC 2 #define TORRENT_SERDES_INTERNAL_SSC 2
#define CDNS_TORRENT_REFCLK_DRIVER 0
#endif /* _DT_BINDINGS_TORRENT_SERDES_H */ #endif /* _DT_BINDINGS_TORRENT_SERDES_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment