From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 793D229BDB5 for ; Wed, 22 Oct 2025 16:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761151609; cv=none; b=tOPHwoauURf9Uc7bPIR8k7ceQZ7sQG8VEKbFAOqxUlSTRwAVQNAXF4ejvssQ6O+v2R+mjoYzCUOvQhbX17awzV1rHynh8aFGyc4c6/qcqPMy0SMxqg1/2USp5/hG2fs7N8QIF4L3BGJFtpFIi9V71nF3VlawEPLq+wLDzzcWo3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761151609; c=relaxed/simple; bh=kzK0X3PESTcd0Pn7d03B0oVRUrs6ifjmGrqa6trxFU4=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=XOG8RyDgR+uSLYtxdaSC+5LKokoiOMQZi0Los2RX6GR/qrZbKiJjWKPEXaEPe35YcaNajBfDuy0N7kNxofoJjKnQsJN2xRhEyXd/svkoSuQvmaG2WszGEVsGWq0sd7V1ZBfjJIeB+yFDbDmr1+omTioq4KWTZ5SnbgT0S3vr2KQ= 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=PTZgqxQh; arc=none smtp.client-ip=209.85.221.52 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="PTZgqxQh" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3ecdf2b1751so4317022f8f.0 for ; Wed, 22 Oct 2025 09:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761151606; x=1761756406; 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=hB/kxv3520VBWvRt90QZf897nQckO35BdxVzd7xmja0=; b=PTZgqxQh0FAFLKNMK5gF/Sl/decW5TjYrWfZ+dOhQ3RDXp1tX7oQPY/9YAlUR4wBMO emIb+1KUgcwNPxJQUvJewVkSts5oD+hjJA2SnXfREkVbzxosYgctYK/COSKK9mKOU3+i PZlCkCtei1u6ylPJfv3z0e55lkKkWrjbxdj44D4Ec7vKHycEIXgF9qCtiGdhjDIRSvqE /oijCbkj95mBAJOinAzS+QHMmpDcsJxHhgSQHxZv3jC8WMNdp8ITQikZFfffZbDQhvrI eo9N6IkMNa6hCZbC2Lv49K0XJClTRfTe3V627rHQF4hlRwBhoHtgQdVXBufEOYBBCa2O ZcWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761151606; x=1761756406; 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=hB/kxv3520VBWvRt90QZf897nQckO35BdxVzd7xmja0=; b=Lwe4KH/9FHw1Z9GwEkztrg3ItYiOYxWZ9VoKWyTJO67ZVamPtphphcS04P56U+CkwT RbLa6G9DYyLUtawJYgZuvlGEmnRWSONqFRoX5ql7OscfWayxr5aovdJ7w57e+P+zsUe9 OgYy6yv1GAwLCjaAjUQ9D4ofy/J9w8svjF02ZrOkjf8XAlDj6SEcMCni1pGU3W2K1+4S AzHimXDFj0lBsO+lVWrDX4UQxCq422puf0z9wJIKB8rN1wa/x6zuPpOPrfrNTiFCD6YF s4QDJk/VM25nPAIm7Q7Nb5KlAivsr13in86toCbOKdR82ddofCTqa94OtF3DCApoTid0 5O6A== X-Forwarded-Encrypted: i=1; AJvYcCV1agWZC5l21pDzU1H7BnCYdHsjw8tee0dlN6ZD+NGM3N94FcayGv6xTyejYrrhV8Sj74pgRWeFNRaSEsCV@vger.kernel.org X-Gm-Message-State: AOJu0Ywox11pD/HovY5ltHa/q4ZS2hUfGjmTJCCxr7TJd+pniuW2DGW9 jrOrXqLbjFzQHSU++vzAbtrkw4RB1ynq46kX4AaGPTO+dotb1qBwj/+QgBI23X6KwQQ= X-Gm-Gg: ASbGnctu0cIadeLR0rtUx2743oFiF3OH+QNQANvsDN9H02Uw2BjZfsTMnc+HcKlJmLQ K5hegXMTsVQzyDQQ7+a8ErcvEFPycvh/lmsgOKztM1en+BRdW5hDSHEbfRG3t3MzQogCK054VIm I8jW8bQm3zrOFEypPaOj/2xZmyyGCwWcouYAR2S5WdhWtJrojP0HPFHbA+QSb/VQ8Dxnlg3Bc0v 6GXG4nKcrVe4zmsI7Uq5wDaE/LYhrNEhPW2dcmPuZL0jbUrqvgJz6qrukp4x9/Hvz+6KiAyVQwY ozEbzpvo2PvLBcXn7+A01knkjWr+Ro32Q7I27r1BmQaNBylX+p9kTkeSfAa/IVke9Yz/Wai36TA 4qCL3xFzzpsWAcgRI0lVy7YZCbtZxpdjoHDTNegyucdemBBPCF4wb4ZH3+NTwHzihuNradjLb6I YijChEIe2Ktiynl2Y= X-Google-Smtp-Source: AGHT+IHC0nEVJ9kS8jNlN1CcS2Es7FqGZUD1CeVHVY8B/z53AT+D2UQg55S0hwzJKEC6PDUH79Dojg== X-Received: by 2002:a05:6000:26d1:b0:425:7cf6:5b9e with SMTP id ffacd0b85a97d-42704d146a5mr15287672f8f.3.1761151605615; Wed, 22 Oct 2025 09:46:45 -0700 (PDT) Received: from localhost ([2a02:c7c:7259:a00:11f4:2b3f:7c5a:5c10]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-427f009a797sm26064120f8f.27.2025.10.22.09.46.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Oct 2025 09:46:45 -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: Wed, 22 Oct 2025 17:46:44 +0100 Message-Id: Cc: "Srinivas Kandagatla" , "Liam Girdwood" , "Mark Brown" , "Rob Herring" , "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: "Srinivas Kandagatla" , "Dmitry Baryshkov" , "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> <695ff482-ad53-45fc-9ab0-ad69d8bc89d5@oss.qualcomm.com> In-Reply-To: <695ff482-ad53-45fc-9ab0-ad69d8bc89d5@oss.qualcomm.com> On Fri Oct 17, 2025 at 12:27 PM BST, Srinivas Kandagatla wrote: > On 10/17/25 8:35 AM, Alexey Klimov wrote: >> 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..c29e59d0e8043fe2617b9= 69be216525b493458c4 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? >>=20 >> 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-sndca= rd (3); >> - add base compatible as qcom,qrb2210-sndcard and fallback >> rb1 sndcard compatible to it. >>=20 >> The latter one is ruled out because base compatible should be used and >> it is not going to. >>=20 >> As far as I can see the last addition went simply with (3). >> Which one finally you all want? > > Am fine with either "qcom,sm8250-sndcard" or "qcom,qrb4210-rb1-sndcard" > as long as we reflect that correct driver name in machine driver. > > traditionally we have SoC level compatible which works fine for 99% of > the boards for that SoC, expectation was that if there is any deviation > or board specific changes required, this can be accommodate using model > information. am fine with board specific compatible too, however am not > okay with both "qcom,sm8250-sndcard" and "qcom,qrb4210-rb1-sndcard" or > falling back to another board compatible for various reason one being ucm= . > > So 1 and 2 re *NOK* > > I hope this provides some clarity here. Yes. Thanks. I went with SoC-level compatible in the latest version. Thanks, Alexey