* [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250
@ 2024-08-15 16:53 srinivas.kandagatla
2024-08-16 7:23 ` Krzysztof Kozlowski
2024-08-16 15:10 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: srinivas.kandagatla @ 2024-08-15 16:53 UTC (permalink / raw)
To: broonie
Cc: perex, tiwai, alsa-devel, linux-arm-msm, linux-sound,
linux-kernel, amit.pundir, dmitry.baryshkov, devicetree, robh,
krzk+dt, conor+dt, Srinivas Kandagatla
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
we seems to have ended up with duplicate clocks for frame-sync on sm8250,
it has both va and fsgen which are exactly same things. Remove the redundant
va clock and make it align with other SoCs.
Codec driver does not even handle va clock, so remove this from the
bindings and examples to avoid any confusion.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
.../bindings/sound/qcom,lpass-wsa-macro.yaml | 22 ++-----------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
index 06b5f7be3608..6f5644a89feb 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
@@ -64,6 +64,7 @@ allOf:
compatible:
enum:
- qcom,sc7280-lpass-wsa-macro
+ - qcom,sm8250-lpass-wsa-macro
- qcom,sm8450-lpass-wsa-macro
- qcom,sc8280xp-lpass-wsa-macro
then:
@@ -79,24 +80,6 @@ allOf:
- const: dcodec
- const: fsgen
- - if:
- properties:
- compatible:
- enum:
- - qcom,sm8250-lpass-wsa-macro
- then:
- properties:
- clocks:
- minItems: 6
- clock-names:
- items:
- - const: mclk
- - const: npl
- - const: macro
- - const: dcodec
- - const: va
- - const: fsgen
-
- if:
properties:
compatible:
@@ -130,8 +113,7 @@ examples:
<&audiocc 0>,
<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
- <&aoncc LPASS_CDC_VA_MCLK>,
<&vamacro>;
- clock-names = "mclk", "npl", "macro", "dcodec", "va", "fsgen";
+ clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
clock-output-names = "mclk";
};
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250
2024-08-15 16:53 [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250 srinivas.kandagatla
@ 2024-08-16 7:23 ` Krzysztof Kozlowski
2024-08-16 15:10 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-16 7:23 UTC (permalink / raw)
To: srinivas.kandagatla, broonie
Cc: perex, tiwai, alsa-devel, linux-arm-msm, linux-sound,
linux-kernel, amit.pundir, dmitry.baryshkov, devicetree, robh,
krzk+dt, conor+dt
On 15/08/2024 18:53, srinivas.kandagatla@linaro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> we seems to have ended up with duplicate clocks for frame-sync on sm8250,
> it has both va and fsgen which are exactly same things. Remove the redundant
> va clock and make it align with other SoCs.
>
> Codec driver does not even handle va clock, so remove this from the
> bindings and examples to avoid any confusion.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250
2024-08-15 16:53 [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250 srinivas.kandagatla
2024-08-16 7:23 ` Krzysztof Kozlowski
@ 2024-08-16 15:10 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-08-16 15:10 UTC (permalink / raw)
To: srinivas.kandagatla
Cc: perex, tiwai, alsa-devel, linux-arm-msm, linux-sound,
linux-kernel, amit.pundir, dmitry.baryshkov, devicetree, robh,
krzk+dt, conor+dt
On Thu, 15 Aug 2024 17:53:20 +0100, srinivas.kandagatla@linaro.org wrote:
> we seems to have ended up with duplicate clocks for frame-sync on sm8250,
> it has both va and fsgen which are exactly same things. Remove the redundant
> va clock and make it align with other SoCs.
>
> Codec driver does not even handle va clock, so remove this from the
> bindings and examples to avoid any confusion.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250
commit: d08ea4193a72c5e3090240872ff7ed60a70716e6
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-16 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 16:53 [PATCH] ASoC: dt-bindings: qcom,lpass-wsa-macro: correct clocks on SM8250 srinivas.kandagatla
2024-08-16 7:23 ` Krzysztof Kozlowski
2024-08-16 15:10 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox