Message ID | 20231010062917.3624223-1-xianwei.zhao@amlogic.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp2309797vqo; Mon, 9 Oct 2023 23:30:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbTbl5KhNNkQtPQeAztbZsDSEC3wqrKvJCyeIFRbVa3o4L0/sXIAZ4J0EHNXtxXY7ZmIiw X-Received: by 2002:a05:6a00:3a02:b0:68f:ece2:ac2a with SMTP id fj2-20020a056a003a0200b0068fece2ac2amr15715651pfb.27.1696919443502; Mon, 09 Oct 2023 23:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696919443; cv=none; d=google.com; s=arc-20160816; b=V/lHd1aGuYaQ8SNwCdR2zUo2Am0cRMDXugb9ONxl9ygtWw/E+G2TEUXBQfMCYfztP/ b7+OLnz4hqvZDMnemg4kvLPi76x1lNp9Tt6MeJMrQ8U3nSzZpBLLCmYVUTVwrdXZsq8O xmHMH4phJtC7+ZULpTZT6+LbB5JpQoJG/8QyyuW0NZi0mK0NNs8sIJGyTt3/4NK7uEHt SaBlxqN8mPczj6CyNFl2ZiAOJLjO1pV58VqDAgzNIDiKErdqnOO/8hViOTNtJ0Msw1yZ dOdfmiEmn9jguoF03wOBX4yCNGHIxa2DZftX3sPQJUewWa5cJ9y/0fM7ftVJo0C3osrp uZGA== 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=FYvSOzJAkNTym0okJ5S6P6EZBDut28rXM+tqIZEE3L8=; fh=oBbb0mPe52rzzTIwtg9Xc2rZ0LejYIA322XCn8vhPVE=; b=Xzvcx7c7WhC0bkh9Vx0C6BnH11xDLbSsY+H+AoPqP99eENKOZZvLIn2By4xi4Xv2V4 kSaS5cthyhijBFCzsdmDsuFs1mnE+1ujJJK2qbR1YwPYetsxwv8oyQbmj4wQUrqINWsV jU8GxkYlozBGTX21Svq693v93Y9bKXrcZvO7ObW+DEwYTseKAQ9EDBb7eScmoieCkaxg kH7Ybuub/MEiMfaYdEq6I3DGbyoiXJZyUNH+hSNNXuVN3NDPjY0M/lU60QYY2Hqnlt06 5kPjlVq+nFxOsi1fdXAK6ZChG5+KMp3cvURICbEyjmnOOvdTVRkjzCH2mZJHk7KeFSYJ VlJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y26-20020a637d1a000000b0059c36d7951bsi597310pgc.68.2023.10.09.23.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 23:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2F514811F925; Mon, 9 Oct 2023 23:30:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442252AbjJJGaP (ORCPT <rfc822;rua109.linux@gmail.com> + 20 others); Tue, 10 Oct 2023 02:30:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442202AbjJJGaN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Oct 2023 02:30:13 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3FF5B7; Mon, 9 Oct 2023 23:29:31 -0700 (PDT) Received: from droid01-cd.amlogic.com (10.98.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Tue, 10 Oct 2023 14:29:19 +0800 From: Xianwei Zhao <xianwei.zhao@amlogic.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: Neil Armstrong <neil.armstrong@linaro.org>, Jerome Brunet <jbrunet@baylibre.com>, Michael Turquette <mturquette@baylibre.com>, "Stephen Boyd" <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Chuan Liu <chuan.liu@amlogic.com>, Xianwei Zhao <xianwei.zhao@amlogic.com> Subject: [PATCH V2 0/4] Add C3 SoC PLLs and Peripheral clock Date: Tue, 10 Oct 2023 14:29:13 +0800 Message-ID: <20231010062917.3624223-1-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.98.11.200] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 09 Oct 2023 23:30:20 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778262396555590530 X-GMAIL-MSGID: 1779349002636358595 |
Series |
Add C3 SoC PLLs and Peripheral clock
|
|
Message
Xianwei Zhao
Oct. 10, 2023, 6:29 a.m. UTC
Add C3 SoC PLLs and Peripheral clock controller dt-bindings. Add PLLs and Peripheral clock controller driver for C3 SOC. V1 -> V2: 1. Fix errors when check binding by using "make dt_binding_check" 2. Delete macro definition Xianwei Zhao (4): dt-bindings: clock: add Amlogic C3 PLL clock controller bindings dt-bindings: clock: add Amlogic C3 peripherals clock controller bindings clk: meson: c3: add support for the C3 SoC PLL clock clk: meson: c3: add c3 clock peripherals controller driver .../clock/amlogic,c3-peripherals-clkc.yaml | 92 + .../bindings/clock/amlogic,c3-pll-clkc.yaml | 59 + drivers/clk/meson/Kconfig | 25 + drivers/clk/meson/Makefile | 2 + drivers/clk/meson/c3-peripherals.c | 3096 +++++++++++++++++ drivers/clk/meson/c3-peripherals.h | 48 + drivers/clk/meson/c3-pll.c | 808 +++++ drivers/clk/meson/c3-pll.h | 35 + .../clock/amlogic,c3-peripherals-clkc.h | 230 ++ .../dt-bindings/clock/amlogic,c3-pll-clkc.h | 42 + 10 files changed, 4437 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/amlogic,c3-peripherals-clkc.yaml create mode 100644 Documentation/devicetree/bindings/clock/amlogic,c3-pll-clkc.yaml create mode 100644 drivers/clk/meson/c3-peripherals.c create mode 100644 drivers/clk/meson/c3-peripherals.h create mode 100644 drivers/clk/meson/c3-pll.c create mode 100644 drivers/clk/meson/c3-pll.h create mode 100644 include/dt-bindings/clock/amlogic,c3-peripherals-clkc.h create mode 100644 include/dt-bindings/clock/amlogic,c3-pll-clkc.h base-commit: 57b55c76aaf1ba50ecc6dcee5cd6843dc4d85239