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=1796394175; b=rrzqrXd71SEiacqg599LTUGVkmkkQptgb6cPZS086LMZOF5iOuYzu7psYZKBVgSyouu+ oDV480FBtfA1YJ/zAmJ++eufUri5djfm5C8ynb0yn/3XzRAQ/IJ7G6FTJYAuOZ45/uDvM FVOwpReMtOib4CUT4f11XYRXb2n7mIyuI6I61yywNJXdnkRX5AhVvdcPYWT/bTN9kHnLj UFeUvzHa4EfinW7yql1ICQ7KBlRKiSTR4kn23BNrf5zANSH5KXCcC+gf3ey3DQ3RQ6l+8 j2wh5cl+rosGWHnrZcKwApn9EdBEuKM8ZHFkwNudKV3Bcj4+xriEFhTjGg3EPuH5Yng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796394175; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=O5JXi38Kse2BwfqV0wI1hRCNDFQ4gslQVxLRxhJX2jo=; b=l+cZ7wFMflamsVhJSWnuIqedKt1ybN7Z+GMeoyPfOx7SmCsC5GI5Q0/XFdXXilo+05Pw DNChOYvA6j1YmO4fSBvaZDl7cenF85s8MyzNoY2zOV5hFSw0icAU4iVZEqWo7+UYKhGcZ XeSk7ADUzwQaZ1IPo9iAxQfs6LfCVu2TQumANjzCyzpBhYBGiBXaub7bui/HE/YQcbU50 N7sQ+geRgpfxNGkwTtEVHXA8GP56lCLlABk3PoWYZD7Tw1qKFE7mXn3IPCgll0Mi6X4yt RGMGfquHTbWB+HHmdh03hvCxaF1FLtbCGpCoyG86zFSN4Fyfk2UDWjFeY72DkEQ9yBA== 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=PBCW5jdL; 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 DD7FA606A322; Fri, 4 Dec 2026 14:22:55 +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=PBCW5jdL Received: by smtp.kernel.org (Postfix) with ESMTPSA id 409501F000CE; Fri, 4 Dec 2026 14:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796394175; bh=O5JXi38Kse2BwfqV0wI1hRCNDFQ4gslQVxLRxhJX2jo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=PBCW5jdLdunWovz26G+9rWiy3lJ1tsTxJZ5u9+SdNNnWBnQNENa4CSgR2ZfQIzCXV 8vC5GQ62vZFHAAyneX0Sav7dEfMCyFF4mQjAaSnOa0rIbxUmZhm0871+XxZo7IaVeU daX60EgzGKGaRD4+HUM08WA37l8vStLbKvsW2EjxtmxXSeT4DZKtzIBfS68tZ87nSa jYDQqB3FD03Fi1sv0uDCAYw5KhZPr6HQkqVTMdkMB7BMUc9x1LLz4ZdlWnNPUJh8p8 nyoSu1DLF6W9vjhobVRihrJ9Df7EX6jwwibkvhk43Msv9ljyCRAnh6qk4aZ1ArsiuY fVH5FkXAHZrhw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 3/3] arm64: dts: qcom: msm8953-xiaomi-tissot: enable front camera Reply-To: sashiko-reviews@lists.linux.dev To: "Hikmah Gumelar" Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org In-Reply-To: <20261204-xiaomi-tissot-lkml-v6-v6-3-385bf76f42d5@gmail.com> References: <20261204-xiaomi-tissot-lkml-v6-v6-0-385bf76f42d5@gmail.com> <20261204-xiaomi-tissot-lkml-v6-v6-3-385bf76f42d5@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 14:22:54 +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 2 potential issues to consider: - [High] arm64: dts: qcom: undocumented samsung,s5k5e8 compatible has no binding/driver - [Low] arm64: dts: qcom: cam-sensor-front-default-state out of order in tlmm -- commit f18c12d8f075b3487fb7999f8805d0890a566a3e Author: Hikmah Gumelar arm64: dts: qcom: msm8953-xiaomi-tissot: enable front camera This commit enables CAMSS, CCI, the CSIPHY2 port, and the Samsung S5K5E8 front camera sensor node on the Xiaomi Mi A1, along with its power supply and reset GPIO pinctrl state. > diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts b/arch/ar= m64/boot/dts/qcom/msm8953-xiaomi-tissot.dts > index fccb9c4360cae..3fe1a2486bd13 100644 > --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts > +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts > @@ -76,6 +76,57 @@ vph_pwr: vph-pwr-regulator { > }; > }; > =20 > +&camss { > + vdda-supply =3D <&pm8953_s3>; > + status =3D "okay"; > + > + ports { > + port@2 { > + reg =3D <2>; > + > + csiphy2_ep: endpoint { > + clock-lanes =3D <7>; > + data-lanes =3D <0 1>; > + remote-endpoint =3D <&front_cam_ep>; > + }; > + }; > + }; > +}; > + > +&cci { > + status =3D "okay"; > +}; > + > +&cci_i2c1 { > + camera@2d { > + compatible =3D "samsung,s5k5e8"; > + reg =3D <0x2d>; > + > + clocks =3D <&gcc GCC_CAMSS_MCLK1_CLK>; > + assigned-clocks =3D <&gcc GCC_CAMSS_MCLK1_CLK>; > + assigned-clock-rates =3D <24000000>; > + pinctrl-0 =3D <&cam_sensor_front_default &camss_mclk1_default>; > + pinctrl-names =3D "default"; > + > + reset-gpios =3D <&tlmm 129 GPIO_ACTIVE_LOW>; > + > + vdda-supply =3D <&pm8953_l22>; > + vddd-supply =3D <&pm8953_l23>; > + vddio-supply =3D <&pm8953_l6>; > + > + rotation =3D <90>; > + orientation =3D <0>; > + > + port { > + front_cam_ep: endpoint { > + data-lanes =3D <1 2>; > + link-frequencies =3D /bits/ 64 <420000000>; > + remote-endpoint =3D <&csiphy2_ep>; > + }; > + }; > + }; > +}; [Severity: High] Is there a Devicetree binding or in-tree driver for "samsung,s5k5e8"? Searching the tree shows no binding schema under Documentation/devicetree/bindings/ and no V4L2 sensor driver matching "samsung,s5k5e8". Without a binding, make dtbs_check fails on this node and its properties risk diverging from a future upstream binding. At runtime, because &camss port@2 points to front_cam_ep, camss_parse_ports() registers it as an async subdevice on camss->notifier. With no driver binding to camera@2d, camss_subdev_notifier_complete() never runs, leaving CAMSS without media links or /dev/v4l-subdev* nodes. [ ... ] > @@ -302,6 +354,13 @@ gpio_hall_sensor_default: gpio-hall-sensor-state { > bias-pull-up; > }; > =20 > + cam_sensor_front_default: cam-sensor-front-default-state { > + pins =3D "gpio129"; > + function =3D "gpio"; > + drive-strength =3D <2>; > + bias-disable; > + }; > + > ts_int_default: ts-int-default-state { > pins =3D "gpio65"; > function =3D "gpio"; [Severity: Low] This isn't a bug, but cam-sensor-front-default-state (gpio129) sits between gpio-hall-sensor-state (gpio44) and ts-int-default-state (gpio65), breaking both alphabetical and pins-property ordering from Documentation/devicetree/bindings/dts-coding-style.rst. Moving it before gpio-hall-sensor-state or after ts-int-default-state would keep &tlmm ordered. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-xiaomi-tis= sot-lkml-v6-v6-0-385bf76f42d5@gmail.com?part=3D3