Message ID | 20211119144551.7577-2-olivier.moysan@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: dts: stm32: merge spi and i2s nodes | expand |
On Fri, 19 Nov 2021 15:45:43 +0100, Olivier Moysan wrote: > Some STM32 SPI peripheral instances support I2S for audio. > SPI and I2S features were initially described through two separated > nodes in the SoC Device Tree. In the next SoC Device Trees > a single node is used to describe SPI peripheral, leading > to a change in node name for I2S. > Change example in STM32 DT binding example to match this change. > > Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> > --- > Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 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/1557188 audio-controller@4000b000: 'port' does not match any of the regexes: '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 6feb5a09c184..ae41fa80bdb7 100644 --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml @@ -74,7 +74,7 @@ examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/stm32mp1-clks.h> - i2s2: audio-controller@4000b000 { + spi2s2: spi@4000b000 { compatible = "st,stm32h7-i2s"; #sound-dai-cells = <0>; reg = <0x4000b000 0x400>;
Some STM32 SPI peripheral instances support I2S for audio. SPI and I2S features were initially described through two separated nodes in the SoC Device Tree. In the next SoC Device Trees a single node is used to describe SPI peripheral, leading to a change in node name for I2S. Change example in STM32 DT binding example to match this change. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> --- Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)