Message ID | 20201020155709.2621-2-olivier.moysan@st.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f24fd10bea5961629f22e1da0f56e8c918bdb2da |
Headers | show |
Series | dt-bindings: stm32: convert audio dfsdm to json-schema | expand |
On Tue, 20 Oct 2020 17:57:08 +0200, Olivier Moysan wrote: > - 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@st.com> > --- > .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
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
- 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@st.com> --- .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)