Message ID | 20230517-fix-clk-index-v2-0-1b686cefcb7e@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp429494vqr; Thu, 25 May 2023 07:52:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UzyF6iPHmrkMyF+b5wx/rAtppQ7hKO6q7uEFwkLXF/xLwqwWrwT5QxqjB+2YzwfFp9b0p X-Received: by 2002:a17:902:ec8e:b0:1af:a143:b0e8 with SMTP id x14-20020a170902ec8e00b001afa143b0e8mr2312482plg.27.1685026339946; Thu, 25 May 2023 07:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685026339; cv=none; d=google.com; s=arc-20160816; b=ojeeFH1z07//Zh5+5S3sUJQSjKl1sO7q6kVBzyVP2uALkvFnMVADRkBEIAfmPAOyhO dZwB1bUo/uV+zUxUCOeGRwvnTX7zRaJHvsHOcc6sRNxScx4dp+TXnTpfALQSSyNz3ReY dbM5p2wYnXqIMGf8Ij9n0KknVnuaI2ub6z05pSady3wBYZZZdRpg1DMBPOHnbkEXysnW WE9TWrQUbHXLP2Y5bslqo8Itbf1uhQTPyx61ViLxfkgpUPWrbVvgj0wwF0SptjrnoEIR UiVBe0oKuSrSPf5gWpXIZ/iEAS06JKu1lwAVmyRg6DZgCWxBoMsJZ2qkc/rop4vnTthi oxow== 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=oeLXr/ztgvOtVsK+Kl+n0JOEyozvguRk+veU2UYviCg=; b=SMawapnf0bzrdQNPQbrBJYrgChZBhye4wsRQWM0aaZa5e1lwMdHzMnzEg862jxDSan 2sDgNXVc19W7ULzE33Nvk6ms3rArXiJpRXJ0C+DzbRz/Axe10Q4Ze2MlCzn6d7JhLL4p XVzm7qx6TOehNb2soKmMJYD+vBQ2kLsU81q32yI3YxZe/1LuTBNx2P4YOS9/xqmYHg7J IiUaji2Kx1o4PUZUgUUBcOl4RDfUF5qtdyEHOM2nQIcHnjBN6ocbNcQqx6t54+L93Izc CyhdzwEaodX7CXxUYZU55496tOTH3KEllhkZky3i8prbzy8gm1aqmzH5YV/KPU294ncn noUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=N1q2y9Px; 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 u10-20020a170902b28a00b001ae3e5b31basi1561513plr.540.2023.05.25.07.52.04; Thu, 25 May 2023 07:52:19 -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=N1q2y9Px; 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 S241599AbjEYOup (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Thu, 25 May 2023 10:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241512AbjEYOun (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 25 May 2023 10:50:43 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65AD6139 for <linux-kernel@vger.kernel.org>; Thu, 25 May 2023 07:50:41 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f6e1394060so3298095e9.3 for <linux-kernel@vger.kernel.org>; Thu, 25 May 2023 07:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1685026239; x=1687618239; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=oeLXr/ztgvOtVsK+Kl+n0JOEyozvguRk+veU2UYviCg=; b=N1q2y9PxsUwtmnergtMtlKIEo5yB8DE1LaJOQmZOxctO0npZLLxgcZpWp1MlAFKVuX fd/3QOUX6duwieVU7egfpm72qHByhULGPh6QoLcp27T1Ta1aoRXoU2zzmRN+Djl+a/nj 8RT42EHCVaxcxAdoh07FhJpYj9zAa1XEiTNPcPuzby9JkCSKWz+1OCjP9I3TvOg2DcVa Y3ns+bTt7AbWE/roWBBzulJMuMqikbfisGkNnvBDM09RV/PfnQSZYhR8UPG6jGVq/yKA bllZaPxRIm02cbuDoN6dQsxpETd4yLqPCPEKZaAGXlgX997P96sHp9B7X1e3ABuuexOn gcfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685026239; x=1687618239; 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=oeLXr/ztgvOtVsK+Kl+n0JOEyozvguRk+veU2UYviCg=; b=DGvC6hWYlZNoP5IBo7sw/cExHJjLsS9Ki164VP39xZrQchCHW2kD8GcWi371URP9Ft KZnLdYnao4UCFOj4Nz9SSq112FKSxHF0aGiCuuyPFi/oAIz1+k/W6do99REPse6tIBlv aeQCdHe6SkGo0aMtpFgt5ODKd3Nt1Ae9sXkdZ8Z7H6wHfkhWJSdQft+M9q/sVtQ1k5Fs WWKb/RuusuXslBNVfmUyAcJHCezqpC5rB9Gjs3kTbnKK2CLe+fcLdCquZKI+ydMy2CT9 GNmkRGEa70kjaigKi1+xaMmU3OlrSdNgdqJLa3pzStu1+AzUSJKqbfL6Cwx4LtyoU4yI EeIw== X-Gm-Message-State: AC+VfDyuHd/GLV3OGKZTzlP/OMn4vJw2P1ucrUrNBZbwC8vFfANr5MZe 4o199Pi4oi3vMF+tKW7iRnX7aw== X-Received: by 2002:a7b:c5da:0:b0:3f6:774:fec with SMTP id n26-20020a7bc5da000000b003f607740fecmr2762120wmk.29.1685026239445; Thu, 25 May 2023 07:50:39 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id n4-20020a05600c294400b003f3157988f8sm2349559wmd.26.2023.05.25.07.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 07:50:38 -0700 (PDT) From: Alexandre Mergnat <amergnat@baylibre.com> Subject: [PATCH v2 0/2] Fix and clean MT8365 clock indexes Date: Thu, 25 May 2023 16:50:26 +0200 Message-Id: <20230517-fix-clk-index-v2-0-1b686cefcb7e@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALN1b2QC/3WOOw6DMBAFr4JcZ8E2vyRV7hFR2GYJq4BBNkEgx N1j6FKknCfN02zMoyP07B5tzOFMngYbQF4iZlplXwhUB2aSy5TnooSGFjDdG8jWuMCt4FmqVVP kGllwtPII2ilr2sP6jMlcxBk4I5JpGMkk/XRNizz5eTnE0WHYzpBnFbglPw1uPbtmcaz/EmYBH EQmeVkqUaZSP7RaO9IOYzP0rNr3/QvBW6pQ5gAAAA== To: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Chen-Yu Tsai <wenst@chromium.org> Cc: Markus Schneider-Pargmann <msp@baylibre.com>, 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 <amergnat@baylibre.com> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1079; i=amergnat@baylibre.com; h=from:subject:message-id; bh=mJgIzKbuG8pOxtxWfLmmBivGM0R6E16D6cc2oakm5fM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkb3W+7R4+WpLQFt5TQvVau/Q3VcVbO3w8VqqssbLY g5NzkRyJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZG91vgAKCRArRkmdfjHURclZD/ 9QLAUKtYzpR4BF4chcuH2K+VHCEK/q+A72ywFvKsKuqPYRq3bl/hB3x9pw/ZIf8ZTIn0jdVYXxicFt 4v66fpwPsT7bZFvIWwt3pOy7NgbWH+xHHRXh2y4V6RS/fIwekCb9vwty3//kGvBan7/Z2/+sbpSJkp zzMy/9Mcw5n9MdE4KvbK5TvB6RIRBOFs2/Oli0bZqhW/M0YTByzZPbqK89UtpCgxs3ok1vtCsC5u4M v15AywGqae1FGszDfABRIIr5I2oJWjTm4zz16RH6B4dC90EmM0/2unf8fIZQK3sFnxS/58XsaKnyGm INyRxjk5FfNaMzWZorK5s7PRTiTYokSnVpqbL/O1YwCfG15QLTd8xlYzMk5jOROui+mcv3ZDzGOe2r M3jEMABp7BPr3k+yxCluJ9rQXh2kfAd36EpgRzVgoOZTQnjHW5+lrpbxhqCwZGFfnx3aiT3JPbqLLK x+KK6oN/1l90s7lrSAdoNfDMhcKda+Ghv2ZWNBYxVGh+oHz03B4a5HnicdgxYsXFytTVC2/hw4W7DZ JBSlS/aVAmHJMam/I9GpfPLL1obX+zETV9SwV2iruVVx9Eb7+THBnB5Bg9L6DX6qlW0t3gdhfwDn+w g/h4HGJcjlSWUYC1F0X413yT93KRezxA/bm+7jABjd3Uoty15pMrAB+04Jdg== 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766878179828561588?= X-GMAIL-MSGID: =?utf-8?q?1766878179828561588?= |
Series |
Fix and clean MT8365 clock indexes
|
|
Message
Alexandre Mergnat
May 25, 2023, 2:50 p.m. UTC
The first commit replace un unusable clock by another one.
The second one fix a regression which prevent the initialization of the
latest indexed clocks. The regression is introduced with [1].
[1]: Commit ffe91cb28f6a ("clk: mediatek: mt8365: Convert to
mtk_clk_simple_{probe,remove}()")
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
Changes in v2:
- Add the missing clocks in the mt8365 clock driver.
- Revert all change in binding file except for one clock.
- Link to v1: https://lore.kernel.org/r/20230517-fix-clk-index-v1-0-142077a1732b@baylibre.com
---
Alexandre Mergnat (2):
dt-bindings: clock: mediatek: replace unusable clock
clk: mediatek: mt8365: Fix index issue
drivers/clk/mediatek/clk-mt8365.c | 11 +++++++++++
include/dt-bindings/clock/mediatek,mt8365-clk.h | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
---
base-commit: ac9a78681b921877518763ba0e89202254349d1b
change-id: 20230517-fix-clk-index-96043baf65be
Best regards,