ASoC: dt-bindings: sgtl5000: Add common clock properties
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 25 Sep 2020 21:27:19 +0000 (23:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 28 Sep 2020 16:59:01 +0000 (17:59 +0100)
Add common properties appearing in DTSes (assigned-clocks and similar)
to fix dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dt.yaml: audio-codec@a:
    'assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200925212719.23286-1-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/sgtl5000.yaml

index 4f29b63..d116c17 100644 (file)
@@ -19,6 +19,10 @@ properties:
   "#sound-dai-cells":
     const: 0
 
+  assigned-clock-parents: true
+  assigned-clock-rates: true
+  assigned-clocks: true
+
   clocks:
     items:
       - description: the clock provider of SYS_MCLK