Re: [PATCH v2 05/13] dt-bindings: soc: synaptics: add SL2610 system controllers
From: Krzysztof Kozlowski
Date: Tue Nov 24 2026 - 05:00:12 EST
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@xxxxxxxxxx>
>>> ---
>>> .../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@xxxxxxxxxx>
>>> +
>>> +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