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=1796398883; b=qAuehaU/ijrrHZUcvkYr2ZjcDWIQrb5Bl1hyPwVjEdJSalTvvJXzlpA6KvhIo2QvEPE/ 6/MZB57tmALAM/bPaL6CTlyXgaYuPP940du8vjbesSspmEq2i9kX5HRGe79mTXXLIL5gm TfAmx2dfec7/5habZzFNJHvov5B0iwZzawzvoeq17SZ6i5qbuGAEK0qKKYu3VmyinVCJr /7CMv4ZslkWmaKPMvXOoiNqexVlSIzvrHp2gsZ8eFft2kd7pOkapewnVUAAVNgUChZ056 JyCNT5RJuIMhRU8ND46MbHsHZT98uONZZYezNUSEChNs4k53SMdwsm/aFdEgG1mcopw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796398883; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=d3awRhXH3/NJwC+odg12Bxn1B3rq11ayPVB8XraZ0tw=; b=44bFTLtgjceqylr6iKZ3kywdm8BCB8OwmNbCYBCnv9hGkPNOvSnWWYH6+gx8qr1r2Oto vcNuHiWTGhLHIqGAmGXOe46ibgBtzOlXU8281Q0Yw1NGikUs8cRt7XmcbEtuSC9YFnRfq rg40qlXdqgADE2TaEfzQ/UDadyd9x7W42K9GDFdOOzx/fcDQtm8NLkHXDqGrcVEJBPZD2 CxpuhxbOUoPGZzuDD4hYO8HpBX9fgkBIesvP5humXzqWNXdOy+PQHF0+iY5UGX+/U3rnC FK4BM186nkmsFF6Nw0OWK4++D3PdaDMf417prOzNS02lN1Xs6hm8gLwl6c9t092/vaQ== 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=Dcw1569K; 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 68F7C606A333; Fri, 4 Dec 2026 15:41:23 +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=Dcw1569K Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA5BB1F00935; Fri, 4 Dec 2026 15:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796398883; bh=d3awRhXH3/NJwC+odg12Bxn1B3rq11ayPVB8XraZ0tw=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Dcw1569Kwml3Sro3/KDXmcaY3hjqnMm5PttJTnMrfrloEbu9stldM0ZivAdB3Cmim TldjkY1N/Rjd+WUwS4jDRtQtmlUvqDIbvoAocj0xunE/XygEtlDJvb+nlW+3ZJFISX isqG3ut1jM8F+kKJ9Pczhcsg+ZtBDpwG74KKwGh0FYHKfeaJmAR7632Zbs+rYrTPWX YOMpvlsy43hvRqjPjXP3gYzLFinMr/rSO/Mc8oGOt4mNjv9cMTI/6tZn1jtlLQHtTx Q6mlJGz8DN8sYmyNG+PUkgdWK+OdIeqEX2wG8GTpAuXZ2ijHCuKKElexPdo5e+JCMh Xdp/cdgKGGhCA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 05/13] dt-bindings: soc: synaptics: add SL2610 system controllers 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-6-jszhang@kernel.org> References: <20261204140732.31223-1-jszhang@kernel.org> <20261204140732.31223-6-jszhang@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 15:41:22 +0000 X-Mailing-List: linux-gpio@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 5 potential issues to consider: - [Medium] dt-bindings: soc: synaptics: omit #clock-cells in syna,sl2610-avio-syscon - [Medium] dt-bindings: soc: synaptics: overly permissive pinconf subnode schemas - [Medium] dt-bindings: synaptics: redefine bias-pull-up/down Ohm arg as 0/1 toggle - [Low] dt-bindings: clock: sl2610: driver-internal MAX count macros in ABI header - [Low] dt-bindings: soc: synaptics: place CPU and AVIO clock bindings under clock/ -- commit ee4f371b16e854cca706c6c17171162fafc77e8d Author: Jisheng Zhang dt-bindings: soc: synaptics: add SL2610 system controllers This commit adds Device Tree binding schemas for the Synaptics SL2610 AVIO, CPU, MCU, and SoC system control blocks, along with their clock and reset ID headers. > diff --git a/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-= avio-syscon.yaml b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2= 610-avio-syscon.yaml > new file mode 100644 > index 0000000000000..92e64f53524cc > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-avio-sy= scon.yaml > @@ -0,0 +1,44 @@ [ ... ] > +description: | > + The SL2610 AVIO system control block contains the audio PLLs. The > + external reference clock supplies the PLL input. This binding does not > + expose clock specifiers for this block. [ ... ] > +additionalProperties: false [Severity: Medium] Should this binding expose #clock-cells for the audio PLL outputs? This block takes an external reference clock and provides audio PLLs, yet #clock-cells is omitted and forbidden by additionalProperties: false. Without it, DT consumers cannot reference the PLLs via clocks phandles, which forces hardcoded clock names and creates DT ABI churn later. > diff --git a/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-= cpu-syscon.yaml b/Documentation/devicetree/bindings/soc/synaptics/syna,sl26= 10-cpu-syscon.yaml > new file mode 100644 > index 0000000000000..25af41f158e0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-cpu-sys= con.yaml > @@ -0,0 +1,58 @@ [ ... ] > +$id: http://devicetree.org/schemas/soc/synaptics/syna,sl2610-cpu-syscon.= yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Synaptics SL2610 CPU clock controller [Severity: Low] As reported by Krzysztof Kozlowski on v2 [1], should syna,sl2610-cpu-syscon.yaml and syna,sl2610-avio-syscon.yaml be placed under Documentation/devicetree/bindings/clock/ instead of bindings/soc/? Unlike the multi-function SoC and MCU syscon bindings, both schemas describe dedicated clock/PLL controllers. Moving them to bindings/clock/ (or documenting any non-clock syscon roles in their titles and descriptions) avoids path and $id churn later. > diff --git a/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-= mcu-syscon.yaml b/Documentation/devicetree/bindings/soc/synaptics/syna,sl26= 10-mcu-syscon.yaml > new file mode 100644 > index 0000000000000..9902908a57988 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/synaptics/syna,sl2610-mcu-sys= con.yaml > @@ -0,0 +1,97 @@ [ ... ] > +patternProperties: > + '-(pmux|pins)$': > + type: object > + description: Pin group mux and electrical configuration. > + allOf: > + - $ref: /schemas/pinctrl/pinmux-node.yaml# > + - $ref: /schemas/pinctrl/pincfg-node.yaml# > + properties: > + groups: > + $ref: /schemas/types.yaml#/definitions/string-array > + function: > + $ref: /schemas/types.yaml#/definitions/string > + bias-pull-up: > + description: | > + Enable the default pull-up with a boolean or 1, or disable it = with 0. > + Pull resistance is not selectable. > + oneOf: > + - type: boolean > + - $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [0, 1] > + bias-pull-down: > + description: | > + Enable the default pull-down with a boolean or 1, or disable i= t with 0. > + Pull resistance is not selectable. > + oneOf: > + - type: boolean > + - $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [0, 1] [Severity: Medium] Should bias-pull-up and bias-pull-down be restricted to type: boolean here and in syna,sl2610-soc-syscon.yaml (including dropping bias-pull-up =3D <1> from its example)? In pincfg-node.yaml, the optional uint32 argument specifies pull resistance in Ohms on hardware that supports selectable resistance, while disabling bias uses bias-disable. Both pincfg-node.yaml and parse_fw_cfg() also treat all bias properties as mutually exclusive regardless of value, so redefining 0/1 as a toggle conflicts with generic DT semantics and fails if combined with another bias property. > + required: > + - groups > + - function > + unevaluatedProperties: false [Severity: Medium] Can this pin configuration subnode (and the identical one in syna,sl2610-soc-syscon.yaml) list only the supported properties with additionalProperties: false instead of unevaluatedProperties: false? Using unevaluatedProperties: false against pinmux-node.yaml and pincfg-node.yaml lets dtbs_check silently accept unsupported properties that berlin_pinconf_group_set() rejects with -EOPNOTSUPP, while leaving supported pad properties like drive-strength and slew-rate unconstrained. Also, groups and function redundantly restate $ref types already inherited from pinmux-node.yaml. [ ... ] > diff --git a/include/dt-bindings/clock/syna,sl2610.h b/include/dt-binding= s/clock/syna,sl2610.h > new file mode 100644 > index 0000000000000..c563a2b5ed064 > --- /dev/null > +++ b/include/dt-bindings/clock/syna,sl2610.h > @@ -0,0 +1,131 @@ [ ... ] > +#define CLK_APBDMA 62 > +#define SL2610_CLK_MAX 63 > + > +/* cpuss */ > +#define CLK_CPU0 0 > +#define CLK_CPU1 1 > +#define CLK_DSU 2 > +#define SL2610_CPU_CLK_MAX 3 [Severity: Low] Should SL2610_CLK_MAX and SL2610_CPU_CLK_MAX be dropped from this DT binding header and kept internal to the clock driver? Neither macro is a hardware clock specifier ID, and exposing driver array sizes in the binding header means adding any clock ID later breaks the stable DT ABI. [1] https://lore.kernel.org/r/20261123-bold-neat-albatross-e92a2b@quoll --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204140732.3122= 3-1-jszhang@kernel.org?part=3D5