From patchwork Sat Dec 18 14:34:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 525562 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 313FBC433F5 for ; Sat, 18 Dec 2021 14:34:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233058AbhLROei (ORCPT ); Sat, 18 Dec 2021 09:34:38 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:28274 "EHLO mout-p-101.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbhLROei (ORCPT ); Sat, 18 Dec 2021 09:34:38 -0500 X-Greylist: delayed 571 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Dec 2021 09:34:38 EST Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (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 4JGSzc3VCdzQkBp; Sat, 18 Dec 2021 15:34:36 +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=1639838074; 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=9c4gpNYB79+7nhkfAcvn/kEQPe3TsDkeCKNXjg70i1o=; b=ZYbT2IT6AsvXqUH89Tlki8hOyCDZRHQjWLZ34LzvIoKmc4WGY4I68z94kUgANiX+4XgZ9h bUZmcv6cHgLIk3eCAEMDwbTUllRT5VQTESDRxDEM8hSQRovMlf2qM5G+MIsQ2HM6nsD/1S UI1Gp4/M78PYxUX6KE71wLltMay46ib2xX7r4aEBBef58uyfa0wNqfgadT2VA9W/NhnJ/Y +G2sYFK2+xGzCcvr/92FEaRpSOuuTOnnGKpjEY9laTCj3nhsg99RMKnOTQxU5RXHEShr9p WdMXh1RvjD/cyQv9gdhyCpYgvJswe3rAXYFUF6oaZ/7cNCQ9anu9jsD341DTmA== From: Alexander Stein To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring Cc: Alexander Stein , alsa-devel@alsa-project.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/3] ASoC: meson: t9015: add missing sound-name-prefix property Date: Sat, 18 Dec 2021 15:34:22 +0100 Message-Id: <20211218143423.18768-2-alexander.stein@mailbox.org> In-Reply-To: <20211218143423.18768-1-alexander.stein@mailbox.org> References: <20211218143423.18768-1-alexander.stein@mailbox.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. Changes in v2: * None 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