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=1796229805; b=2WVJILLLB3tFedeXlWJPSPs0br/Zk1Vj9XYeDuvPmRyTmMjwmI0xGQg0aQL81iLNDuT8 aavyzx9Yr6KPJ8H+HlLH7B1pkHtJRqd4IqvhVZfuZsKYQF1ngslT8KE3CUkdGVKHtYPjm ptjm1YpLzLdrkK4KNIIkAt1incNPbd10mxfo29LrApGLyT8Meb9GPMT+w8TF68SBo4rSD QCWkoXt6b+oNDEKiX6LnckYnDquGJo/sWo/EnaVC5XKJntGo+03Z0GzDtz+06TIb0VM4w h2TxbzT+VnSzSI1IfohAvq9n3hBeVkzs+JRo7cvK+7hewPeHA4Ok/R+JZzbgSaXelhw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229805; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=1gJ8PlHG+ADNrT2aAl8pQ3KKFDGil6OMnx0tEhhvtVc=; b=GUAPE9sGGOxzpz/eQ5lG2IrJWg9p26Hd6i1q9GK8vM0blkm+3NXhBtqGg5Z6nY9in7Wt yX87+A0kgF8fRbUdMNau86RlIr+v0+cy1bUB0TtFcoWJbWO2KM/MsqTuyut6dDABMu17X iZnPlyKCOQ8xwwjrqXrJ1Wnl+hInlFHXI0wH/ESh0X0n1T3uBtemeYli3Rf3JxC4rF6Qb au56mG/TGk2DucY9zy2xTu1s4u26bHTXS/e9fxo9F1JpBBPBIkwZ8KYNOW9DvvXJPB+At f6tBQSaTAkmIMo+m4a5VPFW1qQUjcBOTl2G802QF1A+m7zQtzpKcN2BuAQJiMiaNxWA== 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=ZHZkPpfw; 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 D3925606A31A for ; Wed, 2 Dec 2026 16:43:25 +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=ZHZkPpfw Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48B071F00893; Wed, 2 Dec 2026 16:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796229805; bh=1gJ8PlHG+ADNrT2aAl8pQ3KKFDGil6OMnx0tEhhvtVc=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ZHZkPpfwMr4ZYMmW+9opLE8BHinwhtcVf28sbKHZNYaapvKjqTeu7m/JW6TRpV0/c f3uJy0M0HiZtGRWFbpiM7Vsc3YWEEniD4d9k4Xg0g/4PGTFn147JtB39+ckJ5j+zkm D6tXyktJ5C+ImKZpUY4E/lY/hiioqKfH/jh0yNDvZU6L8XM/Flvfq+J/iGjaR0T1Lb hBXmvn6CH7xShM3hPxJm/9+yjHrPj7kVcV+Bxrv91frS3o20sfgjswxB/sWcEtZsZI brph5PZXOeR/R6hnFnkvu7Myr6Vdfm/ADgZiE7PEWZ5bRvC8WV0VNW+ImuhF46vfZC g/xUYV/zhQC9w== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v9 12/16] soc: starfive: Add jh7110-hdmi-subsystem driver Reply-To: sashiko-reviews@lists.linux.dev To: "Michal Wilczynski" Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261202-jh7110-clean-send-v9-12-6e546abf0ee8@samsung.com> References: <20261202-jh7110-clean-send-v9-0-6e546abf0ee8@samsung.com> <20261202-jh7110-clean-send-v9-12-6e546abf0ee8@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 16:43:24 +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 1 potential issue to consider: - [Medium] soc: starfive: mismatched regmap stride and val_bits in jh7110-hdmi-subsystem -- commit 5b33973f185cb9247ee9bbc7f69aabd7f879bc50 Author: Michal Wilczynski soc: starfive: Add jh7110-hdmi-subsystem driver This commit adds the parent driver for the StarFive JH7110 HDMI subsystem, which creates a shared MMIO regmap and populates the HDMI PHY and controller child devices. > diff --git a/drivers/soc/starfive/jh7110-hdmi-subsystem.c b/drivers/soc/s= tarfive/jh7110-hdmi-subsystem.c > new file mode 100644 > index 0000000000000..b01dc66450f51 > --- /dev/null > +++ b/drivers/soc/starfive/jh7110-hdmi-subsystem.c > @@ -0,0 +1,72 @@ [ ... ] > +static const struct regmap_config starfive_hdmi_regmap_config =3D { > + .reg_bits =3D 32, > + .val_bits =3D 8, > + .max_register =3D 0x3fff, > +}; [Severity: Medium] Should starfive_hdmi_regmap_config set .val_bits =3D 32, .reg_stride =3D 4,= and .max_register =3D 0x3ffc? Both child drivers that use this shared regmap address registers at 4-byte offsets (reg * 4), and inno_hdmi_regmap_config in drivers/gpu/drm/bridge/inno-hdmi.c configures .reg_bits =3D 32, .val_bits =3D 32, and .reg_stride =3D 4. With .val_bits =3D 8 and the defa= ult stride of 1, regmap-mmio uses byte accessors (readb/writeb) instead of 32-bit accessors (readl/writel), does not check 4-byte alignment, and causes regmap debugfs reads to step by 1 byte across intermediate byte offsets (+1, +2, +3) of each 32-bit register slot up to 0x3fff. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202-jh7110-cle= an-send-v9-0-6e546abf0ee8@samsung.com?part=3D12