From patchwork Tue Jan 3 04:56:09 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 638910
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 vger.kernel.org (vger.kernel.org [23.128.96.18])
by smtp.lore.kernel.org (Postfix) with ESMTP id 0D138C54EBD
for ;
Tue, 3 Jan 2023 06:42:06 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S230389AbjACGmE (ORCPT
);
Tue, 3 Jan 2023 01:42:04 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32798 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236828AbjACGlq (ORCPT
); Tue, 3 Jan 2023 01:41:46 -0500
Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6162AD2D9
for ;
Mon, 2 Jan 2023 22:41:13 -0800 (PST)
Received: from epcas5p1.samsung.com (unknown [182.195.41.39])
by mailout1.samsung.com (KnoxPortal) with ESMTP id
20230103064111epoutp0128e5d5d8be8ac24c3f68aeb8ff40f749~2uVF67Dom1143611436epoutp012
for ;
Tue, 3 Jan 2023 06:41:11 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com
20230103064111epoutp0128e5d5d8be8ac24c3f68aeb8ff40f749~2uVF67Dom1143611436epoutp012
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1672728071;
bh=1ReRAfpeh1MSSD77tI0zpKu9YMwmp16crnYuBUSqzqs=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=fkFUKjVTR7u5qWr6MkTYck2GYqiPsjDvBX/6FKCop2ybfMbSAkbGWCbN/CjhicO0v
plwBwz7yb8J87OptjAXo7QnHLovQjbEyVRYHGC36FkrwelraIp0HXCsr5xtaGOWJeD
JtRFZpEAr50YSCNltYhrzBe8hbfX4lGPkv4rVLA8=
Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by
epcas5p2.samsung.com (KnoxPortal) with ESMTP id
20230103064110epcas5p261908bac01064dad001c6a9c10e5b0cb~2uVFX3qkU0184601846epcas5p29;
Tue, 3 Jan 2023 06:41:10 +0000 (GMT)
Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by
epsnrtp2.localdomain (Postfix) with ESMTP id 4NmNRS5hyBz4x9Pv;
Tue, 3 Jan 2023 06:41:08 +0000 (GMT)
Received: from epcas5p3.samsung.com ( [182.195.41.41]) by
epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
B0.62.02301.40EC3B36; Tue, 3 Jan 2023 15:41:08 +0900 (KST)
Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTPA id
20230103045651epcas5p417960d84f4aa934b0ae1a150ee5fee08~2s6Ah5dF21484514845epcas5p45;
Tue, 3 Jan 2023 04:56:51 +0000 (GMT)
Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by
epsmtrp1.samsung.com (KnoxPortal) with ESMTP id
20230103045651epsmtrp1239949080f05989e00cf6c1e8ab2383e~2s6AhD-mg0133401334epsmtrp1k;
Tue, 3 Jan 2023 04:56:51 +0000 (GMT)
X-AuditID: b6c32a49-473fd700000108fd-1c-63b3ce04b406
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id
4B.05.10542.395B3B36; Tue, 3 Jan 2023 13:56:51 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230103045649epsmtip2c01f9ae368ec09b98e847b94a0fd74b7~2s5_VBlcw0074100741epsmtip2r;
Tue, 3 Jan 2023 04:56:49 +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
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
Padmanabhan Rajanbabu
Subject: [PATCH v2 1/5] ASoC: dt-bindings: Add FSD I2S controller bindings
Date: Tue, 3 Jan 2023 10:26:09 +0530
Message-Id: <20230103045613.100309-2-p.rajanbabu@samsung.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20230103045613.100309-1-p.rajanbabu@samsung.com>
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFJsWRmVeSWpSXmKPExsWy7bCmpi7Luc3JBn23dS0ezNvGZnHl4iEm
i0Obt7JbTH34hM1i/pFzrBZ9Lx4yW3y70sFkcXnXHDaLGef3MVkc3RhssWjrF3aLzl39rBaz
LuxgtWjde4Td4vCbdlaLDd/XMjoIeGz43MTmsXPWXXaPTas62TzuXNvD5rHv7TI2j74tqxg9
1m+5yuLxeZNcAEdUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKL
T4CuW2YO0AdKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElul1IKUnAKTAr3ixNzi0rx0vbzU
EitDAwMjU6DChOyMB2famQoWcFZcX/GVqYFxF3sXIweHhICJxJkbGl2MXBxCArsZJSYcuwkU
5wRyPjFKHFsaCpH4zChx5fRSNpAESMO+vftZIBK7GCX+b7jOBuG0Mkmsn/WSBaSKTcBUYtWc
RlaQhIhAE5NE25uJYC3MAhsZJU4fe8gEUiUs4CXR+GgxWAeLgKrEq3XTwWxeAVuJoz+vME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pyceIoZIiEtMb1/DxuELSyx8t9zdoiiZiaJtpnbwYrYBEwlVs1pZAVJiAhM
YJI4+e4YC0iCWWAro8TUz0YgtrCAl0Tjo8VgcRYBVYlX66aD2bwCthJHf15hgtggL7F6wwGw
oZwCdhJ/Oi6AxYWAarY3fGKewMi3gJFhFaNkakFxbnpusWGBUV5quV5xYm5xaV66XnJ+7iZG
cLhrae1g3LPqg94hRiYOxkOMEhzMSiK8k15sShbiTUmsrEotyo8vKs1JLT7EKM3BoiTOe6Hr
ZLyQQHpiSWp2ampBahFMlomDU6qB6UBNknvm/6v3fK0FH7otb1B4UDtxs1p/0JuDSpxzppU9
1nrEeal6H/fTs/b3t+vdypCZrbrcwD5i2W/ZTWe3t/2buDVnQeZzf91SwZsLmh5vNzqjcPwa
p8d5pcyVrV7lN2SUixU/BeWmxNwv5n+2VTns8e+OsujSZYV79f9r1v16/0bSRujnhGaR5vey
ykmr+z/IHOiJNw8JrpYumP/vUTBDb0xpuMntmAXTIqZY5+eyteXpHt5+onGRwmPDY4KTS58U
bNizP7NNYIbmoa+LF57fvHVq6oHuGydXvgme2OPgK3D2s/KC1aUBNYzla4Wa5PayCbeLX5xj
abLZUuRgVW7PgRMXFrz1f1F2e+cKNyWW4oxEQy3mouJEADEMf9DmAgAA
X-CMS-MailID: 20230103045651epcas5p417960d84f4aa934b0ae1a150ee5fee08
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230103045651epcas5p417960d84f4aa934b0ae1a150ee5fee08
References: <20230103045613.100309-1-p.rajanbabu@samsung.com>
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
Add bindings for FSD CPU DAI driver which supports stereo channel
audio playback and capture on FSD platform.
Signed-off-by: Padmanabhan Rajanbabu
---
Documentation/devicetree/bindings/sound/samsung-i2s.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.yaml b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
index 8d5dcf9cd43e..ff187e16d301 100644
--- a/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
+++ b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
@@ -37,12 +37,16 @@ properties:
samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports
stereo channels. Exynos7 I2S1 upgraded to 5.1 multichannel with
slightly modified bit offsets.
+
+ tesla,fsd-i2s: with all the available features of Exynos7 I2S,
+ supporting only stereo channel playback and capture.
enum:
- samsung,s3c6410-i2s
- samsung,s5pv210-i2s
- samsung,exynos5420-i2s
- samsung,exynos7-i2s
- samsung,exynos7-i2s1
+ - tesla,fsd-i2s
'#address-cells':
const: 1
From patchwork Tue Jan 3 04:56:11 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 638909
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 vger.kernel.org (vger.kernel.org [23.128.96.18])
by smtp.lore.kernel.org (Postfix) with ESMTP id F02D0C3DA7D
for ;
Tue, 3 Jan 2023 06:42:08 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236788AbjACGmG (ORCPT
);
Tue, 3 Jan 2023 01:42:06 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60868 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236835AbjACGls (ORCPT
); Tue, 3 Jan 2023 01:41:48 -0500
Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A8E6DE90
for ;
Mon, 2 Jan 2023 22:41:30 -0800 (PST)
Received: from epcas5p3.samsung.com (unknown [182.195.41.41])
by mailout1.samsung.com (KnoxPortal) with ESMTP id
20230103064128epoutp0115ff5c283d340a85f97d5d649381b255~2uVWVNESv1202812028epoutp01o
for ;
Tue, 3 Jan 2023 06:41:28 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com
20230103064128epoutp0115ff5c283d340a85f97d5d649381b255~2uVWVNESv1202812028epoutp01o
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1672728088;
bh=uz2RrYKqw72bCs+O+RwVxl6BiuB0/WR6dbYm96RZj8s=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=pPtSkjR4aMC0Wmh8FcnaGLHfnhV2WsuU9WUF9zwQlSP7mVWckyO6hDjEJhjSd1kiJ
eUO4pbn86U9Qd61bc7QV8zWOutfNf4H+/S+OCX64ckeKd8tazIby8hD58QE3Wxa1oS
JXZyDVwDkGAM3Uccd9ZrYwfknvt1pan2UC5rI1sg=
Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230103064128epcas5p3f8539d92293aaac136b704625a9decfb~2uVV0iccF1851818518epcas5p3P;
Tue, 3 Jan 2023 06:41:28 +0000 (GMT)
Received: from epsmges5p3new.samsung.com (unknown [182.195.38.179]) by
epsnrtp1.localdomain (Postfix) with ESMTP id 4NmNRp2zG3z4x9Py;
Tue, 3 Jan 2023 06:41:26 +0000 (GMT)
Received: from epcas5p3.samsung.com ( [182.195.41.41]) by
epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id
BC.69.03362.41EC3B36; Tue, 3 Jan 2023 15:41:24 +0900 (KST)
Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTPA id
20230103045659epcas5p322e2f3ad2b43e5a22f43135dc3e46f75~2s6HxhQ571607816078epcas5p3r;
Tue, 3 Jan 2023 04:56:59 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp1.samsung.com (KnoxPortal) with ESMTP id
20230103045659epsmtrp1305e27189ab1c9ac781931dffa423431~2s6Hwi3iq0133401334epsmtrp1n;
Tue, 3 Jan 2023 04:56:59 +0000 (GMT)
X-AuditID: b6c32a4b-287ff70000010d22-8a-63b3ce14d0c7
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
95.94.02211.B95B3B36; Tue, 3 Jan 2023 13:56:59 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230103045656epsmtip2287665068d9df70f118a9654dd493b86~2s6FM6DVi3202032020epsmtip23;
Tue, 3 Jan 2023 04:56:56 +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
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
Padmanabhan Rajanbabu
Subject: [PATCH v2 3/5] arm64: dts: fsd: Add I2S DAI node for Tesla FSD
Date: Tue, 3 Jan 2023 10:26:11 +0530
Message-Id: <20230103045613.100309-4-p.rajanbabu@samsung.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20230103045613.100309-1-p.rajanbabu@samsung.com>
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHJsWRmVeSWpSXmKPExsWy7bCmpq7Iuc3JBl9ncVk8mLeNzeLKxUNM
Foc2b2W3mPrwCZvF/CPnWC36Xjxktvh2pYPJ4vKuOWwWM87vY7I4ujHYYtHWL+wWnbv6WS1m
XdjBatG69wi7x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8s/vC0wdWvKU8Od+Txll//tEzI/LizDya/EUpyRaKjFXFScCABx9RwH5gIAAA==
X-CMS-MailID: 20230103045659epcas5p322e2f3ad2b43e5a22f43135dc3e46f75
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230103045659epcas5p322e2f3ad2b43e5a22f43135dc3e46f75
References: <20230103045613.100309-1-p.rajanbabu@samsung.com>
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
Add device tree node for I2S0 and I2S1 CPU DAI instances for Tesla
FSD platform.
FSD SoC has 2 I2S instances driving stereo channel audio playback
and capture with external DMA support.
Signed-off-by: Padmanabhan Rajanbabu
---
arch/arm64/boot/dts/tesla/fsd-evb.dts | 8 +++++
arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 14 +++++++++
arch/arm64/boot/dts/tesla/fsd.dtsi | 34 ++++++++++++++++++++++
3 files changed, 56 insertions(+)
diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts
index 1db6ddf03f01..cf5f2ce4d2a7 100644
--- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
+++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
@@ -38,6 +38,14 @@
status = "okay";
};
+&i2s_0 {
+ status = "okay";
+};
+
+&i2s_1 {
+ status = "okay";
+};
+
&ufs {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi b/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi
index e3852c946352..6b51e31afcff 100644
--- a/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi
+++ b/arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi
@@ -339,6 +339,20 @@
samsung,pin-pud = ;
samsung,pin-drv = ;
};
+
+ i2s0_bus: i2s0-bus-pins {
+ samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2", "gpd1-3", "gpd1-4";
+ samsung,pin-function = ;
+ samsung,pin-pud = ;
+ samsung,pin-drv = ;
+ };
+
+ i2s1_bus: i2s1-bus-pins {
+ samsung,pins = "gpd2-0", "gpd2-1", "gpd2-2", "gpd2-3", "gpd2-4";
+ samsung,pin-function = ;
+ samsung,pin-pud = ;
+ samsung,pin-drv = ;
+ };
};
&pinctrl_pmu {
diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi
index f35bc5a288c2..3e7265a41e37 100644
--- a/arch/arm64/boot/dts/tesla/fsd.dtsi
+++ b/arch/arm64/boot/dts/tesla/fsd.dtsi
@@ -738,6 +738,40 @@
status = "disabled";
};
+ i2s_0: i2s@140e0000 {
+ compatible = "tesla,fsd-i2s";
+ reg = <0x0 0x140e0000 0x0 0x100>;
+ interrupts = ;
+ dmas = <&pdma1 14>, <&pdma1 13>, <&pdma1 12>;
+ dma-names = "tx", "rx", "tx-sec";
+ #clock-cells = <1>;
+ clocks = <&clock_peric PERIC_PCLK_TDM0>,
+ <&clock_peric PERIC_HCLK_TDM0>,
+ <&clock_peric PERIC_HCLK_TDM0>;
+ clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2s0_bus>;
+ #sound-dai-cells = <1>;
+ status = "disabled";
+ };
+
+ i2s_1: i2s@140f0000 {
+ compatible = "tesla,fsd-i2s";
+ reg = <0x0 0x140f0000 0x0 0x100>;
+ interrupts = ;
+ dmas = <&pdma1 17>, <&pdma1 16>, <&pdma1 15>;
+ dma-names = "tx", "rx", "tx-sec";
+ #clock-cells = <1>;
+ clocks = <&clock_peric PERIC_PCLK_TDM1>,
+ <&clock_peric PERIC_HCLK_TDM1>,
+ <&clock_peric PERIC_HCLK_TDM1>;
+ clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2s1_bus>;
+ #sound-dai-cells = <1>;
+ status = "disabled";
+ };
+
pinctrl_pmu: pinctrl@114f0000 {
compatible = "tesla,fsd-pinctrl";
reg = <0x0 0x114f0000 0x0 0x1000>;
From patchwork Tue Jan 3 04:56:13 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 638908
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 vger.kernel.org (vger.kernel.org [23.128.96.18])
by smtp.lore.kernel.org (Postfix) with ESMTP id 8F28AC3DA7D
for ;
Tue, 3 Jan 2023 06:43:13 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236789AbjACGml (ORCPT
);
Tue, 3 Jan 2023 01:42:41 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32824 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236845AbjACGlu (ORCPT
); Tue, 3 Jan 2023 01:41:50 -0500
Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C764DDE8D
for ;
Mon, 2 Jan 2023 22:41:48 -0800 (PST)
Received: from epcas5p4.samsung.com (unknown [182.195.41.42])
by mailout1.samsung.com (KnoxPortal) with ESMTP id
20230103064147epoutp017658522a81392ac63a525e5db2334092~2uVnfg9ak1143211432epoutp01V
for ;
Tue, 3 Jan 2023 06:41:47 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com
20230103064147epoutp017658522a81392ac63a525e5db2334092~2uVnfg9ak1143211432epoutp01V
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1672728107;
bh=nhdfKuY6VgLCY5Ul25sLP3BbNNJgGEW2tayYvQfRUgw=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=Ph+LWPskbfKUGO7UY177YNtMXlsarDPEKm0qoeptwGP03qRqOk1cIPs4aU9+Cn0Fw
Z4WJeBcBUzT/fU335RV8+E9K91tKsQbCr0MtdufKkVIGq+g2eG0C0kdgLbdPiC832Z
U9XmmXhK3PBZ+sY7XJIMRejShQFFHAriw9K7oUno=
Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230103064146epcas5p3421ed7c35cbbedafdc426bd54dfb8356~2uVm5944U0590305903epcas5p3g;
Tue, 3 Jan 2023 06:41:46 +0000 (GMT)
Received: from epsmges5p2new.samsung.com (unknown [182.195.38.177]) by
epsnrtp2.localdomain (Postfix) with ESMTP id 4NmNS818Gcz4x9Q4;
Tue, 3 Jan 2023 06:41:44 +0000 (GMT)
Received: from epcas5p3.samsung.com ( [182.195.41.41]) by
epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id
0E.E0.62806.72EC3B36; Tue, 3 Jan 2023 15:41:44 +0900 (KST)
Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by
epcas5p1.samsung.com (KnoxPortal) with ESMTPA id
20230103045706epcas5p14f2f951d162899234c7f5f7a0998ab6b~2s6Of__Ck2038120381epcas5p1b;
Tue, 3 Jan 2023 04:57:06 +0000 (GMT)
Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by
epsmtrp2.samsung.com (KnoxPortal) with ESMTP id
20230103045706epsmtrp21d91195338b2a9b7de0c58c4d8ae04ac~2s6Oak1wS0749107491epsmtrp2-;
Tue, 3 Jan 2023 04:57:06 +0000 (GMT)
X-AuditID: b6c32a4a-c43ff7000000f556-17-63b3ce27ec1d
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id
E1.15.10542.2A5B3B36; Tue, 3 Jan 2023 13:57:06 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230103045704epsmtip27788c0c81554ab6969b69128dd45d984~2s6MNWlBL3215832158epsmtip2O;
Tue, 3 Jan 2023 04:57:04 +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
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
Padmanabhan Rajanbabu
Subject: [PATCH v2 5/5] arm64: dts: fsd: Add sound card node for Tesla FSD
Date: Tue, 3 Jan 2023 10:26:13 +0530
Message-Id: <20230103045613.100309-6-p.rajanbabu@samsung.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20230103045613.100309-1-p.rajanbabu@samsung.com>
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLJsWRmVeSWpSXmKPExsWy7bCmpq7Guc3JBttnMlk8mLeNzeLKxUNM
Foc2b2W3mPrwCZvF/CPnWC36Xjxktvh2pYPJ4vKuOWwWM87vY7I4ujHYYtHWL+wWnbv6WS1m
XdjBatG69wi7xeE37awWG76vZXQQ8NjwuYnNY+esu+wem1Z1snncubaHzWPf22VsHn1bVjF6
rN9ylcXj8ya5AI6obJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUX
nwBdt8wcoA+UFMoSc0qBQgGJxcVK+nY2RfmlJakKGfnFJbZKqQUpOQUmBXrFibnFpXnpenmp
JVaGBgZGpkCFCdkZ02ZMYis4x1Wxpm8mWwPjAo4uRk4OCQETic1NLaxdjFwcQgK7GSU+PX3F
BOF8YpRYN/k9O4TzmVHi/o4jrDAtX0+3QFXtYpSYMe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PPq2rGL0
WL/lKovH501yARxRXDYpqTmZZalF+nYJXBnTZkxiKzjHVbGmbyZbA+MCji5GTg4JAROJr6db
mLoYuTiEBHYwSjRuWc8CkZCWmN6/hw3CFpZY+e85O0RRM5PE1sZTYAk2AVOJVXMaWUESIgIT
mCROvjsG1s0ssJVRYupnIxBbWMBL4vODNYwgNouAqsSO9TvAbF4BW4m9C08wQWyQl1i94QAz
iM0pYCfxp+MCWFwIqGZ7wyfmCYx8CxgZVjFKphYU56bnFhsWGOWllusVJ+YWl+al6yXn525i
BIe7ltYOxj2rPugdYmTiYDzEKMHBrCTCO+nFpmQh3pTEyqrUovz4otKc1OJDjNIcLErivBe6
TsYLCaQnlqRmp6YWpBbBZJk4OKUamOaW1l0LXR7OxP7ssHXN05mCAl8+tjXWePuVu1oZF+jk
mMtt/+Jjs2VDfOIkYb4v3jcqvPUe/Wef22jMwtw180eV09vY2dYPHxQp3WjJPL9LzlG6fL/E
v6fu79QFDp21vDafSeOyR9jRwrCmmV+und+T1dB3bcWLt+su2V1SmLJXbgOHwtO7IZclHj14
tOJK+2WmIvn792adzNeamrnY9XtW2Z19c+6sjy36fKVIwcKysd8toV++sjNi3+nrRy76My82
mXhFJu3HRNWOlp3ntp3v4do47a9dvaGj16R7jXvTL6+VW2TRYLAkN6M+g3959M1bmf/c2jyr
OVT5VAT9Vi2xPGIllBPm4B+5U2PfZyWW4oxEQy3mouJEAJT4uDvmAgAA
X-CMS-MailID: 20230103045706epcas5p14f2f951d162899234c7f5f7a0998ab6b
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230103045706epcas5p14f2f951d162899234c7f5f7a0998ab6b
References: <20230103045613.100309-1-p.rajanbabu@samsung.com>
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
Add device tree node support for sound card on Tesla FSD board
Signed-off-by: Padmanabhan Rajanbabu
---
arch/arm64/boot/dts/tesla/fsd-evb.dts | 37 +++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/tesla/fsd-evb.dts b/arch/arm64/boot/dts/tesla/fsd-evb.dts
index e2fd49774f15..ce726bddfb50 100644
--- a/arch/arm64/boot/dts/tesla/fsd-evb.dts
+++ b/arch/arm64/boot/dts/tesla/fsd-evb.dts
@@ -29,6 +29,43 @@
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";
+
+ status = "okay";
+
+ simple-audio-card,dai-link@0 {
+ reg = <0>;
+ format = "i2s";
+ bitclock-master = <&tlv320aic3x>;
+ frame-master = <&tlv320aic3x>;
+
+ cpu0 {
+ sound-dai = <&i2s_0 0>;
+ };
+ cpu1 {
+ sound-dai = <&i2s_0 1>;
+ };
+ codec {
+ sound-dai = <&tlv320aic3x>;
+ system-clock-frequency = <33000000>;
+ };
+ };
+ };
};
&fin_pll {