From patchwork Tue Jan 3 04:56:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmanabhan Rajanbabu X-Patchwork-Id: 13087221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E3CFC5479D for ; Tue, 3 Jan 2023 06:42:09 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1BBA2C81E; Tue, 3 Jan 2023 07:41:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1BBA2C81E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672728127; bh=N7LKRoNWo5qF/zXAbYhEKfZR3EEWYZDxbItjEaEHhB0=; h=From:To:Subject:Date:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:Cc:From; b=FEYUgj1hZAyrNFt3828zLWulY1d/kIAixLt9DRFhJhxritFfQZIdCFW21j4MmsisO LCOFUsj/0d8mezyqiCn2as/pDdhlE0b9hzAbndIBvCoHh6+ucdII0v7FblAPsuL9Lc 8sEbsUBv0pCKKkMNfLCefnWzaNv8Lde18CW13f6A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B7373F8047B; Tue, 3 Jan 2023 07:41:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9F343F804AA; Tue, 3 Jan 2023 07:41:15 +0100 (CET) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 22F21F8001F for ; Tue, 3 Jan 2023 07:41:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 22F21F8001F Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=ueCnYXFw Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230103064105epoutp03a114c9b0b00b0fccd958f4106207b322~2uVAvTlGz2513725137epoutp03f for ; Tue, 3 Jan 2023 06:41:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230103064105epoutp03a114c9b0b00b0fccd958f4106207b322~2uVAvTlGz2513725137epoutp03f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1672728065; bh=sJrBsryZL8QBCKShIN5Y8ReoEPW8pUkX9vNKkHRbpRI=; h=From:To:Cc:Subject:Date:References:From; b=ueCnYXFwQAdeGYqrZPNotJ0gH/OcQOHEX4BGWV7CfcEk9dOakUiksdGcJeHApPs20 o2cebDaLyfuIZyZacnQA37MwW9Rern2FTWAw+4UdUvYS2CtYhXbykaN7u9Hs7u3MM5 rLtj33UMsWSCKQqGpobe0zIAZxJfQRaNs1ijFdFk= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20230103064104epcas5p33bb2641ea1e66b4ea15a9d132cf81cd3~2uU-X139U1851818518epcas5p33; Tue, 3 Jan 2023 06:41:04 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.179]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4NmNRL4kyXz4x9Q9; Tue, 3 Jan 2023 06:41:02 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 24.49.03362.EFDC3B36; Tue, 3 Jan 2023 15:41:02 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20230103045646epcas5p2a9c43bc3bd187ca69653239a0de73152~2s57QlceS2841728417epcas5p27; Tue, 3 Jan 2023 04:56:46 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230103045646epsmtrp1eb30a7ec29e7ef8854b2317fbad38068~2s57L1MLP0134001340epsmtrp1S; Tue, 3 Jan 2023 04:56:46 +0000 (GMT) X-AuditID: b6c32a4b-4e5fa70000010d22-17-63b3cdfea0ef Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 78.05.10542.E85B3B36; Tue, 3 Jan 2023 13:56:46 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230103045643epsmtip2c7798c7769dce991de46496089b04bc8~2s5411mp90074100741epsmtip2p; Tue, 3 Jan 2023 04:56:43 +0000 (GMT) From: Padmanabhan Rajanbabu To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, s.nawrocki@samsung.com, perex@perex.cz, tiwai@suse.com, pankaj.dubey@samsung.com, alim.akhtar@samsung.com, rcsekar@samsung.com, aswani.reddy@samsung.com Subject: [PATCH v2 0/5] ASoC: samsung: fsd: audio support for FSD SoC Date: Tue, 3 Jan 2023 10:26:08 +0530 Message-Id: <20230103045613.100309-1-p.rajanbabu@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAJsWRmVeSWpSXmKPEx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6BeJYZnteif3/LfScX9Y0q1zp2doByjuqRMXKpbqeKP6oit3WLfhl/U2fInnm W7zXlFiKMxINtZiLihMBMlzURM4CAAA= X-CMS-MailID: 20230103045646epcas5p2a9c43bc3bd187ca69653239a0de73152 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230103045646epcas5p2a9c43bc3bd187ca69653239a0de73152 References: X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Padmanabhan Rajanbabu Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The intention of this patch series is to enable audio support on FSD SoC. Changes in v2: 1. New compatible added in Exynos I2S driver for FSD platform. 2. Added Fixup support for Exynos I2S CPU DAI. 3. Migration of manual PSR, OPCLK configuration to Exynos CPU DAI driver as fixup. 4. Migrated from dedicated sound card to simple audio card. 5. Support added for tlv320aic3x-i2c codec on FSD platform. Changes in v1: 1. Add TDM support on samsung I2S interface. 2. Allow sound card to directly configure I2S prescaler divider instead of calculating it from frame clock. 3. The sound card support for FSD SoC which utilizes samsung I2S interface as CPU DAI. Padmanabhan Rajanbabu (5): ASoC: samsung-i2s: add FSD compatibile string ASoC: samsung: i2s: add support for FSD I2S arm64: dts: fsd: Add I2S DAI node for Tesla FSD arm64: dts: fsd: Add codec node for Tesla FSD arm64: dts: fsd: Add sound card node for Tesla FSD .../bindings/sound/samsung-i2s.yaml | 4 ++ arch/arm64/boot/dts/tesla/fsd-evb.dts | 59 +++++++++++++++++++ arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 14 +++++ arch/arm64/boot/dts/tesla/fsd.dtsi | 34 +++++++++++ sound/soc/samsung/i2s.c | 57 ++++++++++++++++++ 5 files changed, 168 insertions(+)