From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 ABE0D1D5CD7 for ; Fri, 17 Oct 2025 07:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760686512; cv=none; b=rhhrIqp8qQTVLGFB+BYKxWvKFjhg6H0ylB0rF6Ib3aTAyZnmw8dRGsyZFqUowRchHzLbQrbgrQZJkq50xRT7YfWHz1iWAPGt9G8hGBdMIaL27+2++53/oe1mDAF/oJ6fmOWTR2GiXf1dxPq2Z7N2NQhTokGISSxjGW+4KGZGIAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760686512; c=relaxed/simple; bh=wwXPEjxkzFj/Qc25TrA1OsYoG1fARgWnybGKe4by4PA=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=ewYti+EzJ8fdp267w5/5uIxuIDBe+88QrKIf4+VzoojuSRySxYMy/hujrIhKocfzWMf7BuVrpOd57ywEeOtHXap7Bhuh+J8y5aYjJULX7QvPkqs5HogN56TY48lLyrx02q6D9XHF2RSmb+m4l/W+oKXZu5tVCbPFgi7CCRp9vvI= 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=CjZtG3ou; arc=none smtp.client-ip=209.85.128.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CjZtG3ou" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-47118259fd8so3603215e9.3 for ; Fri, 17 Oct 2025 00:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760686508; x=1761291308; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RRAHrLtzX4FkJ70tgmGH4RjNErNZIaozOeFYjpDWaqY=; b=CjZtG3ouCuB8Wvp5bfaPs0AGlGfYroPnWR7rBlBg7vZeXWETXxN1bDnY1jKUzRoW+f 4rUybwL2QgHASaIygdRzo0A+lkpjb3MXiqwiOGaF9gJOF/TrFO1rfQ/KXESG6CSLkefP le1mynWCtuKlX79OGDuEFeklx5d4rCj1mtqYoxXwY6K7mbn86yff7ZqrAMkv1HLXhFEg drD3kIen6GDlJe9170ByCszlr0uKi8h33msxbtYP/W1VierchbChkuPv3coDfJmShB2v trXXptP2erx/UpklJtsTvLy6cpHKGdBGnTjqlq8o8W8rTs/s1/MsvKwF3sOt4m0Rvakc BZDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760686508; x=1761291308; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RRAHrLtzX4FkJ70tgmGH4RjNErNZIaozOeFYjpDWaqY=; b=lXbhAm7Y++14B+plDmfANxu9V0CnColvsS4YU38JhF2Ehy9wMG55g21Cflh38ua46S +Vs/jqmK603Y0K4Thde34sOtouE6Km9C8QqsdMdoQMR979Mp4YKO7oe5H9V02pFEUAYm UXnE07eeRPyAiYX2khfAXDsWFbQ16Chv0ySJVAMPLBTpGC2I4QnqRhFesxzsNKmzLSjg M+/O44HhjseKMQhP2TXhmWybJ2fmkE22DjxUKHKq/wbAAO0+jmriTE1blH55rcDp5nrg R5CCsn6BcY9kZUb6MJ4eI/kZIJPgh0DZdc6XlNP6F+XNbpvcf36Xk3ZnYI8JiUNs79Q1 b2WA== X-Forwarded-Encrypted: i=1; AJvYcCWZnsxlyKCaP++kGiS4VDlY8FP8yWPjc5udhzqWhicklODmWNpAMYrNFXO+AyoOpHKaOt3sJ1DgtK7Futwz@vger.kernel.org X-Gm-Message-State: AOJu0Yz5y9jGpH7TimqLgH6axq2T+B6Zb0/zKNX/QelGzfUPAlzm4/hq yaLZVOmKhpxls0lwSzJVQKcMVWUuNUPeWfbToPJBPPWv4s4wQlpa+TbtCXBcI0IwFVg= X-Gm-Gg: ASbGncsgHNQCV/BevfowKEe7xON2+fF4A5Wzvhmz4t6ps/xxfA8Rxs1OajKvJ5jFDL8 7w4xJqR54qZsBhu3IjlS3yFGSjw8EKwnuY5PxURecWSeTmSFB6sUvjUz3Z880aEYyIvU58y9Nd8 IRaG2g5nb3ZtFDdE4ITxNRPZ8jxsbeApYvfMUKhPxCBnSVIwY68gtW3whoLF/i1nOm0Yvw+XlnH asuBqQw+mcszh+Jf8RfXnfR/ondRhKFDJSb1QLeg1XbTGs6HWgxV5OJ1VWGJFVKD4TVe90/xM3W Ma/IiiGOb9awvxOsRnEYZZ4d0hviK8e307idNJyFYmOoSCJM1QkGg8KlOyzE43LohW3OSc+3Y4u 7Yi0QpuOxb6AOOBMGEE5vGDRYRwbnjiV0/NK4QtK1VxuEzPYyznsL2An3QDjTaKUYGCayxwkoYo 73atrAXEx1jp2BkME= X-Google-Smtp-Source: AGHT+IEUpUn6oZgPv3BnmLbbizrB7eXAza/I+SZs20+aiPmae2iUnXG9lb3ZTVSYw/dt3XQUlczMAw== X-Received: by 2002:a05:600c:800f:b0:471:700:f281 with SMTP id 5b1f17b1804b1-471179041b6mr18279085e9.25.1760686507898; Fri, 17 Oct 2025 00:35:07 -0700 (PDT) Received: from localhost ([2a02:c7c:7259:a00:6426:9b9b:6d3d:1da8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-471144239bdsm92273405e9.3.2025.10.17.00.35.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Oct 2025 00:35:07 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 17 Oct 2025 08:35:06 +0100 Message-Id: Cc: "Srinivas Kandagatla" , "Liam Girdwood" , "Mark Brown" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Jaroslav Kysela" , "Takashi Iwai" , , , , Subject: Re: [PATCH 1/2] dt-bindings: sound: qcom,sm8250: add QRB2210 and RB1 soundcards From: "Alexey Klimov" To: "Dmitry Baryshkov" , "Srinivas Kandagatla" , "Krzysztof Kozlowski" X-Mailer: aerc 0.20.0 References: <20251007-qrb2210-qcm2290-sndcard-v1-0-8222141bca79@linaro.org> <20251007-qrb2210-qcm2290-sndcard-v1-1-8222141bca79@linaro.org> In-Reply-To: On Thu Oct 16, 2025 at 8:46 PM BST, Dmitry Baryshkov wrote: > On Thu, 16 Oct 2025 at 18:08, Srinivas Kandagatla > wrote: >> >> >> >> On 10/7/25 2:26 AM, Alexey Klimov wrote: >> > Add soundcard compatible for QRB2210 (QCM2290) platforms. >> > While at this, also add QRB2210 RB1 entry which is set to be >> > compatible with QRB2210 soundcard. >> > >> > Cc: Srinivas Kandagatla >> > Signed-off-by: Alexey Klimov >> > --- >> > Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 5 +++++ >> > 1 file changed, 5 insertions(+) >> > >> > diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml = b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml >> > index 8ac91625dce5ccba5c5f31748c36296b12fac1a6..c29e59d0e8043fe2617b96= 9be216525b493458c4 100644 >> > --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml >> > +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml >> > @@ -21,6 +21,10 @@ properties: >> > - lenovo,yoga-c630-sndcard >> > - qcom,db845c-sndcard >> > - const: qcom,sdm845-sndcard >> > + - items: >> > + - enum: >> > + - qcom,qrb2210-rb1-sndcard >> I don't think you need rb1 specific compatible here, unless there this >> is totally different to what the base compatible can provide. > > Why do we need to deviate from other platforms which declare > board-specific compat too? There seems to be now a few incompatible suggestions for rb1 sndcard: - make it compatible/fallback to qcom,sm8250-sndcard (1); - make it compatible/fallback to qcom,qrb4210-rb2-sndcard (2); - add separate compatible/enum for rb1 sndcard as qcom,qrb2210-rb1-sndcard = (3); - add base compatible as qcom,qrb2210-sndcard and fallback rb1 sndcard compatible to it. The latter one is ruled out because base compatible should be used and it is not going to. As far as I can see the last addition went simply with (3). Which one finally you all want? Best regards, Alexey