From patchwork Thu Mar 22 16:04:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 889444 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=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ulSBtkj9"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::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 406WhD0lsYz9s0w for ; Fri, 23 Mar 2018 03:04:28 +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=/qlwEa0NKjzA80YvhWVXVzB/r5k0AwUVd4zD0OZneRI=; b=ulS Btkj9oM7dvqjmMn38bzqKl9FHsXUKSIxYIlvI1+upQArMV3lbnNwJuJEfVtSYLgyCqXmoiYohWHfO GrZOiB3HZp81z8uB29jF3VrAjWCWv3+8jYAZvlR3pyPTekiZdTUUHMZGC303WyJKcSBa34OTf26ye Zjnqms7+A/Kcrat6rMN4fzs7agktAWgbfY2BMUXVwNcqznW2cOuBHVo/QDaReQ2deqUq5Q9sz/RT2 pQuT3aj0vIdWiUC6JwktNWYFvjdqCpmiw7JOTVjxtmp8TssFW/fec578UJWFQTDkm73s+rPkbGerI BputOTcZv02lk5SRRmJdmmsmNx+E2dA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ez2hV-0007jT-0D; Thu, 22 Mar 2018 16:04:25 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ez2hL-0007hy-4e for linux-arm-kernel@lists.infradead.org; Thu, 22 Mar 2018 16:04:20 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 902CA2082C; Thu, 22 Mar 2018 17:04:02 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.188]) by mail.bootlin.com (Postfix) with ESMTPSA id 277C820384; Thu, 22 Mar 2018 17:04:02 +0100 (CET) Date: Thu, 22 Mar 2018 17:04:02 +0100 From: Maxime Ripard To: Mike Turquette , Stephen Boyd Subject: [GIT PULL] Allwinner clock changes for 4.17 Message-ID: <20180322160402.o2lon3bbncgss4sv@flea> MIME-Version: 1.0 User-Agent: NeoMutt/20180223 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180322_090415_475218_55AEE55B X-CRM114-Status: GOOD ( 14.79 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 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: Maxime Ripard , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.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, Here is our usual pull request for the next merge window. Thanks! Maxime The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-4.17 for you to fetch changes up to f422fa558aada511406432bc5974d3a5bf728227: clk: sunxi-ng: add missing hdmi-slow clock for H6 CCU (2018-03-21 12:27:13 +0100) ---------------------------------------------------------------- Allwinner clock changes for 4.17 Our usual bunch of changes for the next merge window. The most significant addition is the support of the H6 clock unit. Other than that, there's a bunch of fixes for the video clocks on the H3 and H5, and some Kconfig cleanup. ---------------------------------------------------------------- Corentin Labbe (1): clk: sunxi-ng: remove select on obsolete SUNXI_CCU_X kconfig name Icenowy Zheng (4): clk: sunxi-ng: Support fixed post-dividers on NKMP style clocks dt-bindings: add device tree binding for Allwinner H6 main CCU clk: sunxi-ng: add support for the Allwinner H6 CCU clk: sunxi-ng: add missing hdmi-slow clock for H6 CCU Jernej Skrabec (6): clk: sunxi-ng: Mask nkmp factors when setting register clk: sunxi-ng: Use u64 for calculation of nkmp rate clk: sunxi-ng: Add check for minimal rate to NM PLLs clk: sunxi-ng: h3: h5: Add minimal rate for video PLL clk: sunxi-ng: h3: h5: Allow some clocks to set parent rate clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO .../devicetree/bindings/clock/sunxi-ccu.txt | 4 + drivers/clk/sunxi-ng/Kconfig | 12 +- drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 1211 ++++++++++++++++++++ drivers/clk/sunxi-ng/ccu-sun50i-h6.h | 56 + drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 32 +- drivers/clk/sunxi-ng/ccu-sun8i-h3.h | 4 +- drivers/clk/sunxi-ng/ccu_nkmp.c | 56 +- drivers/clk/sunxi-ng/ccu_nkmp.h | 2 + drivers/clk/sunxi-ng/ccu_nm.c | 7 + drivers/clk/sunxi-ng/ccu_nm.h | 27 + include/dt-bindings/clock/sun50i-h6-ccu.h | 125 ++ include/dt-bindings/clock/sun8i-h3-ccu.h | 2 + include/dt-bindings/reset/sun50i-h6-ccu.h | 73 ++ 14 files changed, 1578 insertions(+), 34 deletions(-) create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-h6.c create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-h6.h create mode 100644 include/dt-bindings/clock/sun50i-h6-ccu.h create mode 100644 include/dt-bindings/reset/sun50i-h6-ccu.h