mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ASoC: dt-bindings: add SpacemiT K3 SoC compatible
Add the spacemit,k3-i2s compatible string for the K3 SoC I2S controller. The K3 I2S IP is the same as K1 but requires additional clocks: a dedicated sysclk_div clock, along with common_sysclk and common_bclk which are shared across multiple I2S controllers on K3. Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Link: https://patch.msgid.link/20260522-k3-i2s-v3-1-08e3eb811d93@linux.spacemit.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e43ffb69e0
commit
6bc6b28c03
|
|
@ -4,7 +4,7 @@
|
||||||
$id: http://devicetree.org/schemas/sound/spacemit,k1-i2s.yaml#
|
$id: http://devicetree.org/schemas/sound/spacemit,k1-i2s.yaml#
|
||||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
title: K1 I2S controller
|
title: SpacemiT K1/K3 I2S controller
|
||||||
|
|
||||||
description:
|
description:
|
||||||
The I2S bus (Inter-IC sound bus) is a serial link for digital
|
The I2S bus (Inter-IC sound bus) is a serial link for digital
|
||||||
|
|
@ -15,27 +15,54 @@ maintainers:
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: dai-common.yaml#
|
- $ref: dai-common.yaml#
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: spacemit,k3-i2s
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
minItems: 7
|
||||||
|
clock-names:
|
||||||
|
minItems: 7
|
||||||
|
else:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
maxItems: 4
|
||||||
|
clock-names:
|
||||||
|
maxItems: 4
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
const: spacemit,k1-i2s
|
enum:
|
||||||
|
- spacemit,k1-i2s
|
||||||
|
- spacemit,k3-i2s
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
|
minItems: 4
|
||||||
items:
|
items:
|
||||||
- description: clock for I2S sysclk
|
- description: clock for I2S sysclk
|
||||||
- description: clock for I2S bclk
|
- description: clock for I2S bclk
|
||||||
- description: clock for I2S bus
|
- description: clock for I2S bus
|
||||||
- description: clock for I2S controller
|
- description: clock for I2S controller
|
||||||
|
- description: clock for I2S sysclk divider
|
||||||
|
- description: clock for I2S common sysclk
|
||||||
|
- description: clock for I2S common bclk
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
|
minItems: 4
|
||||||
items:
|
items:
|
||||||
- const: sysclk
|
- const: sysclk
|
||||||
- const: bclk
|
- const: bclk
|
||||||
- const: bus
|
- const: bus
|
||||||
- const: func
|
- const: func
|
||||||
|
- const: sysclk_div
|
||||||
|
- const: c_sysclk
|
||||||
|
- const: c_bclk
|
||||||
|
|
||||||
dmas:
|
dmas:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user