From patchwork Tue Jan 3 04:56:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmanabhan Rajanbabu X-Patchwork-Id: 13087225 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 C3E9FC3DA7D for ; Tue, 3 Jan 2023 06:43:23 +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 BC58D46CB; Tue, 3 Jan 2023 07:42:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BC58D46CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672728196; bh=TEKGIBsyytQ5akzO00UrMQEu956CutLoZvEKoy2cMiA=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=K+tzcbPRjvw0a4fg3HZgRdeRP1PG3bPYt60yKXOnEvUzMaKGd3g5a4Lfw+QRHLLJT Fnie5UFJgNNxbjyXwUuNHRYXI9zn14lY9hXJo0ok2zzPFdeW+jH42JtuTiZ/X94ST9 oym2CevF3OP++p/nvByJ9vVJ7KyAQlny9LSig0Es= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1A234F80570; Tue, 3 Jan 2023 07:41:43 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CB92EF80571; Tue, 3 Jan 2023 07:41:41 +0100 (CET) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 82FCCF8055C for ; Tue, 3 Jan 2023 07:41:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 82FCCF8055C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=ATm5CE4/ Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230103064135epoutp0308f5c6c34ab208d2a2c8c1eebf5b023c~2uVcU9cvC2514625146epoutp030 for ; Tue, 3 Jan 2023 06:41:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230103064135epoutp0308f5c6c34ab208d2a2c8c1eebf5b023c~2uVcU9cvC2514625146epoutp030 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1672728095; bh=B3Bv04YS1AnZ+r2Idi8FfyBdbKjTeoLuGqGo3NHfQM0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ATm5CE4/mcSjb2hfIvMR8mwoBhE4DpcVFvOIkwJJ/OgqBzqxTlMLyEC2xOBC5BNYx tLDf9D2wh8/pT/7p8Mzcg5JJrQLyPOWteWBY/myvkNCz6ddRjH63dk5mdI1ywulcs/ 6Rt+si/kt8xDwTCsYQ2sfznA4ItKcB7l5t+Z5d7U= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20230103064134epcas5p269634dab6c4fb614ab4773e4325da615~2uVb-xaXb0989809898epcas5p2s; Tue, 3 Jan 2023 06:41:34 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.181]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4NmNRv4qg0z4x9Q3; Tue, 3 Jan 2023 06:41:31 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 27.82.02301.B1EC3B36; Tue, 3 Jan 2023 15:41:31 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20230103045703epcas5p2344520777efa3c06321732e2784e6c6c~2s6LIZMxc0807308073epcas5p2Z; Tue, 3 Jan 2023 04:57:03 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230103045703epsmtrp1a294a99cc0d9ae9c0449491fd84be4fe~2s6LHgXwK0133401334epsmtrp1u; Tue, 3 Jan 2023 04:57:03 +0000 (GMT) X-AuditID: b6c32a49-473fd700000108fd-88-63b3ce1b4fa3 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E7.94.02211.F95B3B36; Tue, 3 Jan 2023 13:57:03 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230103045700epsmtip269360129d0ecb64ce993e68b99a92fe6~2s6I5EcZa3211632116epsmtip2U; Tue, 3 Jan 2023 04:57:00 +0000 (GMT) From: Padmanabhan Rajanbabu To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, s.nawrocki@samsung.com, perex@perex.cz, tiwai@suse.com, pankaj.dubey@samsung.com, alim.akhtar@samsung.com, rcsekar@samsung.com, aswani.reddy@samsung.com Subject: [PATCH v2 4/5] arm64: dts: fsd: Add codec node for Tesla FSD Date: Tue, 3 Jan 2023 10:26:12 +0530 Message-Id: <20230103045613.100309-5-p.rajanbabu@samsung.com> X-Mailer: git-send-email 2.17.1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1xxZ6lik3LqDjfHdzgdTn7tcmHyw ZPl0i4f5VqLMMz7MvXsvy9j9N6/whOKrCsGqtkHxK+8UGRYWvIpeZHjb+UG00EPuXJsVd8M/ 8R1W3Cw0k+/8+Rxv87tcwXLeXrcX2f8RyzJnuq/94KtS8Os95js5e42PdZ/deGjj/UlRU3/5 umTFm66w/j7n5oH2ndEege0Hwju45W59VWIpzkg01GIuKk4EAI/YpHfkAgAA X-CMS-MailID: 20230103045703epcas5p2344520777efa3c06321732e2784e6c6c X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230103045703epcas5p2344520777efa3c06321732e2784e6c6c References: <20230103045613.100309-1-p.rajanbabu@samsung.com> X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Padmanabhan Rajanbabu Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add device tree node support for codec on Tesla FSD platform. Signed-off-by: Padmanabhan Rajanbabu --- arch/arm64/boot/dts/tesla/fsd-evb.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts index cf5f2ce4d2a7..e2fd49774f15 100644 --- a/arch/arm64/boot/dts/tesla/fsd-evb.dts +++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "fsd.dtsi" +#include / { model = "Tesla Full Self-Driving (FSD) Evaluation board"; @@ -34,6 +35,18 @@ clock-frequency = <24000000>; }; +&hsi2c_5 { + status = "okay"; + + tlv320aic3x: codec@18 { + #sound-dai-cells = <0>; + compatible = "ti,tlv320aic3104"; + reg = <0x18>; + reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>; + status = "okay"; + }; +}; + &serial_0 { status = "okay"; };