From patchwork Fri Jan 13 12:17:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmanabhan Rajanbabu X-Patchwork-Id: 13100746 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 23726C54EBD for ; Fri, 13 Jan 2023 13:08:56 +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 103F7A8CA; Fri, 13 Jan 2023 14:08:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 103F7A8CA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673615334; bh=ISCSZiIHsBVHpDb+sfXQNKk9uRBd/Rxzjqt+sjgEHSI=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=iFpDKcRFm401cqUUsVItovH/p8oPQDJARxqXqM5lUG7s8bKYOn9Dj+eAQNoQ/X6AO Aa5bzspd+dZR0an2VJ6y0zY1skgjlWptOtsitkoNU6PKS5pjxWHPXr5W5Wd9OgHNgw UmRJ5+U3cZnkpnJTrHXBejIav5xS6+4icczSZHv8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D98D3F80564; Fri, 13 Jan 2023 14:07:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 877ACF80567; Fri, 13 Jan 2023 14:07:04 +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 E54E1F8055B for ; Fri, 13 Jan 2023 14:07:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E54E1F8055B 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=R5WXmTdL Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20230113130655epoutp04b13abbe36074cf6b9cdb8a8faeef90f6~54CvnTCbK1468514685epoutp04G for ; Fri, 13 Jan 2023 13:06:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20230113130655epoutp04b13abbe36074cf6b9cdb8a8faeef90f6~54CvnTCbK1468514685epoutp04G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1673615215; bh=0NT9nwpPCCrvcsOIz2f7TUAYBNBwRv1azLoJ0Ig3cws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R5WXmTdLJe2j9IutLysU9wQ7Kb4AqyI23OMSdbxP+Oas3vdVqjt+awvYXJa3X5Wmr 2uod+vhDtNisXRSnSi6n9jK6usGh9XWX6UxYzTIfqUzo7VPnb9riVylbiJW0Wqiv4N sL6Ce+yNHg3pmZuV+LGhiFwTPVDat+MgFzC/X/JE= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20230113130654epcas5p16fb4f2abe73e55e20cd224bbfea39c17~54CuRnk_-1717817178epcas5p14; Fri, 13 Jan 2023 13:06:54 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.182]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4NthWw4y0Mz4x9Pw; Fri, 13 Jan 2023 13:06:52 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 39.A9.02301.C6751C36; Fri, 13 Jan 2023 22:06:52 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20230113121830epcas5p4cc336a48f4597ba84ab1352774242f75~53YdkcNOw1715317153epcas5p4r; Fri, 13 Jan 2023 12:18:30 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230113121830epsmtrp2305904da1798fbfca6885b8d063f2365~53YdjkitZ1419914199epsmtrp25; Fri, 13 Jan 2023 12:18:30 +0000 (GMT) X-AuditID: b6c32a49-201ff700000108fd-b9-63c1576c5047 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 47.65.10542.51C41C36; Fri, 13 Jan 2023 21:18:29 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230113121827epsmtip2fb0b57dd690f0eac5b1b8bcaaeb45162~53YbNu1PJ0851308513epsmtip2o; Fri, 13 Jan 2023 12:18:27 +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 v3 4/5] arm64: dts: fsd: Add codec node for Tesla FSD Date: Fri, 13 Jan 2023 17:47:48 +0530 Message-Id: <20230113121749.4657-5-p.rajanbabu@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230113121749.4657-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DAaxSpsVdo1VcpuUlVW0/t7NJofM7LPzFb529PpYr7jYnWyvx2 fzb2/nzGesz3DavpM4Enn58cy9teeqb6Wb7fkd+bJoT/3vfBNmuh4iohxncfo6/3ZKrYZTPZ lWXfC8lc89VcqkP+wZY5z+qdRA2Omd5aMUmJpTgj0VCLuag4EQAAOFis5AIAAA== X-CMS-MailID: 20230113121830epcas5p4cc336a48f4597ba84ab1352774242f75 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230113121830epcas5p4cc336a48f4597ba84ab1352774242f75 References: <20230113121749.4657-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 cf5f2ce4d2a7..2f211a1ad50d 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>; + }; +}; + &serial_0 { status = "okay"; };