[RFC PATCH v4 2/4] dt-bindings: clock: lan966x: Extend for clock gate support

From: Horatiu Vultur
Date: Wed Nov 03 2021 - 04:50:39 EST


Allow to add an optional resource to be able to access the clock gate
registers.

Signed-off-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
---
.../devicetree/bindings/clock/microchip,lan966x-gck.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
index fca83bd68e26..df2bec188706 100644
--- a/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
+++ b/Documentation/devicetree/bindings/clock/microchip,lan966x-gck.yaml
@@ -19,7 +19,10 @@ properties:
const: microchip,lan966x-gck

reg:
- maxItems: 1
+ minItems: 1
+ items:
+ - description: Generic clock registers
+ - description: Optional gate clock registers

clocks:
items:
--
2.33.0