From patchwork Thu Nov 8 13:15:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Hu X-Patchwork-Id: 10674183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FDC6109C for ; Thu, 8 Nov 2018 13:16:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DF612BEA6 for ; Thu, 8 Nov 2018 13:16:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51E612D572; Thu, 8 Nov 2018 13:16:13 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id ED51E2D5CF for ; Thu, 8 Nov 2018 13:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0E+T8pBSxQw/A5BLu2xokZMBPLOv8olDeVhL1PHi2cw=; b=ZRyo0c4/iXKqPu yfNU9O81gWt34axjbqyao8kpHob4xL+izyWIveVeo/hnGK/q1WGk2XBx8lxu+afxSPQEfiqlAh9mV UjtWYgDIChUuJbx7ZKuxv5x5Ba+Yo1DAqM3Pe9LdErsvCfl+nvsCdZWVtS5Jsh+CFf6f5rBx6SjSt nWlM6sbSnTQgKRwi1yAyF/qs2++wpL6/9e0eJGbVO7Qr2WYOiM8JY7DHcvBWrcu+MJWgIzR2C4BvP 828tDORmmg53LHh4bPiVHrUYsszkSle4DXCtOY79Evx86Idq2HPcNDPa4IBHvJvtp33FjxMPv85Zw jp2B97fxvPzfFGj2LlLQ==; 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 1gKkAF-0001b1-Sr; Thu, 08 Nov 2018 13:16:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKkAC-0001Vm-1D; Thu, 08 Nov 2018 13:16:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender: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-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IbvIc5W+l1q/PGfxs9wByCEGbC471UEpZkN3vYnl5GE=; b=jwZ/1a2z9TD/C9aXf2l3cO/VWa QhlgRBFrCxiIG7r+TQxCIl6JN5n3ijEoaLstWlpwwhhOtstNV2LOnfahXUFXl5CKIreottjgAYhmO Y7oNUWZw8eBdcQvza/sMJBXQzkn3afPJ8DRUeeXdci8N7f/GeAbwsOmA06rUtsISsQL5izm+JQetr kKhTR9jWEW95mIkRVkIzoeAbT1wWHFyc6OJQCBy2vDzrEYnVzt1LnfQ2xLPgBxwJCAWFzCHSCpYA6 SfttiVEtKVL4rtqsi0vlgIpGADLXdRBCGMqOvQ3IT9I45UcMv1NulxSxib0ATqRY9iebIJU5w9m5P CKxZT3Qw==; Received: from mail-sh2.amlogic.com ([58.32.228.45]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKkA8-000184-Ng; Thu, 08 Nov 2018 13:15:58 +0000 Received: from droid15-sz.amlogic.com (10.28.8.25) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Thu, 8 Nov 2018 21:15:22 +0800 From: Jian Hu To: Jerome Brunet , Neil Armstrong Subject: [PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver Date: Thu, 8 Nov 2018 21:15:09 +0800 Message-ID: <1541682912-120480-1-git-send-email-jian.hu@amlogic.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.28.8.25] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_131556_775984_7C2BF465 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Jianxin Pan , devicetree@vger.kernel.org, Martin Blumenstingl , Kevin Hilman , Michael Turquette , Yixun Lan , linux-kernel@vger.kernel.org, Stephen Boyd , Jian Hu , Qiufang Dai , Carlo Caione , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Changes since v3 at[4] -add fixed clocks clk_regmap definition Changes since v2 at[2] -fix fixed clocks's descriptions -fix aligment -add enable bit for plls base on [3] patches -add fixed clock gate bit Changes since v1 at[1] -fix typo of 'Everything'. -change the word 'AmLogic' to 'Amlogic' -squash patch 1 and 2. -delete usless message of "Trying obsolete regs". -delete the empty line in include/dt-bindings/clock/g12a-clkc.h. -rebase on top of the "next/drivers" branch, and add g12a clock patch. -add CLK_MUX_ROUND_CLOSEST for g12a_sd_emmc_b_clk0_sel and g12a_sd_emmc_c_clk0_sel. [1]https://lkml.kernel.org/r/1531133549-25806-2-git-send-email-jian.hu@amlogic.com [2]https://lkml.kernel.org/r/1531728707-192230-2-git-send-email-jian.hu@amlogic.com [3]https://lkml.kernel.org/r/20180717095617.12240-1-jbrunet@baylibre.com [4]https://lkml.kernel.org/r/1533890858-113020-1-git-send-email-jian.hu@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings clk: meson-g12a: Add EE Clock controller driver .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + drivers/clk/meson/Kconfig | 10 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/g12a.c | 1134 ++++++++++++++++++++ drivers/clk/meson/g12a.h | 128 +++ include/dt-bindings/clock/g12a-clkc.h | 93 ++ 6 files changed, 1367 insertions(+) create mode 100644 drivers/clk/meson/g12a.c create mode 100644 drivers/clk/meson/g12a.h create mode 100644 include/dt-bindings/clock/g12a-clkc.h