From patchwork Mon Jan 16 10:38:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmanabhan Rajanbabu X-Patchwork-Id: 13104300 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 D1FA6C63797 for ; Tue, 17 Jan 2023 08:23:42 +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 817696459; Tue, 17 Jan 2023 09:22:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 817696459 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673943820; bh=Y2C0s4uMMgHIRiZIs4G9ehzZ2q2AYSd8KKSZjL6Ws70=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=r4Nu+1+tmpah2KhktYBMJW+2Nj2F0T+31QkUlBrOctVMzTULqBq4BXXi8vo3eosbH tMk4mvxBMkqYHxiIqlQTaMwThXSAbYFXsTjqz8V7SJnOVcZFBjqjINnqq7K0D0vwLO tRvqomfHTY8kWtT+dZSPzF7A0Qst3lY1lZoETzIA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B4328F80552; Tue, 17 Jan 2023 09:22:26 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2EC7AF80558; Tue, 17 Jan 2023 09:22:25 +0100 (CET) Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0303FF80552 for ; Tue, 17 Jan 2023 09:22:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0303FF80552 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=h+uITiy/ Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230117082217epoutp04dcb5d986804cfcf44a9a4a3f7cc07021~7CvW9dwKu0594905949epoutp04N for ; Tue, 17 Jan 2023 08:22:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230117082217epoutp04dcb5d986804cfcf44a9a4a3f7cc07021~7CvW9dwKu0594905949epoutp04N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1673943737; bh=q/tn14ZjbdXMf9MNwQsdbd5Z9hNIqD6iXxXoo6o434g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h+uITiy/66qgUfdrSATbCg3Wm0vBKKWkJrbn2cjMsV+zztaLXcj/+WVMSBWzo4cLk ZvB1FnomH/fFN0Jt3OokXUrXNnXFwJWFdbHPR3VSP3d+Oru4SKAtUatQVEnweYnL5n rYXS0MM6EOGgSRGEyDyVhn3Z2S8EaL/S+gJlI3BY= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20230117082216epcas5p110925e685dd41bc42980301882e1f05c~7CvWgpFlU2934729347epcas5p1I; Tue, 17 Jan 2023 08:22:16 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.183]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4Nx21f4Rqbz4x9Pr; Tue, 17 Jan 2023 08:22:14 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D7.89.02301.5BA56C36; Tue, 17 Jan 2023 17:22:13 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20230116103908epcas5p49d65b8a38b8ecfeda508960a9543193d~6w9jzQ-v50449804498epcas5p43; Mon, 16 Jan 2023 10:39:08 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230116103908epsmtrp1db5d2d211fa7a780f87376ed80d70b17~6w9jyZEAd2177121771epsmtrp1a; Mon, 16 Jan 2023 10:39:08 +0000 (GMT) X-AuditID: b6c32a49-473fd700000108fd-21-63c65ab56ff6 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E5.FC.02211.B4925C36; Mon, 16 Jan 2023 19:39:07 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230116103905epsmtip10b5473a5e0ad2423e42781f38d13466d~6w9hlHICO1258912589epsmtip1X; Mon, 16 Jan 2023 10:39:05 +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 v4 4/5] arm64: dts: fsd: Add codec node for Tesla FSD Date: Mon, 16 Jan 2023 16:08:22 +0530 Message-Id: <20230116103823.90757-5-p.rajanbabu@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230116103823.90757-1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p3TOY9cKWn9rCts/KTvngv3P35907S3ZVNu4erHOH4uiFbPfvrsoutXd2oo16+lDocA74h1F T6d/POS8doekFaNAzbfIJ/9XC9jwmae9c9UpPyynlnk8/azalxpOsfjjxdbpAgy+5tujMn03 7O28ftjEUu/YvzWrrofuMhR6dm6JQ9bkN0osxRmJhlrMRcWJAAVHpCHlAgAA X-CMS-MailID: 20230116103908epcas5p49d65b8a38b8ecfeda508960a9543193d X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230116103908epcas5p49d65b8a38b8ecfeda508960a9543193d References: <20230116103823.90757-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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts index 7650c20f02b4..2cd721564a4f 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,17 @@ clock-frequency = <24000000>; }; +&hsi2c_5 { + status = "okay"; + + tlv320aic3x: codec@18 { + compatible = "ti,tlv320aic3104"; + reg = <0x18>; + #sound-dai-cells = <0>; + reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>; + }; +}; + &i2s_0 { status = "okay"; };