From patchwork Mon Feb 12 15:52:27 2018 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: 10213427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 69B1260236 for ; Mon, 12 Feb 2018 15:53:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AB1A27F90 for ; Mon, 12 Feb 2018 15:53:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54FE228727; Mon, 12 Feb 2018 15:53:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DC8A28F48 for ; Mon, 12 Feb 2018 15:52:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932272AbeBLPwo (ORCPT ); Mon, 12 Feb 2018 10:52:44 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:15767 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753604AbeBLPwm (ORCPT ); Mon, 12 Feb 2018 10:52:42 -0500 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180212155240epoutp027734bfaa39831f7ace37acc6f818d1ad~Snuv8ETM53216032160epoutp02D; Mon, 12 Feb 2018 15:52:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180212155240epoutp027734bfaa39831f7ace37acc6f818d1ad~Snuv8ETM53216032160epoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1518450760; bh=jz9NURNoR2DlXToi+/xToE/FsKJVS7I09sSgIfLidNg=; h=From:To:Cc:Subject:Date:References:From; b=KIfGoknGHjoObJPpBpIoI8S3uR5FcHQmkFDPBurDx3q+8ffIu+tE+8jYs3QgN8eV+ nEZD1kNFFOEU16v0kZfXU18wijRuPuMwoRLMq3t197ZTaGQ9M2zAiNw9cQUJvU1P8i C2LeAq8Ae4aznRYaLnj7RhGka6L1HgmxtakPpAh0= Received: from epsmges2p2.samsung.com (unknown [182.195.42.70]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20180212155240epcas2p2cb600d92af5b5ed257d74bcad15c2706~SnuvuQ8Uy3251232512epcas2p2y; Mon, 12 Feb 2018 15:52:40 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 38.C4.04137.848B18A5; Tue, 13 Feb 2018 00:52:40 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180212155239epcas2p34dad3d106036f65e5ee566a593a983e3~SnuuiHJ8a2289322893epcas2p3-; Mon, 12 Feb 2018 15:52:39 +0000 (GMT) X-AuditID: b6c32a46-3c1ff70000001029-e0-5a81b84823b4 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 46.03.03890.748B18A5; Tue, 13 Feb 2018 00:52:39 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P41004M9O3H7090@mmp2.samsung.com>; Tue, 13 Feb 2018 00:52:39 +0900 (KST) From: Sylwester Nawrocki To: linux-clk@vger.kernel.org Cc: sboyd@codeaurora.org, mturquette@baylibre.com, linux-samsung-soc@vger.kernel.org, cw00.choi@samsung.com, linux-kernel@vger.kernel.org, krzk@kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH v2] clk: exynos5433: Extend list of available AUD_PLL output frequencies Date: Mon, 12 Feb 2018 16:52:27 +0100 Message-id: <20180212155227.20605-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsWy7bCmua7HjsYog22bpS02zljPanH9y3NW i/PnN7BbfOy5x2pxedccNosZ5/cxWaw9cpfd4uIpV4vDb9pZLX6c6WZx4PJ4f6OV3eNyXy+T x6ZVnWwefVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlbHp4EX2gi72iqX7PjM3MH5m7WLk5JAQ MJE4e/oISxcjF4eQwA5GiW2/HkE53xklVl9awwRT1fh6BVRiA6PEycmHmCCcX4wS36eeZgGp YhMwlOg92scIYosIyErcOvaTDcRmFmhkkvj2wR7EFhaIkth/5BNYnEVAVeLTh3/sIDavgLXE 6ZYJ7BDb5CXeL7jPCLJAQqCRTWLllmlQCReJd3N2M0LYwhKvjm+BiktLPFu1Eaqhn1Hi4/H9 LBDOakaJ1992Qb1qLXH4+EVWiJP4JDoO/wXq5gCK80p0tAlBlHhIfFlzng3CdpT41vqNGaRE SCBW4urz4AmMkgsYGVYxiqUWFOempxYbFRjpFSfmFpfmpesl5+duYgTHppbbDsYl53wOMQpw MCrx8HbMbowSYk0sK67MPcQowcGsJML7pxkoxJuSWFmVWpQfX1Sak1p8iFGag0VJnLc1wCVK SCA9sSQ1OzW1ILUIJsvEwSnVwLgtm+/w4snyzYUd90rfqzL9sal5xcuo2jRbd8aNGdvk468F HOwwPbZ8z9MUx/fOXZbXFsr4rHx7YJFBMfPLQ+fc0u6xrjl977Fp97+XiQ8rNvgL5SxZNFEm TqT6ns5Zg37fj+EeXJt572WuU9YTN30771hUNadnOPeNLV0HX715qx24c+eBd1eVWIozEg21 mIuKEwEF4OUCyQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmluLIzCtJLcpLzFFi42I5/e+xoK77jsYog+37eSw2zljPanH9y3NW i/PnN7BbfOy5x2pxedccNosZ5/cxWaw9cpfd4uIpV4vDb9pZLX6c6WZx4PJ4f6OV3eNyXy+T x6ZVnWwefVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlbHp4EX2gi72iqX7PjM3MH5m7WLk5JAQ MJFofL2CpYuRi0NIYB2jxNwlu6CcX4wSx5ofMoFUsQkYSvQe7WMEsUUEZCVuHfvJBlLELNDI JPHlUycbSEJYIEpi/5FPYDaLgKrEpw//2EFsXgFridMtE9gh1slLvF9wn3ECI9cCRoZVjJKp BcW56bnFRgVGeanlesWJucWleel6yfm5mxiBQbPtsFb/DsbHS+IPMQpwMCrx8HbMbowSYk0s K67MPcQowcGsJML7pxkoxJuSWFmVWpQfX1Sak1p8iFGag0VJnJc//1ikkEB6YklqdmpqQWoR TJaJg1OqgVGK57Zigsoljnr5BANLcTWJOU9f38241rb5z4wMx6ozbyIrxfdFPupcFKxYw7ji 5FRf7b1vJrJpm9mcypb+N8WvMuuw9sLrYosYXlzZ8StG0HjxZGWFaov26XvK93hphr5fXR3M lRHE8MEw/lmyuX/W+vVvIyYtyForKuReeC2yPJ7/2sOKI0osxRmJhlrMRcWJAOjjE4sWAgAA X-CMS-MailID: 20180212155239epcas2p34dad3d106036f65e5ee566a593a983e3 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180212155239epcas2p34dad3d106036f65e5ee566a593a983e3 X-RootMTR: 20180212155239epcas2p34dad3d106036f65e5ee566a593a983e3 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add one more entry to the exynos5433_aud_pll_rates table, this allows to support audio sample rates: 48000, 96000, 192000 Hz with minimum error. The M, P, S, K values re confirmed by the HW team. Signed-off-by: Sylwester Nawrocki Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5433.c | 1 + 1 file changed, 1 insertion(+) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/samsung/clk-exynos5433.c b/drivers/clk/samsung/clk-exynos5433.c index ebd18586e325..b08a9028653f 100644 --- a/drivers/clk/samsung/clk-exynos5433.c +++ b/drivers/clk/samsung/clk-exynos5433.c @@ -765,6 +765,7 @@ static const struct samsung_pll_rate_table exynos5433_aud_pll_rates[] __initcons PLL_36XX_RATE(294912000U, 98, 1, 3, 19923), PLL_36XX_RATE(288000000U, 96, 1, 3, 0), PLL_36XX_RATE(252000000U, 84, 1, 3, 0), + PLL_36XX_RATE(196608001U, 197, 3, 3, -25690), { /* sentinel */ } };