From nobody Mon Feb 9 05:01:24 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8503933C1BB for ; Mon, 12 Jan 2026 08:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205129; cv=none; b=AvGzPsovRjwcJuRjy1+DVMYcV8X/43Ps2BbcieHu65/AXi0W82TAfK+hA1NatrnGoJkTjCZH9+t1ZL8vjTV4MZl1EdAyhk8E+BQM52cI2Q9soLKWNZyS5MDxfCWYntFYovJ66n52vOdUDRqwFq8ezxbKsI95aGHTTlUBIrMyTxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205129; c=relaxed/simple; bh=Rznn69BMnFu8KCTVIlxe/uOLPM3+JAJ2/akNkwjXKOA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=t+dLmAjeskVlls3de0popzgqfD8U2ki2C8qY9RMk+cGYtl/qiRdaWvW0qoAPrv+9HDDpbAaBHN6os0506ddbaocezEdrfQ2JHSBzRHfpAVv4AA+H/vY7L2GW+FBj2BQoPVuvakH39SOff9KdNV6w7bERViPNi2BCrKGUjCn9cxk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=aEdpnvTk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gi+ged9z; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="aEdpnvTk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gi+ged9z" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60C2O19I113534 for ; Mon, 12 Jan 2026 08:05:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= S0AqcK/aGd/HowihO3yP7zwaEYWx4e/UTFbz2GKudFM=; b=aEdpnvTk1Jgsdckt NBiYrB5hwzVsxXOZ9aOUeHRXTy+KRSNsKMYBSaQ9v0u9Rv7K73AlgU2LEgfA4+V1 gc/C19U41Ep2DALFDJ6svdHTnB/JF/NckLfE38oj4F6Hka+b6g5/5t0un2zLmMOi fsvN9DkMtyP+PBnA0uJgCw/AMsXxp6t54ESkmSvY10Q1CRB+WCHiDkzfoCkKrh7i mUA7zSSX2O5/1A1teFw64smVntqBjFAmdwlxuSR9rUlaOVbxvrGJ56lN9FIwecLf r317Lho8DH7MeeV7he1iIl6rg/UqFcZRVkKLs9jbN8VwTEkhXDnZp4PzNfyCOwD4 e+wRMQ== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bmr4ugweg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 12 Jan 2026 08:05:24 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-88a316ddbacso161586066d6.2 for ; Mon, 12 Jan 2026 00:05:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768205121; x=1768809921; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=S0AqcK/aGd/HowihO3yP7zwaEYWx4e/UTFbz2GKudFM=; b=gi+ged9zqpO0Y7ti8OVqac+YsMWJXIZ1MH3yG1981x02Yn7LACM6qFd/0SbqtiyKdN 6sdFtZlD24ZMoDU08lzmAs/rWRqkG8lZlU2dWE8Qfts4/lXVNOG9CHmxu39CIzqtw9KY bDsu1MsfgvUKy2bY0NHnHwASJyVbTSLId/CgrAlob2LoCmL3tRDaP6XymROflmnNlwe2 /tAgTqejOs/mGo13x977pu8BtlQAxqwP11WfDbQ742wyoAPpvUwTs8QoxhbWf/ja1lxV DxtM55FQIlhcHO3BQ203macHUmLG2/xORg+hQvKrJN2vKZo0xSSvqQmWA6yyZQhqL/wG bgDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768205121; x=1768809921; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=S0AqcK/aGd/HowihO3yP7zwaEYWx4e/UTFbz2GKudFM=; b=e46QpGJo/wpUyi3AumGJmuR6QjJ++aaNzGAtUDQBFwEJgS1tyo+GChQB9m59F4h9fR MKNXnc2vvHRBRJ/KuAG4f48XR2gWmI4t3MwrnoFk1XOW39Y5ZhBPoIYKl4AuKR41Y90d J45MALateeCxj3GCsCweM22TEO2omX+SLo29yvDuNSI7lvwj2Zc0d65Yd/l4j5PmvdT8 tTSirzRGBrjfCd4VQP380wFXhdG2cGHpr41+od1L33g/xaULjUHf96O/pRnkbsq/nzSz 0hueQzARvZ3in8P0SfjIaI9laBGhXt3L0S6EqtwXjtRkJz2jwfHtzQvMoyMpff8rBS5/ K2JA== X-Forwarded-Encrypted: i=1; AJvYcCWWe164LNqkOmIjSIfpRNJPzP0fn8s6xOw2zPLkGBuBv2F5fFkf8DbNhUFLjcG9WbibMH6UDqG7e2osxjQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzqSM2jwoRppdxRmMRmVhdcgAcGVTvJq3Mjnc4Zp6s7WIgLOlqm Ajy2xv2+zFYxuWj6o6JpNubShs18/3pvWti/d3R7QnnUQeJl751im1vGYrCz1uqDgWHkrWALkFc bcbIRQic7wwIcM3amnQijMKQ2gAyYyyqfbgfHv7Z/+vspDi6A7R09ZEJOhao3PCG8u1c= X-Gm-Gg: AY/fxX4r3HsC2nK+VFjOavRHJ7KavSfMvzqxcgR6laALY4bdYCHYYPjGRaLbnk+yYA4 HzcfVpbhPV28xE10rT2lf4UE5mLMWEfkDVysp1sv674RMqv+Kk3XO2Fsh9o/p6orREmlTQSN6Wt 14KXyd4zf0192RwykA04z6XRg/UrqrM9QqiCLQv4nniA7kko+4oXmqeAn95HKo8W6rjWymFafd4 vYbX6EDyDQDbbuhGeYoI525S9eUT4r5HtCzyYdOO9wsXZc7u7PzY7jUc1qCNgVBB4qxYh1uZo5p ZyELvBtNSmAJen507vg2cJ1G7CQ+0zRnIsDuLZ8fu9+SxNi1qcd0zkhhwrOqs7jMPRi6KglxtpZ 1BbY+jLtk0Kn77SpEGZbzm8wcNKab+Cix1+Ax0bC1UQpgMrl1kZ946DqUeHsX1kwM3iOI+dIx5S 14 X-Received: by 2002:a05:6214:2f06:b0:88a:2578:9fa9 with SMTP id 6a1803df08f44-89084179b9bmr274160656d6.2.1768205120391; Mon, 12 Jan 2026 00:05:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEehrPuHXXfJYz9y/WqmcMX89D1FQq1g6rZ9YUZsO8aFa/dx0fVhkEsAg2IZ1UmrAeJC8I0rw== X-Received: by 2002:a05:6214:2f06:b0:88a:2578:9fa9 with SMTP id 6a1803df08f44-89084179b9bmr274160186d6.2.1768205119912; Mon, 12 Jan 2026 00:05:19 -0800 (PST) Received: from WENMLIU-LAB01.ap.qualcomm.com (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4ffa8d39230sm123116201cf.6.2026.01.12.00.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 00:05:19 -0800 (PST) From: Wenmeng Liu Date: Mon, 12 Jan 2026 16:04:52 +0800 Subject: [PATCH v4 1/3] media: dt-bindings: Add qcom,sm6150-camss Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260112-sm6150-camss-v4-1-0cd576d627f7@oss.qualcomm.com> References: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> In-Reply-To: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> To: Robert Foss , Todor Tomov , Bryan O'Donoghue , Vladimir Zapolskiy , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wenmeng Liu , Bjorn Andersson , Konrad Dybcio Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768205107; l=17195; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=Rznn69BMnFu8KCTVIlxe/uOLPM3+JAJ2/akNkwjXKOA=; b=DyLOO8L3lIumHXe04qV64BSD/kMEKFtkwiKVxsamHokgzsNpNzbGCka7WNXZ3T+ekCD+ahbEn +9tK24+jVHqDqwHRFHUMuwSiTTCZEMnR7V5suvcA7O9bJ1ch1fQc1iG X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTEyMDA2MSBTYWx0ZWRfXx1znh3/XDdlH Bstr3z1146idK56MTECm1kBNqMzYIsj9Wvn5rp20wjvUnIoO3yYbp5Bg84hYQzuNMwkgP4YXPMf lWbXfgW7u3OvALwg2RfLq+hZAPDCnBrDS3Q8EX43FcE+JUGdnaaEzzWSDQlPoURIULQrsS3Q3Mn 4l4SLReMebcpjn4sevJOGezCwHUAAMJB/W0x9H73hF4ZqkDAYj8yzI1vPdH4hUSWVN/45nY0e+m aW+JvDWgwhiuoiFvdnL0ar8A7CgkD2hnv3ZIep0jQXvsehSTovLbgqCF9TAo39P0iaHRXKWwNp3 CoQKkscxMrkPl2OqV7OoDAAB/vufiapdh6aMx0pa3T+XNa1skAoRjqwbfYvgqMMszFb14FQMZkz T7504AN1tGP7nIGOz0P2uC8TisZc+d1SZr/i1+cChWsE/SRRudPgHPu3wDjB64Wn6CxplS6nJtG E+kmQarhhKt3GwarzrA== X-Proofpoint-ORIG-GUID: JPmhBa_2WidWM4IVIJ_QOMUt9JGcTbQn X-Authority-Analysis: v=2.4 cv=YocChoYX c=1 sm=1 tr=0 ts=6964ab45 cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=aFcfZ3UtOBUUIK6fB1MA:9 a=QEXdDO2ut3YA:10 a=1HOtulTD9v-eNWfpl4qZ:22 a=sptkURWiP4Gy88Gu7hUp:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: JPmhBa_2WidWM4IVIJ_QOMUt9JGcTbQn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-12_02,2026-01-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 clxscore=1015 impostorscore=0 adultscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601120061 Add bindings for the Camera Subsystem on the SM6150 SoC The SM6150 platform provides: - 2 x VFE (version 170), each with 3 RDI - 1 x VFE Lite (version 170), each with 4 RDI - 2 x CSID (version 170) - 1 x CSID Lite (version 170) - 3 x CSIPHY (version 2.0.0) - 1 x BPS (Bayer Processing Segment) - 1 x ICP (Imaging Control Processor) - 1 x IPE (Image Postprocessing Engine) - 1 x JPEG Encoder/Decoder - 1 x LRME (Low Resolution Motion Estimation) Reviewed-by: Vladimir Zapolskiy Signed-off-by: Wenmeng Liu Reviewed-by: Krzysztof Kozlowski Reviewed-by: Bryan O'Donoghue --- .../bindings/media/qcom,sm6150-camss.yaml | 439 +++++++++++++++++= ++++ 1 file changed, 439 insertions(+) diff --git a/Documentation/devicetree/bindings/media/qcom,sm6150-camss.yaml= b/Documentation/devicetree/bindings/media/qcom,sm6150-camss.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ba7b0acb9128b5dc9b09a863b4b= e0ed630e75d69 --- /dev/null +++ b/Documentation/devicetree/bindings/media/qcom,sm6150-camss.yaml @@ -0,0 +1,439 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/qcom,sm6150-camss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SM6150 Camera Subsystem (CAMSS) + +maintainers: + - Wenmeng Liu + +description: + This binding describes the camera subsystem hardware found on SM6150 + Qualcomm SoCs. It includes submodules such as CSIPHY (CSI Physical layer) + and CSID (CSI Decoder), which comply with the MIPI CSI2 protocol. + + The subsystem also integrates a set of real-time image processing engines + and their associated configuration modules, as well as non-real-time eng= ines. + +properties: + compatible: + const: qcom,sm6150-camss + + reg: + items: + - description: Registers for CSID 0 + - description: Registers for CSID 1 + - description: Registers for CSID Lite + - description: Registers for CSIPHY 0 + - description: Registers for CSIPHY 1 + - description: Registers for CSIPHY 2 + - description: Registers for VFE 0 + - description: Registers for VFE 1 + - description: Registers for VFE Lite + - description: Registers for BPS (Bayer Processing Segment) + - description: Registers for CAMNOC + - description: Registers for CPAS CDM + - description: Registers for CPAS TOP + - description: Registers for ICP (Imaging Control Processor) CSR (Co= ntrol and Status Registers) + - description: Registers for ICP QGIC (Qualcomm Generic Interrupt Co= ntroller) + - description: Registers for ICP SIERRA ((A5 subsystem communication= )) + - description: Registers for IPE (Image Postprocessing Engine) 0 + - description: Registers for JPEG DMA + - description: Registers for JPEG ENC + - description: Registers for LRME (Low Resolution Motion Estimation) + + reg-names: + items: + - const: csid0 + - const: csid1 + - const: csid_lite + - const: csiphy0 + - const: csiphy1 + - const: csiphy2 + - const: vfe0 + - const: vfe1 + - const: vfe_lite + - const: bps + - const: camnoc + - const: cpas_cdm + - const: cpas_top + - const: icp_csr + - const: icp_qgic + - const: icp_sierra + - const: ipe0 + - const: jpeg_dma + - const: jpeg_enc + - const: lrme + + clocks: + maxItems: 33 + + clock-names: + items: + - const: gcc_ahb + - const: gcc_axi_hf + - const: camnoc_axi + - const: cpas_ahb + - const: csiphy0 + - const: csiphy0_timer + - const: csiphy1 + - const: csiphy1_timer + - const: csiphy2 + - const: csiphy2_timer + - const: soc_ahb + - const: vfe0 + - const: vfe0_axi + - const: vfe0_cphy_rx + - const: vfe0_csid + - const: vfe1 + - const: vfe1_axi + - const: vfe1_cphy_rx + - const: vfe1_csid + - const: vfe_lite + - const: vfe_lite_cphy_rx + - const: vfe_lite_csid + - const: bps + - const: bps_ahb + - const: bps_axi + - const: bps_areg + - const: icp + - const: ipe0 + - const: ipe0_ahb + - const: ipe0_areg + - const: ipe0_axi + - const: jpeg + - const: lrme + + interrupts: + maxItems: 15 + + interrupt-names: + items: + - const: csid0 + - const: csid1 + - const: csid_lite + - const: csiphy0 + - const: csiphy1 + - const: csiphy2 + - const: vfe0 + - const: vfe1 + - const: vfe_lite + - const: camnoc + - const: cdm + - const: icp + - const: jpeg_dma + - const: jpeg_enc + - const: lrme + + interconnects: + maxItems: 4 + + interconnect-names: + items: + - const: ahb + - const: hf_0 + - const: hf_1 + - const: sf_mnoc + + iommus: + items: + - description: Camera IFE 0 non-protected stream + - description: Camera IFE 1 non-protected stream + - description: Camera IFE 3 non-protected stream + - description: Camera CDM non-protected stream + - description: Camera LRME read non-protected stream + - description: Camera IPE 0 read non-protected stream + - description: Camera BPS read non-protected stream + - description: Camera IPE 0 write non-protected stream + - description: Camera BPS write non-protected stream + - description: Camera LRME write non-protected stream + - description: Camera JPEG read non-protected stream + - description: Camera JPEG write non-protected stream + - description: Camera ICP stream + + power-domains: + items: + - description: + IFE0 GDSC - Image Front End, Global Distributed Switch Controlle= r. + - description: + IFE1 GDSC - Image Front End, Global Distributed Switch Controlle= r. + - description: + Titan GDSC - Titan ISP Block, Global Distributed Switch Controll= er. + - description: + Titan BPS - Bayer Processing Segment, Global Distributed Switch = Controller. + - description: + IPE GDSC - Image Postprocessing Engine, Global Distributed Switc= h Controller. + + power-domain-names: + items: + - const: ife0 + - const: ife1 + - const: top + - const: bps + - const: ipe + + vdd-csiphy-1p2-supply: + description: + Phandle to a 1.2V regulator supply to CSI PHYs. + + vdd-csiphy-1p8-supply: + description: + Phandle to 1.8V regulator supply to CSI PHYs pll block. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + description: + CSI input ports. + + patternProperties: + "^port@[0-2]$": + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + + description: + Input port for receiving CSI data from a CSIPHY. + + properties: + endpoint: + $ref: video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + minItems: 1 + maxItems: 4 + + required: + - data-lanes + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + - interrupt-names + - interconnects + - interconnect-names + - iommus + - power-domains + - power-domain-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + #include + #include + + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + camss: isp@acb3000 { + compatible =3D "qcom,sm6150-camss"; + + reg =3D <0x0 0x0acb3000 0x0 0x1000>, + <0x0 0x0acba000 0x0 0x1000>, + <0x0 0x0acc8000 0x0 0x1000>, + <0x0 0x0ac65000 0x0 0x1000>, + <0x0 0x0ac66000 0x0 0x1000>, + <0x0 0x0ac67000 0x0 0x1000>, + <0x0 0x0acaf000 0x0 0x4000>, + <0x0 0x0acb6000 0x0 0x4000>, + <0x0 0x0acc4000 0x0 0x4000>, + <0x0 0x0ac6f000 0x0 0x3000>, + <0x0 0x0ac42000 0x0 0x5000>, + <0x0 0x0ac48000 0x0 0x1000>, + <0x0 0x0ac40000 0x0 0x1000>, + <0x0 0x0ac18000 0x0 0x3000>, + <0x0 0x0ac00000 0x0 0x6000>, + <0x0 0x0ac10000 0x0 0x8000>, + <0x0 0x0ac87000 0x0 0x3000>, + <0x0 0x0ac52000 0x0 0x4000>, + <0x0 0x0ac4e000 0x0 0x4000>, + <0x0 0x0ac6b000 0x0 0x0a00>; + reg-names =3D "csid0", + "csid1", + "csid_lite", + "csiphy0", + "csiphy1", + "csiphy2", + "vfe0", + "vfe1", + "vfe_lite", + "bps", + "camnoc", + "cpas_cdm", + "cpas_top", + "icp_csr", + "icp_qgic", + "icp_sierra", + "ipe0", + "jpeg_dma", + "jpeg_enc", + "lrme"; + + clocks =3D <&gcc GCC_CAMERA_AHB_CLK>, + <&gcc GCC_CAMERA_HF_AXI_CLK>, + <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CSIPHY0_CLK>, + <&camcc CAM_CC_CSI0PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY1_CLK>, + <&camcc CAM_CC_CSI1PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY2_CLK>, + <&camcc CAM_CC_CSI2PHYTIMER_CLK>, + <&camcc CAM_CC_SOC_AHB_CLK>, + <&camcc CAM_CC_IFE_0_CLK>, + <&camcc CAM_CC_IFE_0_AXI_CLK>, + <&camcc CAM_CC_IFE_0_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_0_CSID_CLK>, + <&camcc CAM_CC_IFE_1_CLK>, + <&camcc CAM_CC_IFE_1_AXI_CLK>, + <&camcc CAM_CC_IFE_1_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_1_CSID_CLK>, + <&camcc CAM_CC_IFE_LITE_CLK>, + <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_LITE_CSID_CLK>, + <&camcc CAM_CC_BPS_CLK>, + <&camcc CAM_CC_BPS_AHB_CLK>, + <&camcc CAM_CC_BPS_AXI_CLK>, + <&camcc CAM_CC_BPS_AREG_CLK>, + <&camcc CAM_CC_ICP_CLK>, + <&camcc CAM_CC_IPE_0_CLK>, + <&camcc CAM_CC_IPE_0_AHB_CLK>, + <&camcc CAM_CC_IPE_0_AREG_CLK>, + <&camcc CAM_CC_IPE_0_AXI_CLK>, + <&camcc CAM_CC_JPEG_CLK>, + <&camcc CAM_CC_LRME_CLK>; + + clock-names =3D "gcc_ahb", + "gcc_axi_hf", + "camnoc_axi", + "cpas_ahb", + "csiphy0", + "csiphy0_timer", + "csiphy1", + "csiphy1_timer", + "csiphy2", + "csiphy2_timer", + "soc_ahb", + "vfe0", + "vfe0_axi", + "vfe0_cphy_rx", + "vfe0_csid", + "vfe1", + "vfe1_axi", + "vfe1_cphy_rx", + "vfe1_csid", + "vfe_lite", + "vfe_lite_cphy_rx", + "vfe_lite_csid", + "bps", + "bps_ahb", + "bps_axi", + "bps_areg", + "icp", + "ipe0", + "ipe0_ahb", + "ipe0_areg", + "ipe0_axi", + "jpeg", + "lrme"; + + interconnects =3D <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACT= IVE_ONLY + &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACT= IVE_ONLY>, + <&mmss_noc MASTER_CAMNOC_HF0 QCOM_ICC_TAG_ALWA= YS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_CAMNOC_HF1 QCOM_ICC_TAG_ALWA= YS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names =3D "ahb", + "hf_0", + "hf_1", + "sf_mnoc"; + + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "csid0", + "csid1", + "csid_lite", + "csiphy0", + "csiphy1", + "csiphy2", + "vfe0", + "vfe1", + "vfe_lite", + "camnoc", + "cdm", + "icp", + "jpeg_dma", + "jpeg_enc", + "lrme"; + + iommus =3D <&apps_smmu 0x0820 0x40>, + <&apps_smmu 0x0840 0x00>, + <&apps_smmu 0x0860 0x40>, + <&apps_smmu 0x0c00 0x00>, + <&apps_smmu 0x0cc0 0x00>, + <&apps_smmu 0x0c80 0x00>, + <&apps_smmu 0x0ca0 0x00>, + <&apps_smmu 0x0d00 0x00>, + <&apps_smmu 0x0d20 0x00>, + <&apps_smmu 0x0d40 0x00>, + <&apps_smmu 0x0d80 0x20>, + <&apps_smmu 0x0da0 0x20>, + <&apps_smmu 0x0de2 0x00>; + + power-domains =3D <&camcc IFE_0_GDSC>, + <&camcc IFE_1_GDSC>, + <&camcc TITAN_TOP_GDSC>, + <&camcc BPS_GDSC>, + <&camcc IPE_0_GDSC>; + power-domain-names =3D "ife0", + "ife1", + "top", + "bps", + "ipe"; + + vdd-csiphy-1p2-supply =3D <&vreg_l11a_1p2>; + vdd-csiphy-1p8-supply =3D <&vreg_l12a_1p8>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + csiphy_ep0: endpoint { + data-lanes =3D <0 1>; + remote-endpoint =3D <&sensor_ep>; + }; + }; + }; + }; + }; --=20 2.34.1 From nobody Mon Feb 9 05:01:24 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C301D182D2 for ; Mon, 12 Jan 2026 08:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205130; cv=none; b=HrIX9JDiS5nEzefZ9fG+9kaG/9eFgFle+JLd0WTgBLXK6wWAyUV+EC6BvKGQZ298vG33PhWYScUWSuqEWq12WgBiwwG7hCp7vx+Wn/uKKOybyt6ZNzrZdxTqgap+UD+b5dMqGp3yuyEYkhKmsoKiX/kGnCvQMYfBqSL1kJTxYos= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205130; c=relaxed/simple; bh=0HY3j8VyiOo90CJ0WdpXeVadyvjMnLt5hM1dxLbc518=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TV5mWOV8ACd+K3FSi+DlpiHm2RC+CkULvBm+3uNvmm+D3354z5TBgtDirarHHBKiWlZ+xgSwfRgO0ghRo9Doxyq2W30Qy2/jO+RZ6MxdandRq/u/UxdTIDOnwjoz7f4K2/h9nDeB7plEdWgRT7ZDMFpDC/MblZFGQ8Fk6eko5KA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=fIsdSVsI; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=RQE3OROl; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="fIsdSVsI"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="RQE3OROl" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60C2O1er113540 for ; Mon, 12 Jan 2026 08:05:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= DByUtmX13xuVhwTkLusrwQkpe9dxbVPzDNA8VUb08M8=; b=fIsdSVsIlki8AfFg B1k+pkQwwkmUz02kGwBXKSqaZr/2OxyRFG79d/i4Fb+XfGZPr3csyoNZoF/W+gYW 8EzUvNZcDQZ4CFQ7qqYFufcknxDdoZxQdYZP1CXDRQm4xd8nnq2CVBrQqJNXG7Zx nombwiOuqGhsaaz650OsqZjB2Z52TUgMkXEJy5fN2LwAryz9bnHP16uOsZb76hrd 9X1d6PBQH8IOsgTHLqkXcsTkthLcjHpkAs4hgvv9Bysdvej0j15kRcvoFTsOc0FY +PcUTSzv+obQagNorPhHP68eBbpahIWdbQGM8pT9Xf7qnuqA4Wok4dZ8u6cGVIYe MOsngw== Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bmr4ugwfc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 12 Jan 2026 08:05:26 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-8804b991a54so250292756d6.2 for ; Mon, 12 Jan 2026 00:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768205126; x=1768809926; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=DByUtmX13xuVhwTkLusrwQkpe9dxbVPzDNA8VUb08M8=; b=RQE3OROlfbYToaWAkvtBhn4c+X8alEiVy4Q2mTJfZPOhX9Vv25PHYp3afz4PcsCv26 /SM1UrFOgXFTgZ6MN0hvTxZZ0KjJ1ToGwdps1JzbqRipXW0kzuSy7klF2KWobQxK2c1U PWZHj5I2f89fInA+bCIXjT/BSivAffoMj8yiBfIChryIxa9LYoSYZsTsh9AoDDDwS5b9 6RSTMx08e8M2vz4NECPIny+zgaJGSwYSrYhJUVMloOCunZn7ei9exeYIX2/2T7Ds91Ap v2Os9qspe1ySd9UHHyRmqcpH65mnm1+cpgz9SWM5T5aFi6CxbqcSxAfHQfVio0ANwdb8 TI4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768205126; x=1768809926; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=DByUtmX13xuVhwTkLusrwQkpe9dxbVPzDNA8VUb08M8=; b=YWavZF19CSACon3vhZ3ip1Q2S7TpoakIwSOp3wBJ+UF3ziyPz88/3NNHyQ6bAaEt0r eXj8lKHVmZZ+IZcrDzKBBu7s+H9i0BYWB20CFyQnfxfrJj3GpVpoNjpm+Yutwz5ytFvm U9r27tpzjFx/wP5OTx2DiUX9aeNT0Z5QXGZHr4AUdyjPlN4qC/yC471o+/GiHAHUxSbj SiJCD8ZQ6SAcXclpQ9YjAgyTZStX+Z1pVBhg3FocQeI1rV8ln3WWXRHMDfQFJcp3eAd7 qp6y6Cq6+p+t3X7JWj6qgLpqjhnz1AjDAXne8zFpiS6TppMhODwVZ8qG09CjKiHvgIQK Rw6Q== X-Forwarded-Encrypted: i=1; AJvYcCWnyVHiGYD8g5Oan6sLSMWxvob9lBJw4MJ00lvmz1JtFFgGd5t3nqNQ43VYTwsmIvS5UDYTIOpIzdAMMV0=@vger.kernel.org X-Gm-Message-State: AOJu0YxlhgBhBKrlJyl4ffWABY1pGZOOBv2ocAAQ7sXHUKuZXdcC8iMF CYcEGqBX1O2yBrccTDGb4/Au9kZy0AJAOKq3dB1Fm+iEIZmWAPAQJHCjaMbelQMHoGNUvoJ7EI2 Ay4En8AQ8nZvBs9t6sDiJrMPKKKb+w88YbGGSn09Cug2bgyRmLLlXMsAS/XA/c6HAwZU= X-Gm-Gg: AY/fxX71j7dn1a1fd0yw+hob7Y7W6h8H3uU4chI8wHXiMQfdCYoXC51oHsJ+UUm+db0 C3yfZfRKf0hpD0pgX1PRNN+BMMZYxWL3sRwhcMb3/w1iWj2Eo8CRIqG49VDjpjY0a+HuOmPXpGP ATTNkvcpEIPIJMlK0NOZGaJfgZtW+p99g4NSkrkxl8c/8ZndWVbjbfCq3LfXMLDIo8QOAijfoaj ZHCeRIe5eyZwGJAjWQTKWrPZGO1J97wnIF8nugfvpRlfUBr7TECorgX6lp6bZj6qbQh1FZPk1Pm Dlt5O6hnLcFdRbyhNJZvZUw4WgxnuN20YDlSkMl/a/fTUSy0ThAsaAFxPCfF6bAuqE9xn4ChyY9 r6wLch252knHlf8a6hOP/I/lrDlL8QRhyiefisRn8ZU0MzHIXFc57zY0Ilo/qSMxstq6Clbd+cZ Ue X-Received: by 2002:a05:6214:5f0f:b0:882:3b63:f7f5 with SMTP id 6a1803df08f44-8908424f0d2mr244023686d6.41.1768205125727; Mon, 12 Jan 2026 00:05:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEH/7G0TiYOAwA3UZK0b7exOkdx44wKlumcJYNJf3cEKtzChYeCEb+Czl2sgfOlL7+w6lawIw== X-Received: by 2002:a05:6214:5f0f:b0:882:3b63:f7f5 with SMTP id 6a1803df08f44-8908424f0d2mr244023406d6.41.1768205125311; Mon, 12 Jan 2026 00:05:25 -0800 (PST) Received: from WENMLIU-LAB01.ap.qualcomm.com (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4ffa8d39230sm123116201cf.6.2026.01.12.00.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 00:05:24 -0800 (PST) From: Wenmeng Liu Date: Mon, 12 Jan 2026 16:04:53 +0800 Subject: [PATCH v4 2/3] media: qcom: camss: add support for SM6150 camss Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260112-sm6150-camss-v4-2-0cd576d627f7@oss.qualcomm.com> References: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> In-Reply-To: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> To: Robert Foss , Todor Tomov , Bryan O'Donoghue , Vladimir Zapolskiy , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wenmeng Liu , Bjorn Andersson , Konrad Dybcio Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768205107; l=9099; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=0HY3j8VyiOo90CJ0WdpXeVadyvjMnLt5hM1dxLbc518=; b=8sDWWelcYsl/hyoyw1SAQwLfP2EXW+vA96QlS0MuIiC6ZbVcuzZ/gPQNDEV26cdd3zyrkrVcs dcylF1gF2pWCZdITtaQvrgHANIcm16I48sdQTpfwwTFkFGXlYNko76l X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTEyMDA2MSBTYWx0ZWRfX9GeeUc2GkiuX 3WoKJA/7q2WCeKX2ykeaBL0AzrdddO9G8F+K7OTqYma7NGC2PGc7Ufwu1iJZVuUkIaiYV6eHHkS ycr5FORgXGMHqdkixEbSxSwEBR5e7oAYY+S38/E7uKrJ8bNhWNdfuGBNCQ1r5tsccEU4F38QraW X2DYgiRajc0CcmX5I0We2L1MCnIosjgGs9X99u90rVLedGFOP1Fa88462s3dXxKc3L2O9KmlZqe 7peWce/+UA7d6WaU4ShRLcQrWCfaezb/kr8jL/q30AcrwFv7NhDSEjnY0rg1UHBaFyi5xrqItjN jx05olTOUKRfjF5nVdMRNfRXsdKc4AC6ToxcVIIPRvkefLPEjbHfRkvjM2dcgg7rn5D8XRgRMi+ aS0czvG65h5vGxwXvVSfgn0bKDMNDbnaCsF4w2YxASP+A8sm0oEhmM26hvKlDWtAj4fJA3aKkeE IfXIS/wFxjt2hyQGXvQ== X-Proofpoint-ORIG-GUID: AkzdvHTEFABj_OHqjVSj0P7HZNOiUyXG X-Authority-Analysis: v=2.4 cv=YocChoYX c=1 sm=1 tr=0 ts=6964ab46 cx=c_pps a=7E5Bxpl4vBhpaufnMqZlrw==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=OCzWwVoLxjedvhaVoqAA:9 a=QEXdDO2ut3YA:10 a=pJ04lnu7RYOZP9TFuWaZ:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: AkzdvHTEFABj_OHqjVSj0P7HZNOiUyXG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-12_02,2026-01-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 clxscore=1015 impostorscore=0 adultscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601120061 The camera subsystem for SM6150 which is based on Spectra 230. For SM6150: - VFE and CSID version: 170 (vfe170, csid170) - CSIPHY version: csiphy-v2.0.1 (14nm) Reviewed-by: Vladimir Zapolskiy Signed-off-by: Wenmeng Liu Reviewed-by: Bryan O'Donoghue --- .../platform/qcom/camss/camss-csiphy-3ph-1-0.c | 2 + drivers/media/platform/qcom/camss/camss-vfe.c | 2 + drivers/media/platform/qcom/camss/camss.c | 198 +++++++++++++++++= ++++ drivers/media/platform/qcom/camss/camss.h | 1 + 4 files changed, 203 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c b/dri= vers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c index 619abbf6078130bb6f036eac3ab369cdf4841054..0bd9e1f0cd82347dc6b9d11b2d3= 179e4c95aa287 100644 --- a/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c +++ b/drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c @@ -1004,6 +1004,7 @@ static bool csiphy_is_gen2(u32 version) =20 switch (version) { case CAMSS_2290: + case CAMSS_6150: case CAMSS_7280: case CAMSS_8250: case CAMSS_8280XP: @@ -1093,6 +1094,7 @@ static int csiphy_init(struct csiphy_device *csiphy) regs->lane_array_size =3D ARRAY_SIZE(lane_regs_sdm845); break; case CAMSS_2290: + case CAMSS_6150: regs->lane_regs =3D &lane_regs_qcm2290[0]; regs->lane_array_size =3D ARRAY_SIZE(lane_regs_qcm2290); break; diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/= platform/qcom/camss/camss-vfe.c index 9c7ad8aa405888ccea283ffd5cb038fc5bc4ee79..5baf0e3d4bc461df28d8dcf97a9= 8dec04fa17ceb 100644 --- a/drivers/media/platform/qcom/camss/camss-vfe.c +++ b/drivers/media/platform/qcom/camss/camss-vfe.c @@ -342,6 +342,7 @@ static u32 vfe_src_pad_code(struct vfe_line *line, u32 = sink_code, break; case CAMSS_660: case CAMSS_2290: + case CAMSS_6150: case CAMSS_7280: case CAMSS_8x96: case CAMSS_8250: @@ -2001,6 +2002,7 @@ static int vfe_bpl_align(struct vfe_device *vfe) int ret =3D 8; =20 switch (vfe->camss->res->version) { + case CAMSS_6150: case CAMSS_7280: case CAMSS_8250: case CAMSS_8280XP: diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/plat= form/qcom/camss/camss.c index 6cfb71fcd861c7930f0f4cb952a017e30aa3e396..e15d3b7cbdb40ca2dd8e7421bc4= f3bb9f05b802d 100644 --- a/drivers/media/platform/qcom/camss/camss.c +++ b/drivers/media/platform/qcom/camss/camss.c @@ -1519,6 +1519,190 @@ static const struct camss_subdev_resources vfe_res_= 845[] =3D { } }; =20 +static const struct camss_subdev_resources csiphy_res_sm6150[] =3D { + /* CSIPHY0 */ + { + .regulators =3D { + { .supply =3D "vdd-csiphy-1p2", .init_load_uA =3D 35000 }, + { .supply =3D "vdd-csiphy-1p8", .init_load_uA =3D 5000 } + }, + .clock =3D { "csiphy0", "csiphy0_timer" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 269333333 } }, + .reg =3D { "csiphy0" }, + .interrupt =3D { "csiphy0" }, + .csiphy =3D { + .id =3D 0, + .hw_ops =3D &csiphy_ops_3ph_1_0, + .formats =3D &csiphy_formats_sdm845 + } + }, + /* CSIPHY1 */ + { + .regulators =3D { + { .supply =3D "vdd-csiphy-1p2", .init_load_uA =3D 35000 }, + { .supply =3D "vdd-csiphy-1p8", .init_load_uA =3D 5000 } + }, + .clock =3D { "csiphy1", "csiphy1_timer" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 269333333 } }, + .reg =3D { "csiphy1" }, + .interrupt =3D { "csiphy1" }, + .csiphy =3D { + .id =3D 1, + .hw_ops =3D &csiphy_ops_3ph_1_0, + .formats =3D &csiphy_formats_sdm845 + } + }, + /* CSIPHY2 */ + { + .regulators =3D { + { .supply =3D "vdd-csiphy-1p2", .init_load_uA =3D 35000 }, + { .supply =3D "vdd-csiphy-1p8", .init_load_uA =3D 5000 } + }, + .clock =3D { "csiphy2", "csiphy2_timer" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 269333333 } }, + .reg =3D { "csiphy2" }, + .interrupt =3D { "csiphy2" }, + .csiphy =3D { + .id =3D 2, + .hw_ops =3D &csiphy_ops_3ph_1_0, + .formats =3D &csiphy_formats_sdm845 + } + }, +}; + +static const struct camss_subdev_resources csid_res_sm6150[] =3D { + /* CSID0 */ + { + .regulators =3D {}, + .clock =3D { "vfe0_cphy_rx", "vfe0_csid" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 320000000, 540000000 } }, + .reg =3D { "csid0" }, + .interrupt =3D { "csid0" }, + .csid =3D { + .is_lite =3D false, + .hw_ops =3D &csid_ops_gen2, + .parent_dev_ops =3D &vfe_parent_dev_ops, + .formats =3D &csid_formats_gen2 + } + }, + /* CSID1 */ + { + .regulators =3D {}, + .clock =3D { "vfe1_cphy_rx", "vfe1_csid" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 320000000, 540000000 } }, + .reg =3D { "csid1" }, + .interrupt =3D { "csid1" }, + .csid =3D { + .is_lite =3D false, + .hw_ops =3D &csid_ops_gen2, + .parent_dev_ops =3D &vfe_parent_dev_ops, + .formats =3D &csid_formats_gen2 + } + }, + /* CSID2 */ + { + .regulators =3D {}, + .clock =3D { "vfe_lite_cphy_rx", "vfe_lite_csid" }, + .clock_rate =3D { { 269333333, 384000000 }, + { 320000000, 540000000 } }, + .reg =3D { "csid_lite" }, + .interrupt =3D { "csid_lite" }, + .csid =3D { + .is_lite =3D true, + .hw_ops =3D &csid_ops_gen2, + .parent_dev_ops =3D &vfe_parent_dev_ops, + .formats =3D &csid_formats_gen2 + } + }, +}; + +static const struct camss_subdev_resources vfe_res_sm6150[] =3D { + /* VFE0 */ + { + .regulators =3D {}, + .clock =3D { "gcc_axi_hf", "camnoc_axi", "cpas_ahb", "soc_ahb", + "vfe0", "vfe0_axi"}, + .clock_rate =3D { { 0 }, + { 0 }, + { 80000000 }, + { 37500000, 40000000 }, + { 360000000, 432000000, 540000000, 600000000 }, + { 265000000, 426000000 } }, + .reg =3D { "vfe0" }, + .interrupt =3D { "vfe0" }, + .vfe =3D { + .line_num =3D 3, + .is_lite =3D false, + .has_pd =3D true, + .pd_name =3D "ife0", + .hw_ops =3D &vfe_ops_170, + .formats_rdi =3D &vfe_formats_rdi_845, + .formats_pix =3D &vfe_formats_pix_845 + } + }, + /* VFE1 */ + { + .regulators =3D {}, + .clock =3D { "gcc_axi_hf", "camnoc_axi", "cpas_ahb", "soc_ahb", + "vfe1", "vfe1_axi"}, + .clock_rate =3D { { 0 }, + { 0 }, + { 80000000 }, + { 37500000, 40000000 }, + { 360000000, 432000000, 540000000, 600000000 }, + { 265000000, 426000000 } }, + .reg =3D { "vfe1" }, + .interrupt =3D { "vfe1" }, + .vfe =3D { + .line_num =3D 3, + .is_lite =3D false, + .has_pd =3D true, + .pd_name =3D "ife1", + .hw_ops =3D &vfe_ops_170, + .formats_rdi =3D &vfe_formats_rdi_845, + .formats_pix =3D &vfe_formats_pix_845 + } + }, + /* VFE2 */ + { + .regulators =3D {}, + .clock =3D { "gcc_axi_hf", "camnoc_axi", "cpas_ahb", "soc_ahb", + "vfe_lite" }, + .clock_rate =3D { { 0 }, + { 0 }, + { 80000000 }, + { 37500000, 40000000 }, + { 360000000, 432000000, 540000000, 600000000 } }, + .reg =3D { "vfe_lite" }, + .interrupt =3D { "vfe_lite" }, + .vfe =3D { + .line_num =3D 4, + .is_lite =3D true, + .hw_ops =3D &vfe_ops_170, + .formats_rdi =3D &vfe_formats_rdi_845, + .formats_pix =3D &vfe_formats_pix_845 + } + }, +}; + +static const struct resources_icc icc_res_sm6150[] =3D { + { + .name =3D "ahb", + .icc_bw_tbl.avg =3D 38400, + .icc_bw_tbl.peak =3D 76800, + }, + { + .name =3D "hf_0", + .icc_bw_tbl.avg =3D 2097152, + .icc_bw_tbl.peak =3D 2097152, + }, +}; + static const struct camss_subdev_resources csiphy_res_8250[] =3D { /* CSIPHY0 */ { @@ -5050,6 +5234,19 @@ static const struct camss_resources sdm845_resources= =3D { .vfe_num =3D ARRAY_SIZE(vfe_res_845), }; =20 +static const struct camss_resources sm6150_resources =3D { + .version =3D CAMSS_6150, + .pd_name =3D "top", + .csiphy_res =3D csiphy_res_sm6150, + .csid_res =3D csid_res_sm6150, + .vfe_res =3D vfe_res_sm6150, + .icc_res =3D icc_res_sm6150, + .icc_path_num =3D ARRAY_SIZE(icc_res_sm6150), + .csiphy_num =3D ARRAY_SIZE(csiphy_res_sm6150), + .csid_num =3D ARRAY_SIZE(csid_res_sm6150), + .vfe_num =3D ARRAY_SIZE(vfe_res_sm6150), +}; + static const struct camss_resources sm8250_resources =3D { .version =3D CAMSS_8250, .pd_name =3D "top", @@ -5145,6 +5342,7 @@ static const struct of_device_id camss_dt_match[] =3D= { { .compatible =3D "qcom,sdm660-camss", .data =3D &sdm660_resources }, { .compatible =3D "qcom,sdm670-camss", .data =3D &sdm670_resources }, { .compatible =3D "qcom,sdm845-camss", .data =3D &sdm845_resources }, + { .compatible =3D "qcom,sm6150-camss", .data =3D &sm6150_resources }, { .compatible =3D "qcom,sm8250-camss", .data =3D &sm8250_resources }, { .compatible =3D "qcom,sm8550-camss", .data =3D &sm8550_resources }, { .compatible =3D "qcom,sm8650-camss", .data =3D &sm8650_resources }, diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/plat= form/qcom/camss/camss.h index e34f06b4e1536129e6d1cd5b719d2c7df8e39a23..6d048414c919e963d6eb0cba2a2= 87015cb25416f 100644 --- a/drivers/media/platform/qcom/camss/camss.h +++ b/drivers/media/platform/qcom/camss/camss.h @@ -80,6 +80,7 @@ enum pm_domain { enum camss_version { CAMSS_660, CAMSS_2290, + CAMSS_6150, CAMSS_7280, CAMSS_8x16, CAMSS_8x39, --=20 2.34.1 From nobody Mon Feb 9 05:01:24 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2416334402D for ; Mon, 12 Jan 2026 08:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205134; cv=none; b=froxHSrRiGUvOpO3KuXWBzYc1de2fLBBI9/Mc6er2MsRub+DKsJNWCBo74JXeFpW85lSYrunGm/N1Yd/6pwmPJAOXM0lcqCjSGk8jMYy9xEc+PM99RycD5szU3fy6fCxz6a1GdmEdwywKDe/qM1/W+yfXHne63NYJ2Xo82rg6Og= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768205134; c=relaxed/simple; bh=96WrBixWbEA0flUiWTIzei1KNWmIZmL0YLK2srZxHJ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fuzL7cf80omhRhEvmEqwdJzCylS90WmX/yPLnUMn8iuclKSTF05hP5oFbp6vqJ4m4sXTCHesOhxv8Q57YJvontJqpUfAKizA2G+7hUgYUPwTG+bRw9mmGct32fe4AMDhuKATSSvj0r47P9htRQS/Ly5Dz2dpPqa8i4as67dQn+s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=SGvfBaVT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=EB7NV/Jc; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="SGvfBaVT"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="EB7NV/Jc" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60C00puc3725586 for ; Mon, 12 Jan 2026 08:05:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= W1zijEtPXBzyA/aWJ/rt1gqjP8uk5LhoHmbSSqj8Wug=; b=SGvfBaVT/juR37gy ZbxH9UElbMYVDF4oqAJAB0IQp6bxSR2nYzkbT8EhOETKaBXZixbiH3yn+RXn6BlX ZDUmIWNUnw/LXJiovkYGvFqiEk9wrJWiYmC0PxND1gd+4YkRb5jKjnU1iQ5u5VlC QaMUxHiDDrq6yAp0lWubVZHLMKUxE/hzNcRKkxj7ktws9+FiGFLqhsc8lvFBr9s8 ytJvUxj9Sing7SVWdAgTlCSLZByBV+st8Rxytm+9YV+mfcDXSd71tM8C+sT+lIGu Wab0XfAptaTlzwvoy0Q4d/Av0qPc4CSXL7CinPuojbqkwdz/MOEgXW2PwHq7NtEj LfX42w== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bkjvxurcr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 12 Jan 2026 08:05:32 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-4ffc5f68516so87155081cf.2 for ; Mon, 12 Jan 2026 00:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768205131; x=1768809931; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=W1zijEtPXBzyA/aWJ/rt1gqjP8uk5LhoHmbSSqj8Wug=; b=EB7NV/Jc1SY1ZiWJaOpn+u2MIUj1lLHA6eziDekS0rBDoYBKORCDMS4zC+NIbB6hnv 3rDxaKelHN1NkRKB9T5738f3l2sLguURx1TPSJAe6UDfSGVaR7BPrVXMFd6eVluL99bO Zjvcx6Ql4bOW3o2u+eSfj+Oz2dy/YsWJqT0D4pCm4GOdmkdFMuA6ZsLosJqHBkjew07H kRlKCV5AL4cgc7hkIXId5VpDwnJ60eq4dUh5DfT1oNtzThpaoY/TdHqW9L85FcL+qgaG 7fET114c63Xr9I1fBu+aLmGbM0lWuAelvBJFjcspU3uH/AlOtMW0isYzQlkmDb9Fy2Dx ez4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768205131; x=1768809931; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=W1zijEtPXBzyA/aWJ/rt1gqjP8uk5LhoHmbSSqj8Wug=; b=WXDdf4KhwSHfwtjNNvs7eyRqKV7EW92wimL+Wlyi/AB/JMj4AQ3iinrMCKVf3kUWOo quBz9JN8/F1lNSqTqa9CW49Vafm0xqCvN9/SE4/m50mPdXLbiDQoP7MkRQ9atnfkuWVm /QuATtrJabza3U6Zr7PKz9nwbmAulAObI9n99S7Q8sYvm5n8yLWfEIj3ON0npDnDmjlA 2q2kBiziHGSpRKwUDM8i3G5Bu4N/X+dD1ud882z6XVIh4+ijuSNka7G22ZYPWde0QHho 71HLsMjP5a34qkgHdXowXMvOJyMmZszSnPoryToS/R7YICNofv5EaJkhV9vSM4GkTnlh xZtg== X-Forwarded-Encrypted: i=1; AJvYcCV5vYTaDQK+Ux8pimXKNT4uzE1vnjedbJS2mH2f4V3o4SRBGgOJhu4x5xn/pHm6n+nz3amsLtnZ+4OsAvw=@vger.kernel.org X-Gm-Message-State: AOJu0Ywcmbe66TRfIDTb6vnPNLH4K19AhDlS07sC66t2wjzv70PX9Ja1 pajmEl5srDUfI0mFA0QGvBnnMaRB6YWgMsrT8HVA8WnQPyKUh4Kz+OfjtmnSD4cOzzIgS1AUOv8 hmXBFTlssqiYLAmt6qwSZSZpwUcxrHJSbsz9XYYb6afC33q4uY+Rep10/wkKm0bertPU= X-Gm-Gg: AY/fxX6v6culY3+VaGkjorGJPvnHxiN/I/6qYnh7ZFlnl3lxYO3a4RGJJYC2fBmzrne R+fDYaApLIYUswwV+wtUgCfJpSJPII+R30sIzREV6ki2Yws1d4WauLc2oqOb9kI6X4wJsXTPXHu UFHqA3CFmh7L5yTlmUMGwV62fGMhqpmuo7yrBImAlMbMFZtalBmPIbJEYmO4R5KGB7tFHCC2695 L6OyFyFB1i37CU9/kS6gFbhsJClZzyYx16IUkuTVfZmLobDl1H0ggoEERvCte00rJTUyZG6NGbW hMf3sauz9++D3Gf3qOkuPXJSOZ6ehj1AI0ssSJLU2+wj8/+iZ+90cX67wfb1IM9gud1KoeQpl4b inRa4u2G5t04ia3Bej53dGy/fKUb2KUbGwz6Jn4BUvrJbx9MMDrDkeY2ej3Q9xh3P40ffc5S/y1 l7 X-Received: by 2002:ac8:5f0a:0:b0:4e8:af8a:f951 with SMTP id d75a77b69052e-4ffb4aed9ffmr240841261cf.83.1768205131295; Mon, 12 Jan 2026 00:05:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBXCamg0DTS8zkIEYRaQ3Kie6jaWAFB/Y8zk1M9ChVqV+WPYgtwHYMj+YC7YInklpvje4D+w== X-Received: by 2002:ac8:5f0a:0:b0:4e8:af8a:f951 with SMTP id d75a77b69052e-4ffb4aed9ffmr240840941cf.83.1768205130768; Mon, 12 Jan 2026 00:05:30 -0800 (PST) Received: from WENMLIU-LAB01.ap.qualcomm.com (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4ffa8d39230sm123116201cf.6.2026.01.12.00.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jan 2026 00:05:30 -0800 (PST) From: Wenmeng Liu Date: Mon, 12 Jan 2026 16:04:54 +0800 Subject: [PATCH v4 3/3] arm64: dts: qcom: talos: Add camss node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260112-sm6150-camss-v4-3-0cd576d627f7@oss.qualcomm.com> References: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> In-Reply-To: <20260112-sm6150-camss-v4-0-0cd576d627f7@oss.qualcomm.com> To: Robert Foss , Todor Tomov , Bryan O'Donoghue , Vladimir Zapolskiy , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wenmeng Liu , Bjorn Andersson , Konrad Dybcio Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768205107; l=6713; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=96WrBixWbEA0flUiWTIzei1KNWmIZmL0YLK2srZxHJ4=; b=HdS2+mVdYX+9KEUkWHMOzjS7yyMNiF3XP8sia16VCiha1WlEOGm2aGDemLdOw999Oc08dt0ry g9GRKC9QFdJAJTesCyd+1K20nlYIycGsEFN6Ujxb7fcaaJYSWDSRJh7 X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Authority-Analysis: v=2.4 cv=Wrsm8Nfv c=1 sm=1 tr=0 ts=6964ab4c cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=_q6n6E3gDzqWkXQ7FWgA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: VP-BzqmniXrVUw29jpl6xQsRt0Fq96G0 X-Proofpoint-ORIG-GUID: VP-BzqmniXrVUw29jpl6xQsRt0Fq96G0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTEyMDA2MiBTYWx0ZWRfX+xCAUWqXXUXf y2wsRxU9o732Vw5COKKy6LG/15nvzw+x3r427mGx8mso09ujV4NdwhgqEUG2fYXI8xBYutiJIGx IjHlG3jyal5QART6K1leO8PPE27gcbnlyDljmHiqPM9SqT8HqYrCMVH3X+cxjYuiHabQbPT4hd/ fQvlCb25fjSOn2pfEQyvv0cK284kJ7BnI9cHoSTBhkbF/+9SdNalshyCpY7Ft6jWo9KjDxQJ13y ArlQltSzjcHfaowQdcLlS7GTqdn59fjLWwv2LWDl60bE6QcJwW0Z1r2ij5CVSLzGfaMM7rX3yC7 yKQupocG2EMiAck8jsXzdiwWwWaZcUKfhjYML8xaHpJpZRy5ZE9kW/ZcFUYM+PJVoELx1y1GoRR oLuIv6R0WZS5u+QQzqVSTz/IWntLcs5Khe/9CVo3+wqJ1ytG/zoZg7+AC8F/vc8bvxg4cr8uyM1 /3f3ELvy0LRfCPSUMjQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-12_02,2026-01-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 spamscore=0 priorityscore=1501 phishscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601120062 Add node for the SM6150 camera subsystem. Reviewed-by: Vladimir Zapolskiy Signed-off-by: Wenmeng Liu Reviewed-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/talos.dtsi | 200 ++++++++++++++++++++++++++++++++= ++++ 1 file changed, 200 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom= /talos.dtsi index 8171ec482be054a6d2bc8afdd1a122fa4fc591a2..5e5b43441e8919d6afc5a457e61= f8a49664db66a 100644 --- a/arch/arm64/boot/dts/qcom/talos.dtsi +++ b/arch/arm64/boot/dts/qcom/talos.dtsi @@ -3780,6 +3780,206 @@ videocc: clock-controller@ab00000 { #power-domain-cells =3D <1>; }; =20 + camss: isp@acb3000 { + compatible =3D "qcom,sm6150-camss"; + + reg =3D <0x0 0x0acb3000 0x0 0x1000>, + <0x0 0x0acba000 0x0 0x1000>, + <0x0 0x0acc8000 0x0 0x1000>, + <0x0 0x0ac65000 0x0 0x1000>, + <0x0 0x0ac66000 0x0 0x1000>, + <0x0 0x0ac67000 0x0 0x1000>, + <0x0 0x0acaf000 0x0 0x4000>, + <0x0 0x0acb6000 0x0 0x4000>, + <0x0 0x0acc4000 0x0 0x4000>, + <0x0 0x0ac6f000 0x0 0x3000>, + <0x0 0x0ac42000 0x0 0x5000>, + <0x0 0x0ac48000 0x0 0x1000>, + <0x0 0x0ac40000 0x0 0x1000>, + <0x0 0x0ac18000 0x0 0x3000>, + <0x0 0x0ac00000 0x0 0x6000>, + <0x0 0x0ac10000 0x0 0x8000>, + <0x0 0x0ac87000 0x0 0x3000>, + <0x0 0x0ac52000 0x0 0x4000>, + <0x0 0x0ac4e000 0x0 0x4000>, + <0x0 0x0ac6b000 0x0 0x0a00>; + reg-names =3D "csid0", + "csid1", + "csid_lite", + "csiphy0", + "csiphy1", + "csiphy2", + "vfe0", + "vfe1", + "vfe_lite", + "bps", + "camnoc", + "cpas_cdm", + "cpas_top", + "icp_csr", + "icp_qgic", + "icp_sierra", + "ipe0", + "jpeg_dma", + "jpeg_enc", + "lrme"; + + clocks =3D <&gcc GCC_CAMERA_AHB_CLK>, + <&gcc GCC_CAMERA_HF_AXI_CLK>, + <&camcc CAM_CC_CAMNOC_AXI_CLK>, + <&camcc CAM_CC_CPAS_AHB_CLK>, + <&camcc CAM_CC_CSIPHY0_CLK>, + <&camcc CAM_CC_CSI0PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY1_CLK>, + <&camcc CAM_CC_CSI1PHYTIMER_CLK>, + <&camcc CAM_CC_CSIPHY2_CLK>, + <&camcc CAM_CC_CSI2PHYTIMER_CLK>, + <&camcc CAM_CC_SOC_AHB_CLK>, + <&camcc CAM_CC_IFE_0_CLK>, + <&camcc CAM_CC_IFE_0_AXI_CLK>, + <&camcc CAM_CC_IFE_0_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_0_CSID_CLK>, + <&camcc CAM_CC_IFE_1_CLK>, + <&camcc CAM_CC_IFE_1_AXI_CLK>, + <&camcc CAM_CC_IFE_1_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_1_CSID_CLK>, + <&camcc CAM_CC_IFE_LITE_CLK>, + <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, + <&camcc CAM_CC_IFE_LITE_CSID_CLK>, + <&camcc CAM_CC_BPS_CLK>, + <&camcc CAM_CC_BPS_AHB_CLK>, + <&camcc CAM_CC_BPS_AXI_CLK>, + <&camcc CAM_CC_BPS_AREG_CLK>, + <&camcc CAM_CC_ICP_CLK>, + <&camcc CAM_CC_IPE_0_CLK>, + <&camcc CAM_CC_IPE_0_AHB_CLK>, + <&camcc CAM_CC_IPE_0_AREG_CLK>, + <&camcc CAM_CC_IPE_0_AXI_CLK>, + <&camcc CAM_CC_JPEG_CLK>, + <&camcc CAM_CC_LRME_CLK>; + clock-names =3D "gcc_ahb", + "gcc_axi_hf", + "camnoc_axi", + "cpas_ahb", + "csiphy0", + "csiphy0_timer", + "csiphy1", + "csiphy1_timer", + "csiphy2", + "csiphy2_timer", + "soc_ahb", + "vfe0", + "vfe0_axi", + "vfe0_cphy_rx", + "vfe0_csid", + "vfe1", + "vfe1_axi", + "vfe1_cphy_rx", + "vfe1_csid", + "vfe_lite", + "vfe_lite_cphy_rx", + "vfe_lite_csid", + "bps", + "bps_ahb", + "bps_axi", + "bps_areg", + "icp", + "ipe0", + "ipe0_ahb", + "ipe0_areg", + "ipe0_axi", + "jpeg", + "lrme"; + + interconnects =3D <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>, + <&mmss_noc MASTER_CAMNOC_HF0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_CAMNOC_HF1 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names =3D "ahb", + "hf_0", + "hf_1", + "sf_mnoc"; + + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names =3D "csid0", + "csid1", + "csid_lite", + "csiphy0", + "csiphy1", + "csiphy2", + "vfe0", + "vfe1", + "vfe_lite", + "camnoc", + "cdm", + "icp", + "jpeg_dma", + "jpeg_enc", + "lrme"; + + iommus =3D <&apps_smmu 0x0820 0x40>, + <&apps_smmu 0x0840 0x00>, + <&apps_smmu 0x0860 0x40>, + <&apps_smmu 0x0c00 0x00>, + <&apps_smmu 0x0cc0 0x00>, + <&apps_smmu 0x0c80 0x00>, + <&apps_smmu 0x0ca0 0x00>, + <&apps_smmu 0x0d00 0x00>, + <&apps_smmu 0x0d20 0x00>, + <&apps_smmu 0x0d40 0x00>, + <&apps_smmu 0x0d80 0x20>, + <&apps_smmu 0x0da0 0x20>, + <&apps_smmu 0x0de2 0x00>; + + power-domains =3D <&camcc IFE_0_GDSC>, + <&camcc IFE_1_GDSC>, + <&camcc TITAN_TOP_GDSC>, + <&camcc BPS_GDSC>, + <&camcc IPE_0_GDSC>; + power-domain-names =3D "ife0", + "ife1", + "top", + "bps", + "ipe"; + + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + }; + + port@1 { + reg =3D <1>; + }; + + port@2 { + reg =3D <2>; + }; + }; + }; + camcc: clock-controller@ad00000 { compatible =3D "qcom,qcs615-camcc"; reg =3D <0 0x0ad00000 0 0x10000>; --=20 2.34.1