Message ID | 20211119144551.7577-3-olivier.moysan@foss.st.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | ARM: dts: stm32: merge spi and i2s nodes | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dt-meta-schema | success | |
robh/dtbs-check | fail | build log |
On Fri, 19 Nov 2021 15:45:44 +0100, Olivier Moysan wrote: > The STM2 I2S DAI can be connected via the audio-graph-card. > Add port entry into the bindings. > > Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> > --- > Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/1557189 audio-controller@4000b000: 'port' does not match any of the regexes: '^port@[0-9]', 'pinctrl-[0-9]+' arch/arm/boot/dts/stm32mp157a-dk1.dt.yaml arch/arm/boot/dts/stm32mp157c-dk2.dt.yaml
diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml index ae41fa80bdb7..52e3368d34dc 100644 --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml @@ -58,6 +58,11 @@ properties: description: Configure the I2S device as MCLK clock provider. const: 0 +patternProperties: + '^port@[0-9]': + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - "#sound-dai-cells"
The STM2 I2S DAI can be connected via the audio-graph-card. Add port entry into the bindings. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> --- Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 5 +++++ 1 file changed, 5 insertions(+)