mirror of https://github.com/torvalds/linux.git
ASoC: dt-bindings: add stm32mp25 support for i2s
Add STM32MP25 support for STM32 I2S peripheral, through "st,stm32mp25-i2s" compatible. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20241107144712.1305638-2-olivier.moysan@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b4b3622c5c
commit
c69b7edc10
|
|
@ -13,13 +13,11 @@ description:
|
||||||
The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode.
|
The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode.
|
||||||
Only some SPI instances support I2S.
|
Only some SPI instances support I2S.
|
||||||
|
|
||||||
allOf:
|
|
||||||
- $ref: dai-common.yaml#
|
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- st,stm32h7-i2s
|
- st,stm32h7-i2s
|
||||||
|
- st,stm32mp25-i2s
|
||||||
|
|
||||||
"#sound-dai-cells":
|
"#sound-dai-cells":
|
||||||
const: 0
|
const: 0
|
||||||
|
|
@ -33,6 +31,7 @@ properties:
|
||||||
- description: clock feeding the internal clock generator.
|
- description: clock feeding the internal clock generator.
|
||||||
- description: I2S parent clock for sampling rates multiple of 8kHz.
|
- description: I2S parent clock for sampling rates multiple of 8kHz.
|
||||||
- description: I2S parent clock for sampling rates multiple of 11.025kHz.
|
- description: I2S parent clock for sampling rates multiple of 11.025kHz.
|
||||||
|
minItems: 2
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
|
|
@ -40,6 +39,7 @@ properties:
|
||||||
- const: i2sclk
|
- const: i2sclk
|
||||||
- const: x8k
|
- const: x8k
|
||||||
- const: x11k
|
- const: x11k
|
||||||
|
minItems: 2
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
@ -79,6 +79,36 @@ required:
|
||||||
- dmas
|
- dmas
|
||||||
- dma-names
|
- dma-names
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- $ref: dai-common.yaml#
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: st,stm32h7-i2s
|
||||||
|
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
minItems: 4
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: st,stm32mp25-i2s
|
||||||
|
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue