Mohammad Rafi Shaik
7748328c2f
ASoC: dt-bindings: qcom,lpass-va-macro: Update bindings for clocks to support ADSP
...
Manage clock settings for ADSP solution. On Existing ADSP bypass
solutions, the macro and dcodec GDSCs are enabled using power domains
in lpass-va-macro which is not applicable for ADSP based platform.
Co-developed-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com >
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com >
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20250903151337.1037246-2-mohammad.rafi.shaik@oss.qualcomm.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-09-04 13:44:34 +01:00
Srinivas Kandagatla
25436580f0
ASoC: dt-bindings: qcom: Add Glymur LPASS wsa and va macro codecs
...
Document compatibles for Qualcomm Glymur SoC macro digital codecs
(VA and WSA), compatible with previous generation (SM8550 and SM8650).
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20250902140044.54508-5-srinivas.kandagatla@oss.qualcomm.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-09-03 12:34:24 +01:00
Krzysztof Kozlowski
aa84580e05
ASoC: dt-bindings: qcom,lpass-va-macro: Define clock-names in top-level
...
Device variants use different amount of clock inputs, but all of them
are in the same order, 'clock-names' in top-level properties can define
the list and each if:then: block can only narrow the number of items.
This is preferred syntax, because it keeps list unified among devices
and encourages adding new entries to the end of the list, instead of
adding them in the middle. The change has no functional impact, but
partially reverts approach implemented in commit cfad817095 ("ASoC:
dt-bindings: qcom,lpass-va-macro: Add missing NPL clock").
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20250716074957.102402-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-07-16 11:15:19 +01:00
Krzysztof Kozlowski
6a646e6de5
ASoC: dt-bindings: qcom: Add SM8750 LPASS macro codecs
...
Document compatibles for Qualcomm SM8750 SoC macro digital codecs (RX,
TX, VA and WSA), compatible with previous generation (SM8550 and
SM8650).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20241022064155.22800-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2024-10-22 15:06:30 +01:00
Neil Armstrong
c13cf1991f
ASoC: dt-bindings: qcom,lpass-va-macro: remove spurious contains in if statement
...
Remove this spurious "contains" which causes the bindings check of
qcom,sm8450-lpass-va-macro compatible to fail with:
codec@33f0000: clocks: [[156, 57, 1], [156, 102, 1], [156, 103, 1], [156, 70, 1]] is too long
from schema $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml#
codec@33f0000: clock-names: ['mclk', 'macro', 'dcodec', 'npl'] is too long
from schema $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml#
Seems the double "contains" was considered as valid by the tool but broke
the entire if statements.
Fixes: f243ef746d ("ASoC: dt-bindings: qcom,lpass-va-macro: Add SM8650 LPASS VA")
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://msgid.link/r/20231219-topic-sm8x50-upstream-va-macro-bindings-fix-v1-1-ae133886f70e@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-12-19 14:02:50 +00:00
Krzysztof Kozlowski
f990306adf
ASoC: dt-bindings: qcom,lpass-rx-macro: Add X1E80100 LPASS VA
...
Add bindings for Qualcomm X1E80100 SoC Low Power Audio SubSystem (LPASS)
VA macro codec, which looks like compatible with earlier SM8550.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://msgid.link/r/20231211123104.72963-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-12-18 14:04:28 +00:00
Krzysztof Kozlowski
f243ef746d
ASoC: dt-bindings: qcom,lpass-va-macro: Add SM8650 LPASS VA
...
Add bindings for Qualcomm SM8650 Low Power Audio SubSystem (LPASS) VA
macro codec, which looks like compatible with earlier SM8550.
Cc: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://msgid.link/r/20231129113014.38837-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-12-11 12:54:13 +00:00
Krzysztof Kozlowski
cfad817095
ASoC: dt-bindings: qcom,lpass-va-macro: Add missing NPL clock
...
Several devices (e.g. SC8280XP and SM8450) expect a NPL (Near Pad Logic)
clock. Add the clock and customize allowed clocks per each variant.
The clocks are also required by ADSP in all variants.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230330113405.55722-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-03-30 14:28:40 +01:00
Krzysztof Kozlowski
f769fcefa6
ASoC: dt-bindings: qcom,lpass-va-macro: Add SM8550 VA macro
...
Add the VA macro codec on Qualcomm SM8550, which comes without NPL clock
exposed.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230327132254.147975-9-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-03-29 17:43:24 +01:00
Srinivasa Rao Mandadapu
7a35498982
ASoC: qcom: dt-bindings: lpass-va-macro: Update clock name
...
Update clock name from core to macro in lpass-va-macro node
to make it compatible with existing driver and existing DTS files.
Fixes: 67d99b23c8 ("ASoC: qcom: dt-bindings: add bindings for lpass va macro codec")
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com >
Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/1674468802-14834-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-01-26 13:31:01 +00:00
Krzysztof Kozlowski
a612130ca1
dt-bindings: drop redundant part of title (end)
...
The Devicetree bindings document does not have to say in the title that
it is a "Devicetree binding", but instead just describe the hardware.
Drop trailing "Devicetree bindings" in various forms (also with
trailing full stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [dD]evice[ -]\?[tT]ree [bB]indings\?\.\?$/title: \1/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [dD]evice[ -]\?[nN]ode [bB]indings\?\.\?$/title: \1/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [dD][tT] [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > # IIO
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com > # input
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Link: https://lore.kernel.org/r/20221216163815.522628-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Krzysztof Kozlowski
58ae9a2aca
ASoC: dt-bindings: Reference common DAI properties
...
Reference in all sound components which have '#sound-dai-cells' the
dai-common.yaml schema, which allows to use 'sound-name-prefix'
property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Tested-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com >
Acked-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com >
Link: https://lore.kernel.org/r/20221203160442.69594-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-12-05 14:05:43 +00:00
Krzysztof Kozlowski
bcdc73e167
ASoC: dt-bindings: qcom,lpass: do not hard-code clock-output-names
...
The purpose of clock-output-names is to customize desired clock name,
not use one, same name.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221103195341.174972-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-11-10 21:36:23 +00:00
Srinivas Kandagatla
473d218b56
ASoC: qcom: dt-bindings: add sm8450 and sc8280xp compatibles
...
This patch adds SM8450 and SC8280XP compatible entry for LPASS TX, RX, WSA
and VA codec macros.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220906170112.1984-8-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-09-23 14:25:05 +01:00
Srinivasa Rao Mandadapu
852fda58d9
ASoC: qcom: dt-bindings: Update bindings for clocks in lpass digital codes
...
Update dt-bindings for clocks as per ADSP bypass solutions, in which macro
dcodec GDSCs are enabled using power domains in lpass digital codec drivers.
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com >
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com >
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1647852981-27895-2-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-04-05 19:06:28 +01:00
Srinivasa Rao Mandadapu
6619c7d437
ASoC: qcom: dt-bindings: Add bindings for power domains in lpass digital codecs
...
Include power domain dt-bindings for lpass digital codecs RX, TX and
VA macros, which are required for ADSP bypass architecture.
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com >
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com >
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com >
Link: https://lore.kernel.org/r/1645898959-11231-3-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-02-28 13:30:38 +00:00
Srinivasa Rao Mandadapu
6e3b196e5a
ASoC: qcom: dt-bindings: Add compatible names for lpass sc7280 digital codecs
...
Update compatible names in va, wsa, rx and tx macro codes for lpass sc7280
Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org >
Co-developed-by: Venkata Prasad Potturu <potturu@codeaurora.org >
Signed-off-by: Venkata Prasad Potturu <potturu@codeaurora.org >
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Link: https://lore.kernel.org/r/1635234188-7746-3-git-send-email-srivasam@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2021-10-26 12:35:18 +01:00
Srinivas Kandagatla
67d99b23c8
ASoC: qcom: dt-bindings: add bindings for lpass va macro codec
...
This binding is for LPASS has internal codec VA macro which is
for connecting with DMICs.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com >
Link: https://lore.kernel.org/r/20201105113458.12360-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2020-11-19 12:59:07 +00:00