Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Christopher Obbard <christopher.obbard@linaro.org>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	Bjorn Andersson	 <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski	 <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Robert Foss	 <rfoss@kernel.org>,
	Todor Tomov <todor.too@gmail.com>,
	Mauro Carvalho Chehab	 <mchehab@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Bryan O'Donoghue <bod@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux-media@vger.kernel.org,
	Krzysztof Kozlowski <krzk@kernel.org>
Subject: Re: [PATCH v8 17/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add ov02c10 RGB sensor on CSIPHY4
Date: Fri, 27 Feb 2026 22:08:47 +0000	[thread overview]
Message-ID: <2932da190f788d2a11f6743bd87b6ff4a61938ca.camel@linaro.org> (raw)
In-Reply-To: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-17-95517393bcb2@linaro.org>

Hi Bryan,

On Wed, 2026-02-25 at 15:11 +0000, Bryan O'Donoghue wrote:
> Add in the RGB sensor on CSIPHY4.
> 
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> ---

Reviewed-by: Christopher Obbard <christopher.obbard@linaro.org>

>  .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts  | 77 ++++++++++++++++++++++
>  1 file changed, 77 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> index f10dff1da7f8e..f3f4841ad2c83 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> @@ -7,6 +7,7 @@
>  
>  #include <dt-bindings/gpio/gpio.h>
>  #include <dt-bindings/input/gpio-keys.h>
> +#include <dt-bindings/phy/phy.h>
>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>  
>  #include "hamoa.dtsi"
> @@ -856,6 +857,66 @@ &gpu_zap_shader {
>  	firmware-name = "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn";
>  };
>  
> +&camss {
> +	status = "okay";
> +
> +	ports {
> +		/*
> +		 * port0 => csiphy0
> +		 * port1 => csiphy1
> +		 * port2 => csiphy2
> +		 * port3 => csiphy4
> +		 */
> +		port@3 {
> +			camss_csiphy4_inep0: endpoint@0 {
> +				clock-lanes = <7>;
> +				data-lanes = <0 1>;
> +				remote-endpoint = <&ov02c10_ep>;
> +			};
> +		};
> +	};
> +};
> +
> +&cci1 {
> +	status = "okay";
> +};
> +
> +&cci1_i2c1 {
> +	camera@36 {
> +		compatible = "ovti,ov02c10";
> +		reg = <0x36>;
> +
> +		reset-gpios = <&tlmm 237 GPIO_ACTIVE_LOW>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&cam_rgb_default>;
> +
> +		clocks = <&camcc CAM_CC_MCLK4_CLK>;
> +		assigned-clocks = <&camcc CAM_CC_MCLK4_CLK>;
> +		assigned-clock-rates = <19200000>;
> +
> +		orientation = <0>; /* front facing */
> +
> +		avdd-supply = <&vreg_l7m_2p8>;
> +		dvdd-supply = <&vreg_l2m_1p2>;
> +		dovdd-supply = <&vreg_l4m_1p8>;
> +
> +		port {
> +			ov02c10_ep: endpoint {
> +				data-lanes = <1 2>;
> +				link-frequencies = /bits/ 64 <400000000>;
> +				remote-endpoint = <&camss_csiphy4_inep0>;
> +			};
> +		};
> +	};
> +};
> +
> +&csiphy4 {
> +	vdda-0p8-supply = <&vreg_l2c_0p8>;
> +	vdda-1p2-supply = <&vreg_l1c_1p2>;
> +
> +	status = "okay";
> +};
> +
>  &i2c0 {
>  	clock-frequency = <400000>;
>  
> @@ -1403,6 +1464,22 @@ &tlmm {
>  			       <44 4>, /* SPI (TPM) */
>  			       <238 1>; /* UFS Reset */
>  
> +	cam_rgb_default: cam-rgb-default-state {
> +		mclk-pins {
> +			pins = "gpio100";
> +			function = "cam_aon";
> +			drive-strength = <16>;
> +			bias-disable;
> +		};
> +
> +		reset-n-pins {
> +			pins = "gpio237";
> +			function = "gpio";
> +			drive-strength = <2>;
> +			bias-disable;
> +		};
> +	};
> +
>  	edp_reg_en: edp-reg-en-state {
>  		pins = "gpio70";
>  		function = "gpio";

  reply	other threads:[~2026-02-27 22:08 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25 15:11 [PATCH v8 00/18] Add dt-bindings and dtsi changes for CAMSS on x1e80100 silicon Bryan O'Donoghue
2026-02-25 15:11 ` [PATCH v8 01/18] dt-bindings: media: qcom,x1e80100-camss: Assign correct main register bank to first address Bryan O'Donoghue
2026-02-26  7:04   ` Krzysztof Kozlowski
2026-02-26  9:25     ` Bryan O'Donoghue
2026-02-26  9:32       ` Krzysztof Kozlowski
2026-02-26  9:35         ` Bryan O'Donoghue
2026-02-26  9:38           ` Krzysztof Kozlowski
2026-02-26  9:49             ` Bryan O'Donoghue
2026-02-27 22:01   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 02/18] dt-bindings: media: qcom,x1e80100-camss: Convert from inline PHY definitions to PHY handles Bryan O'Donoghue
2026-02-26  7:07   ` Krzysztof Kozlowski
2026-02-26  9:27     ` Bryan O'Donoghue
2026-02-26  9:33       ` Krzysztof Kozlowski
2026-02-26  9:40         ` Bryan O'Donoghue
2026-02-26  9:50           ` Krzysztof Kozlowski
2026-02-26 10:06             ` Bryan O'Donoghue
2026-02-27  7:24               ` Krzysztof Kozlowski
2026-02-27  8:48                 ` Bryan O'Donoghue
2026-02-27 20:10                   ` Dmitry Baryshkov
2026-02-27 21:49                     ` Bryan O'Donoghue
2026-02-27 22:01   ` Christopher Obbard
2026-02-28 13:28     ` Krzysztof Kozlowski
2026-02-25 15:11 ` [PATCH v8 03/18] dt-bindings: media: qcom,x1e80100-camss: Add support for combo-mode endpoints Bryan O'Donoghue
2026-02-27 22:01   ` Christopher Obbard
2026-02-28  7:17     ` Dmitry Baryshkov
2026-03-04  4:38       ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 04/18] dt-bindings: media: qcom,x1e80100-camss: Reduce iommus to five Bryan O'Donoghue
2026-02-26  7:08   ` Krzysztof Kozlowski
2026-02-27 22:02   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 05/18] media: qcom: camss: Add legacy_phy flag to SoC definition structures Bryan O'Donoghue
2026-02-27 22:02   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 06/18] media: qcom: camss: Add support for PHY API devices Bryan O'Donoghue
2026-02-27 22:03   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 07/18] media: qcom: camss: Drop legacy PHY descriptions from x1e Bryan O'Donoghue
2026-02-27 22:03   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 08/18] arm64: dts: qcom: x1e80100: Add CAMCC block definition Bryan O'Donoghue
2026-02-27 22:03   ` Christopher Obbard
2026-03-02 16:19   ` Konrad Dybcio
2026-03-03  5:56     ` Taniya Das
2026-03-03 10:05       ` Konrad Dybcio
2026-04-02  5:33         ` Taniya Das
2026-02-25 15:11 ` [PATCH v8 09/18] arm64: dts: qcom: x1e80100: Add CCI definitions Bryan O'Donoghue
2026-02-27 22:04   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 10/18] arm64: dts: qcom: x1e80100: Add MIPI CSI PHY nodes Bryan O'Donoghue
2026-02-26  7:11   ` Krzysztof Kozlowski
2026-02-26  9:30     ` Bryan O'Donoghue
2026-02-26  9:35       ` Krzysztof Kozlowski
2026-02-27 22:04   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 11/18] arm64: dts: qcom: x1e80100: Add CAMSS block definition Bryan O'Donoghue
2026-02-27 22:05   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 12/18] arm64: dts: qcom: x1e80100-crd: Add pm8010 CRD pmic,id=m regulators Bryan O'Donoghue
2026-02-27 22:05   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 13/18] arm64: dts: qcom: x1e80100-crd: Add ov08x40 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:06   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 14/18] arm64: dts: qcom: x1e80100-t14s: Add pm8010 camera PMIC with voltage levels for IR and RGB camera Bryan O'Donoghue
2026-02-25 15:11 ` [PATCH v8 15/18] arm64: dts: qcom: x1e80100-t14s: Add on ov02c10 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:08   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 16/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add pm8010 camera PMIC with voltage levels for IR and RGB camera Bryan O'Donoghue
2026-02-27 22:08   ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 17/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add ov02c10 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:08   ` Christopher Obbard [this message]
2026-02-25 15:11 ` [PATCH v8 18/18] arm64: dts: qcom: x1e80100-dell-inspiron14-7441: Switch on CAMSS RGB sensor Bryan O'Donoghue
2026-02-27 22:09   ` Christopher Obbard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2932da190f788d2a11f6743bd87b6ff4a61938ca.camel@linaro.org \
    --to=christopher.obbard@linaro.org \
    --cc=andersson@kernel.org \
    --cc=bod@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=todor.too@gmail.com \
    --cc=vladimir.zapolskiy@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox