From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796201466; b=GFb7bCxfz8cDwAlfcJrrzeaY1xVXcTM0Mzw4JiUTjgXebUO+c8rL5gjKHaRRBh3ISx6b Ril1XB0DO6F/EgkJmax5CkbYdH2WAEqWkNlqLwRCI2M+RHbtj1zGelX6jOTP6lL/qYq2v 6k6M4Djm0VmJbHH0+dr3EuWxqfACgLdCf52Cs/Uc85PJuUcVmJc1CerOiMw5hmhrUKdyD 7+XorB+pNfyDUetWourcq/0AY/+sOGAZVscWsT/U/yH9JfAeG3XaIaPJ29K31CMNvjgfR xmBmnpTEd1UreYMvdsZtohWJIuhSJgGKS0lNMmrKASfQhTDr7XjNG4+/UMo0dTxhZYw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796201466; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=RYVc/QTn5j9d3J9t72Bmdmpo12FjqXH6V+FPfONESFY=; b=uPVZYT3YnXrqdiTI53Z9Q6hSRO2I8Ny/oqbTOYX8RqSohm48KsfBoIM4J5P+gPcMQitF a3o1qTTACP7PgtCVuEJ/5hieJ1xtiFZXbylT0A4ObfngblDws9ebCyx39qz6uV40XTa/j Xnvl+HsEhbdKqXcpfFVrXcHFJUWWCHf+kD8XPJOGORFxe4FNyvjUX4IQS5Fk3nXndwzgL MZkMjDdkhq1HXJsNYkAA1smfg9UIkynFjxX9S+8cwUw7YWAbWP/P5Q0gXgIp7YrKnk4SV kts+ukSR+GYtB4PUXYOj9Vb63JhjRF4HXIcPY7KROZXgBcWIJGcXIDIAbfRlpfqD/xQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=mUZdJ1Ve; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ZxVjVSkN; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73EC4606A6B0 for ; Wed, 2 Dec 2026 08:50:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 73EC4606A6B0 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=mUZdJ1Ve; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ZxVjVSkN Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B26p5rO2201520 for ; Wed, 2 Dec 2026 08:50:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= RYVc/QTn5j9d3J9t72Bmdmpo12FjqXH6V+FPfONESFY=; b=mUZdJ1VeUsIGpeZh m6TTWoh2XuRpKf62kbEObgWIEWEeun2PbnOEGW3WHvx6p7pY8wLYu30C9wPzZAN2 EC+lZzHTF552bB5KwEzjPDEdOHW60xOeKZHtEIe/mbBRpCKDjHd3sk+YdspHCEQu 4+0aaYCtOoVX4xw99+AiXM2hCHbN3HBHYtNjPFE3WzIReTB9ZBu0hT+lNFBwyzEk 9QGi/EpdmtJVk7yeqwfvIXUUqQ7xQGaRveTswg0ODm8f638w48hUQvCX6vSsAXO5 n/JeVFiPXhxvpuU5Li8UXBVIjMJR8eEoVZMyQjsD3kTV8EzOdi5YWuYIycySB9Yh ZuCwlw== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja7v3hx6j-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 08:50:57 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-93909014c85so533398585a.0 for ; Wed, 02 Dec 2026 00:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796201457; x=1796806257; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=RYVc/QTn5j9d3J9t72Bmdmpo12FjqXH6V+FPfONESFY=; b=ZxVjVSkNpUSDB7oi5O9i/w+YJDMCe+klT7qhq/igb/qcgqsz+6Wj65Fnhz7Bo7MpHj VmYx4DIiDoN0qsoMBLw6Ayh/NuG2tVmJkydT7+G3yNoPng63HGN/KDBKkjT/FLxUnmmJ uyOfeKDUgF4L5milIpprsIZ7158l8B8qiJKQfleBmBYZRoERKlzF7KhzTDN9+O7mZiHW dlPpwakeu4ZDcylyiCab40uXtkZQ5347DejMXNvMsxca/S9B2IAiAqqau+uKr7uNduDL Ao49+S7xmR9l2mkjhp13KHHFqquj0nDPw+ig9WmHr9n4nk0jSTaFCXuoDcaGKa4YJA5Z FfUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796201457; x=1796806257; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RYVc/QTn5j9d3J9t72Bmdmpo12FjqXH6V+FPfONESFY=; b=DKgbYaAepXaZqw9u7IYLfr2Mgb5Ng8UZpK3cuj3m8dqjebUbkTDvUiQ9jfuV7a0XaG /OpqOSiF53dBdzpY8V4XWKr/X4pybbyhAuaq0UI1vqxOrZP8/qTY1fAgA+ihFnh6j+bw UtI5opKtT/rGN4ZXGkMfPAcScLc872B+rk4cLMhWQhNuDN1pEHfWQpJ/9OH3Uxp2jN3m TUPmAYefQyLFKopBWI3lDCa2q2bQDOlXUwnQ7Mv01j9bPytez1cOpdqATlXMTZYHtrO6 NZrPDfhuEOoIPxfwRT7kmPnPiXEqHIf3uQLsB+sAbpI20pPTRwARlK+ZWynyO3/Kigd6 9rEA== X-Forwarded-Encrypted: i=1; AL+hErEsSW5qtlAW2VoodCIlY7XjSzEOBBk7IO3Vs4WDCIamOz1lmF3Q83BwTAMK4WCpoqBI2eKLsacVxWrwlYI=@vger.kernel.org X-Gm-Message-State: APuU4Z+Fi4EbHWXWZBxzd3/UxI3eq/MBrS/U51kve7xiIEoXNzJYrJ7J 9fbdSnNsWk25OUEDFYqtl/x2chhC/+Yvvnxs1ZhIc6HcIhYUHanaMJYzh+xmm8TFLKbet0R2daC 25pO8vzC09L/trML4nH3Gqfddag0tPgBm/joz+uWdTPBr5eOqHePSwy4Hy1fJU0eAQYE= X-Gm-Gg: AZFdTZcLKZs/ofvs2HDw1ZZc8xFo7p5vrToKjctfauLROaUbknZ0A9ZS61D+SjaAFvZ 7WOKBzXfUdKtwFsK9+PPqeOnhH5uE+1jjaFmFsdN602WXivcfaVDTCqA30DdNw+sGe6eA8yU8K1 CyU9ybRbNyTY8ruWaG/WTW+ZA2G0MeR/TcIqSesavYcjTBm3FYpuuSld31HmqsnNePqeGzjm6p9 YEnCXFnUFG/mrM2Tb0OoZlUHX0r5TG3LQ8qBGYRL8sosqjw+uoe++n7r3aEd7XSgCK3sYMdsc26 Y5M4iwCrTKew0f4LJhj1yy0opZXOUz7tKCnrwW59N/RCoq9TOUpHYTqn2QwkLqJiq8regTgyMr7 w1W7mCI9v31FuYufN5K9/Xgu0FRKRDW0c2a/xhBXKg3+gwO8z2pugCiw+IUL/yHfoP8OLXPxXI+ z+ X-Received: by 2002:a05:620a:2996:b0:949:74d8:4719 with SMTP id af79cd13be357-949ba9b802cmr7251686485a.44.1796201456603; Wed, 02 Dec 2026 00:50:56 -0800 (PST) X-Received: by 2002:a05:620a:2996:b0:949:74d8:4719 with SMTP id af79cd13be357-949ba9b802cmr7251682885a.44.1796201456026; Wed, 02 Dec 2026 00:50:56 -0800 (PST) Received: from [192.168.68.120] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-c513afc2d97sm1308438066b.59.2026.12.02.00.50.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 00:50:55 -0800 (PST) Message-ID: <7b3b306d-ca17-46db-8871-94df0c6a7509@oss.qualcomm.com> Date: Wed, 2 Dec 2026 08:50:54 +0000 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dt-bindings: sound: qcom,sm8250: document widgets To: Qianhui Xu , srini@kernel.org, broonie@kernel.org, lgirdwood@gmail.com Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261202003154.1321334-1-xiaqinghuan@mail.ustc.edu.cn> From: Srinivas Kandagatla Content-Language: en-US In-Reply-To: <20261202003154.1321334-1-xiaqinghuan@mail.ustc.edu.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=WJ7qzXsR c=1 sm=1 tr=0 ts=6b0fdbf1 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=ZsC4DHZuhs/kKio7QBcDoQ==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=a1HO_uCtGI5yBehsEcAA:9 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-GUID: oE3jqvumYaK3OVY41-j_uIQabS56pBOu X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDAzNSBTYWx0ZWRfX42kXvwzsNJ/h aM/Io4DeyUGMFag6zas+kAe9JQVENESq5ickUz+uVh8CA2xOFhXigKXinmv1p8hPB9IiHW6g5Lu /H9+LxSLqkilyg1w8x2YIGxF0veq9TI= X-Proofpoint-ORIG-GUID: oE3jqvumYaK3OVY41-j_uIQabS56pBOu X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDAzNSBTYWx0ZWRfX/731Ab1qDmoJ kTNJOOjOrYYu9kwGJA/yzaJFYx4kME0uoADDThnZ64wsubi/JIH7qAH6JIOzxTBcuYhDX9AuH7g 4Q2VyJutwcK/b641JOVeNuDs1Q1TcEIg8Y1BWXL4c4hYvh5wGyfgqRyh4j8Inh6FXeN2RUAllyh X+kdYFW/I8wILHmwhEPtwJ6hhgewl/Azb56/iXLl8g/bs3q1EePocMFH1dNpK8lu1PVKw5/Rp7j uiM8HZgZGnB5hix1Fo9UqhlYHxINu4+X+xSQI2piBq8C+T+is5O7JhmtDIYGgJVDi35UzQkhnto UQekVptfHnD6Na/c6rlqau7yG3DWIMufsSdZwdb6osHHOEvWLjoYL8eSlZ7GJEpgsOED/qdCjWL sRuHGXm/7FLSDado1FENrB4FTvvxpUQx79xuv1XhoeoDzwXEvprzYz+0ngyc2u+A42UzGtc45SH 6D/z3RIsj4mAK+mSqWw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 bulkscore=0 malwarescore=0 adultscore=0 spamscore=0 phishscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020035 On 12/2/26 12:31 AM, Qianhui Xu wrote: > The Qualcomm sound card common parser (sound/soc/qcom/common.c:198) > reads the "widgets" property via snd_soc_of_parse_audio_simple_widgets(), > and qcom,apq8016-sbc-sndcard.yaml already documents the same property > with the same wording. The qcom,sm8250 binding (which also covers > sc7280/sm8450/sm8650/sm8750 sndcards) never gained it, so sound cards > that declare widgets fail dtbs_check with "'widgets' does not match any > of the regexes: '.*-dai-link$', '^pinctrl-[0-9]+$'". > > Document the property with the non-unique string array type, mirroring > the qcom,apq8016-sbc-sndcard.yaml declaration. No DT or driver change. Thanks for the patch, I guess you should have also audited the device trees aswell, because none of SoCs that are part of this binding actually use such property. NAK from my side on this bindings change, Unless there is usecase that needs this property. pl note that common.c is file that get used on all Qualcomm SoC's. thanks, Srini > The patch has no dependency on any other change, so it is sent alone. > > Found while auditing a qcom,sm8750-sndcard board. > > Signed-off-by: Qianhui Xu > --- > *** AI-assistance disclosure *** > This patch was prepared with the help of an LLM coding assistant. The > author reviewed every line, checked every quoted claim against the tree, > and ran the gates recorded in the send report; the design decisions and > any errors are the author's. > > diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml > index 1536fcd96..1745a8844 100644 > --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml > +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml > @@ -73,6 +73,10 @@ properties: > $ref: /schemas/types.yaml#/definitions/string > description: User visible long sound card name > > + widgets: > + description: User specified audio sound widgets. > + $ref: /schemas/types.yaml#/definitions/non-unique-string-array > + > patternProperties: > ".*-dai-link$": > description: