Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2503430rwa; Mon, 22 Aug 2022 08:42:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR6WihfXX9MVMbR1wokvB+svxb4vnYS4wnWoeFY83TvH1Plk2l3dSKwzdOvaHCPyTbfIwEge X-Received: by 2002:a63:d0:0:b0:41b:c075:acb5 with SMTP id 199-20020a6300d0000000b0041bc075acb5mr17254207pga.480.1661182960699; Mon, 22 Aug 2022 08:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661182960; cv=none; d=google.com; s=arc-20160816; b=lKrBYwutus0B3kD2dby4ieAUrLcyLo56bMpcLX8Ls6Yc4h04SBaO/3ICY89R38AgvH HSAa5m2/zpMTKZh8p8WV5BYWk3u329fb9+IZy5mB4nkHjoBIVDAmMMlysOLU8HV9rMPy L9hxMx+s96vZ5Tnth4mRw4jfa93YOP10MAUFPI0g70jw+y00hRYj+4BdIkQ/8JMIhaua ShvphQGe9pAsa4Rwo5uflCzbxigvLnGyE9zsyS0h7i6W4rUnjKeLE8Fc6FKwKSdzceC1 pDkCdDj8+j12ngsxC8QWaR2vTI9v2rz124LpG1BEOJWJmAdB4mPA3tI7A4SPMjHHj2BW gPgg== 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:dkim-signature; bh=+v4yKbwJErYTuQ2Ufma5DTI3KicddoMcYUAjV+10QH4=; b=XVzgqHxy1RXCrpnfqgZywxy29pz6SZ3UbtxZBmDUzwqAGfWspTwaqqv9Dnv/YBsyr4 adcDDX+HhEiJ1VfuWpGGj5g0mZyssxxuPT67Z/xl3RVE/9fX61G4Cb/Bx3keQ34tGv/n bEotE2z9jFAHW9I4pPCDCnilqFBo1tc3E7+FzNfURUzyGbHrxbFYM4y9tVwmn7NYOx42 iZFEEerWggNFsPqd4+6Z0jApVfea9C2rerSvMJX4UiV238lJc7nAXTf3lbXNaXkAXwSA 7/FzDUIwLJYtQOFEn9lAbuuR9ivug/pCLNwAe/SWnbNSOlGoxMlHrF13PTgm6Q7HR1JM x+sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=jOVa5k+V; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm11-20020a17090b3ecb00b001efbff1c4a3si5905753pjb.76.2022.08.22.08.42.28; Mon, 22 Aug 2022 08:42:40 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=jOVa5k+V; 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 S236487AbiHVP2f (ORCPT + 99 others); Mon, 22 Aug 2022 11:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236538AbiHVP2S (ORCPT ); Mon, 22 Aug 2022 11:28:18 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44EBB6427 for ; Mon, 22 Aug 2022 08:27:30 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id k9so13696773wri.0 for ; Mon, 22 Aug 2022 08:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=+v4yKbwJErYTuQ2Ufma5DTI3KicddoMcYUAjV+10QH4=; b=jOVa5k+VR0xECB0FvAPknlvOs70kbJwGA0M6vShkkwU/M+ofySHJMBFDImFvCfRy43 +porc14Ri8mjhpMzvx7NhnAN900R01op2vihQ+M0GZGwamuFkLPbvmcL4f9AoWBVy3+G CvVfDCVWKrZTo5LXpnv2tC7Ov19YCStZu2DVm2gw+nTI3ChqsiAoho+n80ZJQN1Kul43 QXTkjqiQ3O7Czm8qdTQfkKBLy8TI71V5QoDWAe7k9EZrttHfOY6eoQwTY1TipUQ/Wexi p6+3SMepTaVRgUqL7NNfzAiF4LcN7QSGHsEqX/4QS8LOE/VGxdo/x6mdLeDb+KOZnmva dQjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=+v4yKbwJErYTuQ2Ufma5DTI3KicddoMcYUAjV+10QH4=; b=c1gb6Wo2nfrlaPmznwWF7gP72sVVYF+16MaUjAW8KOSM3TNK2Fy+UvjApXyIXZl11G sHxOVmXrjk7y+sDOyMKYUrLH2L+Z45bbk4mHShoKqhm7hwh010/xeMRqG3ltQXiqfqP5 BbYn10VC4FCkniejj3Zk9Fr89ujmZrBM8+E8+gcFMEnwuNm7k8DhScUfuI0Jx2CAOiOo VNcAfHQ1vW7KdIxXdfJXfAZELwKpbJ8ggXjtn4IQ4y7iO6yLjSVTDU79K9xqUYFSsE3A G9bom6rm9IMBFAdS+VH6vZ/al9pLBU7vMtATxxsUGFtm4x8SxFhKazAAxAU5AFNQ8gx7 oBOw== X-Gm-Message-State: ACgBeo1jh/VIcAcyBGzKsvVyOrPlmFU28uu25yff0bHQSzOXGzg3XSDO AgLkbIw4fW4JRBtkvoDSNZOqIg== X-Received: by 2002:a05:6000:1a8b:b0:222:cac3:769a with SMTP id f11-20020a0560001a8b00b00222cac3769amr10524573wry.120.1661182048866; Mon, 22 Aug 2022 08:27:28 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a245:8020:2658:1f7c:362:3e99]) by smtp.gmail.com with ESMTPSA id u18-20020adfdb92000000b0021eaf4138aesm14492011wri.108.2022.08.22.08.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 08:27:28 -0700 (PDT) From: Markus Schneider-Pargmann To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Fabien Parent , AngeloGioacchino Del Regno Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v4 0/4] clk: mediatek: Add mt8365 support Date: Mon, 22 Aug 2022 17:26:48 +0200 Message-Id: <20220822152652.3499972-1-msp@baylibre.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds a clock driver for the mt8365 SoC. Thanks for the feedback so far. Best, Markus Based on https://lore.kernel.org/linux-mediatek/20220813083249.45427-1-y.oudjana@protonmail.com/ Changes in v4: - Rebased onto v6.0-rc1 - Fixed some minor things documented in the patches. Earlier versions: v2 - https://lore.kernel.org/linux-mediatek/20220530214434.1012889-1-fparent@baylibre.com/ v3 - https://lore.kernel.org/linux-mediatek/20220811084433.2598575-1-msp@baylibre.com/ Fabien Parent (2): dt-bindings: clock: mediatek: add bindings for MT8365 SoC clk: mediatek: add driver for MT8365 SoC Markus Schneider-Pargmann (2): clk: mediatek: Provide mtk_devm_alloc_clk_data clk: mediatek: Export required common code symbols .../bindings/clock/mediatek,mt8365-clock.yaml | 42 + .../clock/mediatek,mt8365-sys-clock.yaml | 47 + drivers/clk/mediatek/Kconfig | 50 + drivers/clk/mediatek/Makefile | 7 + drivers/clk/mediatek/clk-mt8365-apu.c | 55 + drivers/clk/mediatek/clk-mt8365-cam.c | 57 + drivers/clk/mediatek/clk-mt8365-mfg.c | 63 + drivers/clk/mediatek/clk-mt8365-mm.c | 112 ++ drivers/clk/mediatek/clk-mt8365-vdec.c | 63 + drivers/clk/mediatek/clk-mt8365-venc.c | 52 + drivers/clk/mediatek/clk-mt8365.c | 1155 +++++++++++++++++ drivers/clk/mediatek/clk-mtk.c | 37 +- drivers/clk/mediatek/clk-mtk.h | 2 + .../dt-bindings/clock/mediatek,mt8365-clk.h | 373 ++++++ 14 files changed, 2110 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt8365-sys-clock.yaml create mode 100644 drivers/clk/mediatek/clk-mt8365-apu.c create mode 100644 drivers/clk/mediatek/clk-mt8365-cam.c create mode 100644 drivers/clk/mediatek/clk-mt8365-mfg.c create mode 100644 drivers/clk/mediatek/clk-mt8365-mm.c create mode 100644 drivers/clk/mediatek/clk-mt8365-vdec.c create mode 100644 drivers/clk/mediatek/clk-mt8365-venc.c create mode 100644 drivers/clk/mediatek/clk-mt8365.c create mode 100644 include/dt-bindings/clock/mediatek,mt8365-clk.h -- 2.37.2