From patchwork Fri Jan 13 12:17:49 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13100747
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 7FEE0C54EBE
for ; Fri, 13 Jan 2023 13:10:13 +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 955DDA2C5;
Fri, 13 Jan 2023 14:09:21 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 955DDA2C5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org;
s=default; t=1673615411;
bh=R0P+jdCsiWaqX4I7IwrP08ihO8YWLvvCo7kLuLEwErE=;
h=From:To:Subject:Date:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Cc:From;
b=BOXPLV5RpUR8OEE8MEFSxGwLEdKMb8CRL/ukYt+Dgbdfwl8LOjcILYo9Q8o8jDcyB
jZWOuCMevi2FqWou+k1W/W7wNNYgZnqLYkvbVXShh610fwNXLdSv2+SPdZ1K7Nc7pR
7RdBFoCzo1OmnPvcBvYpaQrr7UYixhhvo3Mvl7rM=
Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1])
by alsa1.perex.cz (Postfix) with ESMTP id 4ED7CF802E8;
Fri, 13 Jan 2023 14:09:21 +0100 (CET)
Received: by alsa1.perex.cz (Postfix, from userid 50401)
id 9820DF8030F; Fri, 13 Jan 2023 14:09:19 +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 177CCF802E8
for ; Fri, 13 Jan 2023 14:09:16 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 177CCF802E8
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=LPAC8a+3
Received: from epcas5p2.samsung.com (unknown [182.195.41.40])
by mailout4.samsung.com (KnoxPortal) with ESMTP id
20230113130912epoutp0409529b606ba0d614e0629c9644af26e4~54EvNBz9v1538415384epoutp04U
for ; Fri, 13 Jan 2023 13:09:12 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com
20230113130912epoutp0409529b606ba0d614e0629c9644af26e4~54EvNBz9v1538415384epoutp04U
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1673615352;
bh=FF4fIradTxWfdCmmweL+K/bOvGnz0k6lWTffD4axmFQ=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=LPAC8a+3XfU+fX1WA1CYl3RoJ6B4Wwng6Cg47Vj0FYaK7qlBdQtzqQObMXjsjXCb6
tnnva66LDpPMlE6hxr7edQgYBoRfZLgkirVSgxPnI46qBvCfVVHEr/Zu83g50rR4QS
MukmpbpeM4M5eU4k80NNJ9EQOPDGq4ZT0F2WwAIo=
Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230113130912epcas5p3bef3464f9aa152852f7e620acd681f26~54Eu3bJx72349123491epcas5p3S;
Fri, 13 Jan 2023 13:09:12 +0000 (GMT)
Received: from epsmges5p3new.samsung.com (unknown [182.195.38.181]) by
epsnrtp1.localdomain (Postfix) with ESMTP id 4NthZZ5djBz4x9Pp; Fri, 13 Jan
2023 13:09:10 +0000 (GMT)
Received: from epcas5p2.samsung.com ( [182.195.41.40]) by
epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id
57.7D.03362.6F751C36; Fri, 13 Jan 2023 22:09:10 +0900 (KST)
Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTPA id
20230113121834epcas5p490aba088dce64f880c95e4f9b9a220d4~53Yh9pqRw0803308033epcas5p4a;
Fri, 13 Jan 2023 12:18:34 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp1.samsung.com (KnoxPortal) with ESMTP id
20230113121834epsmtrp15410bfac6edacf2a93f76e34cd0ba95f~53Yh7xaSA1537415374epsmtrp1x;
Fri, 13 Jan 2023 12:18:34 +0000 (GMT)
X-AuditID: b6c32a4b-4e5fa70000010d22-4d-63c157f6c717
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
AB.19.02211.A1C41C36; Fri, 13 Jan 2023 21:18:34 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230113121832epsmtip27c49184191c84baed4bca7865123fdfc~53Yfh_67h0850708507epsmtip2a;
Fri, 13 Jan 2023 12:18:32 +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 5/5] arm64: dts: fsd: Add sound card node for Tesla FSD
Date: Fri, 13 Jan 2023 17:47:49 +0530
Message-Id: <20230113121749.4657-6-p.rajanbabu@samsung.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20230113121749.4657-1-p.rajanbabu@samsung.com>
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFprDJsWRmVeSWpSXmKPExsWy7bCmhu638IPJBj23NC0ezNvGZnHl4iEm
i0Obt7JbTH34hM1i/pFzrBZ9Lx4yW3y70sFkcXnXHDaLGef3MVkc3RhssWjrF3aLzl39rBaz
LuxgtWjde4Td4vCbdlaLDd/XMjoIeGz43MTmsXPWXXaPTas62TzuXNvD5rHv7TI2j74tqxg9
1m+5yuLxeZNcAEdUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKL
T4CuW2YO0AdKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElul1IKUnAKTAr3ixNzi0rx0vbzU
EitDAwMjU6DChOyMrgs72QpOclV0bT/K3MA4maOLkZNDQsBE4smpaUxdjFwcQgK7GSV29h1g
g3A+MUps/72WHcL5xiix8e9ONpiWjlOXGSESexklzi5YCdXfyiSxcdsbFpAqNgFTiVVzGllB
EiICTUwSbW8msoA4zAIbGSVOH3vIBFIlLOAlsWjHFaBZHBwsAqoS+5/qg4R5BawlLv49B7VO
XmL1hgPMICWcAjYSS4/ngoyREJjLIXFs3iFWiBoXiRtr37FA2MISr45vYYewpSRe9rdB2fkS
0z42Q82skGj7uIEJwraXOHBlDgvIfGYBTYn1u/QhwrISU0+tAythFuCT6P39BKqcV2LHPBhb
VWL98k2MELa0xL7re6FsD4nzP1ewQgKln1Fi9fJPLBMY5WYhrFjAyLiKUTK1oDg3PbXYtMA4
L7UcHm3J+bmbGMHJVMt7B+OjBx/0DjEycTAeYpTgYFYS4d1zdH+yEG9KYmVValF+fFFpTmrx
IUZTYPBNZJYSTc4HpvO8knhDE0sDEzMzMxNLYzNDJXHe1K3zk4UE0hNLUrNTUwtSi2D6mDg4
pRqYLm25LXyMOTNtkf7BWbWFiQpeSakbn3rt4A9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5SaqktZ+nibHmT23KP05+S/9NZ
/UsEYmpnzG08rRL05nEGy9srqakfCybUHKrwZ956yz5mv2lLd9/Knm/flB51NLLZuYgW31jB
dLGU89PpbVKmKdZW7u5VwChuuvBm+/Rlc8w7ZkpUXM++0O/CkSTWxN4SMFdwleLvK3f7sgxa
2LvVppcuEss9ufnyyfr28+t0W/0nJTTvbGQo3a+vqyCi+VrnT82/k48aZ37/Yt/5fonU9dSY
F05pxsbhexJtCxReiuqa/WcNU14crcRSnJFoqMVcVJwIAF4d02/jAgAA
X-CMS-MailID: 20230113121834epcas5p490aba088dce64f880c95e4f9b9a220d4
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230113121834epcas5p490aba088dce64f880c95e4f9b9a220d4
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 sound card on Tesla FSD platform
Signed-off-by: Padmanabhan Rajanbabu
---
arch/arm64/boot/dts/tesla/fsd-evb.dts | 33 +++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts
index 2f211a1ad50d..83281e305f20 100644
--- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
+++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
@@ -29,6 +29,39 @@
device_type = "memory";
reg = <0x0 0x80000000 0x2 0x00000000>;
};
+
+ sound {
+ compatible = "simple-audio-card";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ simple-audio-card,name = "FSD Audio Card";
+ simple-audio-card,widgets = "Line", "Line Out",
+ "Line", "Line In";
+ simple-audio-card,routing = "Line Out", "LLOUT",
+ "Line Out", "RLOUT",
+ "MIC2L", "Line In",
+ "MIC2R", "Line In";
+
+ simple-audio-card,dai-link@0 {
+ reg = <0>;
+ format = "i2s";
+ bitclock-master = <&tlv320aic3x>;
+ frame-master = <&tlv320aic3x>;
+
+ cpu-0 {
+ sound-dai = <&i2s_0 0>;
+ };
+ cpu-1 {
+ sound-dai = <&i2s_0 1>;
+ };
+ codec {
+ sound-dai = <&tlv320aic3x>;
+ system-clock-frequency = <33000000>;
+ };
+ };
+ };
};
&fin_pll {