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=1795439444; b=uj5ACyw+V8htGbWb2SQBz78enli94x6+lPuMf6gYJ6mwNsB8IypiXZDI/w41XTuy00p2 mIDGQDRlEZkjicD7CB/O/6KLleMspNHyF8fOglVJMKE0X+0bz9wnbCdJAqKGFwi+w5O6d 9jgaD63DVZSA5ifzzlMsltbkDls5ZdqwoRnIhRt0TgJCC6irvfjnpU3WSgBVLfr6YPNe+ ESfhHHqzCVC3YUXFf9+zxxtzhofyyyu33IaNjc+Oai0OFXDqquaEhhy+nYjsSe0O1SiVe SoyVJUl2ZcBaBsKaEWRlE6EQDwwtlbZV06W8qRmI4jGM88OV9bmlBjZrF3gOuSyL6DQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795439444; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=Or4wrQKnsP3R5qoKnKe6WrWsdLuS3fNNUOgd09GX0wo=; b=C/9weaOiv1WdlNOqtz89OcWTYQfXcI1bjS0oT6lugs+pewnVgh+31+BGuBx/2jG6e63h 7qOARxTYYyutSLjNTOY+ZNoZ5Uy/PXjydFPSY24l6i5KHdKaehd7iOdNJL+/6MoPhvX3/ c3yWeLiHZtj+WVwA01jv2e0cF1wZb5SKPYnCFHHZfdzYdMZUsDg8HN0OdReBxH772PF7u Vp+L/3tnzHK85YHge68Y+2p8Dda+eEY/dSI7bz0qJqRgRVZNsyRFrA7NICnDxs/XUUNsl qZLxXVGnAVj0O9rTZp+fqqxJz/F8JYA7h+1tLc/8kRyUYVMgTz2bb8j4EJfGwAHKVdA== 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=o0d3y919; 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 17F0F606A31A; Mon, 23 Nov 2026 13:10: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=o0d3y919 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C72D91F000CF; Mon, 23 Nov 2026 13:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795439443; bh=Or4wrQKnsP3R5qoKnKe6WrWsdLuS3fNNUOgd09GX0wo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=o0d3y91906Nl6/5zGUdpL0VRf92NQHUgE+88lr2/bPbIDhqlli/PkzXhYtCyXo6sB qwRegDFNn8kkHS2vGp8yZPWfeKYCykyUBgci9q0kuIXYs2ltyW0iptbu0ZTJOXYvb5 YTmYmt0RwoJdvbthMvsCvkc/Y8kg0a7loCNMQJ+krK37buSANbR3BKLoFuJ4EgY0um UbxbPgZU4HeJf9F95aEN7h+T0keMo7kficKw0XbIaRDGi8x8ms9XY1VZJ8kyw8PM+8 iRCrYnJrOVbIBenuw0Vy8wKi+n/5cBu8CubAisC1SUprfsjmTvdMxZ2EgjhHeqSOK6 A91dCaH8Fz9Nw== Date: Mon, 23 Nov 2026 20:50:18 +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> X-Mailing-List: linux-kernel@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: <20261123-bold-neat-albatross-e92a2b@quoll> 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. Thanks