From patchwork Fri Jan 13 12:17:45 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13100750
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 383B1C61DB3
for ;
Fri, 13 Jan 2023 13:16:46 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S241805AbjAMNQn (ORCPT
);
Fri, 13 Jan 2023 08:16:43 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50642 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S241807AbjAMNQD (ORCPT
);
Fri, 13 Jan 2023 08:16:03 -0500
Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 041AD69B3C
for ;
Fri, 13 Jan 2023 05:06:36 -0800 (PST)
Received: from epcas5p2.samsung.com (unknown [182.195.41.40])
by mailout2.samsung.com (KnoxPortal) with ESMTP id
20230113130634epoutp024f6b67a8d0893dd0cf7a1012cac3cae5~54Cb6L6360055200552epoutp02y
for ;
Fri, 13 Jan 2023 13:06:34 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com
20230113130634epoutp024f6b67a8d0893dd0cf7a1012cac3cae5~54Cb6L6360055200552epoutp02y
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1673615194;
bh=0XwGRAFMX1PSy7miOW2AcTEpgWzY73WjjNAbpysbZhk=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=eL9tsfyMpyOcTM97KHRlMCsWfFM1pS50NOkhdaWPPPQHTzBn39hAcwprkpCILZKlP
hIXRc4l4gEdfa7G7RhENouJNqO1gm+mc2XLWhpkz4h9HzzVmSxVLRZV6y7Nuz2zSfR
ARTCO5akDcsgYd/iBDBKoYtN3Tt1ES5iRCRFNKzk=
Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230113130634epcas5p3c94b4f866cb032d0596e3056ea0ed589~54CbZPdbp1099910999epcas5p37;
Fri, 13 Jan 2023 13:06:34 +0000 (GMT)
Received: from epsmges5p2new.samsung.com (unknown [182.195.38.181]) by
epsnrtp1.localdomain (Postfix) with ESMTP id 4NthWX3FBtz4x9Pp;
Fri, 13 Jan
2023 13:06:32 +0000 (GMT)
Received: from epcas5p2.samsung.com ( [182.195.41.40]) by
epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id
F7.94.62806.85751C36; Fri, 13 Jan 2023 22:06:32 +0900 (KST)
Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTPA id
20230113121816epcas5p469f952d775cdd709de18ec63b24cedf7~53YQ5EAYB0803308033epcas5p4E;
Fri, 13 Jan 2023 12:18:16 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp2.samsung.com (KnoxPortal) with ESMTP id
20230113121816epsmtrp267fdec8d0b034de4cf536de8b355cc0e~53YQ4RnsW1441514415epsmtrp2e;
Fri, 13 Jan 2023 12:18:16 +0000 (GMT)
X-AuditID: b6c32a4a-c43ff7000000f556-a8-63c15758dc80
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
28.19.02211.80C41C36; Fri, 13 Jan 2023 21:18:16 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230113121813epsmtip2bf2ad7142481998e860fe65129d428ac~53YOVBxDd0850708507epsmtip2Y;
Fri, 13 Jan 2023 12:18:13 +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 v3 1/5] ASoC: dt-bindings: Add FSD I2S controller bindings
Date: Fri, 13 Jan 2023 17:47:45 +0530
Message-Id: <20230113121749.4657-2-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+NgFprDJsWRmVeSWpSXmKPExsWy7bCmhm5E+MFkgzOfRCwezNvGZnHl4iEm
i0Obt7JbTH34hM1i/pFzrBZ9Lx4yW3y70sFkcXnXHDaLGef3MVkc3RhssWjrF3aLzl39rBaz
LuxgtWjde4Td4vCbdlaLDd/XMjoIeGz43MTmsXPWXXaPTas62TzuXNvD5rHv7TI2j74tqxg9
1m+5yuLxeZNcAEdUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKL
T4CuW2YO0AdKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElul1IKUnAKTAr3ixNzi0rx0vbzU
EitDAwMjU6DChOyMnovPWAsucVd82LKHpYFxKWcXIyeHhICJxIs9Mxm7GLk4hAR2M0pMPfSK
HcL5xCjx/sxEJgjnG6PEjI8bWGFaGnfuYINI7GWUaDrxDcppZZJYNGcqG0gVm4CpxKo5jawg
CRGBJiaJtjcTWUAcZoGNjBKnjz1kAqkSFvCSuL1pAzuIzSKgKjFx3howm1fAWqLz72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
WxcjF4eQwG5GiSOLm1ggEtIS0/v3sEHYwhIr/z1nhyhqZpJYfmAjE0iCTcBUYtWcRlaQhIjA
BCaJk++OgXUzC2xllJj62QjEFhbwkri9aQM7iM0ioCoxcd4aMJtXwFqi8+9jVogN8hKrNxxg
7mLk4OAUsJFYejwXJCwEVLL35WOmCYx8CxgZVjFKphYU56bnFhsWGOallusVJ+YWl+al6yXn
525iBAe7luYOxu2rPugdYmTiYDzEKMHBrCTCu+fo/mQh3pTEyqrUovz4otKc1OJDjNIcLEri
vBe6TsYLCaQnlqRmp6YWpBbBZJk4OKUamJjcGZ42RIQdqPpl2ls39RrH/7ZTc3439bxY1bjh
9sTbYkcOdfIfmHdGKzhe/kWr5ZT4DMOyo8duXGt4qmphs4T7gKq09MVaBvZdWy+/1ktV32D8
eJeM/4JphtqT/64PiTa9rP9y4Wrz/nNFUU38l3lU7ks9nLGVkXuOjZGfud6jfUxxhglvamdf
t+mZ68v40il/b1b2hKfHgipNZggvWndygXchwxdt1X1LrJM26HCZP8hqqv7960BdxkX/CK5l
06o2s6vW/ZuUGjMx2ubMfPZZtyXaWno1S+ZaqS3lWRXgu8TC+9HFZPkffcdtZtRu3vxu5jaj
1Dv/3Vb8XF/AxXqO2YN3sk78Pzb1t1Ke/5RYijMSDbWYi4oTAfE3dXHlAgAA
X-CMS-MailID: 20230113121816epcas5p469f952d775cdd709de18ec63b24cedf7
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230113121816epcas5p469f952d775cdd709de18ec63b24cedf7
References: <20230113121749.4657-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
Reviewed-by: Krzysztof Kozlowski
---
Documentation/devicetree/bindings/sound/samsung-i2s.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.yaml b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
index 8d5dcf9cd43e..7ae007591080 100644
--- a/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
+++ b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml
@@ -37,12 +37,20 @@ 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: for 8/16/24bit stereo channel I2S for playback and
+ capture, secondary FIFO using external DMA, s/w reset control,
+ internal mux for root clock source with all root clock sampling
+ frequencies supported by Exynos7 I2S and 7.1 channel TDM support
+ for playback and capture TDM (Time division multiplexing) to allow
+ transfer of multiple channel audio data on single data line.
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 Fri Jan 13 12:17:46 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13100751
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 C6241C54EBD
for ;
Fri, 13 Jan 2023 13:16:52 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S240903AbjAMNQs (ORCPT
);
Fri, 13 Jan 2023 08:16:48 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47228 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S240277AbjAMNQG (ORCPT
);
Fri, 13 Jan 2023 08:16:06 -0500
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43A146A0F5
for ;
Fri, 13 Jan 2023 05:06:40 -0800 (PST)
Received: from epcas5p2.samsung.com (unknown [182.195.41.40])
by mailout4.samsung.com (KnoxPortal) with ESMTP id
20230113130638epoutp04186f312e1ca4598420f428b483b848ed~54Cfuea5_1090210902epoutp04U
for ;
Fri, 13 Jan 2023 13:06:38 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com
20230113130638epoutp04186f312e1ca4598420f428b483b848ed~54Cfuea5_1090210902epoutp04U
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1673615198;
bh=sBSRBzG0AQsIk4/QpJhOfNlFsSkR8zqwfdpCy/Qu8/4=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=QENJE6tJFPXKGmEFq0H0dlD3FoVxHBy6FDw/TlDxo6fMX7mEXRvJWoFaww4rqGpij
5CP12bm3zkyiFdaIMnSigYcHCOVzqOHbqpoETTN7A3yr6XuqXY81eGURn7etP5q09B
DtAbhJ7mJlNNu8+PqDm0YeG+HHEzO8Ej/c0vLtCk=
Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230113130638epcas5p38d2c4653c6e7f8729eac4caa2ca99d6e~54CfMgBUq2978829788epcas5p3r;
Fri, 13 Jan 2023 13:06:38 +0000 (GMT)
Received: from epsmges5p1new.samsung.com (unknown [182.195.38.179]) by
epsnrtp3.localdomain (Postfix) with ESMTP id 4NthWc3lqNz4x9Pr;
Fri, 13 Jan
2023 13:06:36 +0000 (GMT)
Received: from epcas5p3.samsung.com ( [182.195.41.41]) by
epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
94.A9.02301.C5751C36; Fri, 13 Jan 2023 22:06:36 +0900 (KST)
Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTPA id
20230113121821epcas5p4ebd116d75f12dafeb09391eb6f7a2646~53YV20UKO1715317153epcas5p4i;
Fri, 13 Jan 2023 12:18:21 +0000 (GMT)
Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by
epsmtrp2.samsung.com (KnoxPortal) with ESMTP id
20230113121821epsmtrp225b0ae2eddb4bdc30719db3424617acc~53YV0o8UZ1441514415epsmtrp2g;
Fri, 13 Jan 2023 12:18:21 +0000 (GMT)
X-AuditID: b6c32a49-201ff700000108fd-9b-63c1575c5439
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id
95.65.10542.D0C41C36; Fri, 13 Jan 2023 21:18:21 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230113121818epsmtip2961cb8d899e26a39bab35f9968104f19~53YTI7ade0625706257epsmtip2g;
Fri, 13 Jan 2023 12:18:18 +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 v3 2/5] ASoC: samsung: i2s: add support for FSD I2S
Date: Fri, 13 Jan 2023 17:47:46 +0530
Message-Id: <20230113121749.4657-3-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:
H4sIAAAA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CTX1Zu4b93W+m+eF/217GdudUi20u2DK4wq5j1ZFV4etrzt
5I51PLlH084WzVj0r+BXodF5noeLjoROm/KZSYslv3/GQos/a9WSb+xcJMWxcafJ8y6JU8ov
Jy9bluvPdGWRZux5191CGmItfAkvr846eUyJpTgj0VCLuag4EQDrM9Se5QIAAA==
X-CMS-MailID: 20230113121821epcas5p4ebd116d75f12dafeb09391eb6f7a2646
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230113121821epcas5p4ebd116d75f12dafeb09391eb6f7a2646
References: <20230113121749.4657-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.
Reported-by: kernel test robot
Signed-off-by: Padmanabhan Rajanbabu
---
sound/soc/samsung/i2s-regs.h | 1 +
sound/soc/samsung/i2s.c | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/sound/soc/samsung/i2s-regs.h b/sound/soc/samsung/i2s-regs.h
index b4b5d6053503..138e95581979 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..6f96032090de 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,9 @@ static int i2s_trigger(struct snd_pcm_substream *substream,
return -EINVAL;
}
+ if (priv->fixup_late)
+ priv->fixup_late(substream, dai);
+
if (capture)
i2s_rxctrl(i2s, 1);
else
@@ -1410,6 +1425,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 +1580,31 @@ static int samsung_i2s_remove(struct platform_device *pdev)
return 0;
}
+static 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, 0, SND_SOC_CLOCK_OUT);
+ i2s_set_sysclk(dai, SAMSUNG_I2S_OPCLK, 0, MOD_OPCLK_PCLK);
+ }
+}
+
+static 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 +1694,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 +1728,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 Fri Jan 13 12:17:47 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13100752
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 27E7FC54EBD
for ;
Fri, 13 Jan 2023 13:17:29 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S241856AbjAMNR1 (ORCPT
);
Fri, 13 Jan 2023 08:17:27 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47512 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S240463AbjAMNQM (ORCPT
);
Fri, 13 Jan 2023 08:16:12 -0500
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 280EE6ADB2
for ;
Fri, 13 Jan 2023 05:06:51 -0800 (PST)
Received: from epcas5p4.samsung.com (unknown [182.195.41.42])
by mailout4.samsung.com (KnoxPortal) with ESMTP id
20230113130649epoutp04a09a20c0c99cf2a8d16ef4bb30905b88~54Cp2yFHm1468514685epoutp04F
for ;
Fri, 13 Jan 2023 13:06:49 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com
20230113130649epoutp04a09a20c0c99cf2a8d16ef4bb30905b88~54Cp2yFHm1468514685epoutp04F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1673615209;
bh=JnECcqQp5gKNusa22GwjJXHksC+Aak8Uea+HbdnJ/KU=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=lcwaSdixj8P1+FKbGhrk/IJAdn8zeW2P/ELRpm6sUjlgwf8mI18kOEhNXOMijqzQQ
PHy1Lz+9k0RyEMpSaGC17wj15dntkjuSsVoujv0+kz+sLF4/5GJW4z6f7IcA7OPS5I
unHZeLFVidEmwxh7tr9Q+B5cC6xluJZzEIW/9h3c=
Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTP id
20230113130648epcas5p347c7f546dfb5c2484c50897f1493fdf9~54Co4ZVEM2020520205epcas5p3j;
Fri, 13 Jan 2023 13:06:48 +0000 (GMT)
Received: from epsmges5p2new.samsung.com (unknown [182.195.38.182]) by
epsnrtp2.localdomain (Postfix) with ESMTP id 4NthWp5Vlkz4x9Pv;
Fri, 13 Jan
2023 13:06:46 +0000 (GMT)
Received: from epcas5p4.samsung.com ( [182.195.41.42]) by
epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id
BE.94.62806.66751C36; Fri, 13 Jan 2023 22:06:46 +0900 (KST)
Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTPA id
20230113121825epcas5p30053dc48475ee6a8cf33bd5112d9d6ed~53YZoSCsz1981719817epcas5p3n;
Fri, 13 Jan 2023 12:18:25 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp2.samsung.com (KnoxPortal) with ESMTP id
20230113121825epsmtrp242d30dfc0eca5cd8b8cdc43dd5f36f9e~53YZl_Om21441514415epsmtrp2i;
Fri, 13 Jan 2023 12:18:25 +0000 (GMT)
X-AuditID: b6c32a4a-ea5fa7000000f556-cb-63c1576622da
Received: from epsmtip2.samsung.com ( [182.195.34.31]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
F9.19.02211.11C41C36; Fri, 13 Jan 2023 21:18:25 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id
20230113121823epsmtip2eda42c4622372827779b42f6a94e3268~53YXc8g9M0851308513epsmtip2n;
Fri, 13 Jan 2023 12:18:23 +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 v3 3/5] arm64: dts: fsd: Add I2S DAI node for Tesla FSD
Date: Fri, 13 Jan 2023 17:47:47 +0530
Message-Id: <20230113121749.4657-4-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+NgFprNJsWRmVeSWpSXmKPExsWy7bCmlm5a+MFkg53vNCwezNvGZnHl4iEm
i0Obt7JbTH34hM1i/pFzrBZ9Lx4yW3y70sFkcXnXHDaLGef3MVkc3RhssWjrF3aLzl39rBaz
LuxgtWjde4Td4vCbdlaLDd/XMjoIeGz43MTmsXPWXXaPTas62TzuXNvD5rHv7TI2j74tqxg9
1m+5yuLxeZNcAEdUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKL
T4CuW2YO0AdKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElul1IKUnAKTAr3ixNzi0rx0vbzU
EitDAwMjU6DChOyMrpvr2QtOSFY8unKZuYHxtUgXIyeHhICJxJHHl1i6GLk4hAR2M0p8mbme
FcL5xCjxvf8YVOYbo8TjzytZYVq+fV3FCGILCexllFjTyARR1Mok8e3iEjaQBJuAqcSqOY1g
o0QEmpgk2t5MBBvFLLCRUeL0sYdMIFXCAu4Sky/0sIDYLAKqEh1/upm7GDk4eAWsJWY2S0Ns
k5dYveEAWJhTwEZi6fFckDESAks5JDY/bGWDqHGRWLhlAxOELSzx6vgWdghbSuLzu71QNfkS
0z42Q9kVEm0fYertJQ5cmcMCMp9ZQFNi/S59iLCsxNRT68BKmAX4JHp/P4Eq55XY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ILD2eCxIWAqrY+/Ix0wRGvgWMDKsYJVMLinPTc4sNCwzzUsv1ihNzi0vz0vWS83M3
MYJDXUtzB+P2VR/0DjEycTAeYpTgYFYS4d1zdH+yEG9KYmVValF+fFFpTmrxIUZpDhYlcd4L
XSfjhQTSE0tSs1NTC1KLYLJMHJxSDUxn+xaLG685sUH+zd8vW772qdUH2W49t89vu7zu9OXa
R4M4nr++/3jvcx3ZtBtn71/ZUb1dZtnLKxss5gVY8sUWResrTFhhJ9tbp3yxIHPB5T8GhVPe
+q+9PGHN32/Gny7snh/xouDl83QmST7X1j8secLXj+20/xm86ONJ47nvbsxetmChpujEa/tV
Z8z6+2Pv/t8stqtfvdyuHxh8dstL6759EyJnSb54/11fO/Ld0W0e359oWWpd2h29z/HJNQWP
aomz7Tx60xfOWlrSnCPIO627rDip0Efc4NiM2trySz/8rgex9SqkbryVP/UO3wLhgAy1hIAi
5g0Ge5frbcjvUHQ7Ol/lzrGppRf3vX8RcVaJpTgj0VCLuag4EQD+ywC85AIAAA==
X-CMS-MailID: 20230113121825epcas5p30053dc48475ee6a8cf33bd5112d9d6ed
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20230113121825epcas5p30053dc48475ee6a8cf33bd5112d9d6ed
References: <20230113121749.4657-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 I2S 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 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: 13100753
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 64C43C54EBD
for ;
Fri, 13 Jan 2023 13:17:53 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S241866AbjAMNRv (ORCPT
);
Fri, 13 Jan 2023 08:17:51 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48444 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S241758AbjAMNQk (ORCPT
);
Fri, 13 Jan 2023 08:16:40 -0500
Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 805D06D514
for ;
Fri, 13 Jan 2023 05:06:57 -0800 (PST)
Received: from epcas5p2.samsung.com (unknown [182.195.41.40])
by mailout3.samsung.com (KnoxPortal) with ESMTP id
20230113130655epoutp0306228373bf8469e5e43c4a21da435a48~54CvyCsoF3012530125epoutp030
for ;
Fri, 13 Jan 2023 13:06:55 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com
20230113130655epoutp0306228373bf8469e5e43c4a21da435a48~54CvyCsoF3012530125epoutp030
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
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 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-1-p.rajanbabu@samsung.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nVksf9b5nzJDAaxSpsVdo1VcpuUlVW0/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>
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 | 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";
};
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: 13100755
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 4B409C54EBE
for ;
Fri, 13 Jan 2023 13:19:57 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S241904AbjAMNT4 (ORCPT
);
Fri, 13 Jan 2023 08:19:56 -0500
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53618 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S241616AbjAMNT3 (ORCPT
);
Fri, 13 Jan 2023 08:19:29 -0500
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF7D76318C
for ;
Fri, 13 Jan 2023 05:09:14 -0800 (PST)
Received: from epcas5p2.samsung.com (unknown [182.195.41.40])
by mailout4.samsung.com (KnoxPortal) with ESMTP id
20230113130912epoutp04fcf50c15f6dc15a8678f969c0c5e1a18~54EvXUIAi1538415384epoutp04V
for ;
Fri, 13 Jan 2023 13:09:12 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com
20230113130912epoutp04fcf50c15f6dc15a8678f969c0c5e1a18~54EvXUIAi1538415384epoutp04V
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
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 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
0z42Q82skGj7uIEJwraXOHB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awgJfEoh1XgDZwcLAIqErsf6oPEuYVsJa4+Pcc1Hx5idUb
DjCDlHAK2EgsPZ4LscpaYu/Lx0wTGPkWMDKsYpRMLSjOTc8tNiwwzEst1ytOzC0uzUvXS87P
3cQIDnQtzR2M21d90DvEyMTBeIhRgoNZSYR3z9H9yUK8KYmVValF+fFFpTmpxYcYpTlYlMR5
L3SdjBcSSE8sSc1OTS1ILYLJMnFwSjUw5fnML1iXPV+HIeLpip2S56NP8PgxWE9a2C13oX11
67b4goamhRHBLlGthes9q8XWyXSs3mCo9el34cJVb3d0HZ5SaqktZ+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>
Precedence: bulk
List-ID:
X-Mailing-List: linux-samsung-soc@vger.kernel.org
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 {