Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp281312rwe; Wed, 31 Aug 2022 02:44:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR4UAKZ1TcSb0rtbtHaaPSD8E8kE+W/bOFq6dm/p0mB/5xhbZ9wHXUugjyk3Q47tgsThb18w X-Received: by 2002:a17:902:7b8a:b0:172:9516:f15 with SMTP id w10-20020a1709027b8a00b0017295160f15mr25415478pll.92.1661939050333; Wed, 31 Aug 2022 02:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661939050; cv=none; d=google.com; s=arc-20160816; b=OLwgModrK25dERaBKT96jAsjoMuK9yLnoN7tAsOcM9+KGZqpKbLiMTaL/xPR2ZD67H oBMil+ZGWzOoqSE8C2jI661YLo/OXodqfk/HGli6CeKpdFfJBKErsm0eUTpcI+x0PERM d+QyROMY5VFuprSwWvuBpjCVm2lXGJY9313aBrRnZYn/z4XbgOEXPvBOsIGvSns2J/Z2 ewb9SUco/yc0W1RRuTIWy9rlmGCIgYOpX4ESAp3U1/1PL21umXIeCdHU/UjQtav1n6BI pIZHu6t+DImYp8vFZd5OZ2bnDsYidJuPmJFvpY44XQq4KtjVDtzr+PqRwhyJICBcq/Gv YNvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SXvbV5rcvavP4Jcb2izxYcl7CbRhtBP4rr55k+HGuNU=; b=Q80+mvIDc6d6+MYniork1IE9BPBbyVy735kByFO4OZN3q/gkKq+1Vo50PU46LDtvYb X2BTzVCzFCsS+xqmYPC6ROA9biexUbsUbVKQYxa34K0oSYUCQVBfOyyDJjBKydSLCblN ezdnjm6BlWK9B7ZYx3rTG2Wog2SxyGPw3aHAtUF6xRXCi1u6K8bOrZupK9qO+UxP3pLw yYZmtL2QWz89bv3gRujuQRHjp1qfN2X+opQHSExIIFDyVfZVKD/eV4k9euMvtf14pxp/ kNqEQSaOkIAooQhEKCbodcA1sbN5vTfQfAsJJmT1H5avi7HZnyFHI10SunfQ7JFAU2sb lRlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X3x24bF6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a63fe07000000b0042b27166ae4si4779814pgh.65.2022.08.31.02.43.54; Wed, 31 Aug 2022 02:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X3x24bF6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbiHaJR5 (ORCPT + 99 others); Wed, 31 Aug 2022 05:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231207AbiHaJR4 (ORCPT ); Wed, 31 Aug 2022 05:17:56 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9746C274F for ; Wed, 31 Aug 2022 02:17:54 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id u18so4727873wrq.10 for ; Wed, 31 Aug 2022 02:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=SXvbV5rcvavP4Jcb2izxYcl7CbRhtBP4rr55k+HGuNU=; b=X3x24bF6e1FAOnPOGPbkcK7pFdN7G4u8EQYVcJVjQQXTgufSKLHtIl3ZQe0VghbytW Du2+8Ec7aNljPJv6ObaPdvyEkH1Wwam9fzUydUDgl66FRPgYmj1zGbjzK39Tuf6Nvoex yU3l9CTgYqLDJflN+BwpL2FhKgNDfukBBVgdY2sz5mqAxYWgQ2EvtLVEg8Bic6ADlQQp 1HcbHQfR3pC4V/k6OPENbevkVZzFmrXidf/PJha0HUqPnuQDAH8rUW2S+/0JkOKdIie0 9icy0P6voEfb3ahVNuQLxO8A9ZnSs6D5cTcBL6Jn+FutMrbvKSsELxqAeQgOlCPbBRFz wgqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=SXvbV5rcvavP4Jcb2izxYcl7CbRhtBP4rr55k+HGuNU=; b=KDQ2rT7WdBkheCPDo2q0pFWehnPFl9TfdjKsWnj6uWoW62eXw8pgTA2KQMSiSl+SJu MUryJWHY9EfJ8rysB2Q1uQFY+RC8o5TM5DjmgZpw6FxmPFB56eSAy5xSFZkjVOz+p1Wk y9TNNeGMmMwxooYy3t4HLodiWHNnthazNqeE8faeO6uKn8FEzWk6VG1fOqj6y55Vh6Yw 0CEOCpxK8ApCXKbqY96qwv0+eZ43wfcqceTqnWXiLD75FUYqIu9p/tr1OqTFp+G0usY/ i1a2U8LUbIYovr/T5JCrybJlUQtCj7zD+r2JiWUzQXRP1e9PtO67MaDwF9x+AtmHpsdq cPnA== X-Gm-Message-State: ACgBeo3QN8M/pUiQSE8mUuB2FQ/sTVUqqhfD/WSGKyzV9enJtP89Z0K0 +z9tGyrBcZnWkyF2APG7YrI03A== X-Received: by 2002:a5d:5143:0:b0:226:de76:be7b with SMTP id u3-20020a5d5143000000b00226de76be7bmr6469642wrt.308.1661937473326; Wed, 31 Aug 2022 02:17:53 -0700 (PDT) Received: from [192.168.86.238] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id l42-20020a05600c1d2a00b003a3170a7af9sm1659640wms.4.2022.08.31.02.17.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Aug 2022 02:17:52 -0700 (PDT) Message-ID: <9c9226d9-8470-6672-d8ce-3fb1e4df3fda@linaro.org> Date: Wed, 31 Aug 2022 10:17:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/6] ASoC: codecs: wsa-macro: add support for sm8450 and sc8280xp Content-Language: en-US To: Rob Herring Cc: broonie@kernel.org, krzysztof.kozlowski+dt@linaro.org, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220818134619.3432-1-srinivas.kandagatla@linaro.org> <20220818134619.3432-3-srinivas.kandagatla@linaro.org> <20220818171222.GG1978870-robh@kernel.org> From: Srinivas Kandagatla In-Reply-To: <20220818171222.GG1978870-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> 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