From patchwork Wed Mar 7 16:46:56 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: 10264393 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 19F0A602BD for ; Wed, 7 Mar 2018 16:47:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C7AC292CD for ; Wed, 7 Mar 2018 16:47:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 017F129314; Wed, 7 Mar 2018 16:47:42 +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 98A96292CD for ; Wed, 7 Mar 2018 16:47:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934000AbeCGQrk (ORCPT ); Wed, 7 Mar 2018 11:47:40 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:12737 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933937AbeCGQrg (ORCPT ); Wed, 7 Mar 2018 11:47:36 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180307164733epoutp03de61fca14d12cf12beff0b0d34532639~ZsUPCORCc2848628486epoutp03F; Wed, 7 Mar 2018 16:47:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180307164733epoutp03de61fca14d12cf12beff0b0d34532639~ZsUPCORCc2848628486epoutp03F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520441253; bh=RK0h/UxwtuxGzO8INd/WwKGyJ0Bin/0zH3PLcCeVGP4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=eYfEdZH8mzzWR6QXAICgWtOrqYksztFqAbMis2dbfpcmqlfQ7gbgyJE6Kg2yPjGTj nYeOkEEVNbZbENUSu6/GWQwOnF5wyA9E8P5nE9tBSNYw6C2dOQm1VNx1P8ORlZQvYs Xk3FOwthC9nBnTgFYb5RT3yvkIwvL6kR7DtDCMZ4= Received: from epsmges1p4.samsung.com (unknown [182.195.42.56]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180307164733epcas1p2760d20181022036497cfb728e09108e2~ZsUOihRfH2822028220epcas1p2U; Wed, 7 Mar 2018 16:47:33 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id C7.10.04180.5A710AA5; Thu, 8 Mar 2018 01:47:33 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180307164733epcas1p3695c022315be8d2839ac9e88016e3a76~ZsUOWKjzc2717327173epcas1p3i; Wed, 7 Mar 2018 16:47:33 +0000 (GMT) X-AuditID: b6c32a38-ac3ff70000001054-bf-5aa017a5ddd6 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5F.5E.03826.4A710AA5; Thu, 8 Mar 2018 01:47:33 +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 <0P5800EGRBYBR910@mmp2.samsung.com>; Thu, 08 Mar 2018 01:47:32 +0900 (KST) From: Sylwester Nawrocki To: linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, cw00.choi@samsung.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH] clk: samsung: exynos5420: Add more entries to EPLL rate table Date: Wed, 07 Mar 2018 17:46:56 +0100 Message-id: <20180307164656.12194-2-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180307164656.12194-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsWy7bCmge5S8QVRBh0PeSw2zljPanH9y3NW i02Pr7FafOy5x2ox4/w+Jou1R+6yW1w85Wpx+E07q8W/axtZHDg93t9oZffYtKqTzWPzknqP vi2rGD0+b5ILYI3isklJzcksSy3St0vgyph/9RlLwTqOis0XvjI1MHawdzFyckgImEis29UN ZHNxCAnsYJSYMWk7C4TznVHi99rZrDBVTy/8ZYJIbGCU2PO+E8r5xShx48NtsFlsAoYSvUf7 GEFsEQFZiVvHfrKBFDELfGGUuHn9IwtIQlggQGLX13NgNouAqsT11lVsIDavgLXEhgsQcQkB eYn3C+6DDeIUsJGYuKwX7EAJgQlsEg9P/gFyOIAcF4mjD0Mg6oUlXh3fAhWWlrh01BYiXC3R 2dYF1drCKPFn2iU2iIS1xOHjF8FeYxbgk3j3tYcVopdXoqNNCKLEQ2L1z+1Q3ztKfOndywrx cD+jxKxnL1knMEotYGRYxSiWWlCcm55abFhgolecmFtcmpeul5yfu4kRHKdaFjsY95zzOcQo wMGoxMN74Of8KCHWxLLiytxDjBIczEoivE/+AIV4UxIrq1KL8uOLSnNSiw8xSnOwKInzBgS4 RAkJpCeWpGanphakFsFkmTg4pRoYN4QfjbGT2BSUcyh1gjoP34Lvm+sa1UPCmJn+GaQ/kbFm +qqtrSdzZOlu/7sL0qIaN2lusDq2I2y+VYR0k9cStSL29gvBHlpih9dO57z1pG7ObNGSoCM/ jnj/KUmdXF0tavMj//mJ9Wtv7n9y8+a5+hjREzfXekRmxKle5UuKNGh8IZW59fRuJZbijERD Leai4kQA3pCm888CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMLMWRmVeSWpSXmKPExsVy+t9jQd2l4guiDBZ0MlpsnLGe1eL6l+es FpseX2O1+Nhzj9Vixvl9TBZrj9xlt7h4ytXi8Jt2Vot/1zayOHB6vL/Ryu6xaVUnm8fmJfUe fVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlTH/6jOWgnUcFZsvfGVqYOxg72Lk5JAQMJF4euEv E4gtJLCOUWLXK1YI+xejxJ+d2iA2m4ChRO/RPkYQW0RAVuLWsZ9sXYxcHMwCXxglWpv6wZqF Bfwk/t86B1bEIqAqcb11FRuIzStgLbHhwjkWiGXyEu8X3Aer4RSwkZi4rJcdYpm1xL1PDcwT GHkWMDKsYpRMLSjOTc8tNiowzEst1ytOzC0uzUvXS87P3cQIDKpth7X6djDeXxJ/iFGAg1GJ h1fiz/woIdbEsuLK3EOMEhzMSiK8T0BCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeW/nHYsUEkhP LEnNTk0tSC2CyTJxcEoBg2WaXMFhHz7+yDLxzGlcl/T6z79LCWzomWV25MRrgeMhSvyS3ZvO fg/6NOO2XreT5qtCw60LzuXPn/Do3xyhpz/c5qmXz6q6s07rXPYNh5SWHW+cAt4Is4UcWRdT dG/mJ6XKo3y/ZNbNFIu/9jztgOlTZgOT64LSc5a8i7nU7uMge3Luszd8K5RYijMSDbWYi4oT AeKDZr4mAgAA X-CMS-MailID: 20180307164733epcas1p3695c022315be8d2839ac9e88016e3a76 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180307164733epcas1p3695c022315be8d2839ac9e88016e3a76 X-RootMTR: 20180307164733epcas1p3695c022315be8d2839ac9e88016e3a76 References: <20180307164656.12194-1-s.nawrocki@samsung.com> 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 Adding these EPLL output frequency entries allows to support all required audio sample rates on the CODEC and the HDMI interface on Peach-Pit Chromebook. Signed-off-by: Sylwester Nawrocki Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5420.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 1f204ba37f0f..f2607cb97a97 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -1360,8 +1360,11 @@ static const struct samsung_pll_rate_table exynos5420_epll_24mhz_tbl[] = { PLL_36XX_RATE(180633609U, 301, 5, 3, 3671), PLL_36XX_RATE(131072006U, 131, 3, 3, 4719), PLL_36XX_RATE(100000000U, 200, 3, 4, 0), + PLL_36XX_RATE( 73728000U, 98, 2, 4, 19923), + PLL_36XX_RATE( 67737602U, 90, 2, 4, 20762), PLL_36XX_RATE( 65536003U, 131, 3, 4, 4719), PLL_36XX_RATE( 49152000U, 197, 3, 5, -25690), + PLL_36XX_RATE( 45158401U, 90, 3, 4, 20762), PLL_36XX_RATE( 32768001U, 131, 3, 5, 4719), };