[PATCH v22 11/14] arm64: dts: qcom: kaanapali: Add CAMSS and CSIPHY block definitions

Loic Poulain loic.poulain at oss.qualcomm.com
Mon Oct 26 09:29:13 PDT 2026


On Sun, Oct 25, 2026 at 4:17 AM Hangxiang Ma
<hangxiang.ma at oss.qualcomm.com> wrote:
>
> Describe the CAMSS and CSIPHY blocks on Kaanapali so that camera pipelines
> can be enabled by board device trees.
>
> The camera subsystem contains:
> - 6 x CSIPHY (CSI Physical Layer)
> - 3 x TPG (Test Pattern Generator)
> - 3 x CSID (CSI Decoder)
> - 2 x CSID Lite
> - 3 x VFE (Video Front End), 5 RDI per VFE
> - 2 x VFE Lite, 4 RDI per VFE Lite
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>
> Signed-off-by: Hangxiang Ma <hangxiang.ma at oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/kaanapali.dtsi | 399 ++++++++++++++++++++++++++++++++
>  1 file changed, 399 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> index e48a179d0722..11df1c7c6e31 100644
> --- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
> @@ -20,6 +20,7 @@
>  #include <dt-bindings/interconnect/qcom,kaanapali-rpmh.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/mailbox/qcom-ipcc.h>
> +#include <dt-bindings/phy/phy.h>
>  #include <dt-bindings/phy/phy-qcom-qmp.h>
>  #include <dt-bindings/power/qcom-rpmpd.h>
>  #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> @@ -3597,6 +3598,382 @@ usb_dp_qmpphy_dp_in: endpoint {
>                         };
>                 };
>
> +               camss: isp at 9253000 {
> +                       compatible = "qcom,kaanapali-camss";
> +
> +                       reg = <0x0 0x09253000 0x0 0x5e80>,
> +                             <0x0 0x09263000 0x0 0x5e80>,
> +                             <0x0 0x09273000 0x0 0x5e80>,
> +                             <0x0 0x092d3000 0x0 0x3880>,
> +                             <0x0 0x092e7000 0x0 0x3880>,
> +                             <0x0 0x093fd000 0x0 0x400>,
> +                             <0x0 0x093fe000 0x0 0x400>,
> +                             <0x0 0x093ff000 0x0 0x400>,
> +                             <0x0 0x09151000 0x0 0x20000>,
> +                             <0x0 0x09171000 0x0 0x20000>,
> +                             <0x0 0x09191000 0x0 0x20000>,
> +                             <0x0 0x092dc000 0x0 0x1300>,
> +                             <0x0 0x092f0000 0x0 0x1300>;
> +                       reg-names = "csid0",
> +                                   "csid1",
> +                                   "csid2",
> +                                   "csid_lite0",
> +                                   "csid_lite1",
> +                                   "csitpg0",
> +                                   "csitpg1",
> +                                   "csitpg2",
> +                                   "vfe0",
> +                                   "vfe1",
> +                                   "vfe2",
> +                                   "vfe_lite0",
> +                                   "vfe_lite1";

I think we should probably start adding the CAMSS "top" register
region as well, to provide a more complete description of the CAMSS
hardware block. This register space contains, among other things, the
CAMSS hardware version information.


> +
> +                       clocks = <&camcc CAM_CC_CAMNOC_NRT_AXI_CLK>,
> +                                <&camcc CAM_CC_CAMNOC_RT_AXI_CLK>,
> +                                <&camcc CAM_CC_CAM_TOP_AHB_CLK>,
> +                                <&camcc CAM_CC_CAM_TOP_FAST_AHB_CLK>,
> +                                <&camcc CAM_CC_CAMNOC_RT_TFE_0_MAIN_CLK>,
> +                                <&camcc CAM_CC_CAMNOC_RT_TFE_1_MAIN_CLK>,
> +                                <&camcc CAM_CC_CAMNOC_RT_TFE_2_MAIN_CLK>,
> +                                <&camcc CAM_CC_CAMNOC_RT_IFE_LITE_CLK>,
> +                                <&camcc CAM_CC_CSID_CLK>,
> +                                <&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
> +                                <&gcc GCC_CAMERA_HF_AXI_CLK>,
> +                                <&gcc GCC_CAMERA_SF_AXI_CLK>,
> +                                <&camcc CAM_CC_TFE_0_MAIN_CLK>,
> +                                <&camcc CAM_CC_TFE_0_MAIN_FAST_AHB_CLK>,
> +                                <&camcc CAM_CC_TFE_1_MAIN_CLK>,
> +                                <&camcc CAM_CC_TFE_1_MAIN_FAST_AHB_CLK>,
> +                                <&camcc CAM_CC_TFE_2_MAIN_CLK>,
> +                                <&camcc CAM_CC_TFE_2_MAIN_FAST_AHB_CLK>,
> +                                <&camcc CAM_CC_IFE_LITE_CLK>,
> +                                <&camcc CAM_CC_IFE_LITE_AHB_CLK>,
> +                                <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
> +                                <&camcc CAM_CC_IFE_LITE_CSID_CLK>,
> +                                <&camcc CAM_CC_QDSS_DEBUG_XO_CLK>;
> +                       clock-names = "camnoc_nrt_axi",
> +                                     "camnoc_rt_axi",
> +                                     "cpas_ahb",
> +                                     "cpas_fast_ahb",
> +                                     "cpas_vfe0",
> +                                     "cpas_vfe1",
> +                                     "cpas_vfe2",
> +                                     "cpas_vfe_lite",
> +                                     "csid",
> +                                     "csid_csiphy_rx",
> +                                     "gcc_axi_hf",
> +                                     "gcc_axi_sf",
> +                                     "vfe0",
> +                                     "vfe0_fast_ahb",
> +                                     "vfe1",
> +                                     "vfe1_fast_ahb",
> +                                     "vfe2",
> +                                     "vfe2_fast_ahb",
> +                                     "vfe_lite",
> +                                     "vfe_lite_ahb",
> +                                     "vfe_lite_cphy_rx",
> +                                     "vfe_lite_csid",
> +                                     "qdss_debug_xo";
> +
> +                       interrupts = <GIC_SPI 601 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 603 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 605 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 433 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 436 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 457 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 606 IRQ_TYPE_EDGE_RISING>,
> +                                    <GIC_SPI 377 IRQ_TYPE_EDGE_RISING>;
> +                       interrupt-names = "csid0",
> +                                         "csid1",
> +                                         "csid2",
> +                                         "csid_lite0",
> +                                         "csid_lite1",
> +                                         "vfe0",
> +                                         "vfe1",
> +                                         "vfe2",
> +                                         "vfe_lite0",
> +                                         "vfe_lite1";
> +
> +                       interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
> +                                        &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
> +                                       <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
> +                                        &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
> +                       interconnect-names = "ahb",
> +                                            "hf_mnoc";
> +
> +                       iommus = <&apps_smmu 0x1c00 0x00>;
> +
> +                       power-domains = <&camcc CAM_CC_TFE_0_GDSC>,
> +                                       <&camcc CAM_CC_TFE_1_GDSC>,
> +                                       <&camcc CAM_CC_TFE_2_GDSC>,
> +                                       <&camcc CAM_CC_TITAN_TOP_GDSC>;
> +                       power-domain-names = "ife0",
> +                                            "ife1",
> +                                            "ife2",
> +                                            "top";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               camss_csiphy0_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               camss_csiphy1_in_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +
> +                               camss_csiphy2_in_port: port at 2 {
> +                                       reg = <2>;
> +                               };
> +
> +                               camss_csiphy3_in_port: port at 3 {
> +                                       reg = <3>;
> +                               };
> +
> +                               camss_csiphy4_in_port: port at 4 {
> +                                       reg = <4>;
> +                               };
> +
> +                               camss_csiphy5_in_port: port at 5 {
> +                                       reg = <5>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy0: phy at 9523000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x09523000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY0_CLK>,
> +                                <&camcc CAM_CC_CSI0PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy0_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy0_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy1: phy at 9525000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x09525000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY1_CLK>,
> +                                <&camcc CAM_CC_CSI1PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy1_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy1_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy2: phy at 9527000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x09527000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY2_CLK>,
> +                                <&camcc CAM_CC_CSI2PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy2_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy2_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy3: phy at 9529000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x09529000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY3_CLK>,
> +                                <&camcc CAM_CC_CSI3PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy3_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy3_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy4: phy at 952b000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x0952b000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY4_CLK>,
> +                                <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 122 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy4_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy4_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
> +               csiphy5: phy at 952d000 {
> +                       compatible = "qcom,kaanapali-csi2-phy";
> +                       reg = <0x0 0x0952d000 0x0 0x2000>;
> +
> +                       clocks = <&camcc CAM_CC_CSIPHY5_CLK>,
> +                                <&camcc CAM_CC_CSI5PHYTIMER_CLK>,
> +                                <&camcc CAM_CC_CORE_AHB_CLK>;
> +                       clock-names = "core",
> +                                     "timer",
> +                                     "ahb";
> +
> +                       interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
> +
> +                       operating-points-v2 = <&csiphy_mxc_opp_table>;
> +
> +                       power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>,
> +                                       <&rpmhpd RPMHPD_MMCX>,
> +                                       <&rpmhpd RPMHPD_MXC>;
> +                       power-domain-names = "top",
> +                                            "mmcx",
> +                                            "mx";
> +
> +                       status = "disabled";
> +
> +                       ports {
> +                               #address-cells = <1>;
> +                               #size-cells = <0>;
> +
> +                               csiphy5_in_port: port at 0 {
> +                                       reg = <0>;
> +                               };
> +
> +                               csiphy5_out_port: port at 1 {
> +                                       reg = <1>;
> +                               };
> +                       };
> +               };
> +
>                 camcc: clock-controller at 956d000 {
>                         compatible = "qcom,kaanapali-camcc";
>                         reg = <0x0 0x0956d000 0x0 0x80000>;
> @@ -6548,6 +6925,28 @@ pdp_tx: scp-sram-section at 100 {
>                 };
>         };
>
> +       csiphy_mxc_opp_table: opp-table-mxc {
> +               compatible = "operating-points-v2";
> +
> +               opp-300000000 {
> +                       opp-hz = /bits/ 64 <300000000>;
> +                       required-opps = <&rpmhpd_opp_low_svs_d1>,
> +                                       <&rpmhpd_opp_low_svs_d1>;
> +               };
> +
> +               opp-400000000 {
> +                       opp-hz = /bits/ 64 <400000000>;
> +                       required-opps = <&rpmhpd_opp_low_svs>,
> +                                       <&rpmhpd_opp_low_svs>;
> +               };
> +
> +               opp-480000000 {
> +                       opp-hz = /bits/ 64 <480000000>;
> +                       required-opps = <&rpmhpd_opp_low_svs>,
> +                                       <&rpmhpd_opp_low_svs>;
> +               };
> +       };
> +
>         thermal-zones {
>                 cpullc-0-0-thermal {
>                         thermal-sensors = <&tsens0 0>;
>
> --
> 2.34.1
>



More information about the linux-phy mailing list