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 2771F606A31C for ; Mon, 30 Nov 2026 11:41:04 +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=jWHUT5up; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VIaaovRg 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=2FXkl450FoxaXr9fywTKTBcG/j3o6I53H16vJcnubeE=; b=jWHUT5upzIeyqniylB5bgwOuP3 iXNa02mjSY09a/mZf6FASQdvc7/TeKrb+b32SGNms8wWZpyWD5f+Bv7u9Kr9wbxeMlOSA9PEj/CiE I2RJmElhtk0JBJVMJNwhn4lXHhAnCgbQh0M+PYYbvSqDCy5vZjVdbuCtZtf5CxM/E0/CMKc8q052o 6ZE9ZHR+pJQPiDsJEVY2Zn//qKQntZNKtk10GZ9bFy354YAL9HcSAPR2wN2xsOjgUewJ9YezWU+jh aV9Xcn6yunO09n3BhDUCPFD+onwJrX05sUQ5pYQDsuJYbZi9F30BYrSUybwi2oaiTs7vl+A4do1JH P9qCXIUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXzkW-00000004MWF-2kRN; Mon, 30 Nov 2026 11:40:48 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXzkT-00000004MVw-2PLr for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 11:40:47 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id CF9B16192D; Mon, 30 Nov 2026 11:40:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B5081F000C1; Mon, 30 Nov 2026 11:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796038844; bh=2FXkl450FoxaXr9fywTKTBcG/j3o6I53H16vJcnubeE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=VIaaovRgmv1PNfSp7qOX7MoaK7u4lUrelg/28op4tVPj8cqJHEivobwKWlnILsdd/ 4cWpHnZz9ZT/T9qCITx01ACxiPKqQdL2Oo6D+O1w3B0VVXZOBAxt452WINrKzqF4JN PZdUOdydR+hUEsrdgUTBVe4JEpCUq+HsBdd8uJa7aZL5FtWLN6CV0b2ktDW0ATXoKF ZEx2a6aFTgwHGZHe3gpn+v6XkerKcKH3ATVp8U6uR6UANt90B5OmVzAhf0vd9XFz8C iM3BU01VZpYHizcMbW7hT/QoiXgtJlfIzcYmFjhAP3+PyOWODjTb4GAzjD0Hb+9cVx zja+/e27meVqg== Date: Mon, 30 Nov 2026 19:20:19 +0800 From: Jisheng Zhang To: Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Rutland , Sebastian Hesselbarth , Stephen Boyd , Brian Masney , Jerome Brunet , Linus Walleij , Philipp Zabel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 05/13] dt-bindings: soc: synaptics: add SL2610 system controllers Message-ID: References: <20261115102401.3520-1-jszhang@kernel.org> <20261115102401.3520-6-jszhang@kernel.org> <20261123-bold-neat-albatross-e92a2b@quoll> <7171e726-60e3-4ee2-8d63-b2decbf74856@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7171e726-60e3-4ee2-8d63-b2decbf74856@kernel.org> 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=-15.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,INCLUDES_PATCH, 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 Tue, Nov 24, 2026 at 11:00:00AM +0100, Krzysztof Kozlowski wrote: > On 23/11/2026 13:50, Jisheng Zhang wrote: > > On Mon, Nov 23, 2026 at 11:28:23AM +0100, Krzysztof Kozlowski wrote: > >> On Sun, Nov 15, 2026 at 06:23:44PM +0800, Jisheng Zhang wrote: > >>> Describe the SoC, MCU, AVIO and CPU system control blocks, including their > >>> clock inputs, clock and reset providers, and pin configuration subnodes. > >>> The clock and reset providers share each register block node. > >>> > >>> Add the clock and reset identifiers used by consumers of these blocks. > >>> > >>> Signed-off-by: Jisheng Zhang > >>> --- > >>> .../soc/synaptics/syna,sl2610-soc-syscon.yaml | 178 ++++++++++++++++++ > >>> MAINTAINERS | 3 + > >>> include/dt-bindings/clock/syna,sl2610.h | 131 +++++++++++++ > >>> include/dt-bindings/reset/syna,sl2610-reset.h | 80 ++++++++ > >>> 4 files changed, 392 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-soc-syscon.yaml > >>> create mode 100644 include/dt-bindings/clock/syna,sl2610.h > >>> create mode 100644 include/dt-bindings/reset/syna,sl2610-reset.h > >>> > >>> diff --git a/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-soc-syscon.yaml b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-soc-syscon.yaml > >>> new file mode 100644 > >>> index 000000000000..cdf947cb3e0f > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-soc-syscon.yaml > >>> @@ -0,0 +1,178 @@ > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >>> +%YAML 1.2 > >>> +--- > >>> +$id: http://devicetree.org/schemas/soc/synaptics/syna,sl2610-soc-syscon.yaml# > >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >>> + > >>> +title: Synaptics SL2610 system control registers > >>> + > >>> +maintainers: > >>> + - Jisheng Zhang > >>> + > >>> +description: | > >>> + The SL2610 family has separate SoC, MCU, AVIO, and CPU system control > >>> + register blocks. The SoC and MCU blocks provide clocks, resets, and pin > >>> + control. The CPU block provides clocks. The AVIO block contains audio PLLs. > >>> + > >>> + Clock and reset specifiers refer directly to the system control node. > >>> + Pin group configurations are direct children of the SoC or MCU node. > >>> + There are no separate clock, reset, or pin controller child nodes. > >>> + > >>> +properties: > >>> + compatible: > >>> + items: > >>> + - enum: > >>> + - syna,sl2610-soc-syscon > >>> + - syna,sl2610-mcu-syscon > >>> + - syna,sl2610-avio-syscon > >>> + - syna,sl2610-cpu-syscon > >>> + - const: syscon > >> > >> Split the binding file, you combined multiple different devices. > > > > sure, will do in next version > > > >> > >> Also, bindings should be placed in respective directories, not soc. > > > > I try to follow existing examples: > > Documentation/devicetree/bindings/soc/ti/ti,j721e-system-controller.yaml > > Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2044-top-syscon.yaml > > Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml > > and so on. > > > > Especially, the 2nd and the last one also document the bindings of a mfd > > for clk. It seems upstream accepts both soc and mfd. TBH, I have no > > preference, but these are recent examples, so I follow their style. So if > > you still prefer putting the bindings in mfd directory, kindly comment. > > I do not suggest mfd, because there is no such function. Tricky to say, > binding is a mess, but first glance suggested devices here have specific > functions. > Hi Krzysztof, the mcu and soc syscon mainly contain reset, pinctrl and clk, plus some misc registers; the avio syscon contains clk, mipi dphy and other misc registers. the cpu syscon also contain misc registers. Given above facts, I think putting the bindings doc in soc/synaptics is better. If you have a better specific place, kindly point out where is your preference. Thanks