From patchwork Wed May 17 08:28:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 9442 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp984591vqo; Wed, 17 May 2023 02:04:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ67FgLSvcnlzratHqmAWAYPX1JU8Wp7u6WjbsAGbzwve92MDGONhOBSpl3nyLpx+Q5JAjgq X-Received: by 2002:a17:902:c1cd:b0:1a9:40d5:b0ae with SMTP id c13-20020a170902c1cd00b001a940d5b0aemr41228095plc.12.1684314295105; Wed, 17 May 2023 02:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684314295; cv=none; d=google.com; s=arc-20160816; b=KWiCuGJGBwtECMk6BSAW22vhFTqmFMnLBiDqR6Szft7z4bJrGDGAS2EMBM3OVeBGZ0 WQskFD3TkLlfwXrhMxK6XR55zNUjnyPZxiPVY3hJ79knJJ+EvPwZKDn5FzkXdkkFYrmF 914eYeIOwsK9Dwx1m74UHkni8pss/BoMR3b99xsV4tojzVIwD8/IxpfPqin3xc4zLf4I WbpGK1rAaHaMUgJcBobM2wyD6t76JghU1QKpvZtx9fwKo28TNOdPiXD1xYTRZffPorMa XpIhe8iqi0DpP/YmZOo7B90f4vBGEYoiDGsD4vZQ1V9fntS+M4Gsj/OOox80CqQtMS/+ 479A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=ZihnAL1nAkDBbq2KyMEHfWY+WWt7eWRA6dF80uZXMso=; b=1ErOrnKDH2PQUsEROPIXJMdqhNaqzdE5sVN8Dbay4vPjRWAQsjWM2gCGrBZO4ICtUq w4T4VqkAK0ZshOlw8z5RSvoa8fncLdA8xe7AQQMCNXZ/EF8SnjGrDXCPOElTHEJNgcsw Ty1gh6F8c/C4HoZyLjH0INS4al9lvkCZ5xB24uAI9Zw/tLOBKfryagRqa4cEgwmhP8Cy 5WEw+qRGt+5C6ypHyJw2zu/qiHJzFYxTyDAKl0qucYMO5eTKMK3eG3jTLqsuP9pb1KpV hRgc9uwSarBnwtrnBJPkFWZDnLnLx7bPfq7bDCymALLYIY0y9GPdoSIKTZv6WQnYKUSr xg3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=G3QSKTUw; 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 d17-20020a170902c19100b001a5824e78d0si20605565pld.94.2023.05.17.02.04.39; Wed, 17 May 2023 02:04:54 -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.20221208.gappssmtp.com header.s=20221208 header.b=G3QSKTUw; 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 S229957AbjEQI3I (ORCPT + 99 others); Wed, 17 May 2023 04:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230455AbjEQI2m (ORCPT ); Wed, 17 May 2023 04:28:42 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85E645595 for ; Wed, 17 May 2023 01:28:39 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f42ba32e24so2973105e9.3 for ; Wed, 17 May 2023 01:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684312118; x=1686904118; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=ZihnAL1nAkDBbq2KyMEHfWY+WWt7eWRA6dF80uZXMso=; b=G3QSKTUw0Oxncgfh6I40dQHk87EmvKdhFRf4n1G5iSXH+XaYVVT+Ra2U6O1C+SX7hG 5OntSosJwXDp6Uf5nvYmFzYWDpxllRQpRLdp6lWK+0Hn2uJsoyWdkKVDv8mtUTUxfvRl BKiAvmrEMgb60bXnNbNffJf3jMSN+luwT5lb5nG/IM5zenRs+GNPulhKMb0bZWJ0mCBV DK8sDECKzx60jE+At3/Md1nScT338EQOPGVGQhqi7TgIFgMLsOVgsVih4yTAEMVmp9BG UV0GNj4nHNrCw3VbUiRp5FvhLOVjMOQAN0WLe3zovNqOjr9YY/kPmDDHArQ/ioJhE5RB 8UnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684312118; x=1686904118; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZihnAL1nAkDBbq2KyMEHfWY+WWt7eWRA6dF80uZXMso=; b=fd7cDvSNovvhr8ivjwvc7XVFP6bVoMtq/Dfye6jMZc05vkdLpr/5UsIhYh6M0q4Uf8 kfyUfs2wnDxsWu713yfJjLLHMfI0pwfP89DD2UEnrLAD9/ksQPxpsOKzIF2merL1u/4W dI1uQ/y5mdliQooSs2j2FmS4tb9b1J9ScbUvX1x8BlrxeSoywVfHwPLWBMvw08YRO6KO iazyMRY6BTHc7IvcbPEYM2KqqGx8yX4XuYUhcFHevLVLnBrYJkIyUG7MeB1b6Stt7Wb4 ItA14vsCooSAJF9ninDifM1SxUMIU0ltqzgHknLBdyXK377IH3vhdp9GATPs1BKmkJhZ GTmA== X-Gm-Message-State: AC+VfDw2vpwQVzYdhwnr7deHyRwqJBH6HEKL+vYEbWRozYzgztrY3caA kZKmUL9JUs3uYmOa+EeXkaWbfA== X-Received: by 2002:a1c:f310:0:b0:3f1:74bd:bc22 with SMTP id q16-20020a1cf310000000b003f174bdbc22mr26806422wmq.6.1684312117897; Wed, 17 May 2023 01:28:37 -0700 (PDT) Received: from [127.0.1.1] (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id c4-20020a056000104400b0030922ba6d0csm2323066wrx.45.2023.05.17.01.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 01:28:37 -0700 (PDT) From: Alexandre Mergnat Subject: [PATCH 0/2] Fix and clean MT8365 clock indexes Date: Wed, 17 May 2023 10:28:18 +0200 Message-Id: <20230517-fix-clk-index-v1-0-142077a1732b@baylibre.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACKQZGQC/1WOyw6CMBBFf4XM2rEt0Pr4FeOiLYNM1NK0SEgI/ 25x5/Lc5JzcFTIlpgzXaoVEM2ceQwF1qMAPNjwIuSsMtawbqdUJe17Qv57IoaMFL0a2jbO90Y6 gOM5mQpds8MNufaKYzbHF5JWYxshevKdzY7T4q+xiTFS235Hbfdu+oefgUJgAAAA= To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chen-Yu Tsai Cc: Markus Schneider-Pargmann , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=849; i=amergnat@baylibre.com; h=from:subject:message-id; bh=163q5ZS2H6Rg2KSX1F5s5Y2O3lJW+MTWBH+aLyNFN0c=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkZJA0Cqynex2hMWv5jFuYbgLuJEm6GmoGzTrvVMjE 2KVGv6OJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZGSQNAAKCRArRkmdfjHURVWzD/ 9ZqOS0zeXDxgtNISQviQzvACckTrVcuvTIWsU62emZwgz/vWSglHU5NO5g+YjQrk6SlIjNlFm9PvTp f9heTYMBlIBek9cd3jdwS7pL+8wemxp6Z5UtiUNh98B0c6VrONOe1Q8ZTsjKZ+YpE/N+ZUS6xMx8YX rMOsAIDqMOwgnigjDi5H1yOQnvIN1CS8wHmkgdFaWR2sN/QwZ+4NEkp9nTjxrHEBo5nim9mWGofror PpkezQoyJaTA5PhWxqy6tjgI7JQ7fgmHN26swYTRk6F3tMxGozmW64sJFHUXXVYgQsZFaouV9COfxx I8JBvNlmetiBYyOFlUR/hm+9r52t5Cb0BZnk5oLnY4ElTXmUDQAGKDknG1uJkG1jcgij/4ZkufFvwa wYsH2dtTYYd39CTQGz5ojHIScDO8fPDYSe7tMV/MQkmX8gAPdAjj1r/DZA1wocK/vxPk4GU1qEFnRG 9oqiPwGpLATbNfHRWQPmvgo8qVNruvQQX0Xa/G7rI38cn6I4/e+Nj3eKfJ5blYFzn3vTnaIt8F8BTH cktEgwR9JZzeu7zSoI8numeAvh+VH+nOaCvEjKOsLM/R5LiS5k1s8gRcNFWFxYiLQjMirEswCuk7MR Tf7Nad3oHM+CDg04hcgsVjEYo/ymxc9h+urgq+KX1n0vPpWr/rBZaM/n5ANQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 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=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766131546456974524?= X-GMAIL-MSGID: =?utf-8?q?1766131546456974524?= The first commit of this serie fix a regression which prevent the initialization of the latest indexed clocks. The regression is introduced with [1]. The second one cleans unused define since the probe mecanism change.[1] [1]: Commit ffe91cb28f6a ("clk: mediatek: mt8365: Convert to mtk_clk_simple_{probe,remove}()") Signed-off-by: Alexandre Mergnat --- Alexandre Mergnat (2): clk: mediatek: mt8365: fix the clock indexes clk: mediatek: mt8365: remove the max clock number defines include/dt-bindings/clock/mediatek,mt8365-clk.h | 375 +++++++++++------------- 1 file changed, 175 insertions(+), 200 deletions(-) --- base-commit: ac9a78681b921877518763ba0e89202254349d1b change-id: 20230517-fix-clk-index-96043baf65be Best regards,