]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: codecs: lpass-rx-macro: add SM6115 compatible
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Fri, 31 Oct 2025 12:07:03 +0000 (12:07 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 13 Nov 2025 18:54:25 +0000 (18:54 +0000)
SM6115 does not have "macro" clock, so its bindings differ with existing
SoC support in rx-macro. So add dedicated compatible in both driver and
dt-bindings to be able to address that difference.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251031120703.590201-7-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-rx-macro.c

index a8fc842cc94ef4518b72b653f29f4c1fdd523a6d..891e56fbfb5aaf585c1a0d137af20bc39388928f 100644 (file)
@@ -3954,6 +3954,9 @@ static const struct of_device_id rx_macro_dt_match[] = {
                .compatible = "qcom,sc7280-lpass-rx-macro",
                .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK,
 
+       }, {
+               .compatible = "qcom,sm6115-lpass-rx-macro",
+               .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK,
        }, {
                .compatible = "qcom,sm8250-lpass-rx-macro",
                .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK,