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

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.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 6c363eaf
Loading
Loading
Loading
Loading
+17 −3
Original line number Diff line number Diff line
@@ -28,13 +28,27 @@ properties:
  '#size-cells':
    const: 0

  '#clock-cells':
    const: 1

  clocks:
    maxItems: 1
    minItems: 1
    maxItems: 2
    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:
    const: refclk
    minItems: 1
    items:
      - const: refclk
      - const: phy_en_refclk

  assigned-clocks:
    maxItems: 3

  assigned-clock-parents:
    maxItems: 3

  reg:
    minItems: 1
+2 −0
Original line number Diff line number Diff line
@@ -10,4 +10,6 @@
#define TORRENT_SERDES_EXTERNAL_SSC	1
#define TORRENT_SERDES_INTERNAL_SSC	2

#define CDNS_TORRENT_REFCLK_DRIVER      0

#endif /* _DT_BINDINGS_TORRENT_SERDES_H */