From patchwork Fri Aug 10 09:54:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Hu X-Patchwork-Id: 10562561 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 53534139A for ; Fri, 10 Aug 2018 09:55:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 414DB29518 for ; Fri, 10 Aug 2018 09:55:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30CCE29F7A; Fri, 10 Aug 2018 09:55:02 +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 D376129518 for ; Fri, 10 Aug 2018 09:55:01 +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=kuuh8ZBiTDPrxkGrVjpOj52aRAM/vgrDwhIyY1mpyDY=; b=JBZdmSa6Qa+1x0 FwX/Z7Cns0hntcQXO1MBMfXVeBhhfjQ8UI2stQ/nL/HAPZNr4uleVr2XJSP8Ihsp9xq3u2oJN6X7N 8swvwttxq2EdX7LCE5C1tO6LMZOxidPYg/znfSI3V3d2vWGdjMIw5+HrE6DSOz3l9DGyNx4edMxOf 8Cl5e1r1rmPeiuFK9fdfC2jQeP1KtV8HnBq/DttRL4DSor5Wv0L7Cq1lhffXW0n4hV6DAzwyIpAZP tecyVdjj8au6/ea/3YFb16mohVHwUzc9lZJ3POX0JFX0nszT/5D4Q1+f3aT+D3n51ptzkMcFS1CTx ZmwOwa50BuZLHtaRZQ2g==; 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 1fo48K-0002kP-S7; Fri, 10 Aug 2018 09:55:00 +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 1fo48G-0002iK-M0; Fri, 10 Aug 2018 09:54:59 +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 17:54:47 +0800 From: Jian Hu To: Jerome Brunet , Neil Armstrong Subject: [PATCH 0/2] clk: meson-g12a: Add AO clock controller driver Date: Fri, 10 Aug 2018 17:54:26 +0800 Message-ID: <1533894868-85815-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_025456_837623_4D098A06 X-CRM114-Status: UNSURE ( 7.08 ) 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: 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 , Carlo Caione , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Always-On part of the Amlogic Meson-G12A SoC. -The patch depends on "clk: meson-g12a: Add EE clock controller driver" patch [1] the parent clock of ao_clk81 is clk81 clock which provided in EE controller driver; the file of Makefile modify based on EE controller driver patch. [1]https://lkml.kernel.org/r/1533890858-113020-3-git-send-email-jian.hu@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings clk: meson-g12a: Add AO Clock controller driver .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/g12a-aoclk.c | 170 +++++++++++++++++++++ drivers/clk/meson/g12a-aoclk.h | 36 +++++ include/dt-bindings/clock/g12a-aoclkc.h | 28 ++++ 5 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/meson/g12a-aoclk.c create mode 100644 drivers/clk/meson/g12a-aoclk.h create mode 100755 include/dt-bindings/clock/g12a-aoclkc.h