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=1796407548; b=bc/0qEmchjvUwhRJ1vG7fYhyYGTnMRFM1oAFSoSBccwxJslFHNN3Csp0mrJsad+mRp86 +MplFH28kFOCTZ0wXVNbskBlvEeOFDkY8IUuPOMy2pxzftbwADrylqN4sckfl1Nd5MPs6 KrpWjDKUwltsrvCG8u6WWCnPgmARNCeSm96U5O5F2ID9mlIlMnx2+5xfQDhYge2Z9NIEI 5p7wyXkSW2GIgRbpQmoVbnbr6PDkHyPVM8W/N6MdiXQOvuGR0FBeBLe36prW+El6AtlqK pqVs7k0VxeIaEgF1dnz6XbORy8H8R4+o1xtFRKjAefNI/njOSXvg8DxS/zksizf1dyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796407548; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=epbtHJ7LvH3dZQNPrRX5Zk8m9wKNbytuJP/5VQR6wbI=; b=dLTlONeSHvh+IfSf2awkCfCUjRBWMxYmInlvqEdLDkg1TLmthHRCebaB4enKCKdor48F y3iE/UCd01qVKugSdgnHGuGTN+lVOaZA8hzoXF24KaNdVs1EH1HTjRIso6N7fn1mdB0vh VjhrFtwFMk37Ur1hSItS/Tfb9cLsDA4Pb8Y83YE3aLdZEUrDb9u8q7Q8UDkrP6iNBuHDL Qje/EzWCsmEYr8I3d+CmsQal3YW5qJc16evzCsDxpcwoICrP1N1h+xr3OUXGun4vDe0iE yrEllvJO7BJu0PNLXdjnAh7/OM9OgR+Qjm0VyLuZSzyj8+AAHwoMSK0OEApJrhcs/VA== 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=Upo1cxJm; 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 DE091606C719; Fri, 4 Dec 2026 18:05:48 +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=Upo1cxJm Received: by smtp.kernel.org (Postfix) with ESMTPSA id E51D51F00A25; Fri, 4 Dec 2026 18:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796407548; bh=epbtHJ7LvH3dZQNPrRX5Zk8m9wKNbytuJP/5VQR6wbI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Upo1cxJm6pNUgKWMvg2kgIwpK4weVt8TozT7kUKfQnxbkOKFXsv1BLoX67fcMIbrl AsJ76ZzVQPr9Azb9lc9UZ/QsToQGOCp59vGJASZ5iyyVL92F0AlsiBRCeDQzlgSBz2 pKSDSCd5yjwojFkIZjC9k2vWVbtQ5xTBuHVVi3hqOjU+/P4AUXtR1wsSeiE9xrsVkS w0jrYhS6kVYE7WRZMTumk8RVBoGq0Oj02TQ1Lssim72fTD7qOPzw17aKvLYNldWRr3 t59//VvD8dJLllDII9t7hpzpr3dwN5XkO9AN7W+J5fq+GXYpTMG5jR+xiG34TCguCj AGbndb1+MVrDQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 12/13] arm64: dts: synaptics: add SL2610 family SoCs Reply-To: sashiko-reviews@lists.linux.dev To: "Jisheng Zhang" Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, lee@kernel.org In-Reply-To: <20261204140732.31223-13-jszhang@kernel.org> References: <20261204140732.31223-1-jszhang@kernel.org> <20261204140732.31223-13-jszhang@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 18:05:47 +0000 X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 7 potential issues to consider: - [Medium] arm64: dts: synaptics: missing clock-output-names on clock-osc node - [Medium] arm64: dts: synaptics: missing sticky resets on SL2610 MCU UART nodes - [Low] arm64: dts: synaptics: optee node placed under root instead of /firmware - [Low] arm64: dts: synaptics: 4-CPU PPI mask used on 1-core and 2-core SL2610 SoCs - [Low] arm64: dts: synaptics: non-generic sm-bus node name in sl2611.dtsi - [Low] arm64: dts: synaptics: duplicated cpu1 and pmu nodes in sl2615/17/19.dtsi - [Low] arm64: dts: synaptics: missing root compatible property in sl2619.dtsi -- commit 9e9c29c7ff9d5fff145a2b154951b9695d30488a Author: Jisheng Zhang arm64: dts: synaptics: add SL2610 family SoCs This commit adds Devicetree source files for the Synaptics SL2610 family SoCs (SL2611, SL2613, SL2615, SL2617, and SL2619), describing their CPUs, GIC, system controllers, and on-chip peripherals. > diff --git a/arch/arm64/boot/dts/synaptics/sl2611.dtsi b/arch/arm64/boot/= dts/synaptics/sl2611.dtsi > new file mode 100644 > index 0000000000000..03859bae07bda > --- /dev/null > +++ b/arch/arm64/boot/dts/synaptics/sl2611.dtsi > @@ -0,0 +1,466 @@ [ ... ] > + osc: clock-osc { > + compatible =3D "fixed-clock"; > + #clock-cells =3D <0>; > + }; [Severity: Medium] Does this node need clock-output-names =3D "osc"? Without clock-output-names, _of_fixed_clk_setup() registers the clock under the node name ("clock-osc"), because the DTS label is discarded by dtc. In drivers/clk/berlin/clk-sl2610.c, ge_ptp_refclk_parent_names[] looks up parent index 0 by the literal name "osc". Without a matching clock name, CLK_GE0_PTP_REF and CLK_GE1_PTP_REF remain orphaned at 0 Hz and sl_clk_determine_rate() returns -EINVAL when parent 0 is selected. [ ... ] > + optee { > + compatible =3D "linaro,optee-tz"; > + method =3D "smc"; > + }; [Severity: Low] Should this optee node live under a /firmware container node instead of directly under the root node? Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml places optee under /firmware, and of_platform_default_populate_init() populates /firmware children ahead of general root devices. [ ... ] > + sm-bus { > + compatible =3D "simple-bus"; > + ranges; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + dma-ranges =3D <0xa0000000 0x00000000 0x10000000>; [Severity: Low] This isn't a bug, but Devicetree convention prefers generic node names such as bus (for example sm_bus: bus) rather than subsystem-prefixed names like sm-bus. [ ... ] > + sm_uart0: serial@e5030000 { > + compatible =3D "syna,sl2610-uart", "snps,dw-apb-uart"; > + reg =3D <0xe5030000 0x100>; > + clocks =3D <&sm_clk CLK_SER_UART0>, <&sm_clk CLK_CFG_UART0>; > + clock-names =3D "baudclk", "apb_pclk"; > + interrupts =3D ; > + reg-shift =3D <2>; > + > + status =3D "disabled"; > + }; [Severity: Medium] Are sm_uart0 through sm_uart3 missing their resets properties for the sticky PRST and SRST lines in sm_rst? drivers/reset/reset-sl2610.c defines RST_SM_UART{0..3}PRST and SRST in SL2610_SMGBL_STICKYRST0, and commit ac04a6daa030 ("dt-bindings: serial: snps-dw-apb-uart: Add Synaptics sl2610 uart") allowed two resets for syna,sl2610-uart. Sibling sm_i3c0 also declares its pair from sm_rst. Without resets, dw8250_probe() cannot deassert them, so any MCU UART left asserted in reset by hardware defaults or firmware (such as non-console ports like sm_uart1) will fail to operate or fault on register access. [ ... ] > + gic: interrupt-controller@f7e59000 { > + compatible =3D "arm,gic-400"; > + reg =3D <0xf7e59000 0x1000>, > + <0xf7e5a000 0x2000>, > + <0xf7e5c000 0x2000>, > + <0xf7e5e000 0x2000>; > + #interrupt-cells =3D <3>; > + interrupt-controller; > + interrupts =3D ; > + }; [ ... ] > + timer { > + compatible =3D "arm,armv8-timer"; > + interrupts =3D , > + , > + , > + ; > + }; [Severity: Low] Should these PPI interrupts use GIC_CPU_MASK_SIMPLE(1) here and GIC_CPU_MASK_SIMPLE(2) in the dual-core SoC files instead of a 4-CPU mask? sl2611 and sl2613 are single-core SoCs and sl2615, sl2617, and sl2619 are dual-core. While Linux masks off bits [15:8] in gic_irq_domain_translate(), other DT consumers receive an inaccurate 4-CPU PPI mask. [ ... ] > diff --git a/arch/arm64/boot/dts/synaptics/sl2617.dtsi b/arch/arm64/boot/= dts/synaptics/sl2617.dtsi > new file mode 100644 > index 0000000000000..17f8ea9f2a44b > --- /dev/null > +++ b/arch/arm64/boot/dts/synaptics/sl2617.dtsi > @@ -0,0 +1,46 @@ [ ... ] > + cpus { > + cpu1: cpu@100 { > + device_type =3D "cpu"; > + compatible =3D "arm,cortex-a55"; > + reg =3D <0x100>; > + cpu-idle-states =3D <&cpu_sleep_0>; > + d-cache-line-size =3D <64>; > + d-cache-sets =3D <128>; > + d-cache-size =3D <32768>; > + enable-method =3D "psci"; > + i-cache-line-size =3D <64>; > + i-cache-sets =3D <128>; > + i-cache-size =3D <32768>; > + next-level-cache =3D <&l2_1>; > + > + l2_1: l2-cache { > + compatible =3D "cache"; > + cache-level =3D <2>; > + cache-line-size =3D <64>; > + cache-sets =3D <256>; > + cache-size =3D <65536>; > + cache-unified; > + next-level-cache =3D <&l3>; > + }; > + }; > + }; > + > + pmu { > + interrupt-affinity =3D <&cpu0>, > + <&cpu1>; > + interrupts =3D , > + ; > + }; [Severity: Low] Can sl2617.dtsi and sl2619.dtsi include sl2615.dtsi (or a shared dual-core dtsi) and override only the root compatible property, the way sl2613.dtsi includes sl2611.dtsi? Right now the same cpu1, l2_1, and pmu definitions are duplicated verbatim across sl2615.dtsi, sl2617.dtsi, and sl2619.dtsi. > diff --git a/arch/arm64/boot/dts/synaptics/sl2619.dtsi b/arch/arm64/boot/= dts/synaptics/sl2619.dtsi > new file mode 100644 > index 0000000000000..6539c5a3dce04 > --- /dev/null > +++ b/arch/arm64/boot/dts/synaptics/sl2619.dtsi > @@ -0,0 +1,44 @@ [ ... ] > +#include "sl2613.dtsi" > + > +/ { > + cpus { [Severity: Low] Is compatible =3D "syna,sl2619" missing from the root node here? Because sl2619.dtsi includes sl2613.dtsi without overriding compatible, it inherits "syna,sl2613" instead of "syna,sl2619", unlike sl2615.dtsi and sl2617.dtsi. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204140732.3122= 3-1-jszhang@kernel.org?part=3D12