diff mbox series

dt-bindings: iio: stm32: dfsdm: fix dtbs warnings on dfsdm audio port

Message ID 20240618115912.706912-1-olivier.moysan@foss.st.com (mailing list archive)
State Accepted
Headers show
Series dt-bindings: iio: stm32: dfsdm: fix dtbs warnings on dfsdm audio port | expand

Commit Message

Olivier Moysan June 18, 2024, 11:59 a.m. UTC
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>
---
 .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml       | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring June 27, 2024, 8:29 p.m. UTC | #1
On Tue, 18 Jun 2024 13:59:12 +0200, Olivier Moysan wrote:
> 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>
> ---
>  .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml       | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Jonathan Cameron June 28, 2024, 6:55 p.m. UTC | #2
On Thu, 27 Jun 2024 14:29:08 -0600
"Rob Herring (Arm)" <robh@kernel.org> wrote:

> On Tue, 18 Jun 2024 13:59:12 +0200, Olivier Moysan wrote:
> > 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>
> > ---
> >  .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml       | 4 ++++
> >  1 file changed, 4 insertions(+)
> >   
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> 

Applied  to the togreg branch of iio.git and pushed out as testing for
all the normal reasons.

J
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
index c1b1324fa132..2722edab1d9a 100644
--- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
@@ -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"