From patchwork Fri Sep 21 06:00:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10609077 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 CED0D14DA for ; Fri, 21 Sep 2018 06:01:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEB3C2DDF1 for ; Fri, 21 Sep 2018 06:01:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC6532DF40; Fri, 21 Sep 2018 06:01:46 +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=-0.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_DBL_ABUSE_MALW autolearn=no 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 7599E2DF34 for ; Fri, 21 Sep 2018 06:01:46 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=hTgPK6VUY/FABMsdmyQkSwWu6xAOfIm2rYHSfE4Gl/k=; b=JjQ rihVCfTGRnGpoF15Gig5mYfMtwTXQo2jKM6Kwynm2o3lLkiDO28hCLn+wqrdpwFmDnij3HtIn8lha t6apwrHoa9GyVbvtEkSEaevVf543RMucVmKh0CucWLoGftSje65BNT4VRYAABu4CXjUZeYiN/UQiJ 1PiM6INGkoXT1NP/uZ1TI9P5Alw23SYm4F+s8NJcGFWvwEkr62IbE+TRt6g0WgoNUULXa0/OI8Yc6 RmHxzTOZhUG5sshpWM+BDl/JZnDPmxxddrukamT04Vk3J6/EeG2JiFiIMhb7mY0mDEfJAZyLKfrdd WfH15oZNoqKtaq1DsjygPn++mSmq1Bg==; 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 1g3EVQ-0006Pk-4d; Fri, 21 Sep 2018 06:01:32 +0000 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3EVK-0006Jt-TS for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2018 06:01:28 +0000 Received: by mail-io1-xd44.google.com with SMTP id y12-v6so11038476ioj.13 for ; Thu, 20 Sep 2018 23:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=9DAVV7xx/W/F8Ed6sQhJxCtQYesZ2gsYjenfh0hVDIg=; b=KgKOtHzFTGs8V4wuo/yCj/doXUspnOTDu3chf5PaNnfXrF/gXB3E9dWwnEaYkyEXqb vNf+YdwJyqFczBleTgxjq1H7S4Lroyn6AsOw3Lm177l2Q7R2ajafFZxxANxyzGHHNYKk WFH3GnXC1Fe/Vi3tBFQy/a+k/hR/2sv+PQPbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9DAVV7xx/W/F8Ed6sQhJxCtQYesZ2gsYjenfh0hVDIg=; b=DsR3wKNUzJR3+fmFgxLT7unkZBCu166R2Wr+BUrD0/uoXx+ypHJNel7HEsFtENVIic KZgJb7dx3JxqPQ2qu8K3m8PzZhvq6TmtSkOHLzpazXoVbWEadmZcWXWraWMznH4khvQz 9y67EiNFjys1U4dtPElBz/G1rqIEl7TaE3Q0+eKEuPeejFI7DrGQlw8tPCZO0UW+47RX i7m5X4Er2BFPvyfgSF+4uPmkB1LnqFmNQHMK7+//8PYoB4jJ6T+RItGG3wgY/Fsc3UBH 8uESyly2tg+5hgLb1rZckplBO8Vxgiexo3/kx3avzzFESQzkWCSI53+M96t84DlUcDAL tguA== X-Gm-Message-State: APzg51DfFB7Ma1gIgOFcm4jyoXtn5egc3zWc/eF5DVj96xm08ZVmqoDA VK+3AUWgq60eVTQerUcJefRr X-Google-Smtp-Source: ANB0VdYXtecl0LpsxmONkrsNPwtbKPyZ9pqbfMZw+wsl+AG8mT0HRrfZlGDfUMXu4cUWbPzCi+fKEA== X-Received: by 2002:a5e:cb48:: with SMTP id h8-v6mr35872691iok.178.1537509675019; Thu, 20 Sep 2018 23:01:15 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id b195-v6sm1973875itc.42.2018.09.20.23.01.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 23:01:14 -0700 (PDT) From: Manivannan Sadhasivam To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, xuwei5@hisilicon.com Subject: [PATCH 0/4] Add clock support for Hi3670 SoC Date: Thu, 20 Sep 2018 23:00:59 -0700 Message-Id: <20180921060103.21370-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_230126_948671_10BD0548 X-CRM114-Status: GOOD ( 12.87 ) 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, Manivannan Sadhasivam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 This patchset adds clock support for Hi3670 SoC from HiSilicon utilizing the HiSi common clock code. While adding clock support, let's remove the fixed clock for UART and source SoC clock on HiKey970 board. This patchset has been verified on HiKey970 board. Thanks, Mani Manivannan Sadhasivam (4): dt-bindings: clk: hisilicon: Add bindings for Hi3670 clk arm64: dts: hisilicon: Add clock nodes for Hi3670 SoC arm64: dts: hisilicon: Source SoC clock for UART6 clk: hisilicon: Add clock driver for Hi3670 SoC .../bindings/clock/hi3670-clock.txt | 43 + arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 48 +- drivers/clk/hisilicon/Kconfig | 7 + drivers/clk/hisilicon/Makefile | 1 + drivers/clk/hisilicon/clk-hi3670.c | 1016 +++++++++++++++++ include/dt-bindings/clock/hi3670-clock.h | 348 ++++++ 6 files changed, 1458 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/hi3670-clock.txt create mode 100644 drivers/clk/hisilicon/clk-hi3670.c create mode 100644 include/dt-bindings/clock/hi3670-clock.h