Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp919612rwo; Wed, 2 Aug 2023 06:17:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlFGocsZZrVxCLJYTN9fJMmZscaGqgfk6PtrKhXMMAp2J5whyCzBD7FKUjjU+36UT0NtNzlL X-Received: by 2002:a05:6402:134c:b0:522:abaf:1b0b with SMTP id y12-20020a056402134c00b00522abaf1b0bmr7399046edw.18.1690982249437; Wed, 02 Aug 2023 06:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690982249; cv=none; d=google.com; s=arc-20160816; b=ygs6v80HP0Z6SnByhDMSL3wwnMJ5WQz40yH+rX/hDFOnjam5rCY73kj75+tp6gi5Gb VYcAnGgg8emsKbjH+qLWsvMzEeGTq20rW76jmnTlREBhCAlgl2iILghvpP2Xon+/hO+Z x72XXt78HOUKE6GAZ0y6e3+IG+OSMmw1rU9zvg1YavrpSfrZuq7EJmWd9egHE9xe5gYf oL+nklyL3jYK5OyMQIgLs3mJw3fSq72yMvoSbKk6c89M4NtTt8aT84oir6tXKDmUYpy1 7JO6vj2XMoIZa3+s++fWisMlvzo/kLN1bJfuF5vWvUeRXu4N42ZYcsoFPNxkwzer6Nr3 LWkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KWon4KBwVWiiG+eUhsI5BTOkGd4UTIHNuh35HdskuGg=; fh=SDWO2ceqes51USTo0p5U6Vb0kpi4mTeYv75efHcWhHs=; b=c6kqwC9MzueRsWB0Z6Ee9W6327d4e/Bxi67zqo22OqgaCdV8FGF1VfL3HFx77khNrV XMBtNsqCJcLZzLv4Ow0E+bXNe5efQBaToCq6wMIxEbAtk93oszakJaptZqL6eIVbYGTT 0lCl0przOu6ZSSYB4yW6pXKAQo6oN8JILyVsx6PuxOEkco1veHw52cPWhalmftWgQ62r CHlBGep6wQb69TG4BfJqzdfV5Svi/FGiXm0uVUyzXRitPAdPdK/mpixbUdPRHC/pP0mz 76x2ya+gfwhEugP1Oz06sk4t11IzEnQtFUw6gnvToYzXhL1qEKURHFAzLxiEec5mYJnv 6GAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AxrmWu29; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a05640207d700b005221f09dde5si5807694edy.67.2023.08.02.06.17.04; Wed, 02 Aug 2023 06:17:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AxrmWu29; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234033AbjHBLS2 (ORCPT + 99 others); Wed, 2 Aug 2023 07:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232002AbjHBLS1 (ORCPT ); Wed, 2 Aug 2023 07:18:27 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 669091FC3; Wed, 2 Aug 2023 04:18:26 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 372BI20q112761; Wed, 2 Aug 2023 06:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690975082; bh=KWon4KBwVWiiG+eUhsI5BTOkGd4UTIHNuh35HdskuGg=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=AxrmWu29VUHP46x3C79c3IUpxlqIxeNXZezY1+2eic1TTEZpnLm/RmYHUonjJ06Kk twIMc9M11CaNlVBVGJN2Xgazsu8enxIkoFs9/Wo0bu9PMA4daRo4+P/qt9Ah8Kz+sX rPGNVQHJCkqmylq/QyYhIolbydgtIKlmFOBvo9+U= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 372BI21G126816 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Aug 2023 06:18:02 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 2 Aug 2023 06:18:02 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 2 Aug 2023 06:18:02 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 372BI1Et097101; Wed, 2 Aug 2023 06:18:02 -0500 Date: Wed, 2 Aug 2023 16:48:06 +0530 From: Jai Luthra To: Francesco Dolcini CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Francesco Dolcini , , , Subject: Re: [PATCH v1 4/4] arm64: dts: ti: verdin-am62: dahlia: add sound card Message-ID: References: <20230731142135.108477-1-francesco@dolcini.it> <20230731142135.108477-5-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bka3o4bzxg3rd7b2" Content-Disposition: inline In-Reply-To: <20230731142135.108477-5-francesco@dolcini.it> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bka3o4bzxg3rd7b2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 31, 2023 at 16:21:35 +0200, Francesco Dolcini wrote: > From: Francesco Dolcini >=20 > Add WM8904 based analog sound card to Dahlia carrier board. >=20 > Signed-off-by: Francesco Dolcini Reviewed-by: Jai Luthra > --- > .../boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 53 +++++++++++++++++++ > 1 file changed, 53 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi b/arch/arm= 64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi > index 3abd8d1d6761..e59235d6a8e6 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi > @@ -8,6 +8,43 @@ > * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-k= it > */ > =20 > +/ { > + reg_1v8_sw: regulator-1v8-sw { > + compatible =3D "regulator-fixed"; > + regulator-max-microvolt =3D <1800000>; > + regulator-min-microvolt =3D <1800000>; > + regulator-name =3D "On-carrier +V1.8_SW"; > + }; > + > + sound { > + compatible =3D "simple-audio-card"; > + simple-audio-card,bitclock-master =3D <&codec_dai>; > + simple-audio-card,format =3D "i2s"; > + simple-audio-card,frame-master =3D <&codec_dai>; > + simple-audio-card,name =3D "verdin-wm8904"; > + simple-audio-card,routing =3D > + "Headphone Jack", "HPOUTL", > + "Headphone Jack", "HPOUTR", > + "IN2L", "Line In Jack", > + "IN2R", "Line In Jack", > + "Headphone Jack", "MICBIAS", > + "IN1L", "Headphone Jack"; > + simple-audio-card,widgets =3D > + "Microphone", "Headphone Jack", > + "Headphone", "Headphone Jack", > + "Line", "Line In Jack"; > + > + codec_dai: simple-audio-card,codec { > + clocks =3D <&audio_refclk1>; > + sound-dai =3D <&wm8904_1a>; > + }; > + > + simple-audio-card,cpu { > + sound-dai =3D <&mcasp0>; > + }; > + }; > +}; > + > /* Verdin ETHs */ > &cpsw3g { > status =3D "okay"; > @@ -46,6 +83,22 @@ &main_gpio0 { > &main_i2c1 { > status =3D "okay"; > =20 > + /* Audio Codec */ > + wm8904_1a: audio-codec@1a { > + compatible =3D "wlf,wm8904"; > + reg =3D <0x1a>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_i2s1_mclk>; > + #sound-dai-cells =3D <0>; > + clocks =3D <&audio_refclk1>; > + clock-names =3D "mclk"; > + AVDD-supply =3D <®_1v8_sw>; > + CPVDD-supply =3D <®_1v8_sw>; > + DBVDD-supply =3D <®_1v8_sw>; > + DCVDD-supply =3D <®_1v8_sw>; > + MICVDD-supply =3D <®_1v8_sw>; > + }; > + > /* Current measurement into module VCC */ > hwmon@40 { > compatible =3D "ti,ina219"; > --=20 > 2.25.1 >=20 >=20 --=20 Thanks, Jai GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145 --bka3o4bzxg3rd7b2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETeDYGOXVdejUWq/FQ96R+SSacUUFAmTKO20ACgkQQ96R+SSa cUW7exAAmmDM8Sw8w8EbR1Fn6fq1lJHGu6KGl5Sd6OYbfCI4DbSj3tuFia3xr3L6 KdD6M5F0Gnhkr2hzo3pQQ49AR3NG1DYZ2qz2aPzxHVJk0+oj0ELKO7H92Ds/mOGr +Anp4ElVYw8gYCQSZfmqbflJyQqYUMenJvXyC7VZgztsBwKQrKCJl/1NjtU8FKu5 hM4cwB9JTypNem+wtDN1BAC4GVUU/MsA67pzQ+tfVKgk9xC+p3k+Wmi3mWfaZF23 iMK6PcihHKpjgHFGQpBjbUYdG9vQi8kAE0gsGflD+XxgoDeFtXA8iEBOvf3u03E6 +ESTGRJBlbVCjXwkhlnpYK0Bge3gI7+hs1Q1utNwYVswlTYkRRWXXglig6um/S4j NAhOhM50wr/nBEm44mvWG9ZyVXAF3cq0eVy8rjUUg1csQUR56P2DYQ/poKvEnvY2 k2q8CCu+hNClcdksjUvuJ4Lz/eq6qFpc4nPw5CGnqS9x0IuoyTimeIdgEmtgoU8N i2AD9r3aofM3IEAderblMR4ctQsfXzZuqZEAx7WbqgFgUYeXUz3+okH3UWqKRn/Q bCJWa+V1yHa7qQRX+sAQUKRzM2KEMmBZvPO0wwezQUDmhTVEp9Crx1G61z7TK6o7 NJvf95kOdp1UR2slN51XxQ4/IzfK/YNsBA6/qBjUq71GWWEH/Hw= =yRN9 -----END PGP SIGNATURE----- --bka3o4bzxg3rd7b2--