dt-bindings: phy: phy-cadence-sierra: Add binding to model Sierra as clock provider
Add #clock-cells binding to model Sierra as clock provider and include clock IDs for PLL_CMNLC and PLL_CMNLC1. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210319124128.13308-12-kishon@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
29c2d02adb
commit
db7a346405
@ -26,6 +26,9 @@ properties:
|
|||||||
'#size-cells':
|
'#size-cells':
|
||||||
const: 0
|
const: 0
|
||||||
|
|
||||||
|
'#clock-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
resets:
|
resets:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
maxItems: 2
|
maxItems: 2
|
||||||
@ -49,12 +52,24 @@ properties:
|
|||||||
const: serdes
|
const: serdes
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
maxItems: 2
|
minItems: 2
|
||||||
|
maxItems: 4
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
|
minItems: 2
|
||||||
items:
|
items:
|
||||||
- const: cmn_refclk_dig_div
|
- const: cmn_refclk_dig_div
|
||||||
- const: cmn_refclk1_dig_div
|
- const: cmn_refclk1_dig_div
|
||||||
|
- const: pll0_refclk
|
||||||
|
- const: pll1_refclk
|
||||||
|
|
||||||
|
assigned-clocks:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
assigned-clock-parents:
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
cdns,autoconf:
|
cdns,autoconf:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
@ -13,4 +13,8 @@
|
|||||||
|
|
||||||
#define CDNS_TORRENT_REFCLK_DRIVER 0
|
#define CDNS_TORRENT_REFCLK_DRIVER 0
|
||||||
|
|
||||||
|
/* Sierra */
|
||||||
|
#define CDNS_SIERRA_PLL_CMNLC 0
|
||||||
|
#define CDNS_SIERRA_PLL_CMNLC1 1
|
||||||
|
|
||||||
#endif /* _DT_BINDINGS_CADENCE_SERDES_H */
|
#endif /* _DT_BINDINGS_CADENCE_SERDES_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user