[PW_SID:1099381] ASoC: spacemit: add K3 SoC support#1997
[PW_SID:1099381] ASoC: spacemit: add K3 SoC support#1997linux-riscv-bot wants to merge 2 commits into
Conversation
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> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add support for the SpacemiT K3 SoC I2S controller, which shares the same IP as K1 but requires additional clocks: sysclk_div, c_sysclk, and c_bclk. These clocks only exist on K3 and are not present on K1. The sysclk_div clock is present on most K3 I2S controllers except I2S1. The c_sysclk and c_bclk clocks are shared across multiple I2S controllers on K3. Use devm_clk_get_optional_enabled() to acquire these clocks so that the driver works on both K1 (where they are absent) and K3 without needing SoC-specific match data. For K3, the sysclk_div rate is set before sysclk in set_sysclk, and the common clock rates are configured in hw_params based on the sample rate. Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 1: "[v3,1/2] ASoC: dt-bindings: add SpacemiT K3 SoC compatible" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
|
Patch 2: "[v3,2/2] ASoC: spacemit: add K3 SoC support with additional clocks" |
PR for series 1099381 applied to workflow__riscv__fixes
Name: ASoC: spacemit: add K3 SoC support
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1099381
Version: 3