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=1796286773; b=ZW10l/dl/y86hVt3ULvtEN0ByiI4MCNcSrUf3T9VMhZyxapjkU4DGQ4VkBHi24BBXMI1 jT5j3SO+gb7e73fP21mHl3HFnBfEdAa7mwsvWWUfCnYNf3z8VEdDdZsSU1v+Zc0C4L7oQ FnTyoA0xphgylQbIeyxZnQveZUQW5GSs71e4awat4uVdC6/ziFsRqKD0I2gAwkJgHO/vY FLmroswqN51HxCpHmoh0ezqeYvej/TnSGD+clr4Lf2mHmBBVH/1g2Wp935MF751oDCYOd AlAXGJvQyfWgftJLBc+WHYmVQoL8Y/CEyrvpljUEsZYLt/t2gHiRaEQGfjnQ6GlnIcA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796286773; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=hwuZmd/BduKhy5q9qOlEgZeE+4fIFuLwuVBQECHxFbs=; b=W58VGYVhcwoKDTI/lO5AybK1ZwUAxmP2ErnhwFqHBVKzobJLxGcshxSZALCpEyl8Rv2q TVpVbhrgLD/WLfDKF0a/Quntv4Fq98Mm+QMiBvBbpu64aVzBYbFGz2CakExxYo454i7Fo cPPtGGx9ylyGZDDsIRrMAe1KPIGbg7k9+BWvVfykGltlmf7IzVpnHi3rgl+RoZNGbgMzQ PIiPGMXz+ADZUX79E0Tp1M+t0pIk2iJNkNXiUeLmK/E/aQ33vmpfo6E3zVzg7v9MiMsvu 0sqMF+mTfQDGB0CsJromWxNT9sfHTxwfCwFAVkerF2MJlDZRpPKVFYOt4PoFJslSs5g== 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=Jh8L8q6X; 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 265E9606A322 for ; Thu, 3 Dec 2026 08:32:53 +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=Jh8L8q6X Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD7DA1F00896; Thu, 3 Dec 2026 08:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796286773; bh=hwuZmd/BduKhy5q9qOlEgZeE+4fIFuLwuVBQECHxFbs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Jh8L8q6XHCskPo40R/PZqD613z2SV1vZKX4sMJUvMDtONtN8SKRY7oFQl1xtmbWGS EQ+q7/6ao+WEK/6zNyDQsXRcb9wCBLEb5E+9yyx6Z7lmhTdTL7MrwuSRD9PHyPdICs 8M7ztoZmymiOX9KCcKKPRzfFDauiVzs7/pZwwBtxOuj/NMJn5b3eEm48EAlZRG3+kE r7Z0fmxmkZ4bwezDJGk1H4SI/pNi4/u3+RVP8uTLYtVv1xWV/MHCdeFp1BErY1wxEi 2KT1XOE1zzZzvyBuFlwAte9mN/pq7uCh47n45VIdZWsSXoQjuWZ0ElkBl+7u3FkfP2 GLm3KoYm5QkSA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 1/3] dt-bindings: media: Add CAMSS device for Hawi and Maili Reply-To: sashiko-reviews@lists.linux.dev To: "Nihal Kumar Gupta" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org In-Reply-To: <20261203-hawi-camss-v6-1-6a30cc09a064@oss.qualcomm.com> References: <20261203-hawi-camss-v6-0-6a30cc09a064@oss.qualcomm.com> <20261203-hawi-camss-v6-1-6a30cc09a064@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 08:32:52 +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 3 potential issues to consider: - [Medium] dt-bindings: media: allow port@5 for Maili despite missing CSIPHY5 - [Medium] dt-bindings: media: require unregistered camnoc_dcd_xo clock on Hawi - [Low] dt-bindings: media: commit message body omits Maili platform -- commit 9efe59058f4afe0734b221202bbfa51af2675808 Author: Hangxiang Ma > dt-bindings: media: Add CAMSS device for Hawi and Maili > > Add bindings for Camera Subsystem (CAMSS) on the Qualcomm Hawi platform. > > The Hawi platform provides: > - 6 x CSIPHY (CSI Physical Layer) > - 3 x TPG (Test Pattern Generator) > - 3 x CSID (CSI Decoder) > - 2 x CSID Lite > - 3 x VFE (Video Front End), 5 RDI per VFE > - 2 x VFE Lite, 4 RDI per VFE Lite > > Signed-off-by: Hangxiang Ma > Co-developed-by: Nihal Kumar Gupta > Signed-off-by: Nihal Kumar Gupta > Reviewed-by: Krzysztof Kozlowski [Severity: Low] Should the commit message body also describe the Maili platform? The subject and schema add qcom,maili-camss with a fallback to qcom,hawi-camss, but the body only covers Hawi and does not explain why Maili shares the binding or how it differs (such as having 5 CSIPHY instances instead of 6). > diff --git a/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml= b/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml > new file mode 100644 > index 0000000000000..22629064ed713 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/qcom,hawi-camss.yaml > @@ -0,0 +1,317 @@ [ ... ] > + clocks: > + maxItems: 26 > + > + clock-names: > + items: > + - const: camnoc_nrt_axi > + - const: camnoc_rt_axi > + - const: camnoc_dcd_xo [Severity: Medium] Should camnoc_dcd_xo be required in clock-names? In drivers/clk/qcom/camcc-hawi.c, cam_cc_hawi_clocks[] leaves CAM_CC_CAMNOC_DCD_XO_CLK unpopulated and enables it internally as an always-on entry in cam_cc_hawi_critical_cbcrs[] instead. Because qcom_cc_clk_hw_get() returns NULL for unpopulated entries, requiring camnoc_dcd_xo in the binding wires consumers to a silent no-op clock handle. Either drop camnoc_dcd_xo from this binding or register CAM_CC_CAMNOC_DCD_XO_CLK in cam_cc_hawi_clocks[] if consumers need to manage it. [ ... ] > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + description: > + CSI input ports. > + > + patternProperties: > + "^port@[0-5]$": > + $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > + description: > + Input ports for receiving CSI data on CSIPHY 0-5. [Severity: Medium] Should port@5 be disallowed for qcom,maili-camss? In drivers/clk/qcom/camcc-hawi.c, cam_cc_hawi_probe() clears CAM_CC_CSI5PHYTIMER_CLK_SRC, CAM_CC_CSI5PHYTIMER_CLK, and CAM_CC_CSIPHY5_CLK for qcom,maili-camcc because Maili only implements CSIPHY 0-4. Without an allOf conditional rejecting port@5 when compatible contains qcom,maili-camss, dtbs_check will accept Maili device trees that reference a non-existent 6th CSIPHY port. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-hawi-camss= -v6-0-6a30cc09a064@oss.qualcomm.com?part=3D1