From: Christopher Obbard <christopher.obbard@linaro.org>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Robert Foss <rfoss@kernel.org>,
Todor Tomov <todor.too@gmail.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Bryan O'Donoghue <bod@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-media@vger.kernel.org,
Krzysztof Kozlowski <krzk@kernel.org>
Subject: Re: [PATCH v8 02/18] dt-bindings: media: qcom,x1e80100-camss: Convert from inline PHY definitions to PHY handles
Date: Fri, 27 Feb 2026 22:01:22 +0000 [thread overview]
Message-ID: <e6a277cfecc1fb94e1819944ce72e0a03ae0a9fe.camel@linaro.org> (raw)
In-Reply-To: <20260225-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v8-2-95517393bcb2@linaro.org>
Hi Bryan,
On Wed, 2026-02-25 at 15:11 +0000, Bryan O'Donoghue wrote:
> We currently do not have an upstream user of the x1e CAMSS schema which
> allows us to make this the first platform to treat the CSI PHYs as separate
> devices in much the same way as we treat the CCI block as separate devices.
>
> Convert the embedded CSIPHY node data to simple phys = <> removing all of
> the PHY specific stuff previously embedded.
>
> I gave some serious thought to making the Test Pattern Generators TPGs into
> PHY nodes also but, unlike the CSIPHYs the TPGs have no dedicated external
> pins nor regulators.
>
> The CSIPHYs OTOH have dedicated in-fact generally unmuxed pins on Qualcomm
> SoCs and each CSIPHY has its own set of input power rails usually 0p8 and
> 1p2.
>
> Instead of defining the CSIPHYs as children of the CAMSS block, we take the
> same approach as the CCI/I2C bus dedicated to CAMSS and define the CSIPHYs
> as their own nodes.
>
> Remove the embedded CSIPHY specific data and give CAMSS regular,
> bog-standard phys = <>;
>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Christopher Obbard <christopher.obbard@linaro.org>
> ---
> .../bindings/media/qcom,x1e80100-camss.yaml | 84 ++++++----------------
> 1 file changed, 20 insertions(+), 64 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
> index 9aaed897f7e0e..ff14a8248321e 100644
> --- a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml
> @@ -17,7 +17,7 @@ properties:
> const: qcom,x1e80100-camss
>
> reg:
> - maxItems: 17
> + maxItems: 13
>
> reg-names:
> items:
> @@ -27,10 +27,6 @@ properties:
> - const: csid2
> - const: csid_lite0
> - const: csid_lite1
> - - const: csiphy0
> - - const: csiphy1
> - - const: csiphy2
> - - const: csiphy4
> - const: csitpg0
> - const: csitpg1
> - const: csitpg2
> @@ -40,7 +36,7 @@ properties:
> - const: vfe_lite1
>
> clocks:
> - maxItems: 29
> + maxItems: 21
>
> clock-names:
> items:
> @@ -55,14 +51,6 @@ properties:
> - const: cphy_rx_clk_src
> - const: csid
> - const: csid_csiphy_rx
> - - const: csiphy0
> - - const: csiphy0_timer
> - - const: csiphy1
> - - const: csiphy1_timer
> - - const: csiphy2
> - - const: csiphy2_timer
> - - const: csiphy4
> - - const: csiphy4_timer
> - const: gcc_axi_hf
> - const: gcc_axi_sf
> - const: vfe0
> @@ -75,7 +63,7 @@ properties:
> - const: vfe_lite_csid
>
> interrupts:
> - maxItems: 13
> + maxItems: 9
>
> interrupt-names:
> items:
> @@ -84,15 +72,21 @@ properties:
> - const: csid2
> - const: csid_lite0
> - const: csid_lite1
> - - const: csiphy0
> - - const: csiphy1
> - - const: csiphy2
> - - const: csiphy4
> - const: vfe0
> - const: vfe1
> - const: vfe_lite0
> - const: vfe_lite1
>
> + phys:
> + maxItems: 4
> +
> + phy-names:
> + items:
> + - const: csiphy0
> + - const: csiphy1
> + - const: csiphy2
> + - const: csiphy4
> +
> interconnects:
> maxItems: 4
>
> @@ -118,14 +112,6 @@ properties:
> - const: ife1
> - const: top
>
> - vdd-csiphy-0p8-supply:
> - description:
> - 0.8V supply to a PHY.
> -
> - vdd-csiphy-1p2-supply:
> - description:
> - 1.2V supply to a PHY.
> -
> ports:
> $ref: /schemas/graph.yaml#/properties/ports
>
> @@ -166,13 +152,13 @@ required:
> - clock-names
> - interrupts
> - interrupt-names
> + - phys
> + - phy-names
> - interconnects
> - interconnect-names
> - iommus
> - power-domains
> - power-domain-names
> - - vdd-csiphy-0p8-supply
> - - vdd-csiphy-1p2-supply
> - ports
>
> additionalProperties: false
> @@ -199,10 +185,6 @@ examples:
> <0 0x0acbb000 0 0x2000>,
> <0 0x0acc6000 0 0x1000>,
> <0 0x0acca000 0 0x1000>,
> - <0 0x0ace4000 0 0x1000>,
> - <0 0x0ace6000 0 0x1000>,
> - <0 0x0ace8000 0 0x1000>,
> - <0 0x0acec000 0 0x4000>,
> <0 0x0acf6000 0 0x1000>,
> <0 0x0acf7000 0 0x1000>,
> <0 0x0acf8000 0 0x1000>,
> @@ -217,10 +199,6 @@ examples:
> "csid2",
> "csid_lite0",
> "csid_lite1",
> - "csiphy0",
> - "csiphy1",
> - "csiphy2",
> - "csiphy4",
> "csitpg0",
> "csitpg1",
> "csitpg2",
> @@ -240,14 +218,6 @@ examples:
> <&camcc CAM_CC_CPHY_RX_CLK_SRC>,
> <&camcc CAM_CC_CSID_CLK>,
> <&camcc CAM_CC_CSID_CSIPHY_RX_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_CSIPHY4_CLK>,
> - <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
> <&gcc GCC_CAMERA_HF_AXI_CLK>,
> <&gcc GCC_CAMERA_SF_AXI_CLK>,
> <&camcc CAM_CC_IFE_0_CLK>,
> @@ -270,14 +240,6 @@ examples:
> "cphy_rx_clk_src",
> "csid",
> "csid_csiphy_rx",
> - "csiphy0",
> - "csiphy0_timer",
> - "csiphy1",
> - "csiphy1_timer",
> - "csiphy2",
> - "csiphy2_timer",
> - "csiphy4",
> - "csiphy4_timer",
> "gcc_axi_hf",
> "gcc_axi_sf",
> "vfe0",
> @@ -294,10 +256,6 @@ examples:
> <GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
> <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
> <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
> - <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
> - <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
> - <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
> - <GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
> <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
> <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
> <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
> @@ -308,15 +266,16 @@ examples:
> "csid2",
> "csid_lite0",
> "csid_lite1",
> - "csiphy0",
> - "csiphy1",
> - "csiphy2",
> - "csiphy4",
> "vfe0",
> "vfe1",
> "vfe_lite0",
> "vfe_lite1";
>
> + phys = <&csiphy0>, <&csiphy1>,
> + <&csiphy2>, <&csiphy4>;
> + phy-names = "csiphy0", "csiphy1",
> + "csiphy2", "csiphy4";
> +
> 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
> @@ -348,9 +307,6 @@ examples:
> "ife1",
> "top";
>
> - vdd-csiphy-0p8-supply = <&csiphy_0p8_supply>;
> - vdd-csiphy-1p2-supply = <&csiphy_1p2_supply>;
> -
> ports {
> #address-cells = <1>;
> #size-cells = <0>;
next prev parent reply other threads:[~2026-02-27 22:01 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 15:11 [PATCH v8 00/18] Add dt-bindings and dtsi changes for CAMSS on x1e80100 silicon Bryan O'Donoghue
2026-02-25 15:11 ` [PATCH v8 01/18] dt-bindings: media: qcom,x1e80100-camss: Assign correct main register bank to first address Bryan O'Donoghue
2026-02-26 7:04 ` Krzysztof Kozlowski
2026-02-26 9:25 ` Bryan O'Donoghue
2026-02-26 9:32 ` Krzysztof Kozlowski
2026-02-26 9:35 ` Bryan O'Donoghue
2026-02-26 9:38 ` Krzysztof Kozlowski
2026-02-26 9:49 ` Bryan O'Donoghue
2026-02-27 22:01 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 02/18] dt-bindings: media: qcom,x1e80100-camss: Convert from inline PHY definitions to PHY handles Bryan O'Donoghue
2026-02-26 7:07 ` Krzysztof Kozlowski
2026-02-26 9:27 ` Bryan O'Donoghue
2026-02-26 9:33 ` Krzysztof Kozlowski
2026-02-26 9:40 ` Bryan O'Donoghue
2026-02-26 9:50 ` Krzysztof Kozlowski
2026-02-26 10:06 ` Bryan O'Donoghue
2026-02-27 7:24 ` Krzysztof Kozlowski
2026-02-27 8:48 ` Bryan O'Donoghue
2026-02-27 20:10 ` Dmitry Baryshkov
2026-02-27 21:49 ` Bryan O'Donoghue
2026-02-27 22:01 ` Christopher Obbard [this message]
2026-02-28 13:28 ` Krzysztof Kozlowski
2026-02-25 15:11 ` [PATCH v8 03/18] dt-bindings: media: qcom,x1e80100-camss: Add support for combo-mode endpoints Bryan O'Donoghue
2026-02-27 22:01 ` Christopher Obbard
2026-02-28 7:17 ` Dmitry Baryshkov
2026-03-04 4:38 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 04/18] dt-bindings: media: qcom,x1e80100-camss: Reduce iommus to five Bryan O'Donoghue
2026-02-26 7:08 ` Krzysztof Kozlowski
2026-02-27 22:02 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 05/18] media: qcom: camss: Add legacy_phy flag to SoC definition structures Bryan O'Donoghue
2026-02-27 22:02 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 06/18] media: qcom: camss: Add support for PHY API devices Bryan O'Donoghue
2026-02-27 22:03 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 07/18] media: qcom: camss: Drop legacy PHY descriptions from x1e Bryan O'Donoghue
2026-02-27 22:03 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 08/18] arm64: dts: qcom: x1e80100: Add CAMCC block definition Bryan O'Donoghue
2026-02-27 22:03 ` Christopher Obbard
2026-03-02 16:19 ` Konrad Dybcio
2026-03-03 5:56 ` Taniya Das
2026-03-03 10:05 ` Konrad Dybcio
2026-04-02 5:33 ` Taniya Das
2026-02-25 15:11 ` [PATCH v8 09/18] arm64: dts: qcom: x1e80100: Add CCI definitions Bryan O'Donoghue
2026-02-27 22:04 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 10/18] arm64: dts: qcom: x1e80100: Add MIPI CSI PHY nodes Bryan O'Donoghue
2026-02-26 7:11 ` Krzysztof Kozlowski
2026-02-26 9:30 ` Bryan O'Donoghue
2026-02-26 9:35 ` Krzysztof Kozlowski
2026-02-27 22:04 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 11/18] arm64: dts: qcom: x1e80100: Add CAMSS block definition Bryan O'Donoghue
2026-02-27 22:05 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 12/18] arm64: dts: qcom: x1e80100-crd: Add pm8010 CRD pmic,id=m regulators Bryan O'Donoghue
2026-02-27 22:05 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 13/18] arm64: dts: qcom: x1e80100-crd: Add ov08x40 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:06 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 14/18] arm64: dts: qcom: x1e80100-t14s: Add pm8010 camera PMIC with voltage levels for IR and RGB camera Bryan O'Donoghue
2026-02-25 15:11 ` [PATCH v8 15/18] arm64: dts: qcom: x1e80100-t14s: Add on ov02c10 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:08 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 16/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add pm8010 camera PMIC with voltage levels for IR and RGB camera Bryan O'Donoghue
2026-02-27 22:08 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 17/18] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add ov02c10 RGB sensor on CSIPHY4 Bryan O'Donoghue
2026-02-27 22:08 ` Christopher Obbard
2026-02-25 15:11 ` [PATCH v8 18/18] arm64: dts: qcom: x1e80100-dell-inspiron14-7441: Switch on CAMSS RGB sensor Bryan O'Donoghue
2026-02-27 22:09 ` Christopher Obbard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e6a277cfecc1fb94e1819944ce72e0a03ae0a9fe.camel@linaro.org \
--to=christopher.obbard@linaro.org \
--cc=andersson@kernel.org \
--cc=bod@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mturquette@baylibre.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=todor.too@gmail.com \
--cc=vladimir.zapolskiy@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®