[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a26d89a-95ca-4888-aaea-876b9612d006@kernel.org>
Date: Mon, 9 Feb 2026 12:34:04 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Gary Yang <gary.yang@...tech.com>, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, p.zabel@...gutronix.de, peter.chen@...tech.com,
unicorn_wang@...look.com, inochiama@...il.com, alchark@...il.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, cix-kernel-upstream@...tech.com
Subject: Re: [PATCH v8 1/3] dt-bindings: soc: cix: document the simple-mfd
syscon on Sky1 SoC
On 09/02/2026 10:33, Gary Yang wrote:
> There are two system control on Cix sky1 Soc. One is located in S0 domain,
> and the other is located in S0 and S5 domain. The system control contains
> resets, usb typeC and more. At this point, only the reset controller child
> is described as usb typeC uses it by phandle.
>
> Signed-off-by: Gary Yang <gary.yang@...tech.com>
Subject is not correct now. There is no simple-mfd. There should not be
even syscon, because it is Linux term. Just use the name of this device.
> ---
> .../soc/cix/cix,sky1-system-control.yaml | 42 +++++
> include/dt-bindings/reset/cix,sky1-rst-fch.h | 42 +++++
> include/dt-bindings/reset/cix,sky1-rst.h | 164 ++++++++++++++++++
> 3 files changed, 248 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> create mode 100644 include/dt-bindings/reset/cix,sky1-rst-fch.h
> create mode 100644 include/dt-bindings/reset/cix,sky1-rst.h
>
> diff --git a/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml b/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> new file mode 100644
> index 000000000000..5507deb54ebd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/cix/cix,sky1-system-control.yaml
> @@ -0,0 +1,42 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/cix/cix,sky1-system-control.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Cix Sky1 SoC system control register region
> +
> +maintainers:
> + - Gary Yang <gary.yang@...tech.com>
> +
> +description:
> + An wide assortment of registers of the system controller on Sky1 SoC,
> + including resets, usb, wakeup sources and so on.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - cix,sky1-system-control
> + - cix,sky1-s5-system-control
> + - const: syscon
> +
> + reg:
> + maxItems: 1
> +
> + '#reset-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + syscon@...00000 {
> + compatible = "cix,sky1-s5-system-control", "syscon";
> + reg = <0x16000000 0x1000>;
> + #reset-cells = <1>;
> + };
> diff --git a/include/dt-bindings/reset/cix,sky1-rst-fch.h b/include/dt-bindings/reset/cix,sky1-rst-fch.h
Filename must match compatible.
I am pretty sure I gave such feedback to Cix before....
Best regards,
Krzysztof
Powered by blists - more mailing lists