Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1334170lqe; Mon, 8 Apr 2024 06:16:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+WKt2NHAiaKqQA4PI1UwCyJXw+6O+tZWVRsWk4h1rM19KiJHG6JHevf0d8ZAoE9A7JgSx5A/j7uYvOGrtOwwzdfdDg8vHK4E8YU0veA== X-Google-Smtp-Source: AGHT+IF+iUYimOJUJzUgrp9sqTvRyl4Y29T/wDI8vRO7gZB3czHEg1myFYB6razCQ+DwuiK4F/7z X-Received: by 2002:a17:902:ef51:b0:1dd:dde1:31dc with SMTP id e17-20020a170902ef5100b001dddde131dcmr11375116plx.26.1712582178213; Mon, 08 Apr 2024 06:16:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712582178; cv=pass; d=google.com; s=arc-20160816; b=wpxHOlZMWxRxaPLxRijwucnencepsl3znNIGDUK42C3/0Is1PK1qlSC63BKwDINMMT rN43lcu9a6krcTy+77veR4SgERuHMVt8EQpYbbCF0CRSgX/qm2yZQiP4B/EEoALq6QF9 gpol7EXN/nMB5o8i0d5CT7cKglG2DZZzef55RC0+Ypo6etC1PG83Wn6s4oB+BA/LWybx AqRG7kSCvQhPTtm99MtwC2L8J4EcVZZu71jbLreAdYp78yJztAqfGxd7mK3DLflFBJeZ XSI9JzTD0Ct7fMbK7QZm1k0l7V/O8mM2EfuKQXMQ2Jtotq426bgYVbNsSVT3wG3PTYQ+ sWpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=EIfWhO56deLbZSEvQDXUk02FMIpJsCPYMFdPM9Dpyf8=; fh=MPIb40Jvzkno45pZutUqNbcB/DX3wXjmpKxJlHsQtsg=; b=HVXXdF6kCk3VLdFw9j4DPWtlbLqgyo9ps1rMNKtz5tArEEasII/nZMYbWHoa3KCNAr kbbaNB6Dz9Wpi+bTgkrpjEg58Wv6xEeps2nQrnSR6aeVNogStfrYy7xRZ9NPsjMWS6tC IvLHFQizvk0Q32Byo5Hdu33Pr3kgBASq+uwrti/FoziiK17Ef0qGRFUSmrAb6KjDKndt 9yaJ2+6iIYvppDXolY7rrEvW7vpw2J+kxJayTT+oQMfOcp/otEKDIY14aSJnrcPNcodH CgyhnFhLk6PoJb6yDq/tJ7BxIFsZOOaJDMLBjF0bI22KgYtlADtOm0NonNLZCe0o0P4P eqdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EwY4Wpa1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m17-20020a170902db1100b001e2a0cfc3cdsi6565356plx.353.2024.04.08.06.16.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:16:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EwY4Wpa1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-135362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B340AB27ED6 for ; Mon, 8 Apr 2024 12:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD45571727; Mon, 8 Apr 2024 12:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EwY4Wpa1" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37610EACD for ; Mon, 8 Apr 2024 12:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712580836; cv=none; b=OJ72w4aW+izBleJfPacBip4ZIftM95bjlNTaWLWPovjGFlECRbDf7hw3LhQhC5jH6ggaqCqJoksR6gl1mzPAke6kO9UO1t0d46Vj6XmtJhB3Ra5lGdir9EGbnFk08bok12kMNiTzXTwtrpUic5FL7K4q7dm8xnSvNpVNqeF3F6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712580836; c=relaxed/simple; bh=WEyYkpof9FQ9wxzmt9yxgXdvUZ5yezofqlz1rRRr7SE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C+8Rekiz1uYfEvxUmIw7tPMgI4QbSodpdCbtXx9oInQS58eSxaO4oVtMXtA2uFV3p1214vcRO/M34/hsoOos2OhwHtBQ3CFY87IUmlM9ZD/sKmfckbEmvsbudN4D8UcK+n44HkVtq2hV//UoDjhh87rErSAREMcxd1K7CaIzWNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=EwY4Wpa1; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4168a5d75c4so3462475e9.0 for ; Mon, 08 Apr 2024 05:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712580833; x=1713185633; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EIfWhO56deLbZSEvQDXUk02FMIpJsCPYMFdPM9Dpyf8=; b=EwY4Wpa1t0VMyrdmXjS0phBWLnbhDaR/BkShQyeHNk+FEk3kY/MEoPBk4St5YWxaeP jG2/e/MFbAlC+CJ/QoTrtRjwMje6cvVfAOOV/TonalhDd4TmuaZx1xiBKCnD6jBD2l1E tghjbh3+ZMTr5GXHYrJR867K+98LIyWiVH/hL8meqx2zuBs9C3AfFRXHJDqXsOl7kUVn 9biBwdgzmobqAdCTwQc4gBSURyilQIC/6uwuE/uxq6lySwClyykUuuREEaz3noQRCDoH tEtKVo/O2Xn/OIhYRAEThW+1pLbJEHSo6QCg9GoZ82otsr+f6znTAobqZBwdSM7hIGVA ibAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712580833; x=1713185633; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EIfWhO56deLbZSEvQDXUk02FMIpJsCPYMFdPM9Dpyf8=; b=ZV59cBw4SJN+8y/0r35f6VUfdcwxYS+GSaxhDzlCyeaEo8pUntXoN+YHb2JUnY3zPC worXklRGTqp4sVFPxoSGSzvV5eWuk+q6hqnQsQy7TTauXG/dBXvubMC1eQoSDXK0mQ3j LlmlfskE764w6t/zpthoxpde2977nj6ot+PUUtXc4kjIi1qyrOP38XMhj44cy5UxUfXw dkQSCsjHf5PldlycxJz+tZR14kHGQ2kYf9w9gzv9mwv0i3m6ZURTPaKjzloBhiJsiAcL Kgg/7Ks4e321vZl/QCQNoCfWefEoZWTt3e8UQR3s6SDeCCIbZagHhHsRyhTTnh8sBZRY WgnA== X-Forwarded-Encrypted: i=1; AJvYcCVe2w6FrpD0D2vW3Fn2Sk7GllnoIZmNpTMJqpaHCjc8jrvp/ZHZPqX3xUHrXbzOSjN85o37R/RQZsFaz3FKUfdtRMeUmDg22TpjS3Ki X-Gm-Message-State: AOJu0Yy4F0FdswcHIZxXoxOAQkT29UsKgKpXiNSBhvaEdSabEFxLPfeO +Q1YZa+2Xev+EJgA3AI3+wZWt4vQLT8aJuNV1tjnuspcDbpJbGTlEYhYaLcJpq59eCwTonGakpa j X-Received: by 2002:a05:600c:3b8b:b0:414:8889:5a2e with SMTP id n11-20020a05600c3b8b00b0041488895a2emr8878647wms.30.1712580833297; Mon, 08 Apr 2024 05:53:53 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id bg8-20020a05600c3c8800b00414807ef8dfsm13342654wmb.5.2024.04.08.05.53.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Apr 2024 05:53:52 -0700 (PDT) Message-ID: Date: Mon, 8 Apr 2024 13:53:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND v3 2/2] ASoC: qcom: sc8280xp: Add support for QCM6490 and QCS6490 To: Bjorn Andersson , Mohammad Rafi Shaik Cc: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_rohkumar@quicinc.com References: <20240408042331.403103-1-quic_mohs@quicinc.com> <20240408042331.403103-3-quic_mohs@quicinc.com> <45yy3cvepk4uwi2jdmh4w6l5ac3dffqhbot6xzv2bwjvo637ss@pryzth2hghyu> Content-Language: en-US From: Srinivas Kandagatla In-Reply-To: <45yy3cvepk4uwi2jdmh4w6l5ac3dffqhbot6xzv2bwjvo637ss@pryzth2hghyu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/04/2024 13:45, Bjorn Andersson wrote: > On Mon, Apr 08, 2024 at 09:53:31AM +0530, Mohammad Rafi Shaik wrote: >> Add compatibles for sound card on Qualcomm QCM6490 IDP and >> QCS6490 RB3Gen2 boards. >> >> Signed-off-by: Mohammad Rafi Shaik >> --- >> sound/soc/qcom/sc8280xp.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c >> index b7fd503a1666..878bd50ad4a7 100644 >> --- a/sound/soc/qcom/sc8280xp.c >> +++ b/sound/soc/qcom/sc8280xp.c >> @@ -169,6 +169,8 @@ static int sc8280xp_platform_probe(struct platform_device *pdev) >> } >> >> static const struct of_device_id snd_sc8280xp_dt_match[] = { >> + {.compatible = "qcom,qcm6490-idp-sndcard", "qcm6490"}, >> + {.compatible = "qcom,qcs6490-rb3gen2-sndcard", "qcs6490"}, > > We now have 4 -sndcard and two -sndcard compatibles > here. > > Not saying that your patch is wrong, but is this driver board-specific > or soc-specific? Srinivas, Krzysztof? Normally this should be board specific. In the past we made them SoC specific and provided a way to do board specific changes based on compatible. Recently we stopped adding new drivers as most of these drivers turned out to be identical and lots of code duplication. Having these compatibles will help both the userspace UCM and provide hooks to do any board/soc specific configurations. thanks, Srini > > Regards, > Bjorn > >> {.compatible = "qcom,sc8280xp-sndcard", "sc8280xp"}, >> {.compatible = "qcom,sm8450-sndcard", "sm8450"}, >> {.compatible = "qcom,sm8550-sndcard", "sm8550"}, >> -- >> 2.25.1 >> >>