From patchwork Fri Aug 10 08:47:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Hu X-Patchwork-Id: 10562453 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 0B6351390 for ; Fri, 10 Aug 2018 08:48:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA1432B461 for ; Fri, 10 Aug 2018 08:48:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAAA42B48A; Fri, 10 Aug 2018 08:48:10 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 6FE262B461 for ; Fri, 10 Aug 2018 08:48:10 +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=eilFSg7BON4F+wKd5FPemY/DSWTA99i1D29AEzrsK8o=; b=oc5MGxo8qTNw3V IDl1EAsLXRG1P4v06Jve+fy9UYMYC1eo7Qj93r1gq6IEIDovmp6z7b2ycugae+yX5/ABxdhj/4uw1 uNvBqLNDiXUhEziSznJP67lx7mHvRXwQufzbA2gN9rpO+yP9hyYTappLjBG/GA204k4gjDrXwld9H XtkPIUJ/sgzh5/ALoEyxqemw2T2+Y9qAsbof3IkPlxBzAU+IHZHnziwKfCSz5zSV0FovYqrvqd+mP ebCX8sTGhqAm5tQf5Tox2j2gN0MmLMsRdV30gucRyqIGRJspiCGmJ87Dr5YhqeloU/sdlgzwBVhAU 8aNrO6BEyo4LQFCCDP1w==; 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 1fo35d-0005Jx-5T; Fri, 10 Aug 2018 08:48:09 +0000 Received: from mail-sh2.amlogic.com ([58.32.228.45]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fo35U-0005C5-MI; Fri, 10 Aug 2018 08:48:02 +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; Fri, 10 Aug 2018 16:47:57 +0800 From: Jian Hu To: Jerome Brunet , Neil Armstrong Subject: [PATCH v3 0/2] clk: meson-g12a: Add EE clock controller driver Date: Fri, 10 Aug 2018 16:47:36 +0800 Message-ID: <1533890858-113020-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-20180810_014800_722175_C1836385 X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Qianggui, song" , Rob Herring , devicetree@vger.kernel.org, Martin Blumenstingl , Kevin Hilman , Michael Turquette , Yixun Lan , linux-kernel@vger.kernel.org, "Bo.yang" , Stephen Boyd , Jian Hu , Qiufang Dai , linux-arm-kernel@lists.infradead.org, Carlo Caione , linux-amlogic@lists.infradead.org, "Sunny.luo" , linux-clk@vger.kernel.org, "Xingyu.chen" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a Clock driver for the Everything-Else part of the Amlogic Meson-G12A SoC. Changes since v2 at[2] -fix fixed clocks's descriptions -fix aligment -add enable bit for plls base on [3] patches -add fix 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 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 | 1128 ++++++++++++++++++++ drivers/clk/meson/g12a.h | 128 +++ include/dt-bindings/clock/g12a-clkc.h | 93 ++ 6 files changed, 1361 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