{"id":2226098,"url":"http://patchwork.ozlabs.org/api/patches/2226098/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260422-u-boot-amlogic-test-v1-1-b5790d3c04e0@linaro.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260422-u-boot-amlogic-test-v1-1-b5790d3c04e0@linaro.org>","list_archive_url":null,"date":"2026-04-22T08:48:58","name":"clk: meson: do not fail when setting SD_EMMC_x_CLK0","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"2ed6a4bc3bcb2e4f69c8b07851597d7dc0c61b6b","submitter":{"id":84903,"url":"http://patchwork.ozlabs.org/api/people/84903/?format=json","name":"Neil Armstrong","email":"neil.armstrong@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260422-u-boot-amlogic-test-v1-1-b5790d3c04e0@linaro.org/mbox/","series":[{"id":500948,"url":"http://patchwork.ozlabs.org/api/series/500948/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500948","date":"2026-04-22T08:48:58","name":"clk: meson: do not fail when setting SD_EMMC_x_CLK0","version":1,"mbox":"http://patchwork.ozlabs.org/series/500948/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226098/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226098/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=fv6phCc9;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.b=\"fv6phCc9\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org","phobos.denx.de;\n spf=pass smtp.mailfrom=neil.armstrong@linaro.org"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0tF33WP7z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 18:49:11 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id AA36583936;\n\tWed, 22 Apr 2026 10:49:07 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 28D8B83E76; Wed, 22 Apr 2026 10:49:06 +0200 (CEST)","from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n [IPv6:2a00:1450:4864:20::331])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id C91048352B\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 10:49:01 +0200 (CEST)","by mail-wm1-x331.google.com with SMTP id\n 5b1f17b1804b1-48a563e4ef7so16259235e9.0\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 01:49:01 -0700 (PDT)","from arrakeen.starnux.net ([2a01:e0a:106d:1080:52eb:f6ff:feb3:451a])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488fb72d365sm211755165e9.1.2026.04.22.01.49.00\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 01:49:00 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1776847741; x=1777452541; darn=lists.denx.de;\n h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n :date:from:from:to:cc:subject:date:message-id:reply-to;\n bh=dAQM9W7MIYTk8loJB6VBHwgqVK0O5C+QfLuZ6li2CUI=;\n b=fv6phCc9qg860Bah81vAzbjqNJ9+NtCjT6DoBQv5wWC/yJlvDQcx7aENtFChblneBw\n 20MxniQRU1JH658PCRex5NQAvFr99Sic4pFUEw9HclRSNr+GOZwUjGg+sbD8qZpatEQ2\n vZFmMd1lj5O2Pe32CQzGRRNDCtLtn6ZsTm6nJP/GCXZ6H/e5v/M5eWBy0yclTVEbLait\n n/eeet+ECSpxPi+uTnnv5B6FyeCzPoYdx+vyB7H4K83zy1PRpQ68ju0YEtbpmDYKZELq\n yVn4fQLvh/gnxuNGMCS5RJMfbC3pgjAPtSeUhqMxyVm31/PvR3AMvMy32wwwGPEmgUBa\n u+kQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776847741; x=1777452541;\n h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=dAQM9W7MIY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KYT+VAayugF0aaaNHqozUV75id5c3SxJlQ6QghSwKJ6TFl\n nuNQjrfVrLoa/Okjx6ebiyUuJKBWw8W9n5qNc/gn9AkWcMGIAzR1ZT/eDacJB98I4zfw==","X-Received":"by 2002:a05:600c:5297:b0:485:9a50:3370 with SMTP id\n 5b1f17b1804b1-488fb74a431mr350427545e9.8.1776847740911;\n Wed, 22 Apr 2026 01:49:00 -0700 (PDT)","From":"Neil Armstrong <neil.armstrong@linaro.org>","Date":"Wed, 22 Apr 2026 10:48:58 +0200","Subject":"[PATCH] clk: meson: do not fail when setting SD_EMMC_x_CLK0","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260422-u-boot-amlogic-test-v1-1-b5790d3c04e0@linaro.org>","X-B4-Tracking":"v=1; b=H4sIAHmL6GkC/yXMQQqDMBBA0avIrB2IQVLSq4gLE8d0SjWSiSKId\n 29sl2/x/wlCiUngWZ2QaGfhuBQ0dQX+NSyBkMdi0Eob1WqNG7oYMw7zJwb2mEkyGjeaZjIP662\n CUq6JJj5+167/Wzb3Jp/vFVzXF5tQyhh3AAAA","X-Change-ID":"20260422-u-boot-amlogic-test-6bd61f679c90","To":"u-boot-amlogic@groups.io, u-boot@lists.denx.de","Cc":"Lukasz Majewski <lukma@denx.de>, Tom Rini <trini@konsulko.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Marek Vasut <marek.vasut+usb@mailbox.org>,\n Peter Robinson <pbrobinson@gmail.com>,\n Svyatoslav Ryhel <clamor95@gmail.com>, Simon Glass <sjg@chromium.org>,\n Ferass El Hafidi <funderscore@postmarketos.org>,\n Neil Armstrong <neil.armstrong@linaro.org>","X-Mailer":"b4 0.15.1","X-Developer-Signature":"v=1; a=openpgp-sha256; l=1759;\n i=neil.armstrong@linaro.org; h=from:subject:message-id;\n bh=xV2a21hKp5VhpsmUrUee1s0gQeQIm3eaRsuWK/Q6bcM=;\n b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBp6It7lAy8JvM6kUYnXtUOwT8UkXgyeSXmUPb2+oga\n 4Pi2PCuJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCaeiLewAKCRB33NvayMhJ0StQD/\n 4vNa51gCs5StNa3oWuFA6JhdanyO/mKCan8OzJ/OpbHzTsCZEj/6ufhYkC8EUM1U9w4haO8HKLQHpw\n WxkjQF5l+JzEtWGEHqTiplkINCuKKXYqt33puzItjHMnWVHAUbjEVHhRmrDU8VSu1edQc04B8Y/SH+\n rELAKwElOxEHfUPgVT5bdZwkaJh/lEed/n2RaLNKSFEaExi1e4+gb9cpsuTAD9KXK+OMY3+izDpVxc\n 1Yrt/jOD4QZypwkAzjNneUvn6TwkinWRO1S3CP0Ot/+IwoUbxcf1qydfz5LSNGtWW3SrWhsDB8HfGY\n ZVcYmk98b3CMO1RBg3bcXUJ83kSRrlNBtNMx3jn4wAtCd7QT52uSIeDvF0V7chMvfq49tWnozFSc4+\n SIpLsS/bCpBlOt2zVSsioKN04L2cr0mvyA3pyhKitltMgHRAoS0Ge5/DUp0DBdS2JOnEiGd2CBUVDu\n L2/uJINu/AGnGlHXlamnxfmMuyz0WMGhwpJA2Z9dI/trUyldLbR0ipj183eq/jTiKU4IUuQHBnmxm7\n RDTObq+Q07zP7TY5fb/L4qtPvS/+YDWHeXzl5Z5svPMgXiQ2JoXi91AkIvL+eGZsyBvCcgletSZ8no\n o4TQ0sBZFDTe436iUrOHlCuaJW45MEKiRprl9SO/q7ZyktIx1YwrJrf6+9bg==","X-Developer-Key":"i=neil.armstrong@linaro.org; a=openpgp;\n fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"Since Linux v7.0, the MMC controllers has the following properties:\n  assigned-clocks = <&clkc CLKID_SD_EMMC_x_CLK0>;\n  assigned-clock-rates = <24000000>;\nWhich causes mmc controllers to fail in probe.\n\nMake sure we do not fail until we properly implement rate setup.\n\nSigned-off-by: Neil Armstrong <neil.armstrong@linaro.org>\n---\n drivers/clk/meson/g12a.c | 5 +++++\n drivers/clk/meson/gxbb.c | 5 +++++\n 2 files changed, 10 insertions(+)\n\n\n---\nbase-commit: 052988aa29bfd506d7ce207fbb3f5374a5dbecbb\nchange-id: 20260422-u-boot-amlogic-test-6bd61f679c90\n\nBest regards,\n--  \nNeil Armstrong <neil.armstrong@linaro.org>","diff":"diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c\nindex a7a42b2edb6..f33938e1419 100644\n--- a/drivers/clk/meson/g12a.c\n+++ b/drivers/clk/meson/g12a.c\n@@ -946,6 +946,11 @@ static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id,\n \tcase CLKID_HDMI:\n \t\treturn meson_clk_set_rate_by_id(clk, CLKID_HDMI_DIV,\n \t\t\t\t\t\trate, current_rate);\n+\tcase CLKID_SD_EMMC_A_CLK0:\n+\tcase CLKID_SD_EMMC_B_CLK0:\n+\tcase CLKID_SD_EMMC_C_CLK0:\n+\t\t/* TOFIX: implement rate set for MMC clocks */\n+\t\treturn 0;\n \tdefault:\n \t\treturn -ENOENT;\n \t}\ndiff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c\nindex 218be45c2cb..bf46f4d50bc 100644\n--- a/drivers/clk/meson/gxbb.c\n+++ b/drivers/clk/meson/gxbb.c\n@@ -900,6 +900,11 @@ static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id,\n \tcase CLKID_HDMI:\n \t\treturn meson_clk_set_rate_by_id(clk, CLKID_HDMI_DIV,\n \t\t\t\t\t\trate, current_rate);\n+\tcase CLKID_SD_EMMC_A_CLK0:\n+\tcase CLKID_SD_EMMC_B_CLK0:\n+\tcase CLKID_SD_EMMC_C_CLK0:\n+\t\t/* TOFIX: implement rate set for MMC clocks */\n+\t\treturn 0;\n \tdefault:\n \t\treturn -ENOENT;\n \t}\n","prefixes":[]}