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: 639001 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 D5E9DC3DA7D for ; Tue, 3 Jan 2023 06:42:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjACGmA (ORCPT ); Tue, 3 Jan 2023 01:42:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236758AbjACGln (ORCPT ); Tue, 3 Jan 2023 01:41:43 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EB4D125 for ; Mon, 2 Jan 2023 22:41:07 -0800 (PST) Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20230103064105epoutp02b0472f44fc94ce576d2c7f0d1508cf46~2uVA1cXhM2497924979epoutp028 for ; Tue, 3 Jan 2023 06:41:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20230103064105epoutp02b0472f44fc94ce576d2c7f0d1508cf46~2uVA1cXhM2497924979epoutp028 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 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 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+NgFprAJsWRmVeSWpSXmKPExsWy7bCmpu6/s5uTDXaeVrV4MG8bm8WVi4eY LA5t3spuMfXhEzaL+UfOsVr0vXjIbPHtSgeTxeVdc9gsZpzfx2RxdGOwxaKtX9gtOnf1s1rM urCD1aJ17xF2i8Nv2lktNnxfy+gg4LHhcxObx85Zd9k9Nq3qZPO4c20Pm8e+t8vYPPq2rGL0 WL/lKovH501yARxR2TYZqYkpqUUKqXnJ+SmZeem2St7B8c7xpmYGhrqGlhbmSgp5ibmptkou PgG6bpk5QB8oKZQl5pQChQISi4uV9O1sivJLS1IVMvKLS2yVUgtScgpMCvSKE3OLS/PS9fJS S6wMDQyMTIEKE7IzJjTNYSzYwVWxZ+U89gbGXo4uRk4OCQETiSNrZjN3MXJxCAnsZpQ4vXc7 K4TziVHiwOtWNgjnM6PE+8+L2GBaFs1/yApiCwnsYpQ42h0BUdTKJDF9/R9GkASbgKnEqjmN YKNEBJqYJNreTGQBcZgFNgItOfaQCaRKWMBV4vvvu2AdLAKqEh+ObmEGsXkFbCXWvO+FWicv sXrDAbALJQRaOSQ+TZzLApFwkWjZOoEVwhaWeHV8CzuELSXxsr8Nys6XmPaxGWpQhUTbxw1M ELa9xIErc4DmcABdpCmxfpc+R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LDQuM8lLL9YoTc4tL89L1kvNzNzGCw1dLawfjnlUf9A4xMnEwHmKU 4GBWEuGd9GJTshBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeC10n44UE0hNLUrNTUwtSi2CyTByc Ug1M+UHiG9esrk8/F6+g/bb5nexUJ7+dN7yeXGOb2b3IQZ519cbqgzaZbM02et/1ztnlOC2Z eX5hXP+K7s3J87Ll19kv+5jNFPn6yLuo18ue9zxRW93R/6q9cNGUSRP8m/e82X3RZlnFhv5T S5I12naG6R1xyLyZ5xRy8vCjmh2em4RmWP9imfU3R6bepfAo+0+GIKZ8yzUXHkZtSK1+VHj5 Nsft787bsj7PWCO+4HewDVMcj+uKVIntN9YIsq5KfPZDXk6fz/Rq+7Qjc5/P/qC0XHTFM2nH 33xqBfdjquv6BeJYZnteif3/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: Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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(+)