From patchwork Fri Oct 20 07:43:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 828491 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AaBOz5BP"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yJHqW53lbz9t6J for ; Fri, 20 Oct 2017 18:44:07 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=kQDtzn3HvahkXe7U0IrvlYLJch/MJVc5NO3jtTXaLEc=; b=AaB Oz5BPrHRwh1t9qADH7l5c3DUudioDyurkg7pOm5s6rfguiO9dTUheazBZKmW6IwFmZrDNa7ULad6D bUXAW/esuUJee76xBa/hHM/nTWnMivmiEOdsdyEI1ru5ept01JACWx1XS6NXbQtYoItH9w+gBuY4m AnZMHQtQFttcxFPaRP2YneWtDb9ca6bmZgip1lrzB/ptGsa7w6/Dgjty7DsF0DxuA4j2eHPp7xUnG W3KmcvTfshFY/L0GHiuCiaU2XiEy4EF/2LG1bDH+Vlp2Q1AFpBGtv0aTR9UFcSTKfikXkbOVPt18L v3l6wWE0q3cs/1F0uL/m7mXpnbhAQXQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5RyM-0005UV-Ah; Fri, 20 Oct 2017 07:44:02 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5RyH-0005BU-EX for linux-arm-kernel@lists.infradead.org; Fri, 20 Oct 2017 07:44:00 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 39BD2203A9; Fri, 20 Oct 2017 09:43:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.190]) by mail.free-electrons.com (Postfix) with ESMTPSA id BEAA4203A4; Fri, 20 Oct 2017 09:43:24 +0200 (CEST) Date: Fri, 20 Oct 2017 09:43:24 +0200 From: Maxime Ripard To: Mike Turquette , Stephen Boyd Subject: [GIT PULL] Allwinner clock changes for 4.15 Message-ID: <20171020074324.y5ykvzhst3uq6kbz@flea> MIME-Version: 1.0 User-Agent: NeoMutt/20171013 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171020_004357_917087_A30426F9 X-CRM114-Status: GOOD ( 16.41 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chen-Yu Tsai , Maxime Ripard , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Mike, Stephen, Please pull the following changes for the next merge window. Thanks! Maxime The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-4.15 for you to fetch changes up to 4328a2186e5120cfd34c4f04c6e4b7e74fb8b7b4: clk: sunxi-ng: sun4i: Export video PLLs (2017-10-17 19:32:16 +0200) ---------------------------------------------------------------- Allwinner clock changes for 4.15 The most notable changes are: - Addition of sigma/delta modulation for the audio PLLs on the newer SoCs - A83t Display clocks supports There's also a bunch of minor fixes that didn't have any impact on current features provided by the kernel. ---------------------------------------------------------------- Alexander Syring (1): clk: sunxi-ng: Fix missing CLK_SET_RATE_PARENT in ccu-sun4i-a10.c Chen-Yu Tsai (12): clk: sunxi-ng: Implement reset control status readback clk: sunxi-ng: sun6i: Export video PLLs clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock clk: sunxi-ng: Add sigma-delta modulation support clk: sunxi-ng: nm: Add support for sigma-delta modulation clk: sunxi-ng: sun8i: h3: Use sigma-delta modulation for audio PLL clk: sunxi-ng: sun4i: Use sigma-delta modulation for audio PLL clk: sunxi-ng: sun5i: Use sigma-delta modulation for audio PLL clk: sunxi-ng: sun6i: Use sigma-delta modulation for audio PLL clk: sunxi-ng: sun8i: a23: Use sigma-delta modulation for audio PLL Icenowy Zheng (2): clk: sunxi-ng: add CLK_SET_RATE_UNGATE to all H3 PLLs clk: sunxi-ng: add CLK_SET_RATE_PARENT flag to H3 GPU clock Jonathan Liu (1): clk: sunxi-ng: sun4i: Export video PLLs Maxime Ripard (1): clk: sunxi-ng: Add A83T display clocks Ondrej Jirman (1): clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 28 ++++-- drivers/clk/sunxi-ng/ccu-sun4i-a10.h | 4 +- drivers/clk/sunxi-ng/ccu-sun5i.c | 27 +++-- drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 40 +++++--- drivers/clk/sunxi-ng/ccu-sun6i-a31.h | 8 +- drivers/clk/sunxi-ng/ccu-sun8i-a23.c | 38 ++++--- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 21 ++-- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 56 ++++++----- drivers/clk/sunxi-ng/ccu_common.h | 1 + drivers/clk/sunxi-ng/ccu_nm.c | 25 ++++- drivers/clk/sunxi-ng/ccu_nm.h | 25 +++++ drivers/clk/sunxi-ng/ccu_reset.c | 14 +++ drivers/clk/sunxi-ng/ccu_sdm.c | 158 ++++++++++++++++++++++++++++++ drivers/clk/sunxi-ng/ccu_sdm.h | 80 +++++++++++++++ include/dt-bindings/clock/sun4i-a10-ccu.h | 2 + include/dt-bindings/clock/sun6i-a31-ccu.h | 4 + 18 files changed, 457 insertions(+), 77 deletions(-) create mode 100644 drivers/clk/sunxi-ng/ccu_sdm.c create mode 100644 drivers/clk/sunxi-ng/ccu_sdm.h