From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.180 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795617119; b=C68myeOBnZemgax3Loy+qB7hwDi/fJfHUjoqE5D4e2vqrTyUDFvlGPC/mit3cu6SUaF6 b1rw1u5wo6t3phPw0kQFH6Jfv2T1hcwQaIHVKT4YiXXozQZu74b7CBKWdePXFLuZ/AOsB zlHAYlVx2+FTUcL5G7ak7YszCTzTw50RSeSMYRgq5832O6z3iCFdq6vYJV8MjJ1xEydEF xXoseeaiadKBa/jRdavnqFlsc1XY7CrSQ8iVJcoYykYINKhFLHgvOnLzbQKz9FBKuVeGc OQAfM1dnCJ0IJqgR1up3uqp8klwmjxydgJoZttpr3GLcE09slGRh8J0UrzItok+sGQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795617119; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=zKfRowNSGjVA87CJ4mW494zsgUl/v5ojHBz8f5BNf/0=; b=k+9MY8RZZSmdTLy7WLevmn0W7zkyzWvmJPPIw9EwCaMI1DF1U0ynqisBn+dTLUR7OKo5 nEyl88TKvAHJTJtqQjf1sp13Z5faOBvSuMAqcK7ekXuP3/vpFGGgacx5zSQNX4lvKDGW8 RWUKpMU3YrYjFzeCIg73K2qF0/cWPVEKSDR/jnqeZIBQPUgeCMer8Ob5pNDxAdh7u5yA/ 5wyTpcV1GGO5FCkRYK4IGWXB0TQA/UGFSOXDdRM608YTdBwQIn8bamZEcm+6H0oKtsew9 6EWfR6xywDx9d8O3XEon2nPf0ohwXWQSsnMc7YUTp6snZzJRo9Tc1HJByfrdEVWhPLQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=AdI7v2p2; arc=none smtp.remote-ip=209.85.208.180 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9631B606A321 for ; Wed, 25 Nov 2026 14:31:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9631B606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=AdI7v2p2 Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-3adfb0c9e3cso4821841fa.3 for ; Wed, 25 Nov 2026 06:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1795617117; x=1796221917; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=zKfRowNSGjVA87CJ4mW494zsgUl/v5ojHBz8f5BNf/0=; b=AdI7v2p2DEnGcimvFHEZ5FVOQzGh9kkiGvTi8IyruIj4NZ9mtrDkotiCBgY8hdHcFJ J5vpTFTxElIV3Bfd2gJcR1dSzv9XNkGP/Y0is5nM+gHP5MukTCaUJCZEQ8hSJseL55RE 9pbRCy1oNY2TNyYScIOM1eRVC1Hri+fvfQDSLHPgqTwElpBzAVbJA8jxApn2x2T8VfsP IGHTrD/GtpvO070Qkv/SUBdfTuZ0JEoOhcQ3FIPntQb1Op/aFvCZBb4v2QSDSv+JGXbj R/+TsbRhLAZNI5ttbtA0lnVW62/WUQaEZ8x3ikZL6ByIq294H0YzOwl+eW6ZmxOTGZbq aPXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795617117; x=1796221917; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=zKfRowNSGjVA87CJ4mW494zsgUl/v5ojHBz8f5BNf/0=; b=fkm7Yolk+HC4xmuWO29/IB2FnljoBfsr/6stGfmT1TuBlRuWbgS96RoHysyg+gec+B Y5ahWIjQ9GoR3eEtQBcQ7Xl7d4cVhBJBHBD6PKHScNulUd23CvOtAvpPbNJvO/A4vu9f 7I7zPKGdw83Cx7Dw0weUlSxXN+YQgFw0vUvNU+iWV9j4xqf8WLR2t0SYAJG4DF6oypRV gxuFGmO/SkXRf1mO97llyo4uV8QqgnAWHNFvTcSW1SufrqNZrrPKxp/oqNqsC3Apx4qY DqoY/cSVThvS356KzhBhFrkX8lBglI1mGwN42ej/5fyvYLX1UnjPV6v+66zEqfxfkVbS pKIw== X-Forwarded-Encrypted: i=1; AL+hErGOQyO6HCI2YhuujwxU239PN/BwJ759Yf1hRTxFoSGcILNULkxVYrQq7qxfN3Tn/UnXiFLrKUX5WXDtEtc=@vger.kernel.org X-Gm-Message-State: APuU4Z9eULljfGIvdrglL9013GH9KCYdxsw8iAgLF6I/XWEEgqJ4DqhC QVIaCf5SxVN3s084L3tobeHWBojkxDalpnm3pElmrTmvaYc932tUf5PdaS8GeAmiNCk= X-Gm-Gg: AZFdTZfCgYGOChQM3xTMkOAWtOBntzu4Vyjrdp0KClmExbZaZMtwPH4DnXxG/fqd72c nu7oOoYkE0MnvwzvL/Qqh+JOVtRcLKWwgZL5Y7yGnWI5l6S87v5gVGWK2eHEavrjUgRa7RYA947 8zM1z5cg7vwSyd+6Hia4UUuThGMZ1Z5XXed+npmfwcpHa4TO8nKrnREC6hl+hCLE4vAMM+eBw6Y SyBZGFCbNbDf6XcR2kkxI2t/MG/Qp0TeuIy/cf1RmUyXWqcNDCk1DL/vQQFcY5Yck/LhoEScLn0 Q0llf/P+RgPoQhWclmv8TnSIEse8Dr0Kr6hn4Ga/CXuNTBW5TL7CJe0IiHta5CiKdI1Xb619scS 2dP6bnwj0XXaV9DgkihRDVrbtYV2ZSAU/pZog5a9ejFJ7rZprIC/IpPI3WXtU0CfVzW0UoXDyYT y92JXG0PvHLsYdILV6+xoiIYAGAEw3DbgNzqAJCFSSgKq/7Ag7L9YCIqaTAqPWglGyYWBAKs47P EDPp7I/mv9pAEjXA+xcFJL5mla2xTeeycky2s+RD7E2lVE0P833C2nVtYuHfzf2hGbZ3OaEp7HR bfO8rqCCjEo11YkfOcAli8barUNHdJLm+CvFCHgw2gWgpijZvn8pUP0Q7TpTKvT33jkpey/abMX +UOOzICc= X-Received: by 2002:a2e:a28e:0:b0:3ac:dec0:158e with SMTP id 38308e7fff4ca-3ae7f9f3418mr40722721fa.2.1795617116747; Wed, 25 Nov 2026 06:31:56 -0800 (PST) Received: from [192.168.1.101] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3ae8053568esm50069981fa.25.2026.11.25.06.31.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Nov 2026 06:31:56 -0800 (PST) Message-ID: Date: Wed, 25 Nov 2026 16:31:55 +0200 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/3] dt-bindings: media: qcom,glymur-camss: Add Glymur CAMSS To: Nihal Kumar Gupta , Bryan O'Donoghue , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue , Loic Poulain , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Mauro Carvalho Chehab Cc: linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Suresh Vankadara , Vikram Sharma , Krzysztof Kozlowski References: <20260925-glymur_camss-v4-0-d7c2983d6d7b@oss.qualcomm.com> <20260925-glymur_camss-v4-2-d7c2983d6d7b@oss.qualcomm.com> From: Vladimir Zapolskiy In-Reply-To: <20260925-glymur_camss-v4-2-d7c2983d6d7b@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/25/26 08:48, Nihal Kumar Gupta wrote: > Glymur uses only the new PHY API via standalone phy@ child nodes, > so per-CSIPHY clocks, interrupts and supplies are absent here. > > X1E80100 has four CSIPHY instances while Glymur has three > (CSIPHY0, CSIPHY1, CSIPHY4). > > Co-developed-by: Vikram Sharma > Signed-off-by: Vikram Sharma > Reviewed-by: Bryan O'Donoghue > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Nihal Kumar Gupta > --- > .../bindings/media/qcom,glymur-camss.yaml | 300 +++++++++++++++++++++ > 1 file changed, 300 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/qcom,glymur-camss.yaml b/Documentation/devicetree/bindings/media/qcom,glymur-camss.yaml > new file mode 100644 > index 0000000000000000000000000000000000000000..a0b77edc212319fad69113f3d55ca24f184d4b23 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/qcom,glymur-camss.yaml > @@ -0,0 +1,300 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/qcom,glymur-camss.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Glymur Camera Subsystem (CAMSS) > + > +maintainers: > + - Nihal Kumar Gupta > + > +description: > + The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms. > + > +properties: > + compatible: > + const: qcom,glymur-camss > + > + reg: > + maxItems: 13 > + > + reg-names: > + items: > + - const: csid_wrapper > + - const: csid0 > + - const: csid1 > + - const: csid2 > + - const: csid_lite0 > + - const: csid_lite1 > + - const: csitpg0 > + - const: csitpg1 > + - const: csitpg2 I believe CAMSS on SM8350 and before has TPG as a CSID IP function, but since then TPGs are seperate I/O blocks. It might be more appropriate to give "tpgX" names (like it's done for sa8775p and qcs8300), and I do understand that "csitpgX" were selected just to get a compatibility with the reused X1E TPG names, which might be not a good enough reason... > + - const: vfe0 > + - const: vfe1 > + - const: vfe_lite0 > + - const: vfe_lite1 > + > + clocks: > + maxItems: 20 > + > + clock-names: > + items: > + - const: camnoc_nrt_axi > + - const: camnoc_rt_axi > + - const: core_ahb > + - const: cpas_ahb > + - const: cpas_fast_ahb > + - const: cpas_vfe0 > + - const: cpas_vfe1 > + - const: cpas_vfe_lite > + - const: csid > + - const: csid_csiphy_rx > + - const: gcc_axi_hf > + - const: gcc_axi_sf > + - const: vfe0 > + - const: vfe0_fast_ahb > + - const: vfe1 > + - const: vfe1_fast_ahb > + - const: vfe_lite > + - const: vfe_lite_ahb > + - const: vfe_lite_cphy_rx > + - const: vfe_lite_csid > + > + interrupts: > + maxItems: 9 > + > + interrupt-names: > + items: > + - const: csid0 > + - const: csid1 > + - const: csid2 > + - const: csid_lite0 > + - const: csid_lite1 > + - const: vfe0 > + - const: vfe1 > + - const: vfe_lite0 > + - const: vfe_lite1 > + > + interconnects: > + maxItems: 4 > + > + interconnect-names: > + items: > + - const: ahb > + - const: hf_mnoc > + - const: sf_mnoc > + - const: sf_icp_mnoc > + > + iommus: > + items: > + - description: S1 HLOS IFE and IFE_LITE non-protected > + > + power-domains: > + items: > + - description: IFE0 GDSC - Image Front End, Global Distributed Switch Controller. > + - description: IFE1 GDSC - Image Front End, Global Distributed Switch Controller. > + - description: Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller. > + > + power-domain-names: > + items: > + - const: ife0 > + - const: ife1 > + - const: top > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + description: > + CSI input ports. > + > + patternProperties: > + "^port@[0-3]$": Reading the commit message, I develop a feeling that it might make sense to change the regexp to [014] or something like that. > + $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > + > + description: > + Input port for receiving CSI data. > + > + properties: > + endpoint: > + $ref: video-interfaces.yaml# > + unevaluatedProperties: false > + > + properties: > + data-lanes: > + minItems: 1 > + maxItems: 4 > + > +required: > + - compatible > + - reg > + - reg-names > + - clocks > + - clock-names > + - interrupts > + - interrupt-names > + - interconnects > + - interconnect-names > + - iommus > + - power-domains > + - power-domain-names > + - ports > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + #include > + #include > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + camss: isp@acb6000 { > + compatible = "qcom,glymur-camss"; > + > + reg = <0x0 0x0acb6000 0x0 0x1000>, > + <0x0 0x0acb7000 0x0 0x2000>, > + <0x0 0x0acb9000 0x0 0x2000>, > + <0x0 0x0acbb000 0x0 0x2000>, > + <0x0 0x0acc6000 0x0 0x1000>, > + <0x0 0x0acca000 0x0 0x1000>, > + <0x0 0x0acf6000 0x0 0x1000>, > + <0x0 0x0acf7000 0x0 0x1000>, > + <0x0 0x0acf8000 0x0 0x1000>, > + <0x0 0x0ac62000 0x0 0xf000>, > + <0x0 0x0ac71000 0x0 0xf000>, > + <0x0 0x0acc7000 0x0 0x2000>, > + <0x0 0x0accb000 0x0 0x2000>; > + reg-names = "csid_wrapper", > + "csid0", > + "csid1", > + "csid2", > + "csid_lite0", > + "csid_lite1", > + "csitpg0", > + "csitpg1", > + "csitpg2", > + "vfe0", > + "vfe1", > + "vfe_lite0", > + "vfe_lite1"; > + > + clocks = <&camcc CAM_CC_CAMNOC_AXI_NRT_CLK>, > + <&camcc CAM_CC_CAMNOC_AXI_RT_CLK>, > + <&camcc CAM_CC_CORE_AHB_CLK>, > + <&camcc CAM_CC_CPAS_AHB_CLK>, > + <&camcc CAM_CC_CPAS_FAST_AHB_CLK>, > + <&camcc CAM_CC_CPAS_IFE_0_CLK>, > + <&camcc CAM_CC_CPAS_IFE_1_CLK>, > + <&camcc CAM_CC_CPAS_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_IFE_0_CLK>, > + <&camcc CAM_CC_IFE_0_FAST_AHB_CLK>, > + <&camcc CAM_CC_IFE_1_CLK>, > + <&camcc CAM_CC_IFE_1_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>; > + clock-names = "camnoc_nrt_axi", > + "camnoc_rt_axi", > + "core_ahb", > + "cpas_ahb", > + "cpas_fast_ahb", > + "cpas_vfe0", > + "cpas_vfe1", > + "cpas_vfe_lite", > + "csid", > + "csid_csiphy_rx", > + "gcc_axi_hf", > + "gcc_axi_sf", > + "vfe0", > + "vfe0_fast_ahb", > + "vfe1", > + "vfe1_fast_ahb", > + "vfe_lite", > + "vfe_lite_ahb", > + "vfe_lite_cphy_rx", > + "vfe_lite_csid"; > + > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + ; > + interrupt-names = "csid0", > + "csid1", > + "csid2", > + "csid_lite0", > + "csid_lite1", > + "vfe0", > + "vfe1", > + "vfe_lite0", > + "vfe_lite1"; > + > + interconnects = <&hsc_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>, > + <&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, > + <&mmss_noc MASTER_CAMNOC_ICP QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; > + interconnect-names = "ahb", > + "hf_mnoc", > + "sf_mnoc", > + "sf_icp_mnoc"; > + > + iommus = <&apps_smmu 0x800 0x20>; > + > + power-domains = <&camcc CAM_CC_IFE_0_GDSC>, > + <&camcc CAM_CC_IFE_1_GDSC>, > + <&camcc CAM_CC_TITAN_TOP_GDSC>; > + power-domain-names = "ife0", > + "ife1", > + "top"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + camss_csiphy0_ep: endpoint { > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&csiphy0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + camss_csiphy1_ep: endpoint { > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&csiphy1_out>; > + }; > + }; > + > + port@3 { > + reg = <3>; > + camss_csiphy4_ep: endpoint { Here is a mismatch between port number and link name, please double check, if it is intended. > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&csiphy4_out>; > + }; > + }; > + }; > + }; > + }; > -- Best wishes, Vladimir