Message ID | 20221123021346.18136-1-yu.tu@amlogic.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2548182wrr; Tue, 22 Nov 2022 18:17:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf6724q3uq+u3VfLIm7oy+K8Yy4Vag/HvAZCNSFx6q13CTNj3miWWHAfGICcg9uL18nFLAam X-Received: by 2002:aa7:d998:0:b0:463:a4a7:d3f1 with SMTP id u24-20020aa7d998000000b00463a4a7d3f1mr15406808eds.299.1669169879144; Tue, 22 Nov 2022 18:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669169879; cv=none; d=google.com; s=arc-20160816; b=T9L7Sdh/a2ZxEVV2iCA5DfVv5oGBJvWIPasQIYNLHJVzWa8PCtHc7dVGUPhOy4p3Up R6JabbSzwk25qmbn8CJ5FsgQHuNDcjJtr7zM/DqZENOQOqsE/tqc4C0tT/iateTlcOPz 87tNw7cZC4FBQ2FRjngYhqJKMnepVLMoab28BOSkMfZko4Y27+yJlrrf0zY3h6uXKRV8 YMfS2Kt0XtD9MD9LHuiZWKd3zFqqxNUrD+CyUR0ynoJHAqgME+IO0CS5nxD5EjHgq+oi Eo9ooFL7J6OkVc64Y71snTpTXzhuo7rUHUuI02vgr0B9gXodK4ntSFAG6SuVtDFm30So Ic1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=db//oiedqJ2vSiBKQUJqNLJ/yg3bQ6PDBZtVBDSjY3U=; b=U0Dqb4ZAikUopRO4qh94oCAIvK9uFB2j2YM/woXQc+pOUfYtEPPz49H9CBEaVSrN7q UTd8jnlyqjf6nnneMNICm6say/pVmKknck8wCg9tXUAc5TceSIXxKrjgtsguczwuDRhq bexsnfgkiZmvTaIeWssMpEcr2eDwWxJqFSW9WDGBcvxAEX7bnMNGTkKBIteVHEbMaaUX zzL7aLzTU+S5biNTlJ2JhH46sx4dPxaIRKxiV/hL1Rp1SBdR14MJAuvHv7NCdGS3BRNo g3sNAfGGGCsBg5TogcDYTkUBEHHGlhU9z8eyu0/+KQ3GZWZiPtzcl162R9a9WwZ6FgDX N0rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 17-20020a170906059100b00783d1a13d69si10645350ejn.231.2022.11.22.18.17.35; Tue, 22 Nov 2022 18:17:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235364AbiKWCQs (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Tue, 22 Nov 2022 21:16:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbiKWCQr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 22 Nov 2022 21:16:47 -0500 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11168BDEDD; Tue, 22 Nov 2022 18:15:44 -0800 (PST) Received: from droid06.amlogic.com (10.18.11.248) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 23 Nov 2022 10:15:41 +0800 From: Yu Tu <yu.tu@amlogic.com> To: <linux-clk@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Neil Armstrong <narmstrong@linaro.org>, Jerome Brunet <jbrunet@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> CC: <kelvin.zhang@amlogic.com>, Yu Tu <yu.tu@amlogic.com> Subject: [PATCH V5 0/4] Add S4 SoC PLL and Peripheral clock controller Date: Wed, 23 Nov 2022 10:13:42 +0800 Message-ID: <20221123021346.18136-1-yu.tu@amlogic.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.18.11.248] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750251475452311111?= X-GMAIL-MSGID: =?utf-8?q?1750251475452311111?= |
Series |
Add S4 SoC PLL and Peripheral clock controller
|
|
Message
Yu Tu
Nov. 23, 2022, 2:13 a.m. UTC
1. Add PLL and Peripheral clock controller driver for S4 SOC. Yu Tu (4): clk: meson: S4: add support for Amlogic S4 SoC PLL clock driver and bindings arm64: dts: meson: add S4 Soc PLL clock controller in DT clk: meson: s4: add s4 SoC peripheral clock controller driver and bindings arm64: dts: meson: add S4 Soc Peripheral clock controller in DT V4 -> V5: change format and clock flags and adjust the patch series as suggested by Jerome. V3 -> V4: change format and clock flags. V2 -> V3: Use two clock controller. V1 -> V2: Change format as discussed in the email. Link:https://lore.kernel.org/all/20220823022630.25007-1-yu.tu@amlogic.com/ .../clock/amlogic,s4-peripherals-clkc.yaml | 105 + .../bindings/clock/amlogic,s4-pll-clkc.yaml | 51 + MAINTAINERS | 1 + arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 34 + drivers/clk/meson/Kconfig | 25 + drivers/clk/meson/Makefile | 2 + drivers/clk/meson/s4-peripherals.c | 3783 +++++++++++++++++ drivers/clk/meson/s4-peripherals.h | 218 + drivers/clk/meson/s4-pll.c | 875 ++++ drivers/clk/meson/s4-pll.h | 88 + .../clock/amlogic,s4-peripherals-clkc.h | 131 + .../dt-bindings/clock/amlogic,s4-pll-clkc.h | 30 + 12 files changed, 5343 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/amlogic,s4-peripherals-clkc.yaml create mode 100644 Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml create mode 100644 drivers/clk/meson/s4-peripherals.c create mode 100644 drivers/clk/meson/s4-peripherals.h create mode 100644 drivers/clk/meson/s4-pll.c create mode 100644 drivers/clk/meson/s4-pll.h create mode 100644 include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h create mode 100644 include/dt-bindings/clock/amlogic,s4-pll-clkc.h base-commit: 5eeec1fd8360d57899d29a607ff81d0094e6cf59