[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c9226d9-8470-6672-d8ce-3fb1e4df3fda@linaro.org>
Date: Wed, 31 Aug 2022 10:17:51 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: broonie@...nel.org, krzysztof.kozlowski+dt@...aro.org,
perex@...ex.cz, tiwai@...e.com,
pierre-louis.bossart@...ux.intel.com,
linux-arm-msm@...r.kernel.org, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/6] ASoC: codecs: wsa-macro: add support for sm8450 and
sc8280xp
On 18/08/2022 18:12, Rob Herring wrote:
> On Thu, Aug 18, 2022 at 02:46:15PM +0100, Srinivas Kandagatla wrote:
>> Add compatible for sm8450 and sc8280xp.
>>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
>> ---
>> sound/soc/codecs/lpass-wsa-macro.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/sound/soc/codecs/lpass-wsa-macro.c b/sound/soc/codecs/lpass-wsa-macro.c
>> index 27da6c6c3c5a..f82c297ea3ab 100644
>> --- a/sound/soc/codecs/lpass-wsa-macro.c
>> +++ b/sound/soc/codecs/lpass-wsa-macro.c
>> @@ -2561,6 +2561,8 @@ static const struct dev_pm_ops wsa_macro_pm_ops = {
>> static const struct of_device_id wsa_macro_dt_match[] = {
>> {.compatible = "qcom,sc7280-lpass-wsa-macro"},
>> {.compatible = "qcom,sm8250-lpass-wsa-macro"},
>> + {.compatible = "qcom,sm8450-lpass-wsa-macro"},
>> + {.compatible = "qcom,sc8280xp-lpass-wsa-macro" },
>
> Looks like these are backwards compatible with the existing versions,
> why not reflect that in the binding?
Backward compatibility is not always true, some of the registers and
there defaults tend to change across SoCs. Having SoC specific
compatible could help us deal with this and also make code more inline
with other codec macros in LPASS IP.
--srini
>
> Rob
Powered by blists - more mailing lists