From patchwork Fri Jan 13 12:17:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmanabhan Rajanbabu X-Patchwork-Id: 13100740 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 CBE8DC54EBE for ; Fri, 13 Jan 2023 13:07:52 +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 D7B44A33E; Fri, 13 Jan 2023 14:07:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D7B44A33E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673615270; bh=EHwTOjFXP8HTVxBYOdRryA1auvSIf2kMN5RYRQgCCag=; h=From:To:Subject:Date:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:Cc:From; b=Ijb3mxDSv0Ord18BYWmtomRQUWx34GyiuM/ZWkob2EzA0me+Ff9NnWyW5oLP/XVt/ /2Un32TUUpXrAa6MS8kAxHlwMnuOB9Y6k0/8T2SqEFb7O/s7xbRbbbiLAecUB0rGdZ 3//6H0qOnwZsdGwdfQ9v0qeemZ305MBytxMhGob0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3F6D8F80425; Fri, 13 Jan 2023 14:06:44 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AE47EF804A9; Fri, 13 Jan 2023 14:06:41 +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 11906F8030F for ; Fri, 13 Jan 2023 14:06:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 11906F8030F 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=dHEoZkql Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20230113130631epoutp031a365d00b194bbd1ffff333f815fa2e8~54CZCTeJg3012130121epoutp03p for ; Fri, 13 Jan 2023 13:06:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20230113130631epoutp031a365d00b194bbd1ffff333f815fa2e8~54CZCTeJg3012130121epoutp03p DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1673615191; bh=p+iv+wwnc6wVGcBLnlj21uh8n0GkONB1Oip8n9aIk2A=; h=From:To:Cc:Subject:Date:References:From; b=dHEoZkqleghhBIQ26MCbmQkBZky2XlxDKwZIusbMgdU04ZwPDT3MiKpQ7PFZXNz6c 1QuO2CQCzJvH4Ir5jfuKnXRnZdQdu0SryxNU93bRKCBem6rohugUNEnGbewmIkpfGM jz3lm81uVtn1xE7nRWGtIT9HZyhSRC0qsUtx2Kwg= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20230113130631epcas5p1d1a1ee427a80787c8a95b1073b038ad6~54CYtR3zy0460204602epcas5p1u; Fri, 13 Jan 2023 13:06:31 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.177]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4NthWT2c3sz4x9Pw; Fri, 13 Jan 2023 13:06:29 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 91.94.62806.55751C36; Fri, 13 Jan 2023 22:06:29 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20230113121805epcas5p2b92071fad91b22aecf6b777226440938~53YGpQXL62800028000epcas5p2T; Fri, 13 Jan 2023 12:18:05 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230113121805epsmtrp2e62e750b04f22b5fef42bc85a69d6bd5~53YGoV37d1419914199epsmtrp2u; Fri, 13 Jan 2023 12:18:05 +0000 (GMT) X-AuditID: b6c32a4a-c43ff7000000f556-9a-63c157554bc1 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A5.19.02211.DFB41C36; Fri, 13 Jan 2023 21:18:05 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230113121803epsmtip29d37c13c6c93515bc7aa3d8b78299f3d~53YEf0-M81182411824epsmtip2w; Fri, 13 Jan 2023 12:18:03 +0000 (GMT) From: Padmanabhan Rajanbabu To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, s.nawrocki@samsung.com, perex@perex.cz, tiwai@suse.com, pankaj.dubey@samsung.com, alim.akhtar@samsung.com, rcsekar@samsung.com, aswani.reddy@samsung.com Subject: [PATCH v3 0/5] ASoC: samsung: fsd: audio support for FSD SoC Date: Fri, 13 Jan 2023 17:47:44 +0530 Message-Id: <20230113121749.4657-1-p.rajanbabu@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnk+LIzCtJLcpLz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Yjz8f3 vrJVNfosRtUykquu7WUJ1uMQeiFw2ED13jbr22vidX1jrHdML3nnsixMLTNbcWWBPjtL0NGX 6YFKLMUZiYZazEXFiQB6Ew0+zQIAAA== X-CMS-MailID: 20230113121805epcas5p2b92071fad91b22aecf6b777226440938 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230113121805epcas5p2b92071fad91b22aecf6b777226440938 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" This patch series enables audio support on FSD SoC. Changes in v3: 1. Addressed all the review comments provided for v2 patch. 2. Fixed compilation warnings reported by kernel test robot. 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: dt-bindings: Add FSD I2S controller bindings 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 | 8 +++ arch/arm64/boot/dts/tesla/fsd-evb.dts | 53 +++++++++++++++++++ arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 14 +++++ arch/arm64/boot/dts/tesla/fsd.dtsi | 34 ++++++++++++ sound/soc/samsung/i2s-regs.h | 1 + sound/soc/samsung/i2s.c | 53 +++++++++++++++++++ 6 files changed, 163 insertions(+)