From patchwork Sat Dec 18 14:24:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 525860 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9E164C433FE for ; Sat, 18 Dec 2021 14:27:00 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E484C1A4D; Sat, 18 Dec 2021 15:26:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E484C1A4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639837619; bh=aXmpcP1Jfc2jKvTiihT0ExdB8OlFUBKR27UeksxKHrU=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Wc6b7hyEsEfaY97V/ArSMM/ot6CkZVJrLeiRXi9uNKIbqxmqTFR2iweotHJrrXDPp nbKOJ7M4nVWGN7KdB/ylMEBnI1RnjOcFNPf0RhyOVK40qbDcabsUbqwaiaPAu6l5Zn TUxdGayo3AKFgUZkvDT946N0MuK8mDEDgwS3uzOs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DFDA8F800B0; Sat, 18 Dec 2021 15:25:20 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3EDAEF80130; Sat, 18 Dec 2021 15:25:20 +0100 (CET) Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050::465:102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B144FF80130 for ; Sat, 18 Dec 2021 15:25:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B144FF80130 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="tMDwMwcv" Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4JGSmd619vzQl4q; Sat, 18 Dec 2021 15:25:05 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1639837504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4JqT8IhtmC32jWTRrRPC1aHkPla/SvCjwUq+HPQfzAg=; b=tMDwMwcvhno5O8rJ6uTOHJFmiDhNeeKBiWnFIRu1Tu8BNyvLsL6qJc9yYwD5AnusC+aRHB GzFad1e/kHrgLgxA8seA2oGT7VucoGqdI9UR3zBovSFgxeyY5C36P87w8R0cbUymQpLqCj 3P5KVTDYrtxIYgGAnfQlBbNI12OGYS0BG9LUeLdvnwqAAVN42JaLNaLFGbVSlIYd+N4CSI 0D1/RZ0Sf2tL2SpBpR/fgAg80frt+5ZQ9+1wUxHqZowAhq4eDlYAaX7KIZW+NJHla4u7R1 QxmF4D80KqEDD5ZpEIh7O0KVGiE71hKs/glVQIBez2d8w6In1rvUYMptP2/WCw== From: Alexander Stein To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring Subject: [PATCH 1/3] ASoC: dt-bindings: Use name-prefix schema Date: Sat, 18 Dec 2021 15:24:49 +0100 Message-Id: <20211218142451.15010-1-alexander.stein@mailbox.org> MIME-Version: 1.0 Cc: Alexander Stein , devicetree@vger.kernel.org, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" name-prefix.txt does not exist anymore, just reference the schema instead. Signed-off-by: Alexander Stein --- .../devicetree/bindings/sound/simple-audio-amplifier.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml b/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml index 26379377a7ac..1f0327474744 100644 --- a/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +++ b/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml @@ -9,6 +9,9 @@ title: Simple Audio Amplifier Device Tree Bindings maintainers: - Jerome Brunet +allOf: + - $ref: name-prefix.yaml# + properties: compatible: enum: @@ -22,10 +25,7 @@ properties: description: > power supply for the device - sound-name-prefix: - $ref: /schemas/types.yaml#/definitions/string - description: > - See ./name-prefix.txt + sound-name-prefix: pass required: - compatible From patchwork Sat Dec 18 14:24:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 525509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23D6BC433EF for ; Sat, 18 Dec 2021 14:26:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 28EA718F0; Sat, 18 Dec 2021 15:25:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 28EA718F0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639837604; bh=zLVJztFkl9v9+6ypBA82TQjgRSN75qFlqLNaVgVMJis=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=c+tcmQbHahsZPMbxp+7vnBqhbJABMdKa+HXrNmmi0r+78UNRchj7ws5ZeJLQt5aWH Tc7lJAu/hhbWrdK6mg6h0M2TRVuQ7jQMcu+pmLIiDpwqIOl1McyXe9PiuBAVSN0JAw a5xazMXFM40Pbp72rk/6rgnDsqa/HotpyLyOapnE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4F6F6F80166; Sat, 18 Dec 2021 15:25:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DB1CDF8013A; Sat, 18 Dec 2021 15:25:15 +0100 (CET) Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C4A3BF800E9 for ; Sat, 18 Dec 2021 15:25:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C4A3BF800E9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="f/PSuR+g" Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4JGSmf3njJzQjmd; Sat, 18 Dec 2021 15:25:06 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1639837504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a82+gK2rB6t07imGZfJORXTa3UcfNJMk0KbEGpLUQcA=; b=f/PSuR+gs/kW41cdMk5VUKE8nTFGAebH0DRZ9Cy72Xk42fzOjCRF5sHtc/7E8oaGPKhp/h cWM1L8KOMXsxyruqRBudhWEYK01dOIGX+5/45SKvb8n1J2EoxnpjUJwrQ59iCTzYKfmUt9 aksOSjKJ26BBbzXI7wm+6FIZTc2dajt0eFbipCxoXi0PPz7x8LJF6J1c5571eZGNcBRP4J yqU4YZtzpY/YKPuZOL5woUfmqf964kPN1N1BxwvyS3uy8IlJITZ5Kjks5N9xp7WDGRi0qA SOM7wK15a2ejCNbdljtmPa4uOTwQYC1LUCQWT5qDmIwGo3SmHOTHvK5sT0zf0w== From: Alexander Stein To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring Subject: [PATCH 2/3] ASoC: meson: t9015: add missing sound-name-prefix property Date: Sat, 18 Dec 2021 15:24:50 +0100 Message-Id: <20211218142451.15010-2-alexander.stein@mailbox.org> In-Reply-To: <20211218142451.15010-1-alexander.stein@mailbox.org> References: <20211218142451.15010-1-alexander.stein@mailbox.org> MIME-Version: 1.0 Cc: Alexander Stein , devicetree@vger.kernel.org, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This is used in meson-gxl and meson-g12-common .dtsi. Add the property to the binding. This fixes the dtschema warning: audio-controller@32000: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Alexander Stein --- All users have set this to "ACODEC", but I am not sure if this value is mandatory, so I opted to not set a pattern for this property. Documentation/devicetree/bindings/sound/amlogic,t9015.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml index db7b04da0b39..580a3d040abc 100644 --- a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml +++ b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml @@ -9,6 +9,9 @@ title: Amlogic T9015 Internal Audio DAC maintainers: - Jerome Brunet +allOf: + - $ref: name-prefix.yaml# + properties: $nodename: pattern: "^audio-controller@.*" @@ -38,6 +41,8 @@ properties: description: Analogue power supply. + sound-name-prefix: true + required: - "#sound-dai-cells" - compatible From patchwork Sat Dec 18 14:24:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 525861 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3D8BC433F5 for ; Sat, 18 Dec 2021 14:26:10 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3E68918CD; Sat, 18 Dec 2021 15:25:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3E68918CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639837568; bh=6aGetMSe5wCWDFqOejK8BUrr6MsgJ0DO51IlD41Qqww=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Y8r0QITTUz3IFkMvznRnpopms4FGpY+zNu0AFBrrmRmN9uM6MbGNXRZE7mm1/gpv7 zETmI0oVIg+vXUyHjcJqa0YFC3fszxmBUosmxX56afSWlBTPAkIoZlbEP9yE1AO5Ac PRWjeN7HVuKjEU/d/Wf+i8lVoUeMhDUKRvP9sBCc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B5A38F80139; Sat, 18 Dec 2021 15:25:17 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 50231F80139; Sat, 18 Dec 2021 15:25:15 +0100 (CET) Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 789BDF800B0 for ; Sat, 18 Dec 2021 15:25:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 789BDF800B0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="SrZRa4EF" Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4JGSmg2WMBzQlMN; Sat, 18 Dec 2021 15:25:07 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1639837505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XF9vQjylQsXIaoxe2xV57DPHnmDDChvv1OAmnlTSlAM=; b=SrZRa4EFPNZtE5k8EMDMIYbfeTdQhyFmB1NKZax7Dw+r8Xu9Y9AERvNWxrXmHVPbxJ+UDY bsbGSU0f8UWchBkPXCvy5h77alqvNckvQhL7n0PQr1ZqYPM+ugiDzPjWZwBuyW9DJ89f0i TbgXPWK583RoV8oRMtICYfXAcQyKzVnjahqxmFQo1v9tx97j8LJ0wDuO/hOP9QCYuRfB5o 65XIrFH/po5T55DjUOb4HwbH8klo0dfZddkXY7/suOvytTmVasIApF5RLou4/3VbURUhF1 eJf7y3oXUcmY+sB8wRpBcahpHn9BVH3BnGIRpWbVlFBN3hx8yp5z9slIiHXfWg== From: Alexander Stein To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring Subject: [PATCH 3/3] ASoC: meson: g12a: add missing sound-name-prefix property Date: Sat, 18 Dec 2021 15:24:51 +0100 Message-Id: <20211218142451.15010-3-alexander.stein@mailbox.org> In-Reply-To: <20211218142451.15010-1-alexander.stein@mailbox.org> References: <20211218142451.15010-1-alexander.stein@mailbox.org> MIME-Version: 1.0 Cc: Alexander Stein , devicetree@vger.kernel.org, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This is used in meson-sm1 and meson-g12 .dtsi. Add the property to the binding. This fixes the dtschema warning: audio-controller@740: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Alexander Stein --- All users have set this to "TOACODEC", but I am not sure if this value is mandatory, so I opted to not set a pattern for this property. .../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml index 3c3891d17238..28c082b07c3e 100644 --- a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml +++ b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml @@ -9,6 +9,9 @@ title: Amlogic G12a Internal DAC Control Glue maintainers: - Jerome Brunet +allOf: + - $ref: name-prefix.yaml# + properties: $nodename: pattern: "^audio-controller@.*" @@ -31,6 +34,8 @@ properties: resets: maxItems: 1 + sound-name-prefix: pass + required: - "#sound-dai-cells" - compatible