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: 13087227
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 AECFDC53210
for ;
Tue, 3 Jan 2023 06:42:03 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S231184AbjACGmB (ORCPT
);
Tue, 3 Jan 2023 01:42:01 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32778 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236826AbjACGlo (ORCPT
);
Tue, 3 Jan 2023 01:41:44 -0500
Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8271D137
for ;
Mon, 2 Jan 2023 22:41:12 -0800 (PST)
Received: from epcas5p1.samsung.com (unknown [182.195.41.39])
by mailout2.samsung.com (KnoxPortal) with ESMTP id
20230103064111epoutp022f64cf37f4f7e57667f1a35f280abe33~2uVF6txv72422324223epoutp02W
for ;
Tue, 3 Jan 2023 06:41:11 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com
20230103064111epoutp022f64cf37f4f7e57667f1a35f280abe33~2uVF6txv72422324223epoutp02W
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+vMEHs
k5dYveE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EtMb1/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: linux-samsung-soc@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:10 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13087228
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 47819C53210
for ;
Tue, 3 Jan 2023 06:42:07 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236729AbjACGmF (ORCPT
);
Tue, 3 Jan 2023 01:42:05 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236829AbjACGlr (ORCPT
);
Tue, 3 Jan 2023 01:41:47 -0500
Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 035B1D2F4
for ;
Mon, 2 Jan 2023 22:41:22 -0800 (PST)
Received: from epcas5p3.samsung.com (unknown [182.195.41.41])
by mailout1.samsung.com (KnoxPortal) with ESMTP id
20230103064120epoutp01a18cfcc674e1abc288b2fa61ae949bbb~2uVOiA-vk1143211432epoutp01B
for ;
Tue, 3 Jan 2023 06:41:20 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com
20230103064120epoutp01a18cfcc674e1abc288b2fa61ae949bbb~2uVOiA-vk1143211432epoutp01B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1672728080;
bh=lDIZB7/G+ylzlsRPmC3u4e8TNdJieudptTdrtvjpWQk=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=pzRhRwJOd1h/ZpN4uBQs7/7fcRGF+NS6VDo3cPnD5ZWu76OIWy/RVHkNYpKfkQlLB
ekhzEyAzrvuWC7Xi1vjYEmdvqFERkT/TTUJWF0Jqh6gaNWfuoYoi/3Zp+Xe+nz0XLi
Yg6yWLezZW/19i5BoNz6aHiAVVNDKt4MDv8ZIsuo=
Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTP id
20230103064119epcas5p48e97da88410f6da913b65b4fe0e0c156~2uVN7t3vG1269212692epcas5p40;
Tue, 3 Jan 2023 06:41:19 +0000 (GMT)
Received: from epsmges5p2new.samsung.com (unknown [182.195.38.182]) by
epsnrtp3.localdomain (Postfix) with ESMTP id 4NmNRc72myz4x9Q7;
Tue, 3 Jan
2023 06:41:16 +0000 (GMT)
Received: from epcas5p2.samsung.com ( [182.195.41.40]) by
epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id
7F.B0.62806.C0EC3B36; Tue, 3 Jan 2023 15:41:16 +0900 (KST)
Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by
epcas5p1.samsung.com (KnoxPortal) with ESMTPA id
20230103045655epcas5p1af06a83208190c471e8cd891ef4760f3~2s6ECyxER2038120381epcas5p1H;
Tue, 3 Jan 2023 04:56:55 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp1.samsung.com (KnoxPortal) with ESMTP id
20230103045655epsmtrp166d4e24859a7083eaa859af9b27e3f1e~2s6EB09ad0134001340epsmtrp1X;
Tue, 3 Jan 2023 04:56:55 +0000 (GMT)
X-AuditID: b6c32a4a-ea5fa7000000f556-93-63b3ce0c89a4
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
34.94.02211.795B3B36; Tue, 3 Jan 2023 13:56:55 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230103045653epsmtip2a06c8913f72924bd1082a3fdf940f73e~2s6BvY-Oq3211632116epsmtip2R;
Tue, 3 Jan 2023 04:56:53 +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 2/5] ASoC: samsung: i2s: add support for FSD I2S
Date: Tue, 3 Jan 2023 10:26:10 +0530
Message-Id: <20230103045613.100309-3-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+NgFprNJsWRmVeSWpSXmKPExsWy7bCmhi7Puc3JBj1PLSwezNvGZnHl4iEm
i0Obt7JbTH34hM1i/pFzrBZ9Lx4yW3y70sFkcXnXHDaLGef3MVkc3RhssWjrF3aLzl39rBaz
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+Q10WsOleUf
jvOvvju58tnJoPpf+cqJdZotfl5JnxZoK7EUZyQaajEXFScCAIuqD+/kAgAA
X-CMS-MailID: 20230103045655epcas5p1af06a83208190c471e8cd891ef4760f3
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230103045655epcas5p1af06a83208190c471e8cd891ef4760f3
References: <20230103045613.100309-1-p.rajanbabu@samsung.com>
Precedence: bulk
List-ID:
X-Mailing-List: linux-samsung-soc@vger.kernel.org
Add support for enabling I2S controller on FSD platform.
FSD I2S controller is based on Exynos7 I2S controller, supporting
2CH playback/capture in I2S mode and 7.1CH playback/capture in TDM
mode.
Signed-off-by: Padmanabhan Rajanbabu
---
sound/soc/samsung/i2s-regs.h | 1 +
sound/soc/samsung/i2s.c | 57 ++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sound/soc/samsung/i2s-regs.h b/sound/soc/samsung/i2s-regs.h
index b4b5d6053503..4444c857d0c0 100644
--- a/sound/soc/samsung/i2s-regs.h
+++ b/sound/soc/samsung/i2s-regs.h
@@ -132,6 +132,7 @@
#define EXYNOS7_MOD_RCLK_192FS 7
#define PSR_PSREN (1 << 15)
+#define PSR_PSVAL(x) (((x - 1) << 8) & 0x3f00)
#define FIC_TX2COUNT(x) (((x) >> 24) & 0xf)
#define FIC_TX1COUNT(x) (((x) >> 16) & 0xf)
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 9505200f3d11..dcb5c438cb2f 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -50,6 +50,10 @@ struct samsung_i2s_dai_data {
u32 quirks;
unsigned int pcm_rates;
const struct samsung_i2s_variant_regs *i2s_variant_regs;
+ void (*fixup_early)(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai);
+ void (*fixup_late)(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai);
};
struct i2s_dai {
@@ -111,6 +115,10 @@ struct samsung_i2s_priv {
u32 suspend_i2spsr;
const struct samsung_i2s_variant_regs *variant_regs;
+ void (*fixup_early)(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai);
+ void (*fixup_late)(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai);
u32 quirks;
/* The clock provider's data */
@@ -940,6 +948,10 @@ static int i2s_trigger(struct snd_pcm_substream *substream,
case SNDRV_PCM_TRIGGER_RESUME:
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
pm_runtime_get_sync(dai->dev);
+
+ if (priv->fixup_early)
+ priv->fixup_early(substream, dai);
+
spin_lock_irqsave(&priv->lock, flags);
if (config_setup(i2s)) {
@@ -947,6 +959,13 @@ static int i2s_trigger(struct snd_pcm_substream *substream,
return -EINVAL;
}
+ spin_unlock_irqrestore(&priv->lock, flags);
+
+ if (priv->fixup_late)
+ priv->fixup_late(substream, dai);
+
+ spin_lock_irqsave(&priv->lock, flags);
+
if (capture)
i2s_rxctrl(i2s, 1);
else
@@ -1410,6 +1429,8 @@ static int samsung_i2s_probe(struct platform_device *pdev)
if (np) {
priv->quirks = i2s_dai_data->quirks;
+ priv->fixup_early = i2s_dai_data->fixup_early;
+ priv->fixup_late = i2s_dai_data->fixup_late;
} else {
if (!i2s_pdata) {
dev_err(&pdev->dev, "Missing platform data\n");
@@ -1563,6 +1584,31 @@ static int samsung_i2s_remove(struct platform_device *pdev)
return 0;
}
+void fsd_i2s_fixup_early(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai)
+{
+ struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+ struct i2s_dai *i2s = to_info(asoc_rtd_to_cpu(rtd, 0));
+ struct i2s_dai *other = get_other_dai(i2s);
+
+ if (!is_opened(other)) {
+ i2s_set_sysclk(dai, SAMSUNG_I2S_CDCLK, 192, SND_SOC_CLOCK_OUT);
+ i2s_set_sysclk(dai, SAMSUNG_I2S_OPCLK, 0, MOD_OPCLK_PCLK);
+ }
+}
+
+void fsd_i2s_fixup_late(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *dai)
+{
+ struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+ struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai);
+ struct i2s_dai *i2s = to_info(asoc_rtd_to_cpu(rtd, 0));
+ struct i2s_dai *other = get_other_dai(i2s);
+
+ if (!is_opened(other))
+ writel(PSR_PSVAL(2) | PSR_PSREN, priv->addr + I2SPSR);
+}
+
static const struct samsung_i2s_variant_regs i2sv3_regs = {
.bfs_off = 1,
.rfs_off = 3,
@@ -1652,6 +1698,14 @@ static const struct samsung_i2s_dai_data i2sv5_dai_type_i2s1 __maybe_unused = {
.i2s_variant_regs = &i2sv5_i2s1_regs,
};
+static const struct samsung_i2s_dai_data fsd_dai_type __maybe_unused = {
+ .quirks = QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR | QUIRK_SUPPORTS_TDM,
+ .pcm_rates = SNDRV_PCM_RATE_8000_192000,
+ .i2s_variant_regs = &i2sv7_regs,
+ .fixup_early = fsd_i2s_fixup_early,
+ .fixup_late = fsd_i2s_fixup_late,
+};
+
static const struct platform_device_id samsung_i2s_driver_ids[] = {
{
.name = "samsung-i2s",
@@ -1678,6 +1732,9 @@ static const struct of_device_id exynos_i2s_match[] = {
}, {
.compatible = "samsung,exynos7-i2s1",
.data = &i2sv5_dai_type_i2s1,
+ }, {
+ .compatible = "tesla,fsd-i2s",
+ .data = &fsd_dai_type,
},
{},
};
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: 13087229
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 0BF20C54EBC
for ;
Tue, 3 Jan 2023 06:42:09 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236794AbjACGmH (ORCPT
);
Tue, 3 Jan 2023 01:42:07 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32810 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236837AbjACGls (ORCPT
);
Tue, 3 Jan 2023 01:41:48 -0500
Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEDEBDE94
for ;
Mon, 2 Jan 2023 22:41:30 -0800 (PST)
Received: from epcas5p3.samsung.com (unknown [182.195.41.41])
by mailout3.samsung.com (KnoxPortal) with ESMTP id
20230103064128epoutp03b9d3beb37aa1a81395dc50a1e1667c7c~2uVWVgEtn2593925939epoutp03M
for ;
Tue, 3 Jan 2023 06:41:28 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com
20230103064128epoutp03b9d3beb37aa1a81395dc50a1e1667c7c~2uVWVgEtn2593925939epoutp03M
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
XdjBatG69wi7xeE37awWG76vZXQQ8NjwuYnNY+esu+wem1Z1snncubaHzWPf22VsHn1bVjF6
rN9ylcXj8ya5AI6obJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUX
nwBdt8wcoA+UFMoSc0qBQgGJxcVK+nY2RfmlJakKGfnFJbZKqQUpOQUmBXrFibnFpXnpenmp
JVaGBgZGpkCFCdkZ02e3MxUckaxY8nE5cwPjC5EuRk4OCQETiaP3t7J3MXJxCAnsZpRYt+Uv
G4TziVHiftN5VgjnG6PE5gn3GWFa7t75xQKR2Mso8evpDKj+ViaJKc/OM4FUsQmYSqya0wjW
LiLQxCTR9mYiWAuzwEZGidPHHoJVCQu4S8yacoQVxGYRUJV4d/EYmM0rYCtx70A/O8Q+eYnV
Gw4wg9icAnYSfzouMIEMkhBYyiHxbs0KqCIXiV3/vzFB2MISr45vgYpLSbzsb4Oy8yWmfWxm
g7ArJNo+boCqt5c4cGUO0HUcQNdpSqzfpQ8RlpWYemodWAmzAJ9E7+8nUOW8EjvmwdiqEuuX
b4KGi7TEvut7oWwPiZeLV0EDbyKjRP/r9WwTGOVmIaxYwMi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st1ytOzC0uzUvXS87P
3cQIDnctzR2M21d90DvEyMTBeIhRgoNZSYR30otNyUK8KYmVValF+fFFpTmpxYcYpTlYlMR5
L3SdjBcSSE8sSc1OTS1ILYLJMnFwSjUwHRHnvL3mpor8ZPGtN3iUX1963fuHjfXwpDq3uyVp
CxbN+ib44MSbbVMa9rbp/+Y42np+gZhChLie2cT/tU+ixDknHVvfEXdoB/O+WVp2Fbx7FBTj
nx37tFQ0TZMpytXj4d9rrHyy06qPJYj2rQ39yS4grXUxekb5U517Mey3V2QebdvJrfNLa8cy
s4w7i6sXxV/p+6y3aeOKZBHrs/EcgisTv0a9nMFzq3z1rL2dbP7VS+c0TxXUvBPbVLXg6e6u
ds7Z5579XO4xq0RWekmr1Ny+C1JVp37+fOH9wNFgi8qP47/v3P5w+eexdSel7bm0XDqrj2rL
O8s/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: linux-samsung-soc@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: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: 13087231
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 9E383C54EBD
for ;
Tue, 3 Jan 2023 06:43:13 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236894AbjACGmm (ORCPT
);
Tue, 3 Jan 2023 01:42:42 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60878 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236814AbjACGlt (ORCPT
);
Tue, 3 Jan 2023 01:41:49 -0500
Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51C43DE99
for ;
Mon, 2 Jan 2023 22:41:37 -0800 (PST)
Received: from epcas5p1.samsung.com (unknown [182.195.41.39])
by mailout3.samsung.com (KnoxPortal) with ESMTP id
20230103064135epoutp039a71f6b42c8cc964c8b4415c26531c53~2uVcbgCFB2652226522epoutp03B
for ;
Tue, 3 Jan 2023 06:41:35 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com
20230103064135epoutp039a71f6b42c8cc964c8b4415c26531c53~2uVcbgCFB2652226522epoutp03B
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
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 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
In-Reply-To: <20230103045613.100309-1-p.rajanbabu@samsung.com>
X-Brightmail-Tracker:
H4sIAA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0i4f5VqLMMz7MvXsvy9j9N6/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>
Precedence: bulk
List-ID:
X-Mailing-List: linux-samsung-soc@vger.kernel.org
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";
};
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: 13087230
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 702EAC53210
for ;
Tue, 3 Jan 2023 06:43:13 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S236890AbjACGml (ORCPT
);
Tue, 3 Jan 2023 01:42:41 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60870 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S236867AbjACGlu (ORCPT
);
Tue, 3 Jan 2023 01:41:50 -0500
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C88D2DE9B
for ;
Mon, 2 Jan 2023 22:41:48 -0800 (PST)
Received: from epcas5p4.samsung.com (unknown [182.195.41.42])
by mailout4.samsung.com (KnoxPortal) with ESMTP id
20230103064147epoutp04c3cd92a36019f01ab269a2b1b637cd03~2uVnf7r920289702897epoutp04B
for ;
Tue, 3 Jan 2023 06:41:47 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com
20230103064147epoutp04c3cd92a36019f01ab269a2b1b637cd03~2uVnf7r920289702897epoutp04B
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+3QFXtYpSYMe8dE0hCSKCVSeLAqUQQm03AVGLVnEaw
uSICTUwSbW8msoA4zAIbGSVOH3sI1iEs4CXx+cEaRhCbRUBVYsf6HWA2r4CtxN6FJ5gg1slL
rN5wgBnE5hSwk/jTcQFstYTAXA6Jz6fXMUIUuUgs2PIF6j5hiVfHt7BD2FISn9/tZY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BbWMBL4vODNYwgNouAqsSO9TvAbF4BW4m9C08wQWyQl1i94QAz
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: linux-samsung-soc@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 {