From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B05E5606A31A for ; Wed, 2 Dec 2026 10:11:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=p85m25JM; dkim=pass (2048-bit key, unprotected) header.d=sang-engineering.com header.i=@sang-engineering.com header.a=rsa-sha256 header.s=k1 header.b=EX+KpBp1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=7JXEhvl9EOWS/DF9Imajvjk/5B9Oh/YsJkJEHEbKkrU=; b=p85m25JMYrKsO7gE6mZMKND84p zZ+Z96dcb0FSH+gVMgIetxqDaec2ftsKQvoHuHO3ib4KQp6LYmFkiIQh0Mqo6A1+33FKb4XTA0xEl mr+8Y2N5CdIUzTViZ8EwxE9xgRvZhOH8ORLcHDAexdrq9806b8RCRlzm7EY/nhMUdwilcucWQKfBj zCZcx67OsVGiIHe5mELlfc26ll6NXpwEwC2Frjd5KOtL+suGt8mhPIENw8ZpS+kUHzZWIiG0ju7YG tw684hvDMjS/4GC2bWsl5OmJaQlwd8Jvu4QCJmG1/0gDoDwCyiantvQY1cpJhl07YmX7SwenptiOb LMDnhcBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhJF-0000000B5kz-3PjL; Wed, 02 Dec 2026 10:11:33 +0000 Received: from zeus03.de ([194.117.254.33] helo=mail.zeus03.de) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhJ8-0000000B5V4-3rpM for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 10:11:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=7JXE hvl9EOWS/DF9Imajvjk/5B9Oh/YsJkJEHEbKkrU=; b=EX+KpBp1yPfX99KXc7hj HCG4OPUhr6MWTp7PQqLGyJBOCbKMBn+YJYmRw207STiJUU7984eozxeiQPKqNGv2 m/kO9ShZ8Fb2hGuW76hTljsuAwbWao7N8cHYcJcr2lxuX2e8GLulE/BwlPE+CWsJ V5fb6keCKSX6SgjKfDFKMwlOBevcA06Y8QQjFoLGJqm7rRXRyoyz/ISM5d7AfvJL SDxBwPrbAUUpvLXs4Q2xui5g1W2hxOEfSLzx6BF7O9AU82jU1dcneymX5teQGCJS Cphj2zkPENSULRF2zekAdKuX9db436fPrSRfuZe6yITxKlUi6VhBfsGUi5nHErfV cA== Received: (qmail 698483 invoked from network); 2 Dec 2026 11:11:21 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 2 Dec 2026 11:11:21 +0100 X-UD-Smtp-Session: l3s3148p1@OXBX3aNhAoMujnvT Date: Wed, 2 Dec 2026 11:11:21 +0100 From: Wolfram Sang To: Geert Uytterhoeven Cc: Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Brian Masney , Jerome Brunet , Ulf Hansson , Philipp Zabel , "Rafael J . Wysocki" , Marek Vasut , Bartosz Golaszewski , Konrad Dybcio , Kevin Hilman , Vinod Koul , Kuninori Morimoto , Laurent Pinchart , Paul Elder , =?utf-8?Q?Cl=C3=A9ment?= Le Goffic , Sudeep Holla , Cristian Marussi , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v7 05/14] clk: renesas: r8a78000: Add SCMI remapping support Message-ID: References: <59fef401875be3fa436de1e46d51d4a7c93b73c1.1796043912.git.geert+renesas@glider.be> <05d0d641-a65c-4cc9-b126-12255f61d196@app.fastmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05d0d641-a65c-4cc9-b126-12255f61d196@app.fastmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_021127_271338_F9F1721F X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 > >> +#define MAP_FIXED(id, rate) { id, FIXED_CLK(rate) } > >> + MAP_FIXED(R8A78000_CPG_SGASYNCD4_PERW_BUS, 266M), > >> + MAP_FIXED(R8A78000_CPG_SGASYNCD8_PERW_BUS, 133M), > >> + MAP_FIXED(R8A78000_CPG_SGASYNCD16_PERW_BUS, 66M), > >> +#undef MAP_FIXED > > > > Why the undef? Couldn't we find a better name and keep the macro? > > To prevent using it below. I wanted to have a clear separation > between default/fallback clocks that are always fixed rate clocks, > and the tables for use with SCMI, which can contain both firmware > IDs and fixed clock IDs. I see. What about a comment above the macro then saying it is only to be used for default clocks?