[PATCH v2 1/2] dt-bindings: stm32: dfsdm: update audio properties

From: Olivier Moysan
Date: Tue Oct 20 2020 - 11:58:07 EST


- Add missing compatible property in audio node.
- Remove obsolete "st,stm32-dfsdm-pdm" compatible.
- Remove useless comment in adc io-channels description.

Signed-off-by: Olivier Moysan <olivier.moysan@xxxxxx>
---
.../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

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 d61bc011e820..6f2398cdc82d 100644
--- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
@@ -199,8 +199,6 @@ patternProperties:
description:
From common IIO binding. Used to pipe external sigma delta
modulator or internal ADC output to DFSDM channel.
- This is not required for "st,stm32-dfsdm-pdm" compatibility as
- PDM microphone is binded in Audio DT node.

required:
- io-channels
@@ -235,6 +233,10 @@ patternProperties:
description: child node

properties:
+ compatible:
+ enum:
+ - st,stm32h7-dfsdm-dai
+
"#sound-dai-cells":
const: 0

@@ -244,6 +246,7 @@ patternProperties:
modulator or internal ADC output to DFSDM channel.

required:
+ - compatible
- "#sound-dai-cells"
- io-channels

--
2.17.1