From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 AF54220E032 for ; Fri, 17 Oct 2025 07:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760686512; cv=none; b=kgfDJ0zOxs5cDY0eFtxFOV5zIIY5nolyaLuRjwMvCQT4WfbKwBN0+IBEjw6dFzs26eKbH2e0p6yAQh4zcvzqZOcuI/77lxNV7yE70bAFrIwb3Hyyd0T6AdsMe5lm8qrqOg4l+QcLwVllREqQFo6o3teCchjJ+ys8wHqku295+SQ= 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.46 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-f46.google.com with SMTP id 5b1f17b1804b1-471131d6121so12021325e9.1 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=xHVnotFXTbJtrL1uThLxRMivGkuNTfl7kIX7ijAIfmv8rdpHbctZgW8pEiOr40JNt5 SXiiOLpf8BFsm8joSQjm4mJ78aIJ77/ECr2MHfWa/xRZpk92VfgCCxhmKg9zkoGnS3ww UTVB8ZLuoCYlS84tPFhm9WP1p8hVm8cBqZ+0zSbR9QUA/UNHd0gQbLGyig+4FA1Mnq8D nete8WhxGASFfvffypABuPpUJJ/wyruoPYz/COliECvUNbiLBDaejXs68WkKNtwDYYPA W+xQRfiydKmvgBGGMBQp8DL8KdDItcztfft3NNypchCWDTRwJC/MeIUjo/IEr/4G4iKA 3yNQ== X-Forwarded-Encrypted: i=1; AJvYcCUhGIdde/AnGSKoByc+QN9r8aG8mfVPf7R0/ikWz3LwoLN3pQM7cJLwhWVzkTsWIDDJrmEZPB9lX+ygAw==@vger.kernel.org X-Gm-Message-State: AOJu0Yw5KVZYRo8NdGKdPPFJWwXWp9aRmCgYPALGngydRV+YpBXTp9KH HylufCaUEqzKKJ8ffYlUQ9swUMmyIBqASponej/TGnqQX6+/872hjI+sx9d4ThyBh5t5GbMQeI1 ruQF2 X-Gm-Gg: ASbGncsjT5AGD0J93BdIaYL4+JpiVOq6rbrSyZOqXkbg65a9ATdfIX1PzxOnCkQ9mQW 7NKnIjjsxx8oenie4LPKev2Ui0pC27pQjojrna+8xyxfZVoroYBPvDdcH5cQ39ob3Jo0Xw0p9de Ul7a7ADb/eEmXZt8SEXatkIUwFXtA4UVFRT8fESulE2E7CleCMPxM+CKGXiqsX51gws04yEuGW+ fpr8YnGOJOzCFsjEBoXNkgVauz2STd0730x2yB+ilC1gsZ9dMPF9SKvqqeusNZDbcNVqfQ61Rqw Eafhy1nmpp+LqwbGRvbCZW2h4UQ6q/GF59C6R+IDgK+gztd9KVQVCIQrmYpvk++/WYYIBdCuFTY U8V8KlMztWqznexyxGSuwHAIOaRDv2B69VdqogXgORv/vPvtV0EsFo8ahRt2sPOrGv4cfNePNLJ 1JU6/b9EbcdzTv+6I= 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-sound@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