From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35680478845 for ; Fri, 27 Feb 2026 22:08:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772230131; cv=none; b=p9KjCVscIV4rqW+bW1j60CGCJPHuirdqVZ3OadjkGjrigQUaMtL2vzEbk2KTjr9c7LnCOtkjOs9I81o7yKdDANK/kYJfbpSPHbyfH83H3i8iqEu/tD7rX2GYbio2p0zwYM/f1y+8HlYjaVO01ILiHCn3mnt7x1jDOSZJSUxOzjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772230131; c=relaxed/simple; bh=iNSxSIh+ll79sf4TNG2hK58H2dS4Xk6YssNMKaMP+fY=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=cB9BTHBL8xeX9oIk5ghY8jb5JuvJU8gpL1m/3PSE7Cxkog4ZqqG6IzKxiqzkyUcOoRQUTlN6fIEhmTOiuVo75NnQRPwsoHUBuNy92uU2kzmeGkH8dF/zORPBSkaRNCUf6zkMxvV+owwpOFoE3UtAiLgxM1AYGdp9oef1o0UIu3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=WgbcI9S2; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WgbcI9S2" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4806ce0f97bso20793785e9.0 for ; Fri, 27 Feb 2026 14:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772230129; x=1772834929; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=5jgh0ia5KAYwXdV6WzubAimlSgIWZXu7hr9crI9YEOI=; b=WgbcI9S2wbLLbpaGOETf5fJaqkGxJ04SN2tQQinMal6ImkiaKMD0ac8IDGENgh3/Is +CotPYn7+GkPGqz3ZouuCG1zhhnH77+Yk7wyAKdNpDxzK1aDpJlTBcZmesUnz5217uR4 wc7mSb9DbJb74t7UHVA20HIlNwSmS3Y5rmqTZRPSbYfnsVQhow0T/HjKpBA3tg7QbAMd 8vEyJjIm2EEryPXKg4ERpue180FrTr62Mn5k11pqDlQQ9S40Z9UJRDu0rWyZPy7vedE8 aSQhBwb4mWQYXOrOhbuUouln0/nezPL5niRj0NErSwoD9kcpfBGJ33rVu/Ui9PFL5ABb p+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772230129; x=1772834929; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5jgh0ia5KAYwXdV6WzubAimlSgIWZXu7hr9crI9YEOI=; b=eSulyjAcNfQQJYcpgxuagY8WzRxZ/uHg2bP5xl+QdeysqKsAnsYnGnVb5Tfyyuy4q6 vEwKKoJLFlqvFhI21V9iydqXCzFYDyS93lE6Rbk8tqKtT7UXgG8nTP32CmlfWzSbkOGF TWHqScHvy+TE3Lhiqz6FEuAFT5TOFrLEPq37Ka7i0xCBQVbxtIg6qulHBfIV8ysAm2/F cdGkxA5bJUt8gOEamdBkE26dEArTzoYstNDqbhGp8OHZSVAVKACnv/Sqvm8LFgyNkGPh QCc3saJcxBtbCHZ5WYoJOBcfoox/dn0HJFZh4MCSDVMqen1PhOzQZLlqHDD0KBvwg3+0 OgYA== X-Forwarded-Encrypted: i=1; AJvYcCX1/0BBHyOQO7+iEeXzbVj1IhZNqecwTIwcWZ8uIS3piIVHuaKWWI2Ta4LvSEbxARO5a3uCnWniZG4sWRM=@vger.kernel.org X-Gm-Message-State: AOJu0YyP9fVrNqoiCS2Q11ZaUeOLeLhl9S6nvgUz/94gzH5hqAF8QXgy gpOu+JTmCyjrYsOLZSoJMm5QC9tjc4kZUEH5N/Rsdfztu1UJJ2C2HK6+gwU4jWrMOoE= X-Gm-Gg: ATEYQzyENgTtSFXy4j09tN+sMbfaszQoXEiQ5o/YERObpwTYfno1NuNFbGpW/3wGajv mqzRe3mO9ihlRhwscJ11ZBDu6PAZp10JQt/u4eycMleiWLmHbzfy7Itfmb76OEHTVrRdgFBryVs uPCg5aTDboR3HwDp6iYA3ftgDfv6OvtqqyWZTt3+euFra86VYITYGzhDkWgUeyqvNYCYV2ErtSA 0bBhlM0AfvxFkEcXma9ZQaaXx5pJr48o21zEe2VfMgaDiisuxTjEdbQRwUD0Z+q2l6wEsuomwEi tpfdsN6fhZNI394G0dbR9fA9G/WLdvENpKw3WsaC3L2CEwxf7s6ow7aMfZKkU6w+PgnHY/syfPE CCKhm7LKJ5b9KD5KDbhOn4AxLfnj87bX09tt6Rqf/58MysFHK5g9andMDjQ3kVxx7sclwrCESJf 9kIH6iKumr9VJjgYTKL14YYm33U/8bgUL89nMTG+5LGYw5Zcr09eeY6su04hQ9lIQDOmlwPRQ8X 7F9KgQ9DHzEWI388CTw1Seu X-Received: by 2002:a05:600c:4fc8:b0:480:4a90:1b00 with SMTP id 5b1f17b1804b1-483c9bead27mr64166715e9.20.1772230128544; Fri, 27 Feb 2026 14:08:48 -0800 (PST) Received: from [192.168.16.154] (host86-188-11-239.range86-188.btcentralplus.com. [86.188.11.239]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483bfb987b0sm66574165e9.13.2026.02.27.14.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 14:08:48 -0800 (PST) Message-ID: <2932da190f788d2a11f6743bd87b6ff4a61938ca.camel@linaro.org> Subject: Re: [PATCH v8 17/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add ov02c10 RGB sensor on CSIPHY4 From: Christopher Obbard To: Bryan O'Donoghue , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , Mauro Carvalho Chehab , Konrad Dybcio , Vladimir Zapolskiy , Bryan O'Donoghue 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 Date: Fri, 27 Feb 2026 22:08:47 +0000 In-Reply-To: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-17-95517393bcb2@linaro.org> References: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-0-95517393bcb2@linaro.org> <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-17-95517393bcb2@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Bryan, On Wed, 2026-02-25 at 15:11 +0000, Bryan O'Donoghue wrote: > Add in the RGB sensor on CSIPHY4. >=20 > Signed-off-by: Bryan O'Donoghue > --- Reviewed-by: Christopher Obbard > .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 77 ++++++++++++++++= ++++++ > 1 file changed, 77 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/a= rch/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 @@ > =20 > #include > #include > +#include > #include > =20 > #include "hamoa.dtsi" > @@ -856,6 +857,66 @@ &gpu_zap_shader { > firmware-name =3D "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn"; > }; > =20 > +&camss { > + status =3D "okay"; > + > + ports { > + /* > + * port0 =3D> csiphy0 > + * port1 =3D> csiphy1 > + * port2 =3D> csiphy2 > + * port3 =3D> csiphy4 > + */ > + port@3 { > + camss_csiphy4_inep0: endpoint@0 { > + clock-lanes =3D <7>; > + data-lanes =3D <0 1>; > + remote-endpoint =3D <&ov02c10_ep>; > + }; > + }; > + }; > +}; > + > +&cci1 { > + status =3D "okay"; > +}; > + > +&cci1_i2c1 { > + camera@36 { > + compatible =3D "ovti,ov02c10"; > + reg =3D <0x36>; > + > + reset-gpios =3D <&tlmm 237 GPIO_ACTIVE_LOW>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&cam_rgb_default>; > + > + clocks =3D <&camcc CAM_CC_MCLK4_CLK>; > + assigned-clocks =3D <&camcc CAM_CC_MCLK4_CLK>; > + assigned-clock-rates =3D <19200000>; > + > + orientation =3D <0>; /* front facing */ > + > + avdd-supply =3D <&vreg_l7m_2p8>; > + dvdd-supply =3D <&vreg_l2m_1p2>; > + dovdd-supply =3D <&vreg_l4m_1p8>; > + > + port { > + ov02c10_ep: endpoint { > + data-lanes =3D <1 2>; > + link-frequencies =3D /bits/ 64 <400000000>; > + remote-endpoint =3D <&camss_csiphy4_inep0>; > + }; > + }; > + }; > +}; > + > +&csiphy4 { > + vdda-0p8-supply =3D <&vreg_l2c_0p8>; > + vdda-1p2-supply =3D <&vreg_l1c_1p2>; > + > + status =3D "okay"; > +}; > + > &i2c0 { > clock-frequency =3D <400000>; > =20 > @@ -1403,6 +1464,22 @@ &tlmm { > <44 4>, /* SPI (TPM) */ > <238 1>; /* UFS Reset */ > =20 > + cam_rgb_default: cam-rgb-default-state { > + mclk-pins { > + pins =3D "gpio100"; > + function =3D "cam_aon"; > + drive-strength =3D <16>; > + bias-disable; > + }; > + > + reset-n-pins { > + pins =3D "gpio237"; > + function =3D "gpio"; > + drive-strength =3D <2>; > + bias-disable; > + }; > + }; > + > edp_reg_en: edp-reg-en-state { > pins =3D "gpio70"; > function =3D "gpio";