Re: [PATCH v2 12/13] arm64: dts: synaptics: add SL2610 family SoCs
From: Krzysztof Kozlowski
Date: Mon Nov 23 2026 - 05:35:18 EST
On Sun, Nov 15, 2026 at 06:23:51PM +0800, Jisheng Zhang wrote:
> Describe the CPUs, interrupt controller, system controllers and supported
> serial, I2C, I3C, SPI and GPIO peripherals for the SL2610 family.
>
> Use the SL2610 peripheral compatibles already documented in the upstream
> bindings and share clock, reset and pin configuration providers through
> the system controller nodes.
>
> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/synaptics/sl2611.dtsi | 457 ++++++++++++++++++++++
> arch/arm64/boot/dts/synaptics/sl2613.dtsi | 12 +
> arch/arm64/boot/dts/synaptics/sl2615.dtsi | 46 +++
> arch/arm64/boot/dts/synaptics/sl2617.dtsi | 46 +++
> arch/arm64/boot/dts/synaptics/sl2619.dtsi | 44 +++
> 5 files changed, 605 insertions(+)
> create mode 100644 arch/arm64/boot/dts/synaptics/sl2611.dtsi
> create mode 100644 arch/arm64/boot/dts/synaptics/sl2613.dtsi
> create mode 100644 arch/arm64/boot/dts/synaptics/sl2615.dtsi
> create mode 100644 arch/arm64/boot/dts/synaptics/sl2617.dtsi
> create mode 100644 arch/arm64/boot/dts/synaptics/sl2619.dtsi
>
> diff --git a/arch/arm64/boot/dts/synaptics/sl2611.dtsi b/arch/arm64/boot/dts/synaptics/sl2611.dtsi
> new file mode 100644
> index 000000000000..663fe6034ba0
> --- /dev/null
> +++ b/arch/arm64/boot/dts/synaptics/sl2611.dtsi
> @@ -0,0 +1,457 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Copyright (C) 2024 Synaptics Incorporated
> + *
> + * Author: Jisheng Zhang <jszhang@xxxxxxxxxx>
> + */
> +
> +#include <dt-bindings/clock/syna,sl2610.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/reset/syna,sl2610-reset.h>
> +
> +/ {
> + compatible = "syna,sl2611";
> + interrupt-parent = <&gic>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + psci {
> + compatible = "arm,psci-1.0";
> + method = "smc";
> + };
> +
> + optee {
> + compatible = "linaro,optee-tz";
> + method = "smc";
> + };
> +
> + cpus {
Messed order of nodes. Please run dt-check-style.
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + cpu0: cpu@0 {
> + compatible = "arm,cortex-a55";
> + device_type = "cpu";
> + reg = <0x0>;
> + enable-method = "psci";
> + cpu-idle-states = <&CPU_SLEEP_0>;
> + i-cache-size = <32768>;
> + i-cache-line-size = <64>;
> + i-cache-sets = <128>;
> + d-cache-size = <32768>;
> + d-cache-line-size = <64>;
> + d-cache-sets = <128>;
> + next-level-cache = <&L2_0>;
> +
> + L2_0: l2-cache {
Labels should be lowercase rather.
> + compatible = "cache";
> + cache-size = <65536>;
> + cache-line-size = <64>;
> + cache-sets = <256>;
> + cache-level = <2>;
> + cache-unified;
> + next-level-cache = <&L3>;
> + };
> + };
> +
> + L3: l3-cache0 {
> + compatible = "cache";
> + cache-level = <3>;
> + cache-unified;
> + cache-size = <262144>;
> + cache-line-size = <64>;
> + cache-sets = <256>;
> + };
> +
> + idle-states {
> + entry-method = "psci";
> + CPU_SLEEP_0: cpu-sleep-0 {
> + compatible = "arm,idle-state";
> + local-timer-stop;
> + arm,psci-suspend-param = <0x0010000>;
> + entry-latency-us = <75>;
> + exit-latency-us = <155>;
> + min-residency-us = <50000>;
> + };
> + };
> + };
> +
> + osc: osc {
Please use name for all fixed clocks which matches current format
recommendation: 'clock-<freq>' (see also the pattern in the binding for
any other options).
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/clock/fixed-clock.yaml
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + };
> +
...
> + cpuclk: cpu_wrap: syscon@f7e30000 {
> + compatible = "syna,sl2610-cpu-syscon", "syscon";
> + reg = <0xf7e30000 0x4000>;
> + #clock-cells = <1>;
> + clocks = <&osc>;
> + syna,gbl-syscon = <&chip>;
> + };
> +
> + gic: interrupt-controller@f7e59000 {
> + compatible = "arm,gic-400";
> + #interrupt-cells = <3>;
> + interrupt-controller;
> + reg = <0xf7e59000 0x1000>,
> + <0xf7e5a000 0x2000>,
> + <0xf7e5c000 0x2000>,
> + <0xf7e5e000 0x2000>;
Please follow DTS coding style in ordering properties.
> + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
...
> + soc_spi0: spi@f7f04000 {
> + compatible = "syna,sl2610-spi", "snps,dw-apb-ssi";
> + reg = <0xf7f04000 0x100>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + num-cs = <4>;
> + clocks = <&clk CLK_APBSPI0>;
> + interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> + };
> +
> + soc_i2c0: i2c@f7f05000 {
> + compatible = "syna,sl2610-i2c", "snps,designware-i2c";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0xf7f05000 0x100>;
> + clocks = <&clk CLK_APBI2C0>;
> + i2c-sda-hold-time-ns = <449>;
> + i2c-sda-falling-time-ns = <425>;
> + i2c-scl-falling-time-ns = <205>;
If these are here, then they are implied by compatible, no?
Best regards,
Krzysztof