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 A2C4D606A334 for ; Wed, 2 Dec 2026 09:38:37 +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=OOV6Adz/; 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=XKYziyv4 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=CFRx1l3vnsWzwjr8UbIW6qip8VMjinqMNK2I5WR6Bg8=; b=OOV6Adz/hYcsF5qBTNhdoV9uW3 Kw4ZEc7ciZay2CUPD/YmmJTBNA/qmWMu47erj7m2VF3X+z9PHUxn4njtbxmlgvJ1HFb4jAavgyRVx yHkc3NxRlKzhPqJ5x+0vE9V5EGSeAQ/hBZmyRJ1eVr677qSUVxOES8qPdtOFzhz4aBIdxiPV8+mIH CJr3uNSkMg32C8bOlE/KPZC8FwXd9p2rR3AM9MecbziDkqdpo6me5hGJ1eatudKpAKlVT/Ve9Enzs SPEbE5Uj7jrCR5jali++jWQtg1HXNhftjTU2PoA/4kAgKpaoeEFhIfhAJCAO1irEGGQOygdndzarL 32fjf1lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYgnA-0000000Asbo-2Drw; Wed, 02 Dec 2026 09:38:24 +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 1xYgn8-0000000Asae-05sS for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 09:38:23 +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=CFRx 1l3vnsWzwjr8UbIW6qip8VMjinqMNK2I5WR6Bg8=; b=XKYziyv4F4U6sjpYWVtr K/M0Bo8/H4XrmOAsAPH8wkVmRm0t1d2a1c8V6MxtRKtpAMNzbkzzcIvZYxCKT69W 9csgPoLzdxzk5zLJr371RBSBfqHkVUt8G1gYOCH4x/xTSpQWuLa5ip0a1r16ctdd 4JskcOKBengT/arKuUHmCm9ZoAZ/sOvhQR8WtTN2/UZjzWfLq3pWQ8112RbLYyI+ vaYGXZE4mF/+HDzyhbCEsaNM7VVU39U66wjLZkfR9Vwzd5lfflJCGQC/5lA1TtQa MKRtxE9qpW9l6Ic3UbrfQO0KCk8BKFnfTMPd4TZLuJKEp/OA9BTjvrgdkGvCLSVW WQ== Received: (qmail 684575 invoked from network); 2 Dec 2026 10:38:17 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 2 Dec 2026 10:38:17 +0100 X-UD-Smtp-Session: l3s3148p1@fDoWZ6NhwOgujnvT Date: Wed, 2 Dec 2026 10:38:17 +0100 From: Wolfram Sang To: Geert Uytterhoeven Cc: 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, Geert Uytterhoeven Subject: Re: [PATCH v7 04/14] clk: renesas: r8a78000: Add clk_hw to clk_map Message-ID: References: <2662280c1da8bef86018c4ea2663ddf5b14f1639.1796043912.git.geert+renesas@glider.be> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2662280c1da8bef86018c4ea2663ddf5b14f1639.1796043912.git.geert+renesas@glider.be> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_013822_345132_B072985C X-CRM114-Status: GOOD ( 11.67 ) 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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Mon, Nov 30, 2026 at 02:12:35PM +0100, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Prepare for mapping to other than fixed-rate clocks by adding an array > of clk_hw pointers, indexed by the clock map entry index, and populating > it up-front. > > Move r8a78000_cpg_priv.fixed_hws into get_hws(), as it is no longer > needed afterwards, and drop NUM_FIXED_CLKS. This one I didn't really get, but I trust you and Marek. Just some namespace issues I discovered now... > Signed-off-by: Geert Uytterhoeven > Tested-by: Wolfram Sang This one still stands. It works fine for me. > Reviewed-by: Marek Vasut > -static const unsigned long fixed_clk_rates[NUM_FIXED_CLKS] = { > +static const unsigned long fixed_clk_rates[] = { r8a78000_fixed_clk_rates? > +static int clk_id_map_find(const struct clk_id_map *map, u32 dt_id) r8a78000_clk_id_map_find? > +static struct clk_hw **register_fixed_clks(struct device *dev) r8a78000_ prefix? > +static struct clk_hw **get_hws(struct r8a78000_cpg_priv *priv) r8a78000_ prefix?