Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3029743rdh; Wed, 27 Sep 2023 23:39:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGySWV5kAB398ag+LxTK6Q5x+8EZe3ka5KjqrW3WBlX87bccCZHd+UtaM+o7YzWG149uNNv X-Received: by 2002:a05:6358:7e84:b0:13a:4855:d885 with SMTP id o4-20020a0563587e8400b0013a4855d885mr360882rwn.10.1695883171949; Wed, 27 Sep 2023 23:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695883171; cv=none; d=google.com; s=arc-20160816; b=TeRj1YIxQjRq+n0KlVhEuY1+VFRDZA1OXfqvf30IJWSGDddtCoe/Zl+jRYVBk8qNNI 59f/U+4rQPf1whUVUpa3wGqnWwOAt9jTu8+wIQBb6JQuTEk5Qm1KIoBBPpwyTboUddi5 vDJwgL8dOZd9g7q+5kttbxr9jwvzwDnu3fGBUrjKH+Lyqyq/rPUsUgNBe5ZK99VXJ6uu SjRVJTkFutyjJ77ehdKnY1CyanaCd4MfdfGjD26jVdvtFmY2LPTI/NOrnf06WGpbrx8T OjfqCloEG/94pIilw1ynEOqWUHD+ROuN1hcPWBwazs20XujlHP0l4zrEFescGhPMqsr0 huIw== 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=udCi+72GfZJhTbyaTltNcLv1nODFB/sjZAhg6xbquVA=; fh=PoiO6xh+aNhztqmwntGaLvl61JRAi4HnpIAxmKjWJYg=; b=ZFQxWNsclo3W3+lu6z5fUl+jStAaES+ur9KhlpJj2mLWTJ3fh+WBEtRlGHJb0N50TW horGL8zR5GfqoUIQrLt2oyqD1qKGI+K+EVIKaLK7le8QPV/gZ0E7qIgbHGe8IGzKLWNC JvStxz1uzc2rrG+28QjK/XZ2LHikRVbzO2UCmrDdr3FYrPtjwUnkF4vLs68BZ64WSOi+ 4r3Cox1jf1U7gzJEQUr4h6f7LSCf7a3zXPEh3bffkYlaTLDvQhCowGxtRInzKlJZpzpb mxciWfozna2DlSMTW5aqMOo0qct+/iBlT8FI1yYR2H9UAXhqaO2MqFs/DKk0UR85u4TF wMhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c128-20020a633586000000b00584b3e195bdsi7238517pga.58.2023.09.27.23.39.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 23:39:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 82B44807C854; Wed, 27 Sep 2023 23:36:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230441AbjI1GgA (ORCPT + 99 others); Thu, 28 Sep 2023 02:36:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjI1Gf7 (ORCPT ); Thu, 28 Sep 2023 02:35:59 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D17EF99; Wed, 27 Sep 2023 23:35:12 -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; Thu, 28 Sep 2023 14:34:55 +0800 From: Xianwei Zhao To: , , , , CC: Neil Armstrong , Jerome Brunet , Michael Turquette , "Stephen Boyd" , Rob Herring , "Krzysztof Kozlowski" , Kevin Hilman , Martin Blumenstingl , Xianwei Zhao Subject: [PATCH 0/4] Add C3 SoC PLLs and Peripheral clock Date: Thu, 28 Sep 2023 14:34:44 +0800 Message-ID: <20230928063448.3544464-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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 27 Sep 2023 23:36:15 -0700 (PDT) Add C3 SoC PLLs and Peripheral clock controller dt-bindings. Add PLLs and Peripheral clock controller driver for C3 SOC. 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 | 86 ++ .../bindings/clock/amlogic,c3-pll-clkc.yaml | 53 + drivers/clk/meson/Kconfig | 25 + drivers/clk/meson/Makefile | 2 + drivers/clk/meson/c3-peripherals.c | 1372 +++++++++++++++++ drivers/clk/meson/c3-peripherals.h | 48 + drivers/clk/meson/c3-pll.c | 510 ++++++ 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, 2403 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 -- 2.37.1