From patchwork Wed Jan 31 13:56:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kazuhiro Hayashi X-Patchwork-Id: 13537547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2E2BC48285 for ; Tue, 30 Jan 2024 13:56:26 +0000 (UTC) Received: from mo-csw.securemx.jp (mo-csw.securemx.jp [210.130.202.131]) by mx.groups.io with SMTP id smtpd.web10.18828.1706622981738827046 for ; Tue, 30 Jan 2024 05:56:22 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: toshiba.co.jp, ip: 210.130.202.131, mailfrom: kazuhiro3.hayashi@toshiba.co.jp) Received: by mo-csw.securemx.jp (mx-mo-csw1120) id 40UDuBN21076533; Tue, 30 Jan 2024 22:56:11 +0900 X-Iguazu-Qid: 2rWhYrJNucOwoKjs0G X-Iguazu-QSIG: v=2; s=0; t=1706622971; q=2rWhYrJNucOwoKjs0G; m=AK/6gXaggWCZ0kdmKTYGA+kbg/jXuczGomWmvbEl0yc= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1123) id 40UDu9ef1948935 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 30 Jan 2024 22:56:10 +0900 From: Kazuhiro Hayashi To: cip-dev@lists.cip-project.org, nobuhiro1.iwamatsu@toshiba.co.jp, pavel@denx.de Cc: biju.das.jz@bp.renesas.com, yuki.saito@toshiba.co.jp Subject: [PATCH 0/1] clk: Fix for restructuring for no reparent case Date: Wed, 31 Jan 2024 22:56:03 +0900 X-TSB-HOP2: ON Message-Id: <20240131135604.1488157-1-kazuhiro3.hayashi@toshiba.co.jp> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 30 Jan 2024 13:56:26 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/14499 With v6.1.72-cip13 + Zynq UltraScale+ MPSoC ZCU102, we observed that Ethernet does not work when it's speed is 100Mbps. This issue happens after d94c14f6fa34f2b8b33e5957f5b8dfb5aaf56b1e is backported to the clk framework, which is not a part of linux-6.1.y and probably is one of the dependencies of versa3 clk generator support for Renesas SoCs. See the patch series "Add versa3 clk generator support". In mainline, a fix for the backport commit above is provided: be8fa5fd0a48fd2decc4de81ffe72bb3ceacecd9. This should be applied to linux-6.1.y-cip as well. With v6.1.72-cip13 + this patch, we confirmed the ZCU102 Ethernet works at 100Mbps. Marek Szyprowski (1): clk: Fix best_parent_rate after moving code into a separate function drivers/clk/clk.c | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Nobuhiro Iwamatsu