From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796038845; b=UL4D05tqL7vYAVIDJLruT8FOKnx4FpF5OIYCMgvkJTzAA60qU+f+e1QG1dCNyx9BzR0S OCUM1ImwszBR8/OwQJoxgeEpyxRWsFynQumpUBW3T/MIRYaWyuwy2WnpTWd2RFgjWeRE3 BdKCQaBz1/nnkI3GgbDYUXXB4ppiSBH6jiQQE5/IECnlQHUUtfQ1xaUcZzDtZB3/zNeoT RaMSRD67XUHN+8+z12djDlOBRz8CHf1rXNaJ//VUC2qt9j9dQMbaKN6hq1inQdR1aDM5E BeehO2VxFRZJv6iA/pK7ugHj5+a4WY0C7H+7t1HJQBM42Xbc1zH8C20lzQhLLH9Yz/w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796038845; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=2FXkl450FoxaXr9fywTKTBcG/j3o6I53H16vJcnubeE=; b=XzDfeJa6ZjTsX9XzcbnHXGK8bP0d7bWeUkxtFZQoPV+jiXRuUlNzJJoZKP45Dm/tJ5In qi39U7174ElIGkcDk5nC0NG7ks4cZmEj1NzbZ8CAiN6jGXx1H5hsXLI3Vv3j8K7g7h52Q lm1neru7RAP+HpkGR464PHou17RRkKqZXi6STHpNnnks9tBmW6pPHAWinM9CeDAu81xtH yRi1N/+dPDhD7uYQelTmCVdWVj1kRoDBCciNACRhk4dCZng/s+fxtPeFdMjRnzxyImlcB y9E/IHm102aopjNKiOW10joaTZqPl8Ptf19m/p+QfrEhYzEVjLK0YlDT/aM9lC0kHrg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VIaaovRg; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 064C2606A31C; Mon, 30 Nov 2026 11:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VIaaovRg 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-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7171e726-60e3-4ee2-8d63-b2decbf74856@kernel.org> 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