* [PATCH 0/3] Add CCI and imx577 sensor support for Talos evk
@ 2025-12-22 8:44 Wenmeng Liu
2025-12-22 8:44 ` [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible Wenmeng Liu
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 8:44 UTC (permalink / raw)
To: Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media,
Wenmeng Liu
Talos EVK is based on the Qualcomm SM6150 SoC.
It lacks a camera sensor in its default configuration.
This series adds CCI support and enables the IMX577 sensor via CSIPHY1
through device tree overlay.
We have tested IMX577 Sensor on CCI1 with following commands:
- media-ctl -d /dev/media0 --reset
- media-ctl -d /dev/media0 -V '"imx577 1-001a":0[fmt:SRGGB10/4056x3040 field:none]'
- media-ctl -d /dev/media0 -V '"msm_csiphy1":0[fmt:SRGGB10/4056x3040]'
- media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SRGGB10/4056x3040]'
- media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4056x3040]'
- media-ctl -d /dev/media0 -l '"msm_csiphy1":1->"msm_csid0":0[1]'
- media-ctl -d /dev/media0 -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- yavta -B capture-mplane -n 5 -f SRGGB10P -s 4056x3040 -F /dev/video0 --capture=5
This patch series depends on patch series:
https://lore.kernel.org/all/20251222-sm6150-camss-v2-0-df8469a8343a@oss.qualcomm.com/
https://lore.kernel.org/all/20251201172222.3764933-1-tessolveupstream@gmail.com/
---
Wenmeng Liu (3):
dt-bindings: i2c: qcom-cci: Document sm6150 compatible
arm64: dts: qcom: talos: Add CCI definitions
arm64: dts: qcom: talos-evk-camera: Add DT overlay
.../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++
arch/arm64/boot/dts/qcom/Makefile | 2 +
arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++
arch/arm64/boot/dts/qcom/talos.dtsi | 97 ++++++++++++++++++++++
4 files changed, 181 insertions(+)
---
base-commit: 1d9566d56c3b6d42b8d3684e940561ef783fe6a1
change-id: 20251222-sm6150_evk-8ebed9e9f3bc
Best regards,
--
Wenmeng <wenmeng.liu@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 8:44 [PATCH 0/3] Add CCI and imx577 sensor support for Talos evk Wenmeng Liu
@ 2025-12-22 8:44 ` Wenmeng Liu
2025-12-22 8:58 ` Krzysztof Kozlowski
2025-12-22 8:44 ` [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions Wenmeng Liu
2025-12-22 8:44 ` [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay Wenmeng Liu
2 siblings, 1 reply; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 8:44 UTC (permalink / raw)
To: Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media,
Wenmeng Liu
Add the sm6150 CCI device string compatible.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
.../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
--- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
+++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
@@ -33,6 +33,7 @@ properties:
- qcom,sc8280xp-cci
- qcom,sdm670-cci
- qcom,sdm845-cci
+ - qcom,sm6150-cci
- qcom,sm6350-cci
- qcom,sm8250-cci
- qcom,sm8450-cci
@@ -263,6 +264,23 @@ allOf:
- const: cpas_ahb
- const: cci
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sm6150-cci
+ then:
+ properties:
+ clocks:
+ minItems: 3
+ maxItems: 3
+ clock-names:
+ items:
+ - const: soc_ahb
+ - const: cpas_ahb
+ - const: cci
+
additionalProperties: false
examples:
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions
2025-12-22 8:44 [PATCH 0/3] Add CCI and imx577 sensor support for Talos evk Wenmeng Liu
2025-12-22 8:44 ` [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible Wenmeng Liu
@ 2025-12-22 8:44 ` Wenmeng Liu
2025-12-29 13:21 ` Konrad Dybcio
2025-12-29 13:22 ` Konrad Dybcio
2025-12-22 8:44 ` [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay Wenmeng Liu
2 siblings, 2 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 8:44 UTC (permalink / raw)
To: Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media,
Wenmeng Liu
Qualcomm Talos SoC contains 1 Camera Control Interface controllers.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/talos.dtsi | 76 +++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index 2e2fa9dc11aed6e8413488302710bc219ca9b64d..ebb1807f0222c075d4207163ed4359a55616d903 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -1550,6 +1550,46 @@ tlmm: pinctrl@3100000 {
#interrupt-cells = <2>;
wakeup-parent = <&pdc>;
+ cci_default: cci0-default-state {
+ cci_i2c0_default: cci-i2c0-default-pins {
+ /* SDA, SCL */
+ pins = "gpio32", "gpio33";
+ function = "cci_i2c";
+
+ bias-pull-up;
+ drive-strength = <2>;
+ };
+
+ cci_i2c1_default: cci-i2c1-default-pins {
+ /* SDA, SCL */
+ pins = "gpio34", "gpio35";
+ function = "cci_i2c";
+
+ bias-pull-up;
+ drive-strength = <2>;
+ };
+ };
+
+ cci_sleep: cci-sleep-state {
+ cci_i2c0_sleep: cci-i2c0-sleep-state {
+ /* SDA, SCL */
+ pins = "gpio32", "gpio33";
+ function = "cci_i2c";
+
+ bias-pull-down;
+ drive-strength = <2>;
+ };
+
+ cci_i2c1_sleep: cci-i2c1-sleep-state {
+ /* SDA, SCL */
+ pins = "gpio34", "gpio35";
+ function = "cci_i2c";
+
+ bias-pull-down;
+ drive-strength = <2>;
+ };
+ };
+
qup_i2c1_data_clk: qup-i2c1-data-clk-state {
pins = "gpio4", "gpio5";
function = "qup0";
@@ -3786,6 +3826,42 @@ videocc: clock-controller@ab00000 {
#power-domain-cells = <1>;
};
+ cci: cci@ac4a000 {
+ compatible = "qcom,sm6150-cci", "qcom,msm8996-cci";
+
+ reg = <0x0 0x0ac4a000 0x0 0x4000>;
+ interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>;
+ power-domains = <&camcc TITAN_TOP_GDSC>;
+ clocks = <&camcc CAM_CC_SOC_AHB_CLK>,
+ <&camcc CAM_CC_CPAS_AHB_CLK>,
+ <&camcc CAM_CC_CCI_CLK>;
+ clock-names = "soc_ahb",
+ "cpas_ahb",
+ "cci";
+ pinctrl-0 = <&cci_default>;
+ pinctrl-1 = <&cci_sleep>;
+ pinctrl-names = "default", "sleep";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "disabled";
+
+ cci_i2c0: i2c-bus@0 {
+ reg = <0>;
+ clock-frequency = <1000000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ cci_i2c1: i2c-bus@1 {
+ reg = <1>;
+ clock-frequency = <1000000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+
camss: isp@acb3000 {
compatible = "qcom,sm6150-camss";
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-22 8:44 [PATCH 0/3] Add CCI and imx577 sensor support for Talos evk Wenmeng Liu
2025-12-22 8:44 ` [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible Wenmeng Liu
2025-12-22 8:44 ` [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions Wenmeng Liu
@ 2025-12-22 8:44 ` Wenmeng Liu
2025-12-22 11:19 ` Vladimir Zapolskiy
2 siblings, 1 reply; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 8:44 UTC (permalink / raw)
To: Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media,
Wenmeng Liu
Enable IMX577 via CCI on Taloss EVK Core Kit.
The Talos EVK board does not include a camera sensor
by default, this overlay reflects the possibility of
attaching an optional camera sensor.
For this reason, the camera sensor configuration is
placed in talos-evk-camera.dtso, rather than
modifying the base talos-evk.dts.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/Makefile | 2 +
arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
3 files changed, 87 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
+talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-lvds-auo,g133han01.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-el2.dtb
diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
new file mode 100644
index 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
@@ -0,0 +1,64 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/clock/qcom,qcs615-camcc.h>
+#include <dt-bindings/gpio/gpio.h>
+
+&camss {
+ vdd-csiphy-1p2-supply = <&vreg_l11a>;
+ vdd-csiphy-1p8-supply = <&vreg_l12a>;
+
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ csiphy1_ep: endpoint {
+ clock-lanes = <7>;
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&imx577_ep1>;
+ };
+ };
+ };
+};
+
+&cci {
+ status = "okay";
+};
+
+&cci_i2c1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@1a {
+ compatible = "sony,imx577";
+ reg = <0x1a>;
+
+ reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&cam2_default>;
+ pinctrl-names = "default";
+
+ clocks = <&camcc CAM_CC_MCLK2_CLK>;
+ assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
+ assigned-clock-rates = <24000000>;
+
+ avdd-supply = <&vreg_s4a>;
+
+ port {
+ imx577_ep1: endpoint {
+ link-frequencies = /bits/ 64 <600000000>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy1_ep>;
+ };
+ };
+ };
+};
diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index ebb1807f0222c075d4207163ed4359a55616d903..3626312f138f2e8f1888eb6aa43fa474cdee884f 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -1550,6 +1550,27 @@ tlmm: pinctrl@3100000 {
#interrupt-cells = <2>;
wakeup-parent = <&pdc>;
+ cam0_default: cam0-default-state {
+ pins = "gpio28";
+ function = "cam_mclk";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ cam1_default: cam1-default-state {
+ pins = "gpio29";
+ function = "cam_mclk";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ cam2_default: cam2-default-state {
+ pins = "gpio30";
+ function = "cam_mclk";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
cci_default: cci0-default-state {
cci_i2c0_default: cci-i2c0-default-pins {
/* SDA, SCL */
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 8:44 ` [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible Wenmeng Liu
@ 2025-12-22 8:58 ` Krzysztof Kozlowski
2025-12-22 9:13 ` Wenmeng Liu
0 siblings, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-22 8:58 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 22/12/2025 09:44, Wenmeng Liu wrote:
> Add the sm6150 CCI device string compatible.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> ---
> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
> @@ -33,6 +33,7 @@ properties:
> - qcom,sc8280xp-cci
> - qcom,sdm670-cci
> - qcom,sdm845-cci
> + - qcom,sm6150-cci
> - qcom,sm6350-cci
> - qcom,sm8250-cci
> - qcom,sm8450-cci
> @@ -263,6 +264,23 @@ allOf:
> - const: cpas_ahb
> - const: cci
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,sm6150-cci
> + then:
> + properties:
> + clocks:
> + minItems: 3
> + maxItems: 3
> + clock-names:
> + items:
> + - const: soc_ahb
Isn't this just camnoc_axi for this device (pay attention: to this device)?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 8:58 ` Krzysztof Kozlowski
@ 2025-12-22 9:13 ` Wenmeng Liu
2025-12-22 9:49 ` Konrad Dybcio
2025-12-22 11:58 ` Krzysztof Kozlowski
0 siblings, 2 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 9:13 UTC (permalink / raw)
To: Krzysztof Kozlowski, Loic Poulain, Robert Foss, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/2025 4:58 PM, Krzysztof Kozlowski wrote:
> On 22/12/2025 09:44, Wenmeng Liu wrote:
>> Add the sm6150 CCI device string compatible.
>>
>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>> ---
>> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
>> 1 file changed, 18 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
>> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>> @@ -33,6 +33,7 @@ properties:
>> - qcom,sc8280xp-cci
>> - qcom,sdm670-cci
>> - qcom,sdm845-cci
>> + - qcom,sm6150-cci
>> - qcom,sm6350-cci
>> - qcom,sm8250-cci
>> - qcom,sm8450-cci
>> @@ -263,6 +264,23 @@ allOf:
>> - const: cpas_ahb
>> - const: cci
>>
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + enum:
>> + - qcom,sm6150-cci
>> + then:
>> + properties:
>> + clocks:
>> + minItems: 3
>> + maxItems: 3
>> + clock-names:
>> + items:
>> + - const: soc_ahb
>
>
> Isn't this just camnoc_axi for this device (pay attention: to this device)?
>
On this SOC, both soc_ahb and camnoc_axi exist.
Is it suggested that I use the existing ones below?
- if:
properties:
compatible:
contains:
enum:
- qcom,sdm670-cci
then:
properties:
clocks:
minItems: 4
maxItems: 4
clock-names:
items:
- const: camnoc_axi
- const: soc_ahb
- const: cpas_ahb
- const: cci
Thanks,
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 9:13 ` Wenmeng Liu
@ 2025-12-22 9:49 ` Konrad Dybcio
2025-12-22 11:02 ` Wenmeng Liu
2025-12-22 11:58 ` Krzysztof Kozlowski
1 sibling, 1 reply; 18+ messages in thread
From: Konrad Dybcio @ 2025-12-22 9:49 UTC (permalink / raw)
To: Wenmeng Liu, Krzysztof Kozlowski, Loic Poulain, Robert Foss,
Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/25 10:13 AM, Wenmeng Liu wrote:
>
>
> On 12/22/2025 4:58 PM, Krzysztof Kozlowski wrote:
>> On 22/12/2025 09:44, Wenmeng Liu wrote:
>>> Add the sm6150 CCI device string compatible.
>>>
>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>> ---
>>> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
>>> 1 file changed, 18 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
>>> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> @@ -33,6 +33,7 @@ properties:
>>> - qcom,sc8280xp-cci
>>> - qcom,sdm670-cci
>>> - qcom,sdm845-cci
>>> + - qcom,sm6150-cci
>>> - qcom,sm6350-cci
>>> - qcom,sm8250-cci
>>> - qcom,sm8450-cci
>>> @@ -263,6 +264,23 @@ allOf:
>>> - const: cpas_ahb
>>> - const: cci
>>> + - if:
>>> + properties:
>>> + compatible:
>>> + contains:
>>> + enum:
>>> + - qcom,sm6150-cci
>>> + then:
>>> + properties:
>>> + clocks:
>>> + minItems: 3
>>> + maxItems: 3
>>> + clock-names:
>>> + items:
>>> + - const: soc_ahb
>>
>>
>> Isn't this just camnoc_axi for this device (pay attention: to this device)?
>>
>
> On this SOC, both soc_ahb and camnoc_axi exist.
> Is it suggested that I use the existing ones below?
> - if:
> properties:
> compatible:
> contains:
> enum:
> - qcom,sdm670-cci
> then:
> properties:
> clocks:
> minItems: 4
> maxItems: 4
> clock-names:
> items:
> - const: camnoc_axi
> - const: soc_ahb
> - const: cpas_ahb
> - const: cci
Are both AXI and the two AHB clocks necessary for the CCI to operate?
It wasn't the case on other similarly-aged platforms
Konrad
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 9:49 ` Konrad Dybcio
@ 2025-12-22 11:02 ` Wenmeng Liu
0 siblings, 0 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 11:02 UTC (permalink / raw)
To: Konrad Dybcio, Krzysztof Kozlowski, Loic Poulain, Robert Foss,
Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/2025 5:49 PM, Konrad Dybcio wrote:
> On 12/22/25 10:13 AM, Wenmeng Liu wrote:
>>
>>
>> On 12/22/2025 4:58 PM, Krzysztof Kozlowski wrote:
>>> On 22/12/2025 09:44, Wenmeng Liu wrote:
>>>> Add the sm6150 CCI device string compatible.
>>>>
>>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>>> ---
>>>> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
>>>> 1 file changed, 18 insertions(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
>>>> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> @@ -33,6 +33,7 @@ properties:
>>>> - qcom,sc8280xp-cci
>>>> - qcom,sdm670-cci
>>>> - qcom,sdm845-cci
>>>> + - qcom,sm6150-cci
>>>> - qcom,sm6350-cci
>>>> - qcom,sm8250-cci
>>>> - qcom,sm8450-cci
>>>> @@ -263,6 +264,23 @@ allOf:
>>>> - const: cpas_ahb
>>>> - const: cci
>>>> + - if:
>>>> + properties:
>>>> + compatible:
>>>> + contains:
>>>> + enum:
>>>> + - qcom,sm6150-cci
>>>> + then:
>>>> + properties:
>>>> + clocks:
>>>> + minItems: 3
>>>> + maxItems: 3
>>>> + clock-names:
>>>> + items:
>>>> + - const: soc_ahb
>>>
>>>
>>> Isn't this just camnoc_axi for this device (pay attention: to this device)?
>>>
>>
>> On this SOC, both soc_ahb and camnoc_axi exist.
>> Is it suggested that I use the existing ones below?
>> - if:
>> properties:
>> compatible:
>> contains:
>> enum:
>> - qcom,sdm670-cci
>> then:
>> properties:
>> clocks:
>> minItems: 4
>> maxItems: 4
>> clock-names:
>> items:
>> - const: camnoc_axi
>> - const: soc_ahb
>> - const: cpas_ahb
>> - const: cci
>
> Are both AXI and the two AHB clocks necessary for the CCI to operate?
> It wasn't the case on other similarly-aged platforms
>
> Konrad
The test conclusion indicates that all three clocks are necessary.
all of them are necessary.
Thanks,
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-22 8:44 ` [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay Wenmeng Liu
@ 2025-12-22 11:19 ` Vladimir Zapolskiy
2025-12-22 11:41 ` Wenmeng Liu
0 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2025-12-22 11:19 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/25 10:44, Wenmeng Liu wrote:
> Enable IMX577 via CCI on Taloss EVK Core Kit.
>
> The Talos EVK board does not include a camera sensor
> by default, this overlay reflects the possibility of
> attaching an optional camera sensor.
> For this reason, the camera sensor configuration is
> placed in talos-evk-camera.dtso, rather than
> modifying the base talos-evk.dts.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/Makefile | 2 +
> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++++++++++++
> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
Please split QCS615 MCLK definitions change into a separate commit.
> 3 files changed, 87 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-lvds-auo,g133han01.dtbo
> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-el2.dtb
> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
> new file mode 100644
> index 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
> @@ -0,0 +1,64 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
Please add a missing year of the change.
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
> +#include <dt-bindings/gpio/gpio.h>
> +
> +&camss {
> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
> +
> + status = "okay";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@1 {
> + reg = <1>;
> +
> + csiphy1_ep: endpoint {
> + clock-lanes = <7>;
Please remove 'clock-lanes' property.
> + data-lanes = <0 1 2 3>;
> + remote-endpoint = <&imx577_ep1>;
> + };
> + };
> + };
> +};
> +
> +&cci {
> + status = "okay";
> +};
> +
> +&cci_i2c1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + camera@1a {
> + compatible = "sony,imx577";
> + reg = <0x1a>;
> +
> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
> + pinctrl-0 = <&cam2_default>;
> + pinctrl-names = "default";
> +
> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
> + assigned-clock-rates = <24000000>;
> +
> + avdd-supply = <&vreg_s4a>;
Just one voltage supply?
> +
> + port {
> + imx577_ep1: endpoint {
> + link-frequencies = /bits/ 64 <600000000>;
> + data-lanes = <1 2 3 4>;
> + remote-endpoint = <&csiphy1_ep>;
> + };
> + };
> + };
> +};
> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
> index ebb1807f0222c075d4207163ed4359a55616d903..3626312f138f2e8f1888eb6aa43fa474cdee884f 100644
> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
> @@ -1550,6 +1550,27 @@ tlmm: pinctrl@3100000 {
> #interrupt-cells = <2>;
> wakeup-parent = <&pdc>;
>
> + cam0_default: cam0-default-state {
> + pins = "gpio28";
> + function = "cam_mclk";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + cam1_default: cam1-default-state {
> + pins = "gpio29";
> + function = "cam_mclk";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + cam2_default: cam2-default-state {
> + pins = "gpio30";
> + function = "cam_mclk";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
Please add to the list another pad with MCLK function, which is GPIO31.
> cci_default: cci0-default-state {
> cci_i2c0_default: cci-i2c0-default-pins {
> /* SDA, SCL */
>
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-22 11:19 ` Vladimir Zapolskiy
@ 2025-12-22 11:41 ` Wenmeng Liu
2025-12-22 15:45 ` Vladimir Zapolskiy
0 siblings, 1 reply; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 11:41 UTC (permalink / raw)
To: Vladimir Zapolskiy, Loic Poulain, Robert Foss, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/2025 7:19 PM, Vladimir Zapolskiy wrote:
> On 12/22/25 10:44, Wenmeng Liu wrote:
>> Enable IMX577 via CCI on Taloss EVK Core Kit.
>>
>> The Talos EVK board does not include a camera sensor
>> by default, this overlay reflects the possibility of
>> attaching an optional camera sensor.
>> For this reason, the camera sensor configuration is
>> placed in talos-evk-camera.dtso, rather than
>> modifying the base talos-evk.dts.
>>
>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++
>> ++++++++++
>> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
>
> Please split QCS615 MCLK definitions change into a separate commit.
ACK.>
>> 3 files changed, 87 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/
>> qcom/Makefile
>> index
>> 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
>> --- a/arch/arm64/boot/dts/qcom/Makefile
>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
>> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
>> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-
>> lvds-auo,g133han01.dtbo
>> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
>> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
>> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-
>> el2.dtb
>> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/
>> arm64/boot/dts/qcom/talos-evk-camera.dtso
>> new file mode 100644
>> index
>> 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
>> @@ -0,0 +1,64 @@
>> +// SPDX-License-Identifier: BSD-3-Clause
>> +/*
>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>
> Please add a missing year of the change.
Now our requirement is a yearless copyright.>
>> + */
>> +
>> +/dts-v1/;
>> +/plugin/;
>> +
>> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
>> +#include <dt-bindings/gpio/gpio.h>
>> +
>> +&camss {
>> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
>> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
>> +
>> + status = "okay";
>> +
>> + ports {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + port@1 {
>> + reg = <1>;
>> +
>> + csiphy1_ep: endpoint {
>> + clock-lanes = <7>;
>
> Please remove 'clock-lanes' property.
ACK.>
>> + data-lanes = <0 1 2 3>;
>> + remote-endpoint = <&imx577_ep1>;
>> + };
>> + };
>> + };
>> +};
>> +
>> +&cci {
>> + status = "okay";
>> +};
>> +
>> +&cci_i2c1 {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + camera@1a {
>> + compatible = "sony,imx577";
>> + reg = <0x1a>;
>> +
>> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
>> + pinctrl-0 = <&cam2_default>;
>> + pinctrl-names = "default";
>> +
>> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
>> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
>> + assigned-clock-rates = <24000000>;
>> +
>> + avdd-supply = <&vreg_s4a>;
>
> Just one voltage supply?
yes, 22pin camera module only have one pin for power.>
>> +
>> + port {
>> + imx577_ep1: endpoint {
>> + link-frequencies = /bits/ 64 <600000000>;
>> + data-lanes = <1 2 3 4>;
>> + remote-endpoint = <&csiphy1_ep>;
>> + };
>> + };
>> + };
>> +};
>> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/
>> dts/qcom/talos.dtsi
>> index
>> ebb1807f0222c075d4207163ed4359a55616d903..3626312f138f2e8f1888eb6aa43fa474cdee884f 100644
>> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
>> @@ -1550,6 +1550,27 @@ tlmm: pinctrl@3100000 {
>> #interrupt-cells = <2>;
>> wakeup-parent = <&pdc>;
>> + cam0_default: cam0-default-state {
>> + pins = "gpio28";
>> + function = "cam_mclk";
>> + drive-strength = <2>;
>> + bias-disable;
>> + };
>> +
>> + cam1_default: cam1-default-state {
>> + pins = "gpio29";
>> + function = "cam_mclk";
>> + drive-strength = <2>;
>> + bias-disable;
>> + };
>> +
>> + cam2_default: cam2-default-state {
>> + pins = "gpio30";
>> + function = "cam_mclk";
>> + drive-strength = <2>;
>> + bias-disable;
>> + };
>> +
>
> Please add to the list another pad with MCLK function, which is GPIO31.
ACK.>
>> cci_default: cci0-default-state {
>> cci_i2c0_default: cci-i2c0-default-pins {
>> /* SDA, SCL */
>>
>
will update in next version.
Thanks,
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 9:13 ` Wenmeng Liu
2025-12-22 9:49 ` Konrad Dybcio
@ 2025-12-22 11:58 ` Krzysztof Kozlowski
2025-12-22 12:12 ` Wenmeng Liu
1 sibling, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-22 11:58 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 22/12/2025 10:13, Wenmeng Liu wrote:
>
>
> On 12/22/2025 4:58 PM, Krzysztof Kozlowski wrote:
>> On 22/12/2025 09:44, Wenmeng Liu wrote:
>>> Add the sm6150 CCI device string compatible.
>>>
>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>> ---
>>> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
>>> 1 file changed, 18 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
>>> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>> @@ -33,6 +33,7 @@ properties:
>>> - qcom,sc8280xp-cci
>>> - qcom,sdm670-cci
>>> - qcom,sdm845-cci
>>> + - qcom,sm6150-cci
>>> - qcom,sm6350-cci
>>> - qcom,sm8250-cci
>>> - qcom,sm8450-cci
>>> @@ -263,6 +264,23 @@ allOf:
>>> - const: cpas_ahb
>>> - const: cci
>>>
>>> + - if:
>>> + properties:
>>> + compatible:
>>> + contains:
>>> + enum:
>>> + - qcom,sm6150-cci
>>> + then:
>>> + properties:
>>> + clocks:
>>> + minItems: 3
>>> + maxItems: 3
>>> + clock-names:
>>> + items:
>>> + - const: soc_ahb
>>
>>
>> Isn't this just camnoc_axi for this device (pay attention: to this device)?
>>
>
> On this SOC, both soc_ahb and camnoc_axi exist.
Hm? That's not the question. Pay attention to the part called "pay
attention". I emphasized it on purpose and you just ignored it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible
2025-12-22 11:58 ` Krzysztof Kozlowski
@ 2025-12-22 12:12 ` Wenmeng Liu
0 siblings, 0 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-22 12:12 UTC (permalink / raw)
To: Krzysztof Kozlowski, Loic Poulain, Robert Foss, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/2025 7:58 PM, Krzysztof Kozlowski wrote:
> On 22/12/2025 10:13, Wenmeng Liu wrote:
>>
>>
>> On 12/22/2025 4:58 PM, Krzysztof Kozlowski wrote:
>>> On 22/12/2025 09:44, Wenmeng Liu wrote:
>>>> Add the sm6150 CCI device string compatible.
>>>>
>>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>>> ---
>>>> .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 18 ++++++++++++++++++
>>>> 1 file changed, 18 insertions(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> index a3fe1eea6aece9685674feaa5ec53765c1ce23d8..cb5e6fd5b2ad1de79a9b29d54869d093c952d778 100644
>>>> --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
>>>> @@ -33,6 +33,7 @@ properties:
>>>> - qcom,sc8280xp-cci
>>>> - qcom,sdm670-cci
>>>> - qcom,sdm845-cci
>>>> + - qcom,sm6150-cci
>>>> - qcom,sm6350-cci
>>>> - qcom,sm8250-cci
>>>> - qcom,sm8450-cci
>>>> @@ -263,6 +264,23 @@ allOf:
>>>> - const: cpas_ahb
>>>> - const: cci
>>>>
>>>> + - if:
>>>> + properties:
>>>> + compatible:
>>>> + contains:
>>>> + enum:
>>>> + - qcom,sm6150-cci
>>>> + then:
>>>> + properties:
>>>> + clocks:
>>>> + minItems: 3
>>>> + maxItems: 3
>>>> + clock-names:
>>>> + items:
>>>> + - const: soc_ahb
>>>
>>>
>>> Isn't this just camnoc_axi for this device (pay attention: to this device)?
>>>
>>
>> On this SOC, both soc_ahb and camnoc_axi exist.
>
> Hm? That's not the question. Pay attention to the part called "pay
> attention". I emphasized it on purpose and you just ignored it.
--- Isn't this just camnoc_axi for this device (pay attention: to this
device)?
For this, yes, I think so.
Also tested replacing soc_ahb with camnoc_axi for the CCI device, but
the hardware did not function correctly with that configuration.
Thanks
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-22 11:41 ` Wenmeng Liu
@ 2025-12-22 15:45 ` Vladimir Zapolskiy
2025-12-23 2:16 ` Wenmeng Liu
0 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2025-12-22 15:45 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/25 13:41, Wenmeng Liu wrote:
>
>
> On 12/22/2025 7:19 PM, Vladimir Zapolskiy wrote:
>> On 12/22/25 10:44, Wenmeng Liu wrote:
>>> Enable IMX577 via CCI on Taloss EVK Core Kit.
>>>
>>> The Talos EVK board does not include a camera sensor
>>> by default, this overlay reflects the possibility of
>>> attaching an optional camera sensor.
>>> For this reason, the camera sensor configuration is
>>> placed in talos-evk-camera.dtso, rather than
>>> modifying the base talos-evk.dts.
>>>
>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>> ---
>>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>>> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++
>>> ++++++++++
>>> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
>>
>> Please split QCS615 MCLK definitions change into a separate commit.
> ACK.>
>>> 3 files changed, 87 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/
>>> qcom/Makefile
>>> index
>>> 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
>>> --- a/arch/arm64/boot/dts/qcom/Makefile
>>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>>> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
>>> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
>>> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-
>>> lvds-auo,g133han01.dtbo
>>> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
>>> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
>>> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-
>>> el2.dtb
>>> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/
>>> arm64/boot/dts/qcom/talos-evk-camera.dtso
>>> new file mode 100644
>>> index
>>> 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
>>> --- /dev/null
>>> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
>>> @@ -0,0 +1,64 @@
>>> +// SPDX-License-Identifier: BSD-3-Clause
>>> +/*
>>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>
>> Please add a missing year of the change.
> Now our requirement is a yearless copyright.>
Ack. It's a lawyers' domain anyway.
>>> + */
>>> +
>>> +/dts-v1/;
>>> +/plugin/;
>>> +
>>> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
>>> +#include <dt-bindings/gpio/gpio.h>
>>> +
>>> +&camss {
>>> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
>>> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
>>> +
>>> + status = "okay";
>>> +
>>> + ports {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + port@1 {
>>> + reg = <1>;
>>> +
>>> + csiphy1_ep: endpoint {
>>> + clock-lanes = <7>;
>>
>> Please remove 'clock-lanes' property.
> ACK.>
>>> + data-lanes = <0 1 2 3>;
>>> + remote-endpoint = <&imx577_ep1>;
>>> + };
>>> + };
>>> + };
>>> +};
>>> +
>>> +&cci {
>>> + status = "okay";
>>> +};
>>> +
>>> +&cci_i2c1 {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + camera@1a {
>>> + compatible = "sony,imx577";
>>> + reg = <0x1a>;
>>> +
>>> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
>>> + pinctrl-0 = <&cam2_default>;
>>> + pinctrl-names = "default";
>>> +
>>> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>> + assigned-clock-rates = <24000000>;
>>> +
>>> + avdd-supply = <&vreg_s4a>;
>>
>> Just one voltage supply?
> yes, 22pin camera module only have one pin for power.>
It's common that mezzanine boards are supplied with power from S4A or VBAT,
I've never seen a camera module supplied with just one voltage regulator,
that's why it attracts attention.
What is a camera module here, is it on an attachable vision mezzanine like
on RBx series or a part of Talos EVK PCB like on QRD series?
If it is a mezzanine, the support of mezzanine boards should be done as
a DT overlay.
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-22 15:45 ` Vladimir Zapolskiy
@ 2025-12-23 2:16 ` Wenmeng Liu
2025-12-23 16:36 ` Vladimir Zapolskiy
0 siblings, 1 reply; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-23 2:16 UTC (permalink / raw)
To: Vladimir Zapolskiy, Loic Poulain, Robert Foss, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/2025 11:45 PM, Vladimir Zapolskiy wrote:
> On 12/22/25 13:41, Wenmeng Liu wrote:
>>
>>
>> On 12/22/2025 7:19 PM, Vladimir Zapolskiy wrote:
>>> On 12/22/25 10:44, Wenmeng Liu wrote:
>>>> Enable IMX577 via CCI on Taloss EVK Core Kit.
>>>>
>>>> The Talos EVK board does not include a camera sensor
>>>> by default, this overlay reflects the possibility of
>>>> attaching an optional camera sensor.
>>>> For this reason, the camera sensor configuration is
>>>> placed in talos-evk-camera.dtso, rather than
>>>> modifying the base talos-evk.dts.
>>>>
>>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>>> ---
>>>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>>>> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++
>>>> ++++++++++
>>>> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
>>>
>>> Please split QCS615 MCLK definitions change into a separate commit.
>> ACK.>
>>>> 3 files changed, 87 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/
>>>> qcom/Makefile
>>>> index
>>>> 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
>>>> --- a/arch/arm64/boot/dts/qcom/Makefile
>>>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>>>> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
>>>> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
>>>> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-
>>>> lvds-auo,g133han01.dtbo
>>>> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
>>>> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
>>>> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-
>>>> el2.dtb
>>>> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/
>>>> arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>> new file mode 100644
>>>> index
>>>> 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
>>>> --- /dev/null
>>>> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>> @@ -0,0 +1,64 @@
>>>> +// SPDX-License-Identifier: BSD-3-Clause
>>>> +/*
>>>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>>
>>> Please add a missing year of the change.
>> Now our requirement is a yearless copyright.>
>
> Ack. It's a lawyers' domain anyway.
>
>>>> + */
>>>> +
>>>> +/dts-v1/;
>>>> +/plugin/;
>>>> +
>>>> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
>>>> +#include <dt-bindings/gpio/gpio.h>
>>>> +
>>>> +&camss {
>>>> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
>>>> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
>>>> +
>>>> + status = "okay";
>>>> +
>>>> + ports {
>>>> + #address-cells = <1>;
>>>> + #size-cells = <0>;
>>>> +
>>>> + port@1 {
>>>> + reg = <1>;
>>>> +
>>>> + csiphy1_ep: endpoint {
>>>> + clock-lanes = <7>;
>>>
>>> Please remove 'clock-lanes' property.
>> ACK.>
>>>> + data-lanes = <0 1 2 3>;
>>>> + remote-endpoint = <&imx577_ep1>;
>>>> + };
>>>> + };
>>>> + };
>>>> +};
>>>> +
>>>> +&cci {
>>>> + status = "okay";
>>>> +};
>>>> +
>>>> +&cci_i2c1 {
>>>> + #address-cells = <1>;
>>>> + #size-cells = <0>;
>>>> +
>>>> + camera@1a {
>>>> + compatible = "sony,imx577";
>>>> + reg = <0x1a>;
>>>> +
>>>> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
>>>> + pinctrl-0 = <&cam2_default>;
>>>> + pinctrl-names = "default";
>>>> +
>>>> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>> + assigned-clock-rates = <24000000>;
>>>> +
>>>> + avdd-supply = <&vreg_s4a>;
>>>
>>> Just one voltage supply?
>> yes, 22pin camera module only have one pin for power.>
>
> It's common that mezzanine boards are supplied with power from S4A or VBAT,
> I've never seen a camera module supplied with just one voltage regulator,
> that's why it attracts attention.
>
> What is a camera module here, is it on an attachable vision mezzanine like
> on RBx series or a part of Talos EVK PCB like on QRD series?
>
> If it is a mezzanine, the support of mezzanine boards should be done as
> a DT overlay.
>
It`s like RBx series, does not include a camera sensor
by default.
Thanks,
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-23 2:16 ` Wenmeng Liu
@ 2025-12-23 16:36 ` Vladimir Zapolskiy
2025-12-24 2:12 ` Wenmeng Liu
0 siblings, 1 reply; 18+ messages in thread
From: Vladimir Zapolskiy @ 2025-12-23 16:36 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/23/25 04:16, Wenmeng Liu wrote:
>
>
> On 12/22/2025 11:45 PM, Vladimir Zapolskiy wrote:
>> On 12/22/25 13:41, Wenmeng Liu wrote:
>>>
>>>
>>> On 12/22/2025 7:19 PM, Vladimir Zapolskiy wrote:
>>>> On 12/22/25 10:44, Wenmeng Liu wrote:
>>>>> Enable IMX577 via CCI on Taloss EVK Core Kit.
>>>>>
>>>>> The Talos EVK board does not include a camera sensor
>>>>> by default, this overlay reflects the possibility of
>>>>> attaching an optional camera sensor.
>>>>> For this reason, the camera sensor configuration is
>>>>> placed in talos-evk-camera.dtso, rather than
>>>>> modifying the base talos-evk.dts.
>>>>>
>>>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>>>> ---
>>>>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>>>>> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++++++++
>>>>> ++++++++++
>>>>> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
>>>>
>>>> Please split QCS615 MCLK definitions change into a separate commit.
>>> ACK.>
>>>>> 3 files changed, 87 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/
>>>>> qcom/Makefile
>>>>> index
>>>>> 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
>>>>> --- a/arch/arm64/boot/dts/qcom/Makefile
>>>>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>>>>> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
>>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
>>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
>>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
>>>>> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
>>>>> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-
>>>>> lvds-auo,g133han01.dtbo
>>>>> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
>>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
>>>>> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
>>>>> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-devkit-
>>>>> el2.dtb
>>>>> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/
>>>>> arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>>> new file mode 100644
>>>>> index
>>>>> 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
>>>>> --- /dev/null
>>>>> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>>> @@ -0,0 +1,64 @@
>>>>> +// SPDX-License-Identifier: BSD-3-Clause
>>>>> +/*
>>>>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>>>
>>>> Please add a missing year of the change.
>>> Now our requirement is a yearless copyright.>
>>
>> Ack. It's a lawyers' domain anyway.
>>
>>>>> + */
>>>>> +
>>>>> +/dts-v1/;
>>>>> +/plugin/;
>>>>> +
>>>>> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
>>>>> +#include <dt-bindings/gpio/gpio.h>
>>>>> +
>>>>> +&camss {
>>>>> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
>>>>> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
>>>>> +
>>>>> + status = "okay";
>>>>> +
>>>>> + ports {
>>>>> + #address-cells = <1>;
>>>>> + #size-cells = <0>;
>>>>> +
>>>>> + port@1 {
>>>>> + reg = <1>;
>>>>> +
>>>>> + csiphy1_ep: endpoint {
>>>>> + clock-lanes = <7>;
>>>>
>>>> Please remove 'clock-lanes' property.
>>> ACK.>
>>>>> + data-lanes = <0 1 2 3>;
>>>>> + remote-endpoint = <&imx577_ep1>;
>>>>> + };
>>>>> + };
>>>>> + };
>>>>> +};
>>>>> +
>>>>> +&cci {
>>>>> + status = "okay";
>>>>> +};
>>>>> +
>>>>> +&cci_i2c1 {
>>>>> + #address-cells = <1>;
>>>>> + #size-cells = <0>;
>>>>> +
>>>>> + camera@1a {
>>>>> + compatible = "sony,imx577";
>>>>> + reg = <0x1a>;
>>>>> +
>>>>> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
>>>>> + pinctrl-0 = <&cam2_default>;
>>>>> + pinctrl-names = "default";
>>>>> +
>>>>> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>>> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>>> + assigned-clock-rates = <24000000>;
>>>>> +
>>>>> + avdd-supply = <&vreg_s4a>;
>>>>
>>>> Just one voltage supply?
>>> yes, 22pin camera module only have one pin for power.>
>>
>> It's common that mezzanine boards are supplied with power from S4A or VBAT,
>> I've never seen a camera module supplied with just one voltage regulator,
>> that's why it attracts attention.
>>
>> What is a camera module here, is it on an attachable vision mezzanine like
>> on RBx series or a part of Talos EVK PCB like on QRD series?
>>
>> If it is a mezzanine, the support of mezzanine boards should be done as
>> a DT overlay.
>>
>
> It`s like RBx series, does not include a camera sensor
> by default.
>
Then to add the image sensor support please follow the model with DT overlays,
and it means you shall get a schematics of the mezzanine to describe the
attachable board.
When you get the schematics, you will get a valid view on voltage distribution,
sensor supplies will be derivatives from VBAT or S4A anyway, I believe.
See sm8550-hdk-rear-camera-card.dtso or qrb5165-rb5-vision-mezzanine.dtso as
the references.
--
Best wishes,
Vladimir
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay
2025-12-23 16:36 ` Vladimir Zapolskiy
@ 2025-12-24 2:12 ` Wenmeng Liu
0 siblings, 0 replies; 18+ messages in thread
From: Wenmeng Liu @ 2025-12-24 2:12 UTC (permalink / raw)
To: Vladimir Zapolskiy, Loic Poulain, Robert Foss, Andi Shyti,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/24/2025 12:36 AM, Vladimir Zapolskiy wrote:
> On 12/23/25 04:16, Wenmeng Liu wrote:
>>
>>
>> On 12/22/2025 11:45 PM, Vladimir Zapolskiy wrote:
>>> On 12/22/25 13:41, Wenmeng Liu wrote:
>>>>
>>>>
>>>> On 12/22/2025 7:19 PM, Vladimir Zapolskiy wrote:
>>>>> On 12/22/25 10:44, Wenmeng Liu wrote:
>>>>>> Enable IMX577 via CCI on Taloss EVK Core Kit.
>>>>>>
>>>>>> The Talos EVK board does not include a camera sensor
>>>>>> by default, this overlay reflects the possibility of
>>>>>> attaching an optional camera sensor.
>>>>>> For this reason, the camera sensor configuration is
>>>>>> placed in talos-evk-camera.dtso, rather than
>>>>>> modifying the base talos-evk.dts.
>>>>>>
>>>>>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>>>>>> ---
>>>>>> arch/arm64/boot/dts/qcom/Makefile | 2 +
>>>>>> arch/arm64/boot/dts/qcom/talos-evk-camera.dtso | 64 ++++++++++
>>>>>> ++++++
>>>>>> ++++++++++
>>>>>> arch/arm64/boot/dts/qcom/talos.dtsi | 21 +++++++++
>>>>>
>>>>> Please split QCS615 MCLK definitions change into a separate commit.
>>>> ACK.>
>>>>>> 3 files changed, 87 insertions(+)
>>>>>>
>>>>>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/
>>>>>> qcom/Makefile
>>>>>> index
>>>>>> 60121f133078b2754f98e6f45a3db4031b478cc8..b1d85b1f4a94714f2a5c976d162482d70ae920f2 100644
>>>>>> --- a/arch/arm64/boot/dts/qcom/Makefile
>>>>>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>>>>>> @@ -325,7 +325,9 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8650-qrd.dtb
>>>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-mtp.dtb
>>>>>> dtb-$(CONFIG_ARCH_QCOM) += sm8750-qrd.dtb
>>>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk.dtb
>>>>>> +talos-evk-camera-dtbs := talos-evk.dtb talos-evk-camera.dtbo
>>>>>> talos-evk-lvds-auo,g133han01-dtbs := talos-evk.dtb talos-evk-
>>>>>> lvds-auo,g133han01.dtbo
>>>>>> +dtb-$(CONFIG_ARCH_QCOM) += talos-evk-camera.dtb
>>>>>> dtb-$(CONFIG_ARCH_QCOM) += talos-evk-lvds-auo,g133han01.dtb
>>>>>> x1e001de-devkit-el2-dtbs := x1e001de-devkit.dtb x1-el2.dtbo
>>>>>> dtb-$(CONFIG_ARCH_QCOM) += x1e001de-devkit.dtb x1e001de-
>>>>>> devkit-
>>>>>> el2.dtb
>>>>>> diff --git a/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso b/arch/
>>>>>> arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>>>> new file mode 100644
>>>>>> index
>>>>>> 0000000000000000000000000000000000000000..ae1a02295b4dc48212aad40980a329ff458fe69a
>>>>>> --- /dev/null
>>>>>> +++ b/arch/arm64/boot/dts/qcom/talos-evk-camera.dtso
>>>>>> @@ -0,0 +1,64 @@
>>>>>> +// SPDX-License-Identifier: BSD-3-Clause
>>>>>> +/*
>>>>>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its
>>>>>> subsidiaries.
>>>>>
>>>>> Please add a missing year of the change.
>>>> Now our requirement is a yearless copyright.>
>>>
>>> Ack. It's a lawyers' domain anyway.
>>>
>>>>>> + */
>>>>>> +
>>>>>> +/dts-v1/;
>>>>>> +/plugin/;
>>>>>> +
>>>>>> +#include <dt-bindings/clock/qcom,qcs615-camcc.h>
>>>>>> +#include <dt-bindings/gpio/gpio.h>
>>>>>> +
>>>>>> +&camss {
>>>>>> + vdd-csiphy-1p2-supply = <&vreg_l11a>;
>>>>>> + vdd-csiphy-1p8-supply = <&vreg_l12a>;
>>>>>> +
>>>>>> + status = "okay";
>>>>>> +
>>>>>> + ports {
>>>>>> + #address-cells = <1>;
>>>>>> + #size-cells = <0>;
>>>>>> +
>>>>>> + port@1 {
>>>>>> + reg = <1>;
>>>>>> +
>>>>>> + csiphy1_ep: endpoint {
>>>>>> + clock-lanes = <7>;
>>>>>
>>>>> Please remove 'clock-lanes' property.
>>>> ACK.>
>>>>>> + data-lanes = <0 1 2 3>;
>>>>>> + remote-endpoint = <&imx577_ep1>;
>>>>>> + };
>>>>>> + };
>>>>>> + };
>>>>>> +};
>>>>>> +
>>>>>> +&cci {
>>>>>> + status = "okay";
>>>>>> +};
>>>>>> +
>>>>>> +&cci_i2c1 {
>>>>>> + #address-cells = <1>;
>>>>>> + #size-cells = <0>;
>>>>>> +
>>>>>> + camera@1a {
>>>>>> + compatible = "sony,imx577";
>>>>>> + reg = <0x1a>;
>>>>>> +
>>>>>> + reset-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>;
>>>>>> + pinctrl-0 = <&cam2_default>;
>>>>>> + pinctrl-names = "default";
>>>>>> +
>>>>>> + clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>>>> + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>;
>>>>>> + assigned-clock-rates = <24000000>;
>>>>>> +
>>>>>> + avdd-supply = <&vreg_s4a>;
>>>>>
>>>>> Just one voltage supply?
>>>> yes, 22pin camera module only have one pin for power.>
>>>
>>> It's common that mezzanine boards are supplied with power from S4A or
>>> VBAT,
>>> I've never seen a camera module supplied with just one voltage
>>> regulator,
>>> that's why it attracts attention.
>>>
>>> What is a camera module here, is it on an attachable vision mezzanine
>>> like
>>> on RBx series or a part of Talos EVK PCB like on QRD series?
>>>
>>> If it is a mezzanine, the support of mezzanine boards should be done as
>>> a DT overlay.
>>>
>>
>> It`s like RBx series, does not include a camera sensor
>> by default.
>>
>
> Then to add the image sensor support please follow the model with DT
> overlays,
> and it means you shall get a schematics of the mezzanine to describe the
> attachable board.
>
> When you get the schematics, you will get a valid view on voltage
> distribution,
> sensor supplies will be derivatives from VBAT or S4A anyway, I believe.
>
> See sm8550-hdk-rear-camera-card.dtso or qrb5165-rb5-vision-
> mezzanine.dtso as
> the references.
>
yes, I think the module will distribute the supplies of S4A.
Thanks,
Wenmeng
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions
2025-12-22 8:44 ` [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions Wenmeng Liu
@ 2025-12-29 13:21 ` Konrad Dybcio
2025-12-29 13:22 ` Konrad Dybcio
1 sibling, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2025-12-29 13:21 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/25 9:44 AM, Wenmeng Liu wrote:
> Qualcomm Talos SoC contains 1 Camera Control Interface controllers.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/talos.dtsi | 76 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
> index 2e2fa9dc11aed6e8413488302710bc219ca9b64d..ebb1807f0222c075d4207163ed4359a55616d903 100644
> --- a/arch/arm64/boot/dts/qcom/talos.dtsi
> +++ b/arch/arm64/boot/dts/qcom/talos.dtsi
> @@ -1550,6 +1550,46 @@ tlmm: pinctrl@3100000 {
> #interrupt-cells = <2>;
> wakeup-parent = <&pdc>;
>
> + cci_default: cci0-default-state {
> + cci_i2c0_default: cci-i2c0-default-pins {
> + /* SDA, SCL */
> + pins = "gpio32", "gpio33";
> + function = "cci_i2c";
> +
> + bias-pull-up;
> + drive-strength = <2>;
> + };
Please match the style used in all reasonably non-acient additions:
cci_i2c0_default: cci-i2c0-default-pins {
/* SDA, SCL */
pins = "gpio32", "gpio33";
function = "cci_i2c";
drive-strength = <2>;
bias-pull-up;
};
[...]
> + cci: cci@ac4a000 {
> + compatible = "qcom,sm6150-cci", "qcom,msm8996-cci";
> +
> + reg = <0x0 0x0ac4a000 0x0 0x4000>;
double-space
Konrad
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions
2025-12-22 8:44 ` [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions Wenmeng Liu
2025-12-29 13:21 ` Konrad Dybcio
@ 2025-12-29 13:22 ` Konrad Dybcio
1 sibling, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2025-12-29 13:22 UTC (permalink / raw)
To: Wenmeng Liu, Loic Poulain, Robert Foss, Andi Shyti, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio,
Bryan O'Donoghue
Cc: linux-arm-msm, linux-i2c, devicetree, linux-kernel, linux-media
On 12/22/25 9:44 AM, Wenmeng Liu wrote:
> Qualcomm Talos SoC contains 1 Camera Control Interface controllers.
"[...] contains a single controller, containing 2 I2C hosts.
Describe it."
Konrad
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2025-12-29 13:22 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 8:44 [PATCH 0/3] Add CCI and imx577 sensor support for Talos evk Wenmeng Liu
2025-12-22 8:44 ` [PATCH 1/3] dt-bindings: i2c: qcom-cci: Document sm6150 compatible Wenmeng Liu
2025-12-22 8:58 ` Krzysztof Kozlowski
2025-12-22 9:13 ` Wenmeng Liu
2025-12-22 9:49 ` Konrad Dybcio
2025-12-22 11:02 ` Wenmeng Liu
2025-12-22 11:58 ` Krzysztof Kozlowski
2025-12-22 12:12 ` Wenmeng Liu
2025-12-22 8:44 ` [PATCH 2/3] arm64: dts: qcom: talos: Add CCI definitions Wenmeng Liu
2025-12-29 13:21 ` Konrad Dybcio
2025-12-29 13:22 ` Konrad Dybcio
2025-12-22 8:44 ` [PATCH 3/3] arm64: dts: qcom: talos-evk-camera: Add DT overlay Wenmeng Liu
2025-12-22 11:19 ` Vladimir Zapolskiy
2025-12-22 11:41 ` Wenmeng Liu
2025-12-22 15:45 ` Vladimir Zapolskiy
2025-12-23 2:16 ` Wenmeng Liu
2025-12-23 16:36 ` Vladimir Zapolskiy
2025-12-24 2:12 ` Wenmeng Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox