Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp330575rwb; Thu, 11 Aug 2022 02:13:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR6B7nPKc65bzDzMx/CIW8lI2fZOqTI8fRfurZ2Guqw7kjoibkAi3mwndZ+bgIExHycvhnmJ X-Received: by 2002:a17:90b:180b:b0:1f5:160c:a652 with SMTP id lw11-20020a17090b180b00b001f5160ca652mr7849203pjb.235.1660209228222; Thu, 11 Aug 2022 02:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660209228; cv=none; d=google.com; s=arc-20160816; b=at/lc9kMKMZACsh/wUjv6Lg527bzbJ38Tg7Q01Gmkye938l8IRFyTw7eck70j7Sa8P bTOvewaW6FoLXAfuxpWde9wcFK16mntfkk1eRcTMAdJw5ZNqWSvDZWaaBT1awjGWBREY BgEuCUrUySDXV7dhCi24Ral9w0TLnGoAqq3Ihmb91uvJ/ZnioGpMqQHnwS7tG0EJtC/G Fn2S4HqT9t4qdc1fVeBk1mcJgU7psJM3JmeoGNw3Lw1Ng1xeNIf/feglUSqApGCBKb8o BsVnBQ3dJmGIuJdYZe+YsYrcn9ervAyfTBaMN6zYmkF0TaB9F10rt5D1a24WEnUE+O1F Ik/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TKfhK/47jSo6ly3ouMqZhGdcjWMMRh4i4L8ffrR5LBU=; b=fEHf8tltLCR3aLQiAqiDdNnj5W5NWQF+lzJmRBhx4fy6SNj79CKzG4LXNWRS4xUwh1 MSwgu4S2TU6Yh4Q7RZoBMSd05O25xQ8s8wBO1/EY+ibAaF9pHEbmwMV+SxqET9V+ot2A psUAvDEDkroIdxBiN0PwyimBgs8TS9/cMJy0slGG/e3QKUoVZW1rVEmSyUK7g3mUs03x cjSkD+5m5+T9VkU+tFpj3uhrDeNUciFsVPSm8HWQBERCrZwqpFz7fftPliqVMZEhoKU1 HXP3FXGAljvE4yZIxjFKDgcl2jjvfrXa7Uf6UHHrxEDU2ekXyv89ZHE6FAUNbLHaGNwV SlgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YlJBhwE9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a655789000000b0041c953a99f0si20554305pgr.78.2022.08.11.02.13.34; Thu, 11 Aug 2022 02:13:48 -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=@linaro.org header.s=google header.b=YlJBhwE9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234784AbiHKIxa (ORCPT + 99 others); Thu, 11 Aug 2022 04:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234789AbiHKIx0 (ORCPT ); Thu, 11 Aug 2022 04:53:26 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8953591D18 for ; Thu, 11 Aug 2022 01:53:22 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id x9so14939167ljj.13 for ; Thu, 11 Aug 2022 01:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=TKfhK/47jSo6ly3ouMqZhGdcjWMMRh4i4L8ffrR5LBU=; b=YlJBhwE9mvMrmCNAhvJYzhkd1XDLy21w0WGKpWwb3oKYQR7E5rm3+vsL5t5RMXgD7M /lcAv+DfcJDMyumhKOJA9XOZe4UawoOEkAHVb4XIm47It4s7pF7jCUz8GAdA3pMDh1qL IGJ+c/4E7M19nYbuptXygy/47/gUSKWeNzGRg0s5NvV2VVZvxGJT0k6JlFSOZEkdsJyR x5qL0mlsU9HFgWGRcl65pk8ZoaVnR3mAjV9oEQDtODkTa1vHDaqx4CMxgZVLRf41cFsC fOdxJ7iBWoc5oNH4zPjBJTKWC6fxnamNSh0YnAouT8lWMrqqA/7k9Qi6ACmyfegmO4gi AgoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=TKfhK/47jSo6ly3ouMqZhGdcjWMMRh4i4L8ffrR5LBU=; b=nVNJdQNYo6YkxHqLENDw4WkEs6ENX4l4cCaNPjFYdLc/00CUuvySUntC4AUFdjCiNt o3/sPkzirUVVPLZaemFb1ipB4hufoslqC1LXNLt5hPRDzIPRCGAMEqQBsvggZUbY6w9Q cqz2YpsC9MT6Jyv2PY2mmTDmGHRW1kNlBPaB2Kkf5zS5pPznko7C/pXx3nrlu+phe76R B1QDyAxXQ93LJHUFuN5Y3S8E1lWqsd0P7U1scGvUAjB2ntbSsy4o51DBMDTxF/Ck+PD7 j2wlSw6NloCIfUFkIpR78HURO8dkDS1b/NE6N8Byqyz3l2DV6+0zX7GbaYd5jpMoqn7N joMQ== X-Gm-Message-State: ACgBeo0y/gJ3FWsar7ptYTUAX/qrQNr3r3GYRXSmhsd5IojEdttDdqEX BZx0LM14qQK9NtTPvhAW3mHTGQ== X-Received: by 2002:a2e:8605:0:b0:25e:5fe4:9e6b with SMTP id a5-20020a2e8605000000b0025e5fe49e6bmr10723557lji.484.1660208000918; Thu, 11 Aug 2022 01:53:20 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id n12-20020a05651203ec00b0048b0526070fsm637504lfq.71.2022.08.11.01.53.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 01:53:20 -0700 (PDT) Message-ID: Date: Thu, 11 Aug 2022 11:53:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v3 4/4] clk: mediatek: add driver for MT8365 SoC Content-Language: en-US To: Markus Schneider-Pargmann , 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, Fabien Parent References: <20220811084433.2598575-1-msp@baylibre.com> <20220811084433.2598575-5-msp@baylibre.com> From: Krzysztof Kozlowski In-Reply-To: <20220811084433.2598575-5-msp@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 11/08/2022 11:44, Markus Schneider-Pargmann wrote: > From: Fabien Parent > > Add clock drivers for MT8365 SoC. > > Signed-off-by: Fabien Parent > Signed-off-by: Markus Schneider-Pargmann > --- > > Notes: > Changes in v3: > - Changed all Kconfig options to be tristate > - Do not depend on ARM64 > - Fix order of frees on probe errors. > - Use mtk_clk_register_gates_with_dev > - Fixed null clocks > - Removed clk26m_ck > - Use MUX_GATE_CLR_SET_UPD instead of custom MT8365_MUX_CLR_SET_UPD > - Use devm_clk_hw_register_mux for top_misc_muxes > - Use devm_clk_hw_register_gate for peri_clks and top_clks > - Fix checkpatch warnings > - Add missing MODULE_LICENSEs in all files > > 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 +++++++++++++++++ > .../dt-bindings/clock/mediatek,mt8365-clk.h | 179 ++- No, bindings are always separate. Best regards, Krzysztof