From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23F78E7AD62 for ; Thu, 25 Dec 2025 16:45:33 +0000 (UTC) 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y+IbK0Z2/OU5lKK1OsobvgQQxvg8i2YYJKuwcQL/IaE=; b=0SdDxTL4vGZ6yIao17RnQjHbju aMDspZ0Nvns8kIw4SHxT9is47lR6munjLOVQWVKDrGj8YoMenRgLoJhhbqFRpSzPB7A/X/R6KLzqT MlpG2WhwLa+sZXuMFaOiISX9LiYpd82Tp+vz9fwse7AW6do93NcBND1adHAziC89ouSpac+YqsbnX JPD7aoqlHqb+z/ri8foTbZBBlW7oGwz0gt6kGqrFu/zPsPeq2Np1QCv6qyHX2nCg/5BtkxbOdA7DT px7Vt/DWxhKtc9hFFtzjI9lruLt78kR8sJbPKoGVXYysBYL3UeY+55hO7IBfC7llVtiBPadF8COeK J2gvBs7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vYoSs-00000000XwQ-2W6B; Thu, 25 Dec 2025 16:45:26 +0000 Received: from smtpout-02.galae.net ([185.246.84.56]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vYoSp-00000000Xw0-1c6v for linux-arm-kernel@lists.infradead.org; Thu, 25 Dec 2025 16:45:25 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 1D6A71A241B; Thu, 25 Dec 2025 16:45:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D4ABC60742; Thu, 25 Dec 2025 16:45:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CE071103C8CAF; Thu, 25 Dec 2025 17:45:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1766681118; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=y+IbK0Z2/OU5lKK1OsobvgQQxvg8i2YYJKuwcQL/IaE=; b=w2oWrB/Lvj0ilqa74OxdNWZZ5v5bZKDMsOwNdTw98nCTYRmHJf0e8HPP4xrul/ajIIWaG6 t+8YBXYcFixu06CqgdbC5v32jcQub6bcSngIGegihqteqFa3sT2OygBAntd7puzJ5JuOLc yrAN1lGgPUzv5ggcWybFYL0ATjFVbfwCFzSN99Xyolep1YR7P1d+HA4V2jYmfT5EpNkjGj taMJ9+3ELee1EwOn0NwVvTxts78Sk4we6hcqZom9KxJwUndXFo9dk4NPmJ/VIt4ktwNOtg Jix8U3vz8F7vK0JiOUBb9DweiouM32UX42UK5WVXYkIP4EzjlXnlyHNZTEZLSg== Date: Thu, 25 Dec 2025 17:45:12 +0100 From: Alexandre Belloni To: Krzysztof Kozlowski Cc: Robert Marko , robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev, herbert@gondor.apana.org.au, davem@davemloft.net, vkoul@kernel.org, andi.shyti@kernel.org, lee@kernel.org, andrew+netdev@lunn.ch, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linusw@kernel.org, Steen.Hegelund@microchip.com, daniel.machon@microchip.com, UNGLinuxDriver@microchip.com, olivia@selenic.com, radu_nicolae.pirea@upb.ro, richard.genoud@bootlin.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, broonie@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, lars.povlsen@microchip.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org, luka.perkov@sartura.hr Subject: Re: [PATCH v3 01/15] include: dt-bindings: add LAN969x clock bindings Message-ID: <20251225164512525907d8@mail.local> References: <20251223201921.1332786-1-robert.marko@sartura.hr> <20251223201921.1332786-2-robert.marko@sartura.hr> <20251224-berserk-mackerel-of-snow-4cae54@quoll> <78bf252c-fd5e-4a36-b1a3-ca8ed26fde7a@kernel.org> <2025122516245554f59e2e@mail.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2025122516245554f59e2e@mail.local> X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251225_084523_567158_60CA6235 X-CRM114-Status: GOOD ( 25.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25/12/2025 17:25:07+0100, Alexandre Belloni wrote: > On 25/12/2025 09:47:34+0100, Krzysztof Kozlowski wrote: > > On 24/12/2025 15:01, Robert Marko wrote: > > > On Wed, Dec 24, 2025 at 2:05 PM Krzysztof Kozlowski wrote: > > >> > > >> On 24/12/2025 11:30, Robert Marko wrote: > > >>> On Wed, Dec 24, 2025 at 11:21 AM Krzysztof Kozlowski wrote: > > >>>> > > >>>> On Tue, Dec 23, 2025 at 09:16:12PM +0100, Robert Marko wrote: > > >>>>> Add the required LAN969x clock bindings. > > >>>> > > >>>> I do not see clock bindings actually here. Where is the actual binding? > > >>>> Commit msg does not help me at all to understand why you are doing this > > >>>> without actual required bindings. > > >>> > > >>> I guess it is a bit confusing, there is no schema here, these are the > > >>> clock indexes that > > >>> reside in dt-bindings and are used by the SoC DTSI. > > >> > > >> I understand as not used by drivers? Then no ABI and there is no point > > >> in putting them into bindings. > > > > > > It is not included by the driver directly, but it requires these exact > > > indexes to be passed > > > so its effectively ABI. > > > > How it requires the exact index? In what way? I do not see anything in > > the gck driver using/relying on these values. Nothing. Please point me > > to the line which directly uses these values.... or how many times I > > will need to write this is not ABI? > > > > The index here is the exact id that needs to be set in the PMC_PCR > register and so it is dictated by the hardware. This is the line you are looking for: https://elixir.bootlin.com/linux/v6.18.2/source/drivers/clk/at91/clk-generated.c#L44 regmap_write(gck->regmap, gck->layout->offset, (gck->id & gck->layout->pid_mask)); > > > -- > Alexandre Belloni, co-owner and COO, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com