devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: rcc: Add common clock properties
@ 2022-04-08  0:44 Marek Vasut
  2022-04-08 21:21 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2022-04-08  0:44 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, robh+dt
  Cc: Marek Vasut, Alexandre Torgue, Gabriel Fernandez

Add common properties appearing in DTSes (assigned-clocks and similar)
to fix dtbs_check warnings like:

arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml: rcc@50000000: 'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Cc: Rob Herring <robh+dt@kernel.org>
To: devicetree@vger.kernel.org
Acked-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
---
V2: Add AB from Gabriel
---
 .../devicetree/bindings/clock/st,stm32mp1-rcc.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
index a0ae4867ed27e..9bcf198bae170 100644
--- a/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
+++ b/Documentation/devicetree/bindings/clock/st,stm32mp1-rcc.yaml
@@ -62,6 +62,12 @@ properties:
   reg:
     maxItems: 1
 
+  clocks: true
+  clock-names: true
+  assigned-clocks: true
+  assigned-clock-parents: true
+  assigned-clock-rates: true
+
 required:
   - "#clock-cells"
   - "#reset-cells"
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-10 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08  0:44 [PATCH v2] dt-bindings: rcc: Add common clock properties Marek Vasut
2022-04-08 21:21 ` Rob Herring
2022-04-10 21:53   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).