From patchwork Wed Mar 7 16:46:55 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: 10264387 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 24C03602BD for ; Wed, 7 Mar 2018 16:47:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1752C296A8 for ; Wed, 7 Mar 2018 16:47:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BFD0296BF; Wed, 7 Mar 2018 16:47:19 +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 0A5CA296A8 for ; Wed, 7 Mar 2018 16:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933894AbeCGQrP (ORCPT ); Wed, 7 Mar 2018 11:47:15 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:27041 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933386AbeCGQrL (ORCPT ); Wed, 7 Mar 2018 11:47:11 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180307164709epoutp01cc582d95ff6a08ca8500bb701d8fc8b2~ZsT4ZKXt80673506735epoutp01I; Wed, 7 Mar 2018 16:47:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180307164709epoutp01cc582d95ff6a08ca8500bb701d8fc8b2~ZsT4ZKXt80673506735epoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520441229; bh=rotdfRqExn4OOIDp+fGRSAuKQ/E2B9SzYE3L+PvWOnk=; h=From:To:Cc:Subject:Date:References:From; b=pA0wgP2H+dGl0g8PeTKBTkpkUqrH5q12Iw6MiA7RRvKvKKfqbfs1DBHsOamVGWzGT cC9b08IQ0PLtLo2bfgrNxZJU0dNnHB1lQEilvhIrRPd8bK8iVGVVmgNtBYrgnfDEj0 UjG2jq5tR0fwzuFTJd/6mRtlNM2pHCTuiHT/Wm4w= Received: from epsmges1p1.samsung.com (unknown [182.195.42.53]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180307164709epcas1p42555ffe6549a12d426713443392d9feb~ZsT4GzfL32885928859epcas1p4N; Wed, 7 Mar 2018 16:47:09 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id E6.40.04145.D8710AA5; Thu, 8 Mar 2018 01:47:09 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180307164708epcas1p27e6599e85617f559c5c4c8eb92a70a47~ZsT35rmjn2025220252epcas1p2q; Wed, 7 Mar 2018 16:47:08 +0000 (GMT) X-AuditID: b6c32a35-891ff70000001031-f8-5aa0178da1f5 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id FB.5E.03826.C8710AA5; Thu, 8 Mar 2018 01:47:08 +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:08 +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 CLK_SET_RATE_PARENT flag to mout_mau_epll_clk Date: Wed, 07 Mar 2018 17:46:55 +0100 Message-id: <20180307164656.12194-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsWy7bCmnm6v+IIog+kvOCw2zljPanH9y3NW i02Pr7FafOy5x2ox4/w+Jou1R+6yW1w85Wpx+E07q8W/axtZHDg93t9oZffYtKqTzWPzknqP vi2rGD0+b5ILYI3isklJzcksSy3St0vgyri+8DpTQQtHxan775kaGN+ydTFyckgImEi827EH yObiEBLYwSix99MiFgjnO6PE4WlzGWGq+n82QyU2MEr0n17KCuH8YpTY+uk7C0gVm4ChRO/R PrAOEQFZiVvHfoLNZRb4wihx8/pHsCJhgTiJL/v+gNksAqoSJxf/AGvgFbCW2NR9gxVinbzE +wX3GUGaJQR+skosOdMDda2LRP/yHVBFwhKvjm9h72LkALKlJS4dtYUIV0t0tnWxQ/S2MEr8 mXYJqtda4vDxi2C9zAJ8Eu++9rBC9PJKdLQJQZR4SGxoegUVdpTYssUNJCwkECuxYeEStgmM kgsYGVYxiqUWFOempxYbFhjqFSfmFpfmpesl5+duYgRHo5bpDsYp53wOMQpwMCrx8Er8mR8l xJpYVlyZe4hRgoNZSYT3CUiINyWxsiq1KD++qDQntfgQozQHi5I4b0CAS5SQQHpiSWp2ampB ahFMlomDU6qBUahk/guvmAXNeRt6Yn51/brqcPDM97bjVYvnyseLK9g8kY5PNxVQjpx/apOQ lrDC/cWLLj4wLFp8WzPd68Z89pn603PLFT94P5unfD8+vHeZl9F6s8Prevxl48t+3uk/niR1 6n/VdZMuA8UcrrbEc+ujFPkWeh/l7Dzd53TDeZ4S//62+btPK7EUZyQaajEXFScCAPWaJSTC AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLJMWRmVeSWpSXmKPExsVy+t9jQd0e8QVRBp8umVpsnLGe1eL6l+es FpseX2O1+Nhzj9Vixvl9TBZrj9xlt7h4ytXi8Jt2Vot/1zayOHB6vL/Ryu6xaVUnm8fmJfUe fVtWMXp83iQXwBrFZZOSmpNZllqkb5fAlXF94XWmghaOilP33zM1ML5l62Lk5JAQMJHo/9nM 0sXIxSEksI5R4ufTxVDOL0aJpxN6warYBAwleo/2MYLYIgKyEreO/WQDKWIW+MIo0drUzwSS EBaIk/iy7w8LiM0ioCpxcvEPsAZeAWuJTd03WCHWyUu8X3CfcQIj1wJGhlWMkqkFxbnpucVG BYZ5qeV6xYm5xaV56XrJ+bmbGIGBsu2wVt8OxvtL4g8xCnAwKvHwSvyZHyXEmlhWXJl7iFGC g1lJhPcJSIg3JbGyKrUoP76oNCe1+BCjNAeLkjjv7bxjkUIC6YklqdmpqQWpRTBZJg5OqQbG ms32feuCPgqd/X67Rq5yltznby8O/Mmv/7A+/svbpxNf8Ly2+y38013EaMppU5mIB1oGJ65O DKq94C+58HjbuadzVj9KPs3E2vQgUlzy/YpkK78LmwV4D0kt757Y+z/8TfTV/xu+rws/0PX5 x58o/deTL+0IuvCfb02lcHHIrbZTNVtVG4TLGpVYijMSDbWYi4oTAUJswaYQAgAA X-CMS-MailID: 20180307164708epcas1p27e6599e85617f559c5c4c8eb92a70a47 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180307164708epcas1p27e6599e85617f559c5c4c8eb92a70a47 X-RootMTR: 20180307164708epcas1p27e6599e85617f559c5c4c8eb92a70a47 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 This allows changing the EPLL output frequency through the audio subsystem clock tree leaf clocks. This change is needed to support audio on the HDMI interface on Peach-Pi(t) Chromebook. Signed-off-by: Sylwester Nawrocki Acked-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5420.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 8c050ff63536..1f204ba37f0f 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -621,7 +621,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { MUX(CLK_MOUT_MX_MSPLL_CCORE, "mout_mx_mspll_ccore", mout_group5_5800_p, SRC_TOP7, 16, 2), - MUX(0, "mout_mau_epll_clk", mout_mau_epll_clk_p, SRC_TOP7, 20, 2), + MUX_F(0, "mout_mau_epll_clk", mout_mau_epll_clk_p, SRC_TOP7, 20, 2, + CLK_SET_RATE_PARENT, 0), MUX(0, "mout_fimd1", mout_group3_p, SRC_DISP10, 4, 1), };