From patchwork Thu Dec 17 09:25:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 345659 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36AEDC4361B for ; Thu, 17 Dec 2020 09:26:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E3E4D2389B for ; Thu, 17 Dec 2020 09:26:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726291AbgLQJ0s (ORCPT ); Thu, 17 Dec 2020 04:26:48 -0500 Received: from out28-3.mail.aliyun.com ([115.124.28.3]:41101 "EHLO out28-3.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725468AbgLQJ0r (ORCPT ); Thu, 17 Dec 2020 04:26:47 -0500 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1234565|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.00552953-0.000761306-0.993709; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047202; MF=zhouyanjie@wanyeetech.com; NM=1; PH=DS; RN=13; RT=13; SR=0; TI=SMTPD_---.J8ErjJ0_1608197156; Received: from zhouyanjie-virtual-machine.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.J8ErjJ0_1608197156) by smtp.aliyun-inc.com(10.147.40.26); Thu, 17 Dec 2020 17:26:02 +0800 From: =?utf-8?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= To: sboyd@kernel.org, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, mturquette@baylibre.com, dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, yanfei.li@ingenic.com, sihui.liu@ingenic.com, sernia.zhou@foxmail.com, paul@crapouillou.net Subject: [PATCH v3 0/5] Add new clocks and fix bugs for Ingenic SoCs. Date: Thu, 17 Dec 2020 17:25:48 +0800 Message-Id: <1608197153-84915-1-git-send-email-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v1->v2: 1.Add Paul Cercueil's Reviewed-by for [1/5] & [2/5], add Rob Herring's Acked-by for [2/5]. 2.Add MACPHY and I2S for X1000, add MACPHY for X1830, and fix bugs in MAC clock. 3.Clean up code, remove unnecessary -1 and commas and tabs from all the xxxx-cgu.c files. v2->v3: Correct the comment in x1000-cgu.c, change it from "Custom (SoC-specific) OTG PHY" to "Custom (SoC-specific)", since there is more than just the "OTG PHY" clock. 周琰杰 (Zhou Yanjie) (5): clk: JZ4780: Add function for disable the second core. dt-bindings: clock: Add missing clocks for Ingenic SoCs. clk: Ingenic: Fix problem of MAC clock in Ingenic X1000 and X1830. clk: Ingenic: Add missing clocks for Ingenic SoCs. clk: Ingenic: Clean up and reformat the code. drivers/clk/ingenic/jz4725b-cgu.c | 50 ++--- drivers/clk/ingenic/jz4740-cgu.c | 50 ++--- drivers/clk/ingenic/jz4770-cgu.c | 80 ++++---- drivers/clk/ingenic/jz4780-cgu.c | 143 ++++++++------ drivers/clk/ingenic/x1000-cgu.c | 332 ++++++++++++++++++++++++++------ drivers/clk/ingenic/x1830-cgu.c | 343 +++++++++++++++++++++++++++------- include/dt-bindings/clock/x1000-cgu.h | 5 + include/dt-bindings/clock/x1830-cgu.h | 5 + 8 files changed, 732 insertions(+), 276 deletions(-)