From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jisheng Zhang <jszhang@kernel.org>
Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Linus Walleij <linusw@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
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
Date: Tue, 24 Nov 2026 11:00:00 +0100 [thread overview]
Message-ID: <7171e726-60e3-4ee2-8d63-b2decbf74856@kernel.org> (raw)
In-Reply-To: <awQ2ipCw1mEx-wxu@xhacker>
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 <jszhang@kernel.org>
>>> ---
>>> .../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 <jszhang@kernel.org>
>>> +
>>> +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.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-11-24 10:40 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 10:23 [PATCH v2 00/13] arm64: add Synaptics SL2610 SoCs and RDK boards Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 01/13] arm64: kconfig: let ARCH_BERLIN cover Synaptics arm64 SoCs Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 02/13] pinctrl: berlin: use u16 instead of u8 for the offset Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 03/13] pinctrl: berlin: enable module build support Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 04/13] pinctrl: berlin: add optional pinconf support Jisheng Zhang
2026-11-23 10:29 ` Krzysztof Kozlowski
2026-11-15 10:23 ` [PATCH v2 05/13] dt-bindings: soc: synaptics: add SL2610 system controllers Jisheng Zhang
2026-11-23 10:28 ` Krzysztof Kozlowski
2026-11-23 12:50 ` Jisheng Zhang
2026-11-24 10:00 ` Krzysztof Kozlowski [this message]
2026-11-15 10:23 ` [PATCH v2 06/13] soc: synaptics: add SL2610 system controller support Jisheng Zhang
2026-11-23 10:31 ` Krzysztof Kozlowski
2026-11-23 12:34 ` Jisheng Zhang
2026-11-24 9:58 ` Krzysztof Kozlowski
2026-11-15 10:23 ` [PATCH v2 07/13] reset: add Synaptics SL2610 reset " Jisheng Zhang
2026-11-16 11:49 ` Philipp Zabel
2026-11-16 12:05 ` Philipp Zabel
2026-11-15 10:23 ` [PATCH v2 08/13] pinctrl: berlin: add Synaptics SL2610 pin " Jisheng Zhang
2026-11-16 12:08 ` Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 09/13] clk: berlin: add Synaptics clock controller helpers Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 10/13] clk: berlin: add Synaptics SL2610 clocks and PLLs Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 11/13] dt-bindings: arm: berlin: add Synaptics SL2610 SoCs and RDK boards Jisheng Zhang
2026-11-15 10:23 ` [PATCH v2 12/13] arm64: dts: synaptics: add SL2610 family SoCs Jisheng Zhang
2026-11-23 10:35 ` Krzysztof Kozlowski
2026-11-15 10:23 ` [PATCH v2 13/13] arm64: dts: synaptics: add SL2610 family RDK boards Jisheng Zhang
2026-11-19 9:23 ` Richard GENOUD
2026-11-23 10:36 ` Krzysztof Kozlowski
2026-11-16 12:06 ` [PATCH v2 00/13] arm64: add Synaptics SL2610 SoCs and " Jisheng Zhang
2026-11-18 7:54 ` Richard GENOUD
2026-11-23 13:01 ` Jisheng Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7171e726-60e3-4ee2-8d63-b2decbf74856@kernel.org \
--to=krzk@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=jszhang@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox