From mboxrd@z Thu Jan 1 00:00:00 1970 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 66090E6FE57 for ; Fri, 22 Sep 2023 15:28:15 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EACF2E72; Fri, 22 Sep 2023 17:27:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EACF2E72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695396493; bh=/e95n957VSSzau8r32TVfXzofHLYFvaJGvqChcjB6MQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=H6QU6CpVAZIF/1Vz3o16CeQpVem3Fy9Gk80Z2mwDlx02F5eHdt0esPPXhVApEhmrs /WEHf5ZLZXmQsZZVU6ClnZxy37v5R3aW0vw8/07E7mAPV5zWqAozgxe9R5v6xaVvk8 KFaXDLuoXqkSPBAuMizMxr2SVNbf/MMqY4vaVgQ8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DDB6CF80494; Fri, 22 Sep 2023 17:26:50 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8A4B5F8025A; Fri, 22 Sep 2023 17:26:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E512CF80125; Fri, 22 Sep 2023 17:26:46 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E808EF800AA for ; Fri, 22 Sep 2023 17:26:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E808EF800AA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=bmxG7KYJ Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6985E622A9; Fri, 22 Sep 2023 15:26:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37F0DC433C7; Fri, 22 Sep 2023 15:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695396398; bh=/e95n957VSSzau8r32TVfXzofHLYFvaJGvqChcjB6MQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bmxG7KYJ8F47icbZRJ3TghPN09WpUGeQrxDNFm/B7DxhYb3/mbJH2kU2HoqHk9XIg j2xO4aaGqf7OjambklLI4AwTwS5vIPMH7ryW+QTiYsYag9UdTWIZFSfUlOtxCba3bf iZYaFPExTSHYTHDb2HhqeyVZ7O9ZFJar7IUseTA93NBZDZxdAoPkYWVc8HC+MAT9O4 izdcnpC2witG2zDpm3dfop1Nb+3qA4PFhJ4kw4a53ztGKkXsgbGW9AbmHBrd4CU/Al rYazXAiVFCYIC6UpFaZdWenrEt1sMUhQYiRq2P/52Qs3FInoTaCP6kpTc5ucfKUZaA P0I3BS1bbOpWQ== Date: Fri, 22 Sep 2023 16:26:33 +0100 From: Conor Dooley To: Bragatheswaran Manickavel Cc: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ASoC: dt-bindings: tfa9879: Convert to dtschema Message-ID: <20230922-unmindful-anyplace-f1da73ab168c@spud> References: <20230921183313.54112-1-bragathemanick0908@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZjgFBBOOD+mvPAQu" Content-Disposition: inline In-Reply-To: <20230921183313.54112-1-bragathemanick0908@gmail.com> Message-ID-Hash: FSX3JYL5AS7LIRTRBXBCZGANPRRXQKLN X-Message-ID-Hash: FSX3JYL5AS7LIRTRBXBCZGANPRRXQKLN X-MailFrom: conor@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --ZjgFBBOOD+mvPAQu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 22, 2023 at 12:03:13AM +0530, Bragatheswaran Manickavel wrote: > Convert the tfa9879 audio CODEC bindings to DT schema > No error/warning seen when running make dt_binding_check >=20 > Signed-off-by: Bragatheswaran Manickavel > Changes: > V1 -> V2: Fixed DT syntax errors and doc warning These should be under the --- line, not above it. Perhaps Mark will change it on application. Otherwise, Reviewed-by: Conor Dooley Thanks, Conor. > --- > .../bindings/sound/nxp,tfa9879.yaml | 44 +++++++++++++++++++ > .../devicetree/bindings/sound/tfa9879.txt | 23 ---------- > MAINTAINERS | 2 +- > 3 files changed, 45 insertions(+), 24 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/nxp,tfa9879.y= aml > delete mode 100644 Documentation/devicetree/bindings/sound/tfa9879.txt >=20 > diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml b/D= ocumentation/devicetree/bindings/sound/nxp,tfa9879.yaml > new file mode 100644 > index 000000000000..df26248573ad > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/nxp,tfa9879.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP TFA9879 class-D audio amplifier > + > +maintainers: > + - Peter Rosin > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + const: nxp,tfa9879 > + > + reg: > + maxItems: 1 > + > + "#sound-dai-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - '#sound-dai-cells' > + > +unevaluatedProperties: false > + > +examples: > + - | > + i2c1 { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + amplifier@6c { > + compatible =3D "nxp,tfa9879"; > + reg =3D <0x6c>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_i2c1>; > + #sound-dai-cells =3D <0>; > + }; > + }; > diff --git a/Documentation/devicetree/bindings/sound/tfa9879.txt b/Docume= ntation/devicetree/bindings/sound/tfa9879.txt > deleted file mode 100644 > index 1620e6848436..000000000000 > --- a/Documentation/devicetree/bindings/sound/tfa9879.txt > +++ /dev/null > @@ -1,23 +0,0 @@ > -NXP TFA9879 class-D audio amplifier > - > -Required properties: > - > -- compatible : "nxp,tfa9879" > - > -- reg : the I2C address of the device > - > -- #sound-dai-cells : must be 0. > - > -Example: > - > -&i2c1 { > - pinctrl-names =3D "default"; > - pinctrl-0 =3D <&pinctrl_i2c1>; > - > - amp: amp@6c { > - #sound-dai-cells =3D <0>; > - compatible =3D "nxp,tfa9879"; > - reg =3D <0x6c>; > - }; > -}; > - > diff --git a/MAINTAINERS b/MAINTAINERS > index a4c30221eb30..569303daf9b4 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -15476,7 +15476,7 @@ NXP TFA9879 DRIVER > M: Peter Rosin > L: alsa-devel@alsa-project.org (moderated for non-subscribers) > S: Maintained > -F: Documentation/devicetree/bindings/sound/tfa9879.txt > +F: Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml > F: sound/soc/codecs/tfa9879* > =20 > NXP-NCI NFC DRIVER > --=20 > 2.34.1 >=20 --ZjgFBBOOD+mvPAQu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQ2yKQAKCRB4tDGHoIJi 0j1ZAP9Vz1UUBT+BypwEeJgHHQOonvJy1uzvg5f3z8v4f7eM+QEA9H/4l4gdJhwg pUispOQJr3UQYzupkB89Zs3GtWW7XQY= =jxgL -----END PGP SIGNATURE----- --ZjgFBBOOD+mvPAQu--