dt-bindings: iio: stm32: dfsdm: fix dtbs warnings on dfsdm audio port
authorOlivier Moysan <olivier.moysan@foss.st.com>
Tue, 18 Jun 2024 11:59:12 +0000 (13:59 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 28 Jun 2024 18:55:13 +0000 (19:55 +0100)
Fix warnings on DFSDM dtbs check
Unevaluated properties are not allowed ('dfsdm-dai' was unexpected)
'port' does not match any of the regexes: 'pinctrl-[0-9]+'

Fixes: 11183ac07a74 ("dt-bindings: stm32: convert dfsdm to json-schema")
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240618115912.706912-1-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml

index c1b1324fa13295dc30ba6c8621659cbe862da37f..2722edab1d9a19c1520b7b5baf255246283a889a 100644 (file)
@@ -246,6 +246,10 @@ patternProperties:
                     From common IIO binding. Used to pipe external sigma delta
                     modulator or internal ADC output to DFSDM channel.
 
+                port:
+                  $ref: /schemas/sound/audio-graph-port.yaml#
+                  unevaluatedProperties: false
+
               required:
                 - compatible
                 - "#sound-dai-cells"