From patchwork Fri Sep 20 13:02:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 11154387 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D805E14ED for ; Fri, 20 Sep 2019 13:02:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD86220C01 for ; Fri, 20 Sep 2019 13:02:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="dWU7/Kea" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726931AbfITNCn (ORCPT ); Fri, 20 Sep 2019 09:02:43 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:52770 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbfITNCm (ORCPT ); Fri, 20 Sep 2019 09:02:42 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190920130240euoutp0298294df5a4236745394483e70dd02fe7~GJyUlEMyo2451024510euoutp02l for ; Fri, 20 Sep 2019 13:02:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190920130240euoutp0298294df5a4236745394483e70dd02fe7~GJyUlEMyo2451024510euoutp02l DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568984560; bh=BchkBTQspeIDzutFJIeK4Onaadt8x5arqRDNHXthQ7w=; h=From:To:Cc:Subject:Date:References:From; b=dWU7/KeabY3grQRMH1AXJzuDWbkG7/ZIj1YrDhFJm2j5zeg+VzIyjestwKSS+FJYJ EBjMRshInjU16Cm5ZXXJh1eCsQAYnsRCwAtu6NoC6Hb9Ta6uNU6UwzpVdRBp+m9efA QDk+b8+6lbHgR4Aafmae9ugNjNGk7G/BIdOjyadc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190920130239eucas1p2d1302e0a4d05f59e4e90b202a52d0004~GJyTnxGNZ1581315813eucas1p2F; Fri, 20 Sep 2019 13:02:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id B1.6A.04374.FEDC48D5; Fri, 20 Sep 2019 14:02:39 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190920130238eucas1p147fca337fa84592ac7f83760449e26a1~GJySuD2cN2907129071eucas1p12; Fri, 20 Sep 2019 13:02:38 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190920130238eusmtrp13b4c6124a69d5f4b661f35270e78da48~GJyST4JNV0476604766eusmtrp1D; Fri, 20 Sep 2019 13:02:38 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-a3-5d84cdef18cb Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 92.F0.04117.EEDC48D5; Fri, 20 Sep 2019 14:02:38 +0100 (BST) Received: from AMDC3061.DIGITAL.local (unknown [106.120.51.75]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190920130237eusmtip204165d8c1eab4b4b8f27c099fc9acc0c~GJyRn90NH1284512845eusmtip2O; Fri, 20 Sep 2019 13:02:37 +0000 (GMT) From: Sylwester Nawrocki To: broonie@kernel.org, krzk@kernel.org Cc: lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, sbkim73@samsung.com, alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, patches@opensource.cirrus.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH v2 00/10] Basic sound support for Arndale board / wm8994 updates Date: Fri, 20 Sep 2019 15:02:09 +0200 Message-Id: <20190920130218.32690-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTURz37O7uXkdXjlPyoGY0yliQZhndMkQx5FJfJPpiMmxuFxXdlE0t 80O6tNR8pdlMlKwMbZmuZctHPphuq0RNNBVUzBQqHxjNBNEyt4v17ffk9z9wSExUjXuTiao0 Vq2SJYsFQr7JujF8dHUwV3qssxXSYyNmHv2yqgWnK+cWBPRYnhHQD/uHcHp42EDQ62P5PNo4 P47TVcPdPPpF/wxB21d7cDqvq5+g+5Zv4/RI4xovzI0x2LUCpr16hmCM+gIB86r+BqOr2QZM SaseMHajXxRxWXhWwSYnZrDqwNArwoTst1Ys1Q6v/cgdF2SDHKoQkCSCwajpXmIhEJIi2AjQ 3Gw3nyNrAH0aHMU5YgeoaaoD7DZ+d8k5vQGgtf5N/F+jp81EFAJXUgCDULGlBDiwJzyMZqu0 zhAGv/NQmaWZ5zA84EW00qxzYj48hEZLtc4FCoag3BmFQ0ZwP3pu6MUcXQR1BKqecqw5jHPo 66NvGIc90KKtleCwLxqoKOJzhZsAFXVOERwpA2jWVge4VAjqs43gjjUMSlBLRyAnh6PN6WKC e6Ybmlxxd8jYDiw36TBOplD+LRGXPog29dz5CHqjOwvbfA4z6IEtx6mLoBT1flgQlAG/6v9b dQDogRebrlHGs5oTKvZqgEam1KSr4gPkKUoj2PkxA39sv9pA91acGUASiPdQjDVXKsJlGZpM pRkgEhN7UjUntVIRpZBlXmfVKbHq9GRWYwY+JF/sRWW5fI4RwXhZGpvEsqmsetflka7e2SCp fMAQ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: 20190920130238eucas1p147fca337fa84592ac7f83760449e26a1 X-Msg-Generator: CA X-RootMTR: 20190920130238eucas1p147fca337fa84592ac7f83760449e26a1 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190920130238eucas1p147fca337fa84592ac7f83760449e26a1 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch series adds basic audio support for Exynos5250 SoC based Arndale board, the Bluetooth receiver source and HDMI output are not covered yet. There is also one fix for wm8994 driver related to WM1811 CODEC and wm8994 updates to handle MCLK clocks, similar to patches: ae1ea48c5c59 ("ASoC: arizona: Add gating for source clocks of the FLLs") 7a4413d0dc96 ("ASoC: arizona: Add gating for clock when used for direct MCLK") The main changes since v1: - Fixed bug in "ASoC: wm8994: Add support for MCLKn clock gating" patch (thanks to Charles), - dropped the MFD part patch and moved getting of clocks to the CODEC driver, - Added missing Kconfig entries to patch "ASoC: samsung: arndale: Add support for WM1811 CODEC", - Added a patch renaming the driver and a patch for exynos_defconfig. Sylwester Nawrocki (10): ASoC: wm8994: Do not register inapplicable controls for WM1811 ASoC: samsung: arndale: Add missing OF node dereferencing ASoC: wm8994: Add support for setting MCLK clock rate ASoC: wm8994: Add support for MCLKn clock gating ASoC: samsung: arndale: Simplify DAI link initialization ASoC: dt-bindings: Document "samsung,arndale-wm1811" compatible ASoC: samsung: arndale: Add support for WM1811 CODEC ASoC: samsung: Rename Arndale card driver ARM: dts: arndale: Add audio support (WM1811 CODEC boards) ARM: exynos_defconfig: Enable Arndale audio driver .../devicetree/bindings/sound/arndale.txt | 5 +- arch/arm/boot/dts/exynos5250-arndale.dts | 27 ++- arch/arm/configs/exynos_defconfig | 1 + sound/soc/codecs/wm8994.c | 199 +++++++++++++--- sound/soc/codecs/wm8994.h | 10 +- sound/soc/samsung/Kconfig | 12 +- sound/soc/samsung/Makefile | 4 +- sound/soc/samsung/arndale.c | 217 ++++++++++++++++++ sound/soc/samsung/arndale_rt5631.c | 138 ----------- 9 files changed, 438 insertions(+), 175 deletions(-) create mode 100644 sound/soc/samsung/arndale.c delete mode 100644 sound/soc/samsung/arndale_rt5631.c