From nobody Sun Feb 8 21:06:40 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 AD8FE1E50E for ; Tue, 6 Jan 2026 09:04:34 +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=1767690276; cv=none; b=sfnIOfShCdMChEYPynqLcosaAv4rBycrsIO4L5wuiJs4K+JNomgVJWwO0TXA4YyP8KH66cFRfh1pTjYv5J5Rl3cID4D79J7/DVDHIi4n0EFMhY2mbQluBmlJG1zj1TNi3Wv097oggbKWzW9tvZO0vBPGz+nI4M4jqrBspxsQwo4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767690276; c=relaxed/simple; bh=xWAS8X5OIoZiHIup9uFxy5bcYE/3a9DMYOww7QCpGP4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AGEHJnHbRwnkTmXb7NA8pFkvyVftwGr1a4gdUw2m+jYmm/LhZkQ10gT+4fBSETdzCvoOxV3PoacXHXnulNcF1qaQHnnXLN91BvDjkc7rduIow/RNntoLTY1SMrO2kY4WxhElSXAOI4Zfglxk54XhgCepulpVhJjFDllHT5GJctA= 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=PLyCKetW; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Gh3Z0MQy; 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="PLyCKetW"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Gh3Z0MQy" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6063QDeb2429882 for ; Tue, 6 Jan 2026 09:04:34 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= mBifb40rSfHG73R5YhDkZ9xZCriysMjEFojnmvKJNMI=; b=PLyCKetWa3HLUjdP eLC2v8pzy8TDBqDxrLY+Mx3hQku4v81mDDdOcLU1DBPPUE/jGUi14U/U3Xfz5UV8 rOQhKrn0LQGM07xmeefBp4F8HeHDHcWzofpzWSE3bl04CDG9c9HDqRURoQNnLx9p ZTpQJymZsEURYxz8GhJv1HuTSoavYNGjX3yLYgTeMacVuBLifjqjK4amevebCjaX 6cjLKPTnbEZPdtwYu3qGwmgMresGY64TZOkga/Rv29T0oV/PePMi79bRCGF0P81a GMWstUqHZFMoW7bRVKJgHAVekaajp5HywvyP+fvf7pMnY3xz7LCOJy4VpFu0j/YT RY1aNg== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgr7398n4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 06 Jan 2026 09:04:33 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-8b259f0da04so184915185a.0 for ; Tue, 06 Jan 2026 01:04:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767690273; x=1768295073; 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=mBifb40rSfHG73R5YhDkZ9xZCriysMjEFojnmvKJNMI=; b=Gh3Z0MQyrVvpreKWdT0aTx3XbnzwBbmR7E3b/NP4ffMyON3B9cNH9Pw+/N4UMXZ8Sh 5GWm2x9vt9GBjwuB3e4QOkhuFEjgST4D7arygOlW6tvvdytVwsNMblfZ3DK8DS+UCYv0 V9UnhnDWByoFyAD/F6/EBCs26LNeIgErrzTp9cTzYDniz16ckfncYo+dF5B5otLtKUtl qN7Uoye/Y+ZxQbRrNzoz05bCV1LYfNiV1fEmYq2R/SkwJZNmfzdAh+ITJ9OzZIVCtEeP DGQbOdO47I0N5nixQbZVTWZF85BNcUkDVks+9G6DKOtaW2Lh0/NydZ95Uiux1IdeQvzI vP3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767690273; x=1768295073; 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=mBifb40rSfHG73R5YhDkZ9xZCriysMjEFojnmvKJNMI=; b=wL96RjithXd+4QA8BpYIZZ1TWbRR7w+R/XiRaHK2nryxYYZVl8MQ1XuOBMUtV08o5a avc+gLcaF3UQWw53tdulPTGgDeyyvycXWQZWdX/ecJJs8v3XrYH07doabgsqI1EtUeK8 7s+hVFyYbZyAIAipU6TbdCHoMddyHMRMm9ANnMW5uJi6gPzhJBdRpDT2+2ZY3nGcKVx4 RaOemrF2ngRu7zRx36Uz5QpUeO25nTVMagJIzQqMO5HaqbpH8T59bwj3l9YbNLO33ONb HcFwx5//8UBkuBJTZQWeFasvcEPBYpAMJsuMLMjqJkdoOPBHkSkPHtq1F9nNgful7TFW 4vYA== X-Forwarded-Encrypted: i=1; AJvYcCVaq28+ARAvw7iWdhPxx2ViQV9ASDzpzQkYYsaEbZh6vjYGHI4q+Vui/Fsqkeguu2sEsTUfBRJQEE63tO4=@vger.kernel.org X-Gm-Message-State: AOJu0YwaELT2ziTMXNFMQ1/Q12qHynMjlUBohtAv2VVFKacX4NwOONhV EAEjH/Hu9oHMiW19cpk27Aqm57w2eQlRqjcS8uc6EOuuiFr7ZgkSgv2l8oV+40rq9bW5oAHPmx7 C0OFutj8QO3/W6xRL9U5aTNtuHwoWAosC8glBy/1rC3FJxVhCrJXgIrbl8ShOAv3pHx0= X-Gm-Gg: AY/fxX7idvwFKawfXmxK74faCZyjjGgIqlan1ejzD7GINVH9DcG8MPw6f7S7fuD7J1B SBhm+NfoSgQu3+USsme29VduJc7Ufepp3tbOA9p7zCcmK4DnYbvQxtPoFnCSFfHVujgxaX6YPHw lDI6XKCgaazW34xlC7hU9OiBTMPCGgMPj3bYGLk94HxhVUxWxKg2CRISEMym/Q+6uPLXffFrQIx ct3qat0O4ffZjY2qGfVvII5WL9BTiyRXMia/rJxySn2iTf3uZo4mPgYgzSUkLeZwJfs686+cI8y I41bCj1brr6YhoUeW3Liis+A0T8wozeqhF4UjbliIqh08hRa+q0ZAxLLP9+TJRCKT59RRuiDbp6 EtChE0WSB5iMCX7HeV6glyLBYfYZJaURX/QBl5IultO04Thr6fpEjlOZWAvZwpZScbt0nBk0ict Uh X-Received: by 2002:a05:620a:f15:b0:89f:7feb:fd71 with SMTP id af79cd13be357-8c37eb6cbdfmr310019285a.19.1767690272642; Tue, 06 Jan 2026 01:04:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaFuUHq8blzSAKdtc4DgmhIt1dm2SnKlFFIA0zvb70JspytgFxRDovgJcpstOCyMDihMXP7Q== X-Received: by 2002:a05:620a:f15:b0:89f:7feb:fd71 with SMTP id af79cd13be357-8c37eb6cbdfmr310015185a.19.1767690272126; Tue, 06 Jan 2026 01:04:32 -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 af79cd13be357-8c37f53113fsm134368185a.41.2026.01.06.01.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 01:04:31 -0800 (PST) From: Wenmeng Liu Date: Tue, 06 Jan 2026 17:04:16 +0800 Subject: [PATCH v3 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: <20260106-sm6150-camss-v3-1-d1d5c4d02b0b@oss.qualcomm.com> References: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@oss.qualcomm.com> In-Reply-To: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@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=1767690260; l=17062; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=xWAS8X5OIoZiHIup9uFxy5bcYE/3a9DMYOww7QCpGP4=; b=NWI4doKV0RqvxZJ9GPTa8RNA1C4/SjbmdKkWfXBZxni+JphvhzQFHNnPfqUBTX5s62yOtc96e FdJLN2u9GNhAplmx5z/+9cteZ6/izbidRCePZ9fR543ADp1EOn51Gau X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Authority-Analysis: v=2.4 cv=QrxTHFyd c=1 sm=1 tr=0 ts=695cd022 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==: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=NFOGd7dJGGMPyQGDc5-O:22 a=sptkURWiP4Gy88Gu7hUp:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-ORIG-GUID: PenZgbW_y-0bUCmF0dxZjnnCBPZgvuMi X-Proofpoint-GUID: PenZgbW_y-0bUCmF0dxZjnnCBPZgvuMi X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA2MDA3NiBTYWx0ZWRfXyqrgZYlS7rnt 4rAjuv5us2qt4fmCvM92EmBFWhK+tvw9pGJ1ZB67Vlwft80gaEx5u4rqdhONWjogjrpDXI8YDhX nuZ+ap6OTqN/SvpcUlCStZdnXIbwIE2KFKogAuIR1LcnVqTaTO4SMq6pKiUtjo3wXB93fHSmZTW HfYa7sDFbeBw01W1MN30j71R8jdk3UyyW39kiD3JkX/q5YtU9VMU2fNmHgx9vZ8IyIP4XeTvDKW mAWeZUCg5DowEBfb+STowBjXy3i6Huo2PlzqKGrgtB1Th7gm8TumIXzvbPyH+GlzNDVK0YN1AQr g9qUiJK5EJVf2zqRUscVv43NwJ+VcpM8GzzKhti2YaoeU0y2EVLTfbne1Pj/JH5AgVY4lHys6NF eI80GQLzCWZR0i+URXMTkfj4qoDEZgQpk749C7uoBRohWX71GWexD2qHAhbXBVhVY2OjfpWV80O MNWUWq+mNjHl1lwLMiQ== 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-05_02,2026-01-05_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601060076 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: Bryan O'Donoghue Reviewed-by: Krzysztof Kozlowski --- .../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 Sun Feb 8 21:06:40 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 5F99730C61B for ; Tue, 6 Jan 2026 09:04:40 +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=1767690282; cv=none; b=lv1pED6AhBkmWINzDcNemrc1py5NGxZAhkZnYPme9zyNxHerQVc0dR+bHlqnj8ojGR5oinqBWVqQY9Ebp9NHBGsmb17tAz7UXdRiB5LsExONuW5RSuKS88VBoEV9f+pNv6exJutMJ1WuVbAaEgQwPUJFDrkGVL1Tcz4DtOVa7NM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767690282; c=relaxed/simple; bh=eFGb2TrknCQ4oikLTHFknx3Qi5PMPqdvlpApiIlyjY4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tS0DeBn8QpJd49YjbID6y8w2K/t+a3rDeOD+bq/6IcpPLLubw1JZh73jyCvSCqfz4QwWkUc0ZCzAcN43lVAlGg+qCL6gAe2Tqyla1EvfETK4UJ4fySA6f9LwsDDfzu0HGuzR7oPQC1+HzSS7yxtYQsyVv8434cUqucgs3iKXvgM= 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=FSggoA/f; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=FkXfAmWh; 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="FSggoA/f"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="FkXfAmWh" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6063QTpE3272112 for ; Tue, 6 Jan 2026 09:04:39 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= H7tBTi3UFmpU32lDW5rDvlycsT4ewfmDg1H09LPYcTc=; b=FSggoA/fSdCbJwcw /Z7Cbgj67bBCy1lb/wtubkBRUAfGC23kgxx4QI+Llhm/bQkjtudG1PhfKpeeHuE9 FViLFYgecrB1wN4Fx/BZXhJokw9zqaPcR6l+cO3SmASQZubC9YmQXcEEtYuazaFp x6So9HarWvrE2W3Zsx8rM9G4kzG5bbBdc7gIw7AGAyrTu8tOfbPig9q8tJIfSVhm 4kLJC3WT50u5c0WQjmVJ1soCm7AeiC8m0vb/4oU2ynJ16FzuHkj6LFtR3exZWqlC w05Ns40iYEnhDWSZcBZV5aWXxwbh9A/m5Q1VDTpYhkREwBfvOvpJLDYsP3gMZ7tI 1b2sxg== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgfv02p6v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 06 Jan 2026 09:04:39 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8b2f0be2cf0so270942685a.0 for ; Tue, 06 Jan 2026 01:04:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767690279; x=1768295079; 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=H7tBTi3UFmpU32lDW5rDvlycsT4ewfmDg1H09LPYcTc=; b=FkXfAmWhxPOhc247OyAuxwazRsESuRFZI4kAtk1JtctUmm+V1gR158ANQt9fMnoibP 89ems+Nn1maviBbPmAjVxAXaU/wk5PyGu339mGvwTci7bWQbKZz1Qbuvsqd4U4P+b8DH ztehzfI8tSsBu29QFwF4j9OVU4PVqz/59tCIpNqnuy0kUGGKR8KP0hmvlrgyHjUa/SdP 4Gtgjwcea6ab6ZbuSEiC1BMNgtBm5DBWY+rsuXlsdt3HUBqpfpSDRGfuUK4y5CyYiry5 iQ3ya1S5x8W+lpK1NPSAIpKiOc65upXBDkV7ZRcXplKMXLDBw8rL5hns/ISZ/05NkmzU lFAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767690279; x=1768295079; 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=H7tBTi3UFmpU32lDW5rDvlycsT4ewfmDg1H09LPYcTc=; b=anKkCf0WFIdcWJx1/XFhedv1xgQGN8m2yFK3LrBhpvCHE+xmwc1tD+WLOwKXHxj+iJ c4fQTwXazHN535Q52kRKvIYnrDDJrE4ZB2mqZDBMeqvg9gCdNnWNiToKf1lkJJJKTWaa QMrE6NrkKEtO3N+ukNFrzwmAb/d/SjXWsxsCJUIHmLx+umWzqWw3zNXOatF38S6a2U4u /Zu2D1GRinIFBPrbeNYXheYEkiENhepE42xPp9v80JStRAPEXB9nlj14Md5kXAiTGmQd VVBMvaht4CDD3d4OApdV3j63uSskUzg0D85LwkjW71fnaIAwKIx8L2/EFBSUjOmv0YCM I85w== X-Forwarded-Encrypted: i=1; AJvYcCUxfSNOSZkIK7cQwDFjl8LelSo4smBaknd3En1lkihSAyL/4cx+gbv5wqB3NWsyyloNAfInI4raP1T6/U0=@vger.kernel.org X-Gm-Message-State: AOJu0YzfXxWrToRguR++ME+MX8/NClmBjE42sx+1ZoPPLutP7pq0ZCZ9 HqUJdoNy1PpynTNtLi/Ok17UjbLMosCO8ZDFnHt+mVU7Y/5vHR931g/1Jr0Zlvv0T1CJdugLriF 4RtPBmv2q23xkf9twPkbpQ7k1nmgeTsit6AXn0CH2ziJr6iB3XVDNBN5jhPXnp1OjxKI= X-Gm-Gg: AY/fxX50ouni8oADNXYyk6TqwJS/0SdmZuF/BdTtlZpdJIWFvD1uENrI/6mZUKRvIvS 3vAIbqJPLSvlggQrqTSVQGJ8/v36vjBEwjTkwLzkYHgA13jKBihQEP1RYuV4vZ6VRwfh/y8LNmU p/wzN7XpgW5GrD3mKQpynlKnYorVP8KklNAVdVDpX4VVTfOFZOXpgf7/xoA+sbez5NLThqfvYxP vswv9Cb4pQovftfBJMC5P78L30HwF12sp6W9PaW9nexmLJet8Ex1aR8hDYwjv0ApcwI6bTf3Egq 5Q+5WQtkzW1LUB3zhlYivjS6fD5bO+nGlDVDGXxIYDzYGBnhj3+qR9ZbNG6JL1ZcBZgwcv9yJR2 tJ/AxePfwsl2CqRjMG92VnQ+toA4+RMvV1didZ2DeUYpGR0GsrXGBeYZmTtxdgXDkxgVVbczxSw S8 X-Received: by 2002:a05:620a:2808:b0:8bb:18fe:d1c5 with SMTP id af79cd13be357-8c37eb71eaamr311111985a.9.1767690278488; Tue, 06 Jan 2026 01:04:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0LWWySRGTBAKyvTcuKEdY/bom8iXcbwDtrwB4+0geTEYZCGDg69vBXsA3gYbHfU90iCm3UQ== X-Received: by 2002:a05:620a:2808:b0:8bb:18fe:d1c5 with SMTP id af79cd13be357-8c37eb71eaamr311107785a.9.1767690277591; Tue, 06 Jan 2026 01:04:37 -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 af79cd13be357-8c37f53113fsm134368185a.41.2026.01.06.01.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 01:04:37 -0800 (PST) From: Wenmeng Liu Date: Tue, 06 Jan 2026 17:04:17 +0800 Subject: [PATCH v3 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: <20260106-sm6150-camss-v3-2-d1d5c4d02b0b@oss.qualcomm.com> References: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@oss.qualcomm.com> In-Reply-To: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@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=1767690260; l=8778; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=eFGb2TrknCQ4oikLTHFknx3Qi5PMPqdvlpApiIlyjY4=; b=EaGcFVM/y8y1V4/XsniAzNhHdbs397bO+aT7a5u7IVmnO6UcAa2/Be5qTvw6cGuhcpPuStAPh QPd5DOB85UzDKbwPx20DbZaVp7a+XTNKChY6M+3KF+aOaeDGOxicpck X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Authority-Analysis: v=2.4 cv=e9YLiKp/ c=1 sm=1 tr=0 ts=695cd027 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==: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=bTQJ7kPSJx9SKPbeHEYW:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: 8cTz3wtoyeqKXQ2QEZqyrDdjbqqeN_DM X-Proofpoint-ORIG-GUID: 8cTz3wtoyeqKXQ2QEZqyrDdjbqqeN_DM X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA2MDA3NiBTYWx0ZWRfX7+i67l5t6BgV MWOuaBuCqDrPBFi+rFzYhBZnkOTd+ON7/umOXEBJknFAcwpt/oYCwKxdYYBdMCyeJIkA0i5e0H/ qBaLaXoP/Lb7b7fSVnoOj0bEpVVw1W01rP2DD14eT0M8mjYyyXX0tqcERf4741aG4jvpxdEflTb +trS+cCa95wv+Net88VfMSHNP3/UdLLxs2jVeAJbKNNWJqMTgAjvGUZUyYQbM9B2dCaOE5hkFJp R3T9O8OlmJUowy6lQaE2b8/KAqmkByEn1RynPhM/jBD0tPjzClVXX8RoT2ByVQcblJ2MgXvBs9j qpzgIQBjp6GuQWjBvFrArcN3P36vVJHYbsAkBKZNxdAzEJdDxSbQ2zf1P7uhwH1Dr2vg6R6xR5k cmC9OoLSNR8cqH/7FVYS9dCttjt8lYd89vBehRZiJ/5h6DEXYrWL18raCPitdX0pJvNkykJiq8A +uwFDReglml0yIY99sQ== 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-05_02,2026-01-05_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 priorityscore=1501 phishscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601060076 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 | 189 +++++++++++++++++= ++++ drivers/media/platform/qcom/camss/camss.h | 1 + 4 files changed, 194 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 fcc2b2c3cba076e598bc8aacd34efce5d71713ca..1afc7ac55f662e4ec11955328bc= 9848a5260f2fa 100644 --- a/drivers/media/platform/qcom/camss/camss.c +++ b/drivers/media/platform/qcom/camss/camss.c @@ -1461,6 +1461,181 @@ static const struct camss_subdev_resources vfe_res_= 845[] =3D { } }; =20 +static const struct camss_subdev_resources csiphy_res_sm6150[] =3D { + /* CSIPHY0 */ + { + .regulators =3D { "vdd-csiphy-1p2", "vdd-csiphy-1p8" }, + .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 { "vdd-csiphy-1p2", "vdd-csiphy-1p8" }, + .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 { "vdd-csiphy-1p2", "vdd-csiphy-1p8" }, + .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 */ { @@ -4864,6 +5039,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", @@ -4959,6 +5147,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 9d9a62640e25dce0e8d45af9df01bbfd64b9bb4b..8f635879cccca9426c512f8582a= 2aedaed63f8a7 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 Sun Feb 8 21:06:40 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 C44EF30DEA0 for ; Tue, 6 Jan 2026 09:04:46 +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=1767690288; cv=none; b=bsb40380TLuZfpjRNNPvQwoUlrKoS8EEJDd12HJ/5YdGKG3aEjywC+ITPH4MFbrNFd954bVavGxQw5jfeaz6qsdvH5TcYjAGlAAcD9BiMUUQEUO9dd/oyXhUEcpaOn6fQllyfEkM4ngMfXvHTdGKG9Yv4DnTf7Vkgxx5eZ8Es4g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767690288; c=relaxed/simple; bh=uqFW8puCO0fUaXKLgdQhR3LwSpiQJfvZ21tQNaUkeLE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sfCsLVG2GaZ8AAtJ+chW2+U+4CoPNHHhgSEfuSK2saA3Rp+sFq0Rs/aAeU36/Jir06gl0p3a04t0yzLUDPhie3/TpSa0iF16IOwCejJgbf+JWl6bACpTlNCOo7eVciwnqvlB3OvYL9IarLfo2q8W36LZ1rlJb8hJOPHqotJA/tE= 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=nrvMEVvZ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HPvkDFHT; 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="nrvMEVvZ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HPvkDFHT" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6063QJqu3271888 for ; Tue, 6 Jan 2026 09:04:46 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= vMjYCueNFemsZYYgy413EWXcSrM+NfgEUoma/TD3MWc=; b=nrvMEVvZmeXeRyX0 7GC6JuXsdbv91Xtgp6wR3dFfP8xscwbf52vEoXLwB2NF1Ku3taLqxynRhMhc5fSS J2yINJCiHLN++vcq8I5vgYrX3gunc9otdqEZ4Wmc4XsBC2RyHQ/ezuwBEKdydOGk FCp3ipWEyE6d8QfDtjznQGfr5JkFGAk1SnXLde//kFQYU6UZ034JH4lwdmpQBoy2 nmuowgkM+69914R/qHTf+4nwd7F2xQZugsRHe79ht4Xi9FI2Ha3LNSGXNx+4P5pL cc8HT5gVBvsfAcrBqMsowVZZKh1ONZ1QVrK6a9BTXB6tDqd5AunFBixss1+12flp Pn4tPQ== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bgfv02p77-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 06 Jan 2026 09:04:46 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8b1d8f56e24so188584685a.2 for ; Tue, 06 Jan 2026 01:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767690285; x=1768295085; 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=vMjYCueNFemsZYYgy413EWXcSrM+NfgEUoma/TD3MWc=; b=HPvkDFHTFCa3juk0tFNGMVybPjbb4Fa/Uw/EAsvrEOX3bwOjuV8W5pGRz1PTegMBhq YuLLbR3txZ9qE1Io4IUrRX7Se5etDrzbi2h/gkxopupvPezdAQ1Hxq42m2ECXLHSmYl2 sVnS+ct6M7Q/PTCqG59aofL78dbuMpdc4V2x1/218ls6QZ2PWRX5scQrvlF87Zq2umwl /pnTm1sBuXYlZM2SjMVeu4g8wIKfJUbA9Bf2SjQHbm/egVViv7o5nhyERZ8mHO15Xhco KPLhc6rSbNe5g2hRC5vb8gG3qnv3CbmKdD0UaEhrttItI9IHP8/jlmJ06fx0JB4dMNYi U6kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767690285; x=1768295085; 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=vMjYCueNFemsZYYgy413EWXcSrM+NfgEUoma/TD3MWc=; b=WGYaKIiyg16eUhTHEYMuT5G7Pi09NuGlQ118lvnB3OU+IKVYzsa8zKav13B8sEARjz UZo0tLOPFMdxAfQLXfRG8HfKhYVFYF8zrsrydLjN0lhkCGGfi2stWhTbtRaKOi5QVByi Cb0GFrXuQXiKqlLdcjOMu1RO9G9WCy4bmVeku1pYgVPqNv95nqyhLl5sbezFHVGeHIyK 9NBruT13S0OA1YLyfRoRNlwMWww5LaCMxOL7DCxVM/35JVSF3p3qxAx6VMWMwggQLUyT JIjVYaFfAOJRXK8wWL/xvtQu34fKTPsmN8B8ai/JXTt2SpXhjR4haZqXnFQ1sGD1LFu/ j8AQ== X-Forwarded-Encrypted: i=1; AJvYcCUS3TXbOkrJMbWeM7i6cgsRq8PYFVEVzZv+CYHuY0HIrU9jQgTRU6pj//o5uVCD56mSkqo40DfsC/va2vg=@vger.kernel.org X-Gm-Message-State: AOJu0Ywrav3J7UYB54BMEULQM0HG/krSg4ABXHmI0yGvo44ucd4G4jsH ulYcHzPRBUIM6aeinaawsNmEbzr3dxElvRZ/cThOkZqg2zjOIm/T6bAmzCzBYimE/Th+mzO78vO TIdwstR2wXHYOf99tGYTimuhs1LT8kqdlFy9iOqBaaxxu64whJxPgTcd8dEQ0PSVIcvc= X-Gm-Gg: AY/fxX7HVtglFekiebZLpBBM3htQkGoQFkB9uL+2c25sJuPrtqipGfqOe7SV4uQwNFi jpVScltrrLIdIQ6pb0hrAgFdQQTRagKdQD4A3Djh7H5gxhspjD0NWEzU+liKCkV9sUfuqPLfmwH wbrzxDfK/323o4JhZbrReaO61mGKwoZyQBzHmTcowQQlOXD7tmnGU3XbnjuMGGMwyyFt2OCjOK7 vQKaPpZZW/eEpRJbIiGL0eqQBa653HjakfEPwqVxS40e3qJh9lCuY/IKaUjZsR4sWQObul3eKJf ErSG37WDEVTqR8HEae+ttviWhgvvp+3WhBeKOrjBtOIqKhiUQ9nBWZzd2xfNbRb3WYDm+1T+sKt eTXMEmiQqDGJHD3gntyM4Y6VEti+qx7K2ERWcHVNaYgUTmiKl2mWy7tsD0e226mjibJcyyJL4rD 4q X-Received: by 2002:a05:620a:bc6:b0:8a9:ef98:6835 with SMTP id af79cd13be357-8c37eb4c572mr307819685a.33.1767690285001; Tue, 06 Jan 2026 01:04:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO2vVmcmA1kzoyToPbJj4mzxCeunHud+/7B9m4HzzAP75SxP2QWLREZwAgFtlSyPzmf/LG3Q== X-Received: by 2002:a05:620a:bc6:b0:8a9:ef98:6835 with SMTP id af79cd13be357-8c37eb4c572mr307817585a.33.1767690284515; Tue, 06 Jan 2026 01:04:44 -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 af79cd13be357-8c37f53113fsm134368185a.41.2026.01.06.01.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 01:04:44 -0800 (PST) From: Wenmeng Liu Date: Tue, 06 Jan 2026 17:04:18 +0800 Subject: [PATCH v3 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: <20260106-sm6150-camss-v3-3-d1d5c4d02b0b@oss.qualcomm.com> References: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@oss.qualcomm.com> In-Reply-To: <20260106-sm6150-camss-v3-0-d1d5c4d02b0b@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=1767690260; l=6653; i=wenmeng.liu@oss.qualcomm.com; s=20250925; h=from:subject:message-id; bh=uqFW8puCO0fUaXKLgdQhR3LwSpiQJfvZ21tQNaUkeLE=; b=WJR4Fft1zkY7INI28MoVl5mqpTtUCkdL2gUw3YznumgtBjD46nWEgLO5mWyIl+2fHLKuQJHKD wCSER48/4YOByMbV0YAuh2eq4gUSyxm5mlpGtv9PZ8umelGf6DTXRi1 X-Developer-Key: i=wenmeng.liu@oss.qualcomm.com; a=ed25519; pk=fQJjf9C3jGDjE1zj2kO3NQLTbQEaZObVcXAzx5WLPX0= X-Authority-Analysis: v=2.4 cv=e9YLiKp/ c=1 sm=1 tr=0 ts=695cd02e cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==: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=bTQJ7kPSJx9SKPbeHEYW:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: rSgcfmIg4pZyMrm9ts4hySbb85YyEyPv X-Proofpoint-ORIG-GUID: rSgcfmIg4pZyMrm9ts4hySbb85YyEyPv X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA2MDA3NiBTYWx0ZWRfX96ct8gzqP6db Gx3ZObDScUJ8bYbiiv96gOU/rB4nEFhP4LWfYGaE9zvL56b448Kv2Z8xb3Fz2f500YrHRBZcNOU 87QUwjgnXkEhHMQvZDN3YPfFSKfovw2Yc/u1y969EJ3f1pPn61yr5V1SEUpyC5CnWARO4iu6N5v XM7y8hiD0+xEl86yg+5kuWonFc1LSH/8vP3Vm3qnBENR+RaOdCIpGXAGI4RZcMfGotTehZEac1D SFWKPLDQEPZ1bm36/Jfl3Y3akdFU2xFxxK/RRJdKm1LztG9pUTIgR2PbYsAA03xa01hM0INmxmP oTCM85kUzMebeFVyz0Sv7E0ALsdpKcqrxa1JHaWtFn4UP3JxLHU2kZGJNrnEv3L6yG+6Krrr+JX jytOfsWMVog9ejPmxMrOHa3YPXuElw72Ng+kX7n1FgBePzpjO6DHq+XKTrwt/FsPMEtyxZnEafr ILL1iimQL8xlkLK2yTw== 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-05_02,2026-01-05_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 priorityscore=1501 phishscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601060076 Add node for the SM6150 camera subsystem. Reviewed-by: Vladimir Zapolskiy Signed-off-by: Wenmeng Liu --- 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 95d26e3136229f9015d49e2be22f6b28f1e842f4..6368e0a2502cf41acee0783dcd2= 950099a29f40b 100644 --- a/arch/arm64/boot/dts/qcom/talos.dtsi +++ b/arch/arm64/boot/dts/qcom/talos.dtsi @@ -3785,6 +3785,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