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=1796386491; b=BGNyBV78eLPe26K95R/m9DNHGNPO0E0OqDG1aVjTkmLDlkNGyT0IEqdRB1HLNluOWWjZ UT3IlqeW83Mwx5kSwXgu26PjFi7+k/wn/qkSguNX0LkOqCFD828T1D9Qs/1QrF1uOnQO7 3ZOtxf360CKvqC4Bzb72TSbAJefEyjavu9f0oHA3/99NQsXg1gUjZY/YV0UBua22JZXm4 7zbMF4nwszy0YTuK/t0nPEjcGo25gDtVvdcWuSYYpaDlNBNnCoMNa6hBJyFTFdhQzrzu9 ZnKoO+kx7AciXG+OPluDB7Xisn/dno0mBA18Y4B6yYCl2g1I8HUprh1wamQdKBs33ig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796386491; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=8NVEpigD5Nga5EPZo7DwgeZbfxBqtHkvynDlynGaYAk=; b=lGdV9BLo+01Gav/0O0bRyvPWogmk27jC24UKs1YCxFPqdM+Z6AySNHGIxcRBrDlWkP/Q ve77NXRtutF1x2PB5SxjRDxOHsXx9vT9kUzKKXXLzN9LoZt+v1PVUsKnJD6kBjy8fYD1o sO+maDwVR5aXdMOUgUlcQFre8dei+m3LSw2wrHCYbyq7jTttTIpY32g0O9WhoCM5FdLMU xISMIxeVKxiZRcG6r3orOuzu0NinOfEPf3y8+2J55wRbcJVviQ4MjUOvf2tNwOCmAiR3b wZFCLcvXE2d+nG3CXj2ec0L3haXmh0GJ2UcPITjQ60p0rqV1oKW2HqvccPdgG2dpEFQ== 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=AA8beglZ; 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 90E24606A334 for ; Fri, 4 Dec 2026 12:14:51 +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=AA8beglZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E2D21F000CE; Fri, 4 Dec 2026 12:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796386491; bh=8NVEpigD5Nga5EPZo7DwgeZbfxBqtHkvynDlynGaYAk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AA8beglZJb+CI/aYW3d/pl2QkxobIXc98JacAChHCoK1mEt0/vsDE3BfO0vYk2NTX 4EnBt65TSPAKILafF9rcXbL2SYQ6hUous+3BKVKF08ZqxHU6leUDEb4zuodNnkOLZp oRIUba9lfZN8e+QkRM5TgufMsfcIhgd4kEXpMDrfy0fVXipbZ6jNCQvypGEYOPlQU+ dnw4Kz9A+ddeqPUcqsZnkfJqasW7GTxhUNPQsyeN7jJ8URJGOkKL8wtnGhzjx5Py9f WVfUeu269bZsEaoHVol1+L3s5cud4/8/Lw65p7qM38yjyIByLwDGJFsEaRIzXDfjWO C/xcAUX0ChAWg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: Add Seeed Studio reComputer RK3576 Dev Kit Reply-To: sashiko-reviews@lists.linux.dev To: "Ricardo Pardini" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204-rk3576-recomputer-devkit-v2-2-d44d449c100e@pardini.net> References: <20261204-rk3576-recomputer-devkit-v2-0-d44d449c100e@pardini.net> <20261204-rk3576-recomputer-devkit-v2-2-d44d449c100e@pardini.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 12:14:50 +0000 X-Mailing-List: devicetree@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 4 potential issues to consider: - [Medium] arm64: dts: rockchip: missing PDO_FIXED_DATA_SWAP in usbc0 source-pdos - [Medium] arm64: dts: rockchip: fixed codec sysclk locks es8311_sound to 48 kHz - [Low] arm64: dts: rockchip: use generic sound node name instead of es8311-sound - [Low] arm64: dts: rockchip: remove redundant status =3D okay override on tsadc -- commit 6e6109d3753c7657bc8a924072ca1921566967f9 Author: Ricardo Pardini arm64: dts: rockchip: Add Seeed Studio reComputer RK3576 Dev Kit This commit adds the devicetree for the Seeed Studio reComputer RK3576 Dev Kit board and registers it in the Rockchip arm64 devicetree Makefile. > diff --git a/arch/arm64/boot/dts/rockchip/rk3576-recomputer-devkit.dts b/= arch/arm64/boot/dts/rockchip/rk3576-recomputer-devkit.dts > new file mode 100644 > index 0000000000000..eb047f5a5c5a9 > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3576-recomputer-devkit.dts > @@ -0,0 +1,1181 @@ [ ... ] > + es8311_sound: es8311-sound { > + compatible =3D "simple-audio-card"; [Severity: Low] Should this node use the generic devicetree name "sound" instead of embedding the codec model name ("es8311-sound")? In rk3576.dtsi only hdmi-sound is defined under the root node, so "sound" is available, as used by other RK3576 boards. [ ... ] > + simple-audio-card,mclk-fs =3D <256>; [ ... ] > + simple-audio-card,codec { > + sound-dai =3D <&es8311>; > + system-clock-frequency =3D <12288000>; > + }; > + }; [Severity: Medium] Does setting system-clock-frequency alongside simple-audio-card,mclk-fs lock es8311_sound to 48 kHz only? When system-clock-frequency is specified, simple_util_parse_clk() marks the codec clock as fixed, and simple_util_startup() constrains SNDRV_PCM_HW_PARAM_RATE to 12288000 / 256 (48000 Hz), rejecting all other hardware sample rates such as 44.1 kHz or 96 kHz. Since CLK_SAI1_MCLKOUT_TO_IO propagates clk_set_rate() up to MCLK_SAI1_8CH_SRC and es8311_set_sysclk() dynamically scales MCLK across 8 kHz to 96 kHz, removing system-clock-frequency here (and assigned-clock-rates on es8311) would let simple-audio-card scale MCLK dynamically. [ ... ] > + connector { > + compatible =3D "usb-c-connector"; > + label =3D "USB-C"; > + data-role =3D "dual"; > + power-role =3D "source"; > + source-pdos =3D ; [Severity: Medium] Should source-pdos include PDO_FIXED_DATA_SWAP here? Because this connector is source-only with data-role =3D "dual", FUSB302 always attaches as Source in the DFP (host) role, so switching to UFP (device) mode requires a USB PD DR_Swap. tcpm_pd_send_source_caps() transmits source-pdos verbatim without setting PDO_FIXED_DATA_SWAP, so compliant partners see Dual-Role Data =3D 0 in Source_Capabilities PDO0 and reject or refuse to initiate DR_Swap. [ ... ] > +&tsadc { > + status =3D "okay"; > +}; [Severity: Low] Is this &tsadc override needed? In rk3576.dtsi, tsadc@2ae70000 has no status =3D "disabled" property so it is already enabled by default, and this node adds no board-specific properties. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-rk3576-rec= omputer-devkit-v2-0-d44d449c100e@pardini.net?part=3D2