* [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform
@ 2025-07-30 9:42 Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 1/5] dt-bindings: display/msm: Document the DPU for QCS8300 Yongxing Mou
` (4 more replies)
0 siblings, 5 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
This series introduces support to enable the Mobile Display Subsystem (MDSS)
, Display Processing Unit (DPU), DisplayPort controller for the Qualcomm
QCS8300 target. It includes the addition of the hardware catalog, compatible
string, and their YAML bindings.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
Changes in v5:Fixed review comments from Krzysztof, Dmitry.
- Rebase to next-20250717.
- Change DP compatible to qcs8300-dp due to add 4 streams support.
- Add QCS8300 UBWC config change due to rebase.
- Add 4 streams clk and phy in the mdss yaml.
- Link to v4: https://lore.kernel.org/r/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com
Changes in v4:Fixed review comments from Krzysztof, Dmitry.
- Use the common style for the dt-bindings commits.[Dmitry]
- Update the commits msg for the mdss binding patch, explain why they
reuse different platform drivers.[Krzysztof]
- Link to v3: https://lore.kernel.org/r/20250113-mdssdt_qcs8300-v3-0-6c8e93459600@quicinc.com
Changes in v3:Fixed review comments from Krzysztof, Dmitry.
- Fix the missing space issue in commit message.[Krzysztof]
- Separate the patch for the phy from this series.[Dmitry]
- Remove unused dependencies and update in the cover letter.[Dmitry][Krzysztof]
- Link to v2: https://lore.kernel.org/r/20241226-mdssdt_qcs8300-v2-0-acba0db533ce@quicinc.com
Changes in v2:Fixed review comments from Krzysztof, Dmitry, Rob.
- Decouple the devicetree changes from this series.[Dmitry][Krzysztof]
- Drop the dpu driver changes and reuse SA8775P DPU driver.[Dmitry]
- Fix compilation issues in MDSS bindings.[Rob][Krzysztof]
- Correct formatting errors and remove unnecessary status in MDSS
bindings.[Krzysztof]
- Add the the necessary information in MDSS changes commit msg.[Dmitry]
- Rebase MDSS driver changes to https://lore.kernel.org/dri-devel/
20241127-msm-mdss-ubwc-v3-0-9782a7c2b023@linaro.org/.[Dmitry]
- Package the DisplayPort controller and eDP PHY bindings document to
this patch series.
- Collecting MDSS changes reviewd-by Dmitry.
- Reuse the sa8775p eDP PHY as a fallback compat.[Dmitry]
- Reuse the sm8650 DP controller as a fallback compat.[Dmitry]
- Link to v1: https://lore.kernel.org/r/20241127-mdss_qcs8300-v1-0-29b2c3ee95b8@quicinc.com
---
This series depend on 4 pixel streams dt-binding series:
https://lore.kernel.org/all/20250717-dp_mst_bindings-v3-0-72ce08285703@oss.qualcomm.com/
and separate eDP PHY binding:
https://lore.kernel.org/all/20250730072725.1433360-1-quic_yongmou@quicinc.com/~
---
Yongxing Mou (5):
dt-bindings: display/msm: Document the DPU for QCS8300
dt-bindings: display/msm: dp-controller: document QCS8300 compatible
dt-bindings: display/msm: Document MDSS on QCS8300
drm/msm: mdss: Add QCS8300 support
soc: qcom: ubwc: Add QCS8300 UBWC cfg
.../bindings/display/msm/dp-controller.yaml | 2 +
.../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
.../bindings/display/msm/qcom,sm8650-dpu.yaml | 15 +-
drivers/gpu/drm/msm/msm_mdss.c | 1 +
drivers/soc/qcom/ubwc_config.c | 11 +
5 files changed, 308 insertions(+), 5 deletions(-)
---
base-commit: 024e09e444bd2b06aee9d1f3fe7b313c7a2df1bb
change-id: 20241224-mdssdt_qcs8300-11b7883dc60b
prerequisite-message-id: <20250717-dp_mst_bindings-v3-0-72ce08285703@oss.qualcomm.com>
prerequisite-patch-id: 4782272bb7d2403e2f2dbf762586d4570e6b6ba6
prerequisite-patch-id: cfdd5c37d38b2a4f1386af4021ba3920c6d8dcf8
prerequisite-patch-id: c874bf64aec8cb2ff0bc91051620ac771cbeeeea
prerequisite-patch-id: 63defbfb812a2f9c6365a98538421aea374e0e13
prerequisite-patch-id: 0ffa9d544d516d4e14700229a4ab6a9c7751823f
Best regards,
--
Yongxing Mou <quic_yongmou@quicinc.com>
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH v5 1/5] dt-bindings: display/msm: Document the DPU for QCS8300
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
@ 2025-07-30 9:42 ` Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible Yongxing Mou
` (3 subsequent siblings)
4 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Document the DPU for Qualcomm QCS8300 platform. It use the same DPU
hardware with SA8775P and reuse it's driver.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
.../devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
index 0a46120dd8680371ed031f7773859716f49c3aa1..d9b980a897229860dae76f25bd947405e3910925 100644
--- a/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
+++ b/Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml
@@ -13,11 +13,16 @@ $ref: /schemas/display/msm/dpu-common.yaml#
properties:
compatible:
- enum:
- - qcom,sa8775p-dpu
- - qcom,sm8650-dpu
- - qcom,sm8750-dpu
- - qcom,x1e80100-dpu
+ oneOf:
+ - enum:
+ - qcom,sa8775p-dpu
+ - qcom,sm8650-dpu
+ - qcom,sm8750-dpu
+ - qcom,x1e80100-dpu
+ - items:
+ - enum:
+ - qcom,qcs8300-dpu
+ - const: qcom,sa8775p-dpu
reg:
items:
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 1/5] dt-bindings: display/msm: Document the DPU for QCS8300 Yongxing Mou
@ 2025-07-30 9:42 ` Yongxing Mou
2025-07-30 18:04 ` Dmitry Baryshkov
2025-07-30 9:42 ` [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
` (2 subsequent siblings)
4 siblings, 1 reply; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Add compatible string for the DisplayPort controller found on the
Qualcomm QCS8300 SoC, which uses the same DPU as the SA8775P. While
DP0 supports 4 MST streams, DP1 has been removed at the silicon level,
so SA8775P/SM8650 cannot be used as fallback compatibles.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index 2893f097df826a5f941fbb754fb4a96a1e410a70..f5930f29c91ec95e9182c7b8ee83c0549c6657cc 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -18,6 +18,7 @@ properties:
compatible:
oneOf:
- enum:
+ - qcom,qcs8300-dp
- qcom,sa8775p-dp
- qcom,sc7180-dp
- qcom,sc7280-dp
@@ -186,6 +187,7 @@ allOf:
compatible:
contains:
enum:
+ - qcom,qcs8300-dp
- qcom,sa8775p-dp
- qcom,sc7280-dp
- qcom,sc8180x-dp
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 1/5] dt-bindings: display/msm: Document the DPU for QCS8300 Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible Yongxing Mou
@ 2025-07-30 9:42 ` Yongxing Mou
2025-07-30 20:31 ` Rob Herring (Arm)
2025-08-02 9:56 ` Dmitry Baryshkov
2025-07-30 9:42 ` [PATCH v5 4/5] drm/msm: mdss: Add QCS8300 support Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg Yongxing Mou
4 siblings, 2 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Document the MDSS hardware found on the Qualcomm QCS8300 platform.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
.../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
1 file changed, 284 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..ae4bc16395326bffd6c9eff92778d9f207209526
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
@@ -0,0 +1,284 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Technologies, Inc. QCS8300 Display MDSS
+
+maintainers:
+ - Yongxing Mou <quic_yongmou@quicinc.com>
+
+description:
+ QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
+ DPU display controller, DP interfaces and EDP etc.
+
+$ref: /schemas/display/msm/mdss-common.yaml#
+
+properties:
+ compatible:
+ const: qcom,qcs8300-mdss
+
+ clocks:
+ items:
+ - description: Display AHB
+ - description: Display hf AXI
+ - description: Display core
+
+ iommus:
+ maxItems: 1
+
+ interconnects:
+ maxItems: 3
+
+ interconnect-names:
+ maxItems: 3
+
+patternProperties:
+ "^display-controller@[0-9a-f]+$":
+ type: object
+ additionalProperties: true
+
+ properties:
+ compatible:
+ items:
+ - const: qcom,qcs8300-dpu
+ - const: qcom,sa8775p-dpu
+
+ "^displayport-controller@[0-9a-f]+$":
+ type: object
+ additionalProperties: true
+
+ properties:
+ compatible:
+ items:
+ - const: qcom,qcs8300-dp
+
+ "^phy@[0-9a-f]+$":
+ type: object
+ additionalProperties: true
+ properties:
+ compatible:
+ items:
+ - const: qcom,qcs8300-edp-phy
+ - const: qcom,sa8775p-edp-phy
+
+required:
+ - compatible
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interconnect/qcom,icc.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/qcom,qcs8300-gcc.h>
+ #include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
+ #include <dt-bindings/interconnect/qcom,qcs8300-rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
+ #include <dt-bindings/power/qcom-rpmpd.h>
+
+ mdss: display-subsystem@ae00000 {
+ compatible = "qcom,qcs8300-mdss";
+ reg = <0x0ae00000 0x1000>;
+ reg-names = "mdss";
+
+ interconnects = <&mmss_noc MASTER_MDP0 QCOM_ICC_TAG_ACTIVE_ONLY
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>,
+ <&mmss_noc MASTER_MDP1 QCOM_ICC_TAG_ACTIVE_ONLY
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>,
+ <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+ &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
+ interconnect-names = "mdp0-mem",
+ "mdp1-mem",
+ "cpu-cfg";
+
+ resets = <&dispcc_core_bcr>;
+ power-domains = <&dispcc_gdsc>;
+
+ clocks = <&dispcc_ahb_clk>,
+ <&gcc GCC_DISP_HF_AXI_CLK>,
+ <&dispcc_mdp_clk>;
+
+ interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+
+ iommus = <&apps_smmu 0x1000 0x402>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ display-controller@ae01000 {
+ compatible = "qcom,qcs8300-dpu", "qcom,sa8775p-dpu";
+ reg = <0x0ae01000 0x8f000>,
+ <0x0aeb0000 0x2008>;
+ reg-names = "mdp", "vbif";
+
+ clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_MDP_LUT_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_MDP_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
+ clock-names = "nrt_bus",
+ "iface",
+ "lut",
+ "core",
+ "vsync";
+
+ assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_VSYNC_CLK>;
+ assigned-clock-rates = <19200000>;
+ operating-points-v2 = <&mdp_opp_table>;
+ power-domains = <&rpmhpd RPMHPD_MMCX>;
+
+ interrupt-parent = <&mdss>;
+ interrupts = <0>;
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+
+ dpu_intf0_out: endpoint {
+ remote-endpoint = <&mdss_dp0_in>;
+ };
+ };
+ };
+
+ mdp_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-375000000 {
+ opp-hz = /bits/ 64 <375000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>;
+ };
+
+ opp-500000000 {
+ opp-hz = /bits/ 64 <500000000>;
+ required-opps = <&rpmhpd_opp_nom>;
+ };
+
+ opp-575000000 {
+ opp-hz = /bits/ 64 <575000000>;
+ required-opps = <&rpmhpd_opp_turbo>;
+ };
+
+ opp-650000000 {
+ opp-hz = /bits/ 64 <650000000>;
+ required-opps = <&rpmhpd_opp_turbo_l1>;
+ };
+ };
+ };
+
+ mdss_dp0_phy: phy@aec2a00 {
+ compatible = "qcom,qcs8300-edp-phy", "qcom,sa8775p-edp-phy";
+
+ reg = <0x0aec2a00 0x200>,
+ <0x0aec2200 0xd0>,
+ <0x0aec2600 0xd0>,
+ <0x0aec2000 0x1c8>;
+
+ clocks = <&dispcc MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
+ <&dispcc MDSS_DISP_CC_MDSS_AHB_CLK>;
+ clock-names = "aux",
+ "cfg_ahb";
+
+ #clock-cells = <1>;
+ #phy-cells = <0>;
+
+ vdda-phy-supply = <&vreg_l1c>;
+ vdda-pll-supply = <&vreg_l4a>;
+ };
+
+ displayport-controller@af54000 {
+ compatible = "qcom,qcs8300-dp";
+
+ pinctrl-0 = <&dp_hot_plug_det>;
+ pinctrl-names = "default";
+
+ reg = <0xaf54000 0x104>,
+ <0xaf54200 0x0c0>,
+ <0xaf55000 0x770>,
+ <0xaf56000 0x09c>,
+ <0xaf57000 0x09c>;
+
+ interrupt-parent = <&mdss>;
+ interrupts = <12>;
+ clocks = <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK>;
+ clock-names = "core_iface",
+ "core_aux",
+ "ctrl_link",
+ "ctrl_link_iface",
+ "stream_pixel",
+ "stream_1_pixel",
+ "stream_2_pixel",
+ "stream_3_pixel";
+ assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL2_CLK_SRC>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL3_CLK_SRC>;
+ assigned-clock-parents = <&mdss_dp0_phy 0>,
+ <&mdss_dp0_phy 1>,
+ <&mdss_dp0_phy 1>,
+ <&mdss_dp0_phy 1>;
+ phys = <&mdss_dp0_phy>;
+ phy-names = "dp";
+ operating-points-v2 = <&dp_opp_table>;
+ power-domains = <&rpmhpd RPMHPD_MMCX>;
+
+ #sound-dai-cells = <0>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ mdss_dp0_in: endpoint {
+ remote-endpoint = <&dpu_intf0_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ mdss_dp_out: endpoint { };
+ };
+ };
+
+ dp_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-160000000 {
+ opp-hz = /bits/ 64 <160000000>;
+ required-opps = <&rpmhpd_opp_low_svs>;
+ };
+
+ opp-270000000 {
+ opp-hz = /bits/ 64 <270000000>;
+ required-opps = <&rpmhpd_opp_svs>;
+ };
+
+ opp-540000000 {
+ opp-hz = /bits/ 64 <540000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>;
+ };
+
+ opp-810000000 {
+ opp-hz = /bits/ 64 <810000000>;
+ required-opps = <&rpmhpd_opp_nom>;
+ };
+ };
+ };
+ };
+...
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 4/5] drm/msm: mdss: Add QCS8300 support
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
` (2 preceding siblings ...)
2025-07-30 9:42 ` [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
@ 2025-07-30 9:42 ` Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg Yongxing Mou
4 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Add Mobile Display Subsystem (MDSS) support for the QCS8300 platform.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
drivers/gpu/drm/msm/msm_mdss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
index 1f5fe7811e016909282087176a42a2349b21c9c4..d77b4dcb6d798f9f0598c64a593f0bbebe85e831 100644
--- a/drivers/gpu/drm/msm/msm_mdss.c
+++ b/drivers/gpu/drm/msm/msm_mdss.c
@@ -556,6 +556,7 @@ static const struct of_device_id mdss_dt_match[] = {
{ .compatible = "qcom,mdss", .data = &data_153k6 },
{ .compatible = "qcom,msm8998-mdss", .data = &data_76k8 },
{ .compatible = "qcom,qcm2290-mdss", .data = &data_76k8 },
+ { .compatible = "qcom,qcs8300-mdss", .data = &data_74k },
{ .compatible = "qcom,sa8775p-mdss", .data = &data_74k },
{ .compatible = "qcom,sar2130p-mdss", .data = &data_74k },
{ .compatible = "qcom,sdm670-mdss", .data = &data_76k8 },
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
` (3 preceding siblings ...)
2025-07-30 9:42 ` [PATCH v5 4/5] drm/msm: mdss: Add QCS8300 support Yongxing Mou
@ 2025-07-30 9:42 ` Yongxing Mou
2025-07-30 10:16 ` Konrad Dybcio
4 siblings, 1 reply; 18+ messages in thread
From: Yongxing Mou @ 2025-07-30 9:42 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
The QCS8300 adopts UBWC 4.0, consistent with SA8775P, add 4 channels LP5
configuration data according to the specification.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
drivers/soc/qcom/ubwc_config.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/soc/qcom/ubwc_config.c b/drivers/soc/qcom/ubwc_config.c
index bd0a98aad9f3b222abcf0a7af85a318caffa9841..389fb871018b65987295db60571c063b4d984d70 100644
--- a/drivers/soc/qcom/ubwc_config.c
+++ b/drivers/soc/qcom/ubwc_config.c
@@ -35,6 +35,16 @@ static const struct qcom_ubwc_cfg_data qcm2290_data = {
.highest_bank_bit = 15,
};
+static const struct qcom_ubwc_cfg_data qcs8300_data = {
+ .ubwc_enc_version = UBWC_4_0,
+ .ubwc_dec_version = UBWC_4_0,
+ .ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
+ UBWC_SWIZZLE_ENABLE_LVL3,
+ .ubwc_bank_spread = true,
+ .highest_bank_bit = 16,
+ .macrotile_mode = true,
+};
+
static const struct qcom_ubwc_cfg_data sa8775p_data = {
.ubwc_enc_version = UBWC_4_0,
.ubwc_dec_version = UBWC_4_0,
@@ -225,6 +235,7 @@ static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
{ .compatible = "qcom,msm8998", .data = &msm8998_data },
{ .compatible = "qcom,qcm2290", .data = &qcm2290_data, },
{ .compatible = "qcom,qcm6490", .data = &sc7280_data, },
+ { .compatible = "qcom,qcs8300", .data = &qcs8300_data, },
{ .compatible = "qcom,sa8155p", .data = &sm8150_data, },
{ .compatible = "qcom,sa8540p", .data = &sc8280xp_data, },
{ .compatible = "qcom,sa8775p", .data = &sa8775p_data, },
--
2.34.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg
2025-07-30 9:42 ` [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg Yongxing Mou
@ 2025-07-30 10:16 ` Konrad Dybcio
2025-08-01 2:50 ` Yongxing Mou
0 siblings, 1 reply; 18+ messages in thread
From: Konrad Dybcio @ 2025-07-30 10:16 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
Jessica Zhang, Sean Paul, Marijn Suijten, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 7/30/25 11:42 AM, Yongxing Mou wrote:
> The QCS8300 adopts UBWC 4.0, consistent with SA8775P, add 4 channels LP5
> configuration data according to the specification.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> drivers/soc/qcom/ubwc_config.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/soc/qcom/ubwc_config.c b/drivers/soc/qcom/ubwc_config.c
> index bd0a98aad9f3b222abcf0a7af85a318caffa9841..389fb871018b65987295db60571c063b4d984d70 100644
> --- a/drivers/soc/qcom/ubwc_config.c
> +++ b/drivers/soc/qcom/ubwc_config.c
> @@ -35,6 +35,16 @@ static const struct qcom_ubwc_cfg_data qcm2290_data = {
> .highest_bank_bit = 15,
> };
>
> +static const struct qcom_ubwc_cfg_data qcs8300_data = {
> + .ubwc_enc_version = UBWC_4_0,
> + .ubwc_dec_version = UBWC_4_0,
> + .ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
> + UBWC_SWIZZLE_ENABLE_LVL3,
> + .ubwc_bank_spread = true,
> + .highest_bank_bit = 16,
> + .macrotile_mode = true,
> +};
> +
> static const struct qcom_ubwc_cfg_data sa8775p_data = {
> .ubwc_enc_version = UBWC_4_0,
> .ubwc_dec_version = UBWC_4_0,
> @@ -225,6 +235,7 @@ static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
> { .compatible = "qcom,msm8998", .data = &msm8998_data },
> { .compatible = "qcom,qcm2290", .data = &qcm2290_data, },
> { .compatible = "qcom,qcm6490", .data = &sc7280_data, },
> + { .compatible = "qcom,qcs8300", .data = &qcs8300_data, },
You can just pass &sc8280xp_data instead, they're equivalent
Konrad
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible
2025-07-30 9:42 ` [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible Yongxing Mou
@ 2025-07-30 18:04 ` Dmitry Baryshkov
2025-08-01 2:45 ` Yongxing Mou
0 siblings, 1 reply; 18+ messages in thread
From: Dmitry Baryshkov @ 2025-07-30 18:04 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On Wed, Jul 30, 2025 at 05:42:27PM +0800, Yongxing Mou wrote:
> Add compatible string for the DisplayPort controller found on the
> Qualcomm QCS8300 SoC, which uses the same DPU as the SA8775P. While
> DP0 supports 4 MST streams, DP1 has been removed at the silicon level,
> so SA8775P/SM8650 cannot be used as fallback compatibles.
"It uses the same DPU as SA8775P, but we can not use SA8775P's DP
compatible". There is some logic issue there. Please rewrite to speak
only about DP.
Moreover, removing of DP1 should not affect DP0 being compatible or
incompatible with other platforms.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> index 2893f097df826a5f941fbb754fb4a96a1e410a70..f5930f29c91ec95e9182c7b8ee83c0549c6657cc 100644
> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> @@ -18,6 +18,7 @@ properties:
> compatible:
> oneOf:
> - enum:
> + - qcom,qcs8300-dp
> - qcom,sa8775p-dp
> - qcom,sc7180-dp
> - qcom,sc7280-dp
> @@ -186,6 +187,7 @@ allOf:
> compatible:
> contains:
> enum:
> + - qcom,qcs8300-dp
> - qcom,sa8775p-dp
> - qcom,sc7280-dp
> - qcom,sc8180x-dp
>
> --
> 2.34.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-07-30 9:42 ` [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
@ 2025-07-30 20:31 ` Rob Herring (Arm)
2025-08-04 4:00 ` Yongxing Mou
2025-08-02 9:56 ` Dmitry Baryshkov
1 sibling, 1 reply; 18+ messages in thread
From: Rob Herring (Arm) @ 2025-07-30 20:31 UTC (permalink / raw)
To: Yongxing Mou
Cc: linux-arm-msm, Kuogee Hsieh, Conor Dooley, devicetree,
Maarten Lankhorst, Rob Clark, Sean Paul, Thomas Zimmermann,
Jessica Zhang, Konrad Dybcio, Marijn Suijten, freedreno,
Abhinav Kumar, linux-kernel, Krzysztof Kozlowski,
Dmitry Baryshkov, Neil Armstrong, dri-devel, Simona Vetter,
Maxime Ripard, Bjorn Andersson, David Airlie
On Wed, 30 Jul 2025 17:42:28 +0800, Yongxing Mou wrote:
> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
> 1 file changed, 284 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible:0: 'qcom,qcs8300-edp-phy' is not one of ['qcom,sa8775p-edp-phy', 'qcom,sc7280-edp-phy', 'qcom,sc8180x-edp-phy', 'qcom,sc8280xp-dp-phy', 'qcom,sc8280xp-edp-phy', 'qcom,x1e80100-dp-phy']
from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible: ['qcom,qcs8300-edp-phy', 'qcom,sa8775p-edp-phy'] is too long
from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250730-mdssdt_qcs8300-v5-3-bc8ea35bbed6@quicinc.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible
2025-07-30 18:04 ` Dmitry Baryshkov
@ 2025-08-01 2:45 ` Yongxing Mou
0 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-08-01 2:45 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On 2025/7/31 2:04, Dmitry Baryshkov wrote:
> On Wed, Jul 30, 2025 at 05:42:27PM +0800, Yongxing Mou wrote:
>> Add compatible string for the DisplayPort controller found on the
>> Qualcomm QCS8300 SoC, which uses the same DPU as the SA8775P. While
>> DP0 supports 4 MST streams, DP1 has been removed at the silicon level,
>> so SA8775P/SM8650 cannot be used as fallback compatibles.
>
> "It uses the same DPU as SA8775P, but we can not use SA8775P's DP
> compatible". There is some logic issue there. Please rewrite to speak
> only about DP.
>
> Moreover, removing of DP1 should not affect DP0 being compatible or
> incompatible with other platforms.
>
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>> index 2893f097df826a5f941fbb754fb4a96a1e410a70..f5930f29c91ec95e9182c7b8ee83c0549c6657cc 100644
>> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>> @@ -18,6 +18,7 @@ properties:
>> compatible:
>> oneOf:
>> - enum:
>> + - qcom,qcs8300-dp
>> - qcom,sa8775p-dp
>> - qcom,sc7180-dp
>> - qcom,sc7280-dp
>> @@ -186,6 +187,7 @@ allOf:
>> compatible:
>> contains:
>> enum:
>> + - qcom,qcs8300-dp
>> - qcom,sa8775p-dp
>> - qcom,sc7280-dp
>> - qcom,sc8180x-dp
>>
>> --
>> 2.34.1
>>
>
Okay, will update it in next version. thanks~
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg
2025-07-30 10:16 ` Konrad Dybcio
@ 2025-08-01 2:50 ` Yongxing Mou
0 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-08-01 2:50 UTC (permalink / raw)
To: Konrad Dybcio, Rob Clark, Dmitry Baryshkov, Abhinav Kumar,
Jessica Zhang, Sean Paul, Marijn Suijten, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/7/30 18:16, Konrad Dybcio wrote:
> On 7/30/25 11:42 AM, Yongxing Mou wrote:
>> The QCS8300 adopts UBWC 4.0, consistent with SA8775P, add 4 channels LP5
>> configuration data according to the specification.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> drivers/soc/qcom/ubwc_config.c | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/drivers/soc/qcom/ubwc_config.c b/drivers/soc/qcom/ubwc_config.c
>> index bd0a98aad9f3b222abcf0a7af85a318caffa9841..389fb871018b65987295db60571c063b4d984d70 100644
>> --- a/drivers/soc/qcom/ubwc_config.c
>> +++ b/drivers/soc/qcom/ubwc_config.c
>> @@ -35,6 +35,16 @@ static const struct qcom_ubwc_cfg_data qcm2290_data = {
>> .highest_bank_bit = 15,
>> };
>>
>> +static const struct qcom_ubwc_cfg_data qcs8300_data = {
>> + .ubwc_enc_version = UBWC_4_0,
>> + .ubwc_dec_version = UBWC_4_0,
>> + .ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
>> + UBWC_SWIZZLE_ENABLE_LVL3,
>> + .ubwc_bank_spread = true,
>> + .highest_bank_bit = 16,
>> + .macrotile_mode = true,
>> +};
>> +
>> static const struct qcom_ubwc_cfg_data sa8775p_data = {
>> .ubwc_enc_version = UBWC_4_0,
>> .ubwc_dec_version = UBWC_4_0,
>> @@ -225,6 +235,7 @@ static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
>> { .compatible = "qcom,msm8998", .data = &msm8998_data },
>> { .compatible = "qcom,qcm2290", .data = &qcm2290_data, },
>> { .compatible = "qcom,qcm6490", .data = &sc7280_data, },
>> + { .compatible = "qcom,qcs8300", .data = &qcs8300_data, },
>
> You can just pass &sc8280xp_data instead, they're equivalent
>
> Konrad
Acked. Thanks.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-07-30 9:42 ` [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
2025-07-30 20:31 ` Rob Herring (Arm)
@ 2025-08-02 9:56 ` Dmitry Baryshkov
2025-08-04 4:31 ` Yongxing Mou
1 sibling, 1 reply; 18+ messages in thread
From: Dmitry Baryshkov @ 2025-08-02 9:56 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On Wed, Jul 30, 2025 at 05:42:28PM +0800, Yongxing Mou wrote:
> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
> 1 file changed, 284 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..ae4bc16395326bffd6c9eff92778d9f207209526
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
> @@ -0,0 +1,284 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Technologies, Inc. QCS8300 Display MDSS
> +
> +maintainers:
> + - Yongxing Mou <quic_yongmou@quicinc.com>
> +
> +description:
> + QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
> + DPU display controller, DP interfaces and EDP etc.
> +
> +$ref: /schemas/display/msm/mdss-common.yaml#
> +
> +properties:
> + compatible:
> + const: qcom,qcs8300-mdss
> +
> + clocks:
> + items:
> + - description: Display AHB
> + - description: Display hf AXI
> + - description: Display core
> +
> + iommus:
> + maxItems: 1
> +
> + interconnects:
> + maxItems: 3
> +
> + interconnect-names:
> + maxItems: 3
> +
> +patternProperties:
> + "^display-controller@[0-9a-f]+$":
> + type: object
> + additionalProperties: true
> +
> + properties:
> + compatible:
> + items:
> + - const: qcom,qcs8300-dpu
> + - const: qcom,sa8775p-dpu
Use contains: instead of listing both of them
> +
> + "^displayport-controller@[0-9a-f]+$":
> + type: object
> + additionalProperties: true
> +
> + properties:
> + compatible:
> + items:
> + - const: qcom,qcs8300-dp
> +
> + "^phy@[0-9a-f]+$":
> + type: object
> + additionalProperties: true
> + properties:
> + compatible:
> + items:
> + - const: qcom,qcs8300-edp-phy
> + - const: qcom,sa8775p-edp-phy
Use contains: instead of listing both of them
> +
> +required:
> + - compatible
> +
> +unevaluatedProperties: false
> +
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-07-30 20:31 ` Rob Herring (Arm)
@ 2025-08-04 4:00 ` Yongxing Mou
2025-08-04 4:49 ` Dmitry Baryshkov
0 siblings, 1 reply; 18+ messages in thread
From: Yongxing Mou @ 2025-08-04 4:00 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: linux-arm-msm, Kuogee Hsieh, Conor Dooley, devicetree,
Maarten Lankhorst, Rob Clark, Sean Paul, Thomas Zimmermann,
Jessica Zhang, Konrad Dybcio, Marijn Suijten, freedreno,
Abhinav Kumar, linux-kernel, Krzysztof Kozlowski,
Dmitry Baryshkov, Neil Armstrong, dri-devel, Simona Vetter,
Maxime Ripard, Bjorn Andersson, David Airlie
On 2025/7/31 4:31, Rob Herring (Arm) wrote:
> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
>
> On Wed, 30 Jul 2025 17:42:28 +0800, Yongxing Mou wrote:
>> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
>> 1 file changed, 284 insertions(+)
>>
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible:0: 'qcom,qcs8300-edp-phy' is not one of ['qcom,sa8775p-edp-phy', 'qcom,sc7280-edp-phy', 'qcom,sc8180x-edp-phy', 'qcom,sc8280xp-dp-phy', 'qcom,sc8280xp-edp-phy', 'qcom,x1e80100-dp-phy']
> from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible: ['qcom,qcs8300-edp-phy', 'qcom,sa8775p-edp-phy'] is too long
> from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
>
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250730-mdssdt_qcs8300-v5-3-bc8ea35bbed6@quicinc.com
>
> The base for the series is generally the latest rc1. A different dependency
> should be noted in *this* patch.
>
> If you already ran 'make dt_binding_check' and didn't see the above
> error(s), then make sure 'yamllint' is installed and dt-schema is up to
> date:
>
> pip3 install dtschema --upgrade
>
> Please check and re-submit after running the above command yourself. Note
> that DT_SCHEMA_FILES can be set to your schema file to speed up checking
> your schema. However, it must be unset to test all examples with your schema.
>
This warning need to apply this patch..
https://lore.kernel.org/all/20250730072725.1433360-1-quic_yongmou@quicinc.com/
thanks, link in the cover-letter seem wrong. and there is an unnecessary ~
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-08-02 9:56 ` Dmitry Baryshkov
@ 2025-08-04 4:31 ` Yongxing Mou
2025-08-04 4:52 ` Dmitry Baryshkov
0 siblings, 1 reply; 18+ messages in thread
From: Yongxing Mou @ 2025-08-04 4:31 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On 2025/8/2 17:56, Dmitry Baryshkov wrote:
> On Wed, Jul 30, 2025 at 05:42:28PM +0800, Yongxing Mou wrote:
>> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
>> 1 file changed, 284 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..ae4bc16395326bffd6c9eff92778d9f207209526
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
>> @@ -0,0 +1,284 @@
>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Qualcomm Technologies, Inc. QCS8300 Display MDSS
>> +
>> +maintainers:
>> + - Yongxing Mou <quic_yongmou@quicinc.com>
>> +
>> +description:
>> + QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
>> + DPU display controller, DP interfaces and EDP etc.
>> +
>> +$ref: /schemas/display/msm/mdss-common.yaml#
>> +
>> +properties:
>> + compatible:
>> + const: qcom,qcs8300-mdss
>> +
>> + clocks:
>> + items:
>> + - description: Display AHB
>> + - description: Display hf AXI
>> + - description: Display core
>> +
>> + iommus:
>> + maxItems: 1
>> +
>> + interconnects:
>> + maxItems: 3
>> +
>> + interconnect-names:
>> + maxItems: 3
>> +
>> +patternProperties:
>> + "^display-controller@[0-9a-f]+$":
>> + type: object
>> + additionalProperties: true
>> +
>> + properties:
>> + compatible:
>> + items:
>> + - const: qcom,qcs8300-dpu
>> + - const: qcom,sa8775p-dpu
>
> Use contains: instead of listing both of them
>
Got it, thanks~ here we want to fallback qcs8300 to sa8775p.
Should we update it to :
+ contains:
+ enum:
+ - qcom,qcs8300-dpu
+ - qcom,sa8775p-dpu
above method can be validated using dt_binding_check.
>> +
>> + "^displayport-controller@[0-9a-f]+$":
>> + type: object
>> + additionalProperties: true
>> +
>> + properties:
>> + compatible:
>> + items:
>> + - const: qcom,qcs8300-dp
>> +
>> + "^phy@[0-9a-f]+$":
>> + type: object
>> + additionalProperties: true
>> + properties:
>> + compatible:
>> + items:
>> + - const: qcom,qcs8300-edp-phy
>> + - const: qcom,sa8775p-edp-phy
>
> Use contains: instead of listing both of them
>
Same as above
>> +
>> +required:
>> + - compatible
>> +
>> +unevaluatedProperties: false
>> +
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-08-04 4:00 ` Yongxing Mou
@ 2025-08-04 4:49 ` Dmitry Baryshkov
2025-08-04 6:10 ` Yongxing Mou
0 siblings, 1 reply; 18+ messages in thread
From: Dmitry Baryshkov @ 2025-08-04 4:49 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Herring (Arm), linux-arm-msm, Kuogee Hsieh, Conor Dooley,
devicetree, Maarten Lankhorst, Rob Clark, Sean Paul,
Thomas Zimmermann, Jessica Zhang, Konrad Dybcio, Marijn Suijten,
freedreno, Abhinav Kumar, linux-kernel, Krzysztof Kozlowski,
Dmitry Baryshkov, Neil Armstrong, dri-devel, Simona Vetter,
Maxime Ripard, Bjorn Andersson, David Airlie
On Mon, Aug 04, 2025 at 12:00:39PM +0800, Yongxing Mou wrote:
>
>
> On 2025/7/31 4:31, Rob Herring (Arm) wrote:
> > WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
> >
> > On Wed, 30 Jul 2025 17:42:28 +0800, Yongxing Mou wrote:
> > > Document the MDSS hardware found on the Qualcomm QCS8300 platform.
> > >
> > > Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> > > ---
> > > .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
> > > 1 file changed, 284 insertions(+)
> > >
> >
> > My bot found errors running 'make dt_binding_check' on your patch:
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible:0: 'qcom,qcs8300-edp-phy' is not one of ['qcom,sa8775p-edp-phy', 'qcom,sc7280-edp-phy', 'qcom,sc8180x-edp-phy', 'qcom,sc8280xp-dp-phy', 'qcom,sc8280xp-edp-phy', 'qcom,x1e80100-dp-phy']
> > from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
> > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible: ['qcom,qcs8300-edp-phy', 'qcom,sa8775p-edp-phy'] is too long
> > from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
> >
> > doc reference errors (make refcheckdocs):
> >
> > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250730-mdssdt_qcs8300-v5-3-bc8ea35bbed6@quicinc.com
> >
> > The base for the series is generally the latest rc1. A different dependency
> > should be noted in *this* patch.
> >
> > If you already ran 'make dt_binding_check' and didn't see the above
> > error(s), then make sure 'yamllint' is installed and dt-schema is up to
> > date:
> >
> > pip3 install dtschema --upgrade
> >
> > Please check and re-submit after running the above command yourself. Note
> > that DT_SCHEMA_FILES can be set to your schema file to speed up checking
> > your schema. However, it must be unset to test all examples with your schema.
> >
> This warning need to apply this patch..
> https://lore.kernel.org/all/20250730072725.1433360-1-quic_yongmou@quicinc.com/
> thanks, link in the cover-letter seem wrong. and there is an unnecessary ~
It's not listed in b4 dependencies.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-08-04 4:31 ` Yongxing Mou
@ 2025-08-04 4:52 ` Dmitry Baryshkov
2025-08-04 6:11 ` Yongxing Mou
0 siblings, 1 reply; 18+ messages in thread
From: Dmitry Baryshkov @ 2025-08-04 4:52 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On Mon, Aug 04, 2025 at 12:31:31PM +0800, Yongxing Mou wrote:
>
>
> On 2025/8/2 17:56, Dmitry Baryshkov wrote:
> > On Wed, Jul 30, 2025 at 05:42:28PM +0800, Yongxing Mou wrote:
> > > Document the MDSS hardware found on the Qualcomm QCS8300 platform.
> > >
> > > Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> > > ---
> > > .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
> > > 1 file changed, 284 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
> > > new file mode 100644
> > > index 0000000000000000000000000000000000000000..ae4bc16395326bffd6c9eff92778d9f207209526
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
> > > @@ -0,0 +1,284 @@
> > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> > > +%YAML 1.2
> > > +---
> > > +$id: http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#
> > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > +
> > > +title: Qualcomm Technologies, Inc. QCS8300 Display MDSS
> > > +
> > > +maintainers:
> > > + - Yongxing Mou <quic_yongmou@quicinc.com>
> > > +
> > > +description:
> > > + QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
> > > + DPU display controller, DP interfaces and EDP etc.
> > > +
> > > +$ref: /schemas/display/msm/mdss-common.yaml#
> > > +
> > > +properties:
> > > + compatible:
> > > + const: qcom,qcs8300-mdss
> > > +
> > > + clocks:
> > > + items:
> > > + - description: Display AHB
> > > + - description: Display hf AXI
> > > + - description: Display core
> > > +
> > > + iommus:
> > > + maxItems: 1
> > > +
> > > + interconnects:
> > > + maxItems: 3
> > > +
> > > + interconnect-names:
> > > + maxItems: 3
> > > +
> > > +patternProperties:
> > > + "^display-controller@[0-9a-f]+$":
> > > + type: object
> > > + additionalProperties: true
> > > +
> > > + properties:
> > > + compatible:
> > > + items:
> > > + - const: qcom,qcs8300-dpu
> > > + - const: qcom,sa8775p-dpu
> >
> > Use contains: instead of listing both of them
> >
> Got it, thanks~ here we want to fallback qcs8300 to sa8775p.
> Should we update it to :
> + contains:
> + enum:
> + - qcom,qcs8300-dpu
> + - qcom,sa8775p-dpu
>
> above method can be validated using dt_binding_check.
_instead_ of listing both of them
So:
contains:
const: qcom,qcs8300-dpu
> > > +
> > > + "^displayport-controller@[0-9a-f]+$":
> > > + type: object
> > > + additionalProperties: true
> > > +
> > > + properties:
> > > + compatible:
> > > + items:
> > > + - const: qcom,qcs8300-dp
> > > +
> > > + "^phy@[0-9a-f]+$":
> > > + type: object
> > > + additionalProperties: true
> > > + properties:
> > > + compatible:
> > > + items:
> > > + - const: qcom,qcs8300-edp-phy
> > > + - const: qcom,sa8775p-edp-phy
> >
> > Use contains: instead of listing both of them
> >
> Same as above
> > > +
> > > +required:
> > > + - compatible
> > > +
> > > +unevaluatedProperties: false
> > > +
> >
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-08-04 4:49 ` Dmitry Baryshkov
@ 2025-08-04 6:10 ` Yongxing Mou
0 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-08-04 6:10 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Herring (Arm), linux-arm-msm, Kuogee Hsieh, Conor Dooley,
devicetree, Maarten Lankhorst, Rob Clark, Sean Paul,
Thomas Zimmermann, Jessica Zhang, Konrad Dybcio, Marijn Suijten,
freedreno, Abhinav Kumar, linux-kernel, Krzysztof Kozlowski,
Dmitry Baryshkov, Neil Armstrong, dri-devel, Simona Vetter,
Maxime Ripard, Bjorn Andersson, David Airlie
On 2025/8/4 12:49, Dmitry Baryshkov wrote:
> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
>
> On Mon, Aug 04, 2025 at 12:00:39PM +0800, Yongxing Mou wrote:
>>
>>
>> On 2025/7/31 4:31, Rob Herring (Arm) wrote:
>>> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
>>>
>>> On Wed, 30 Jul 2025 17:42:28 +0800, Yongxing Mou wrote:
>>>> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>>>>
>>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>>> ---
>>>> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
>>>> 1 file changed, 284 insertions(+)
>>>>
>>>
>>> My bot found errors running 'make dt_binding_check' on your patch:
>>>
>>> yamllint warnings/errors:
>>>
>>> dtschema/dtc warnings/errors:
>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible:0: 'qcom,qcs8300-edp-phy' is not one of ['qcom,sa8775p-edp-phy', 'qcom,sc7280-edp-phy', 'qcom,sc8180x-edp-phy', 'qcom,sc8280xp-dp-phy', 'qcom,sc8280xp-edp-phy', 'qcom,x1e80100-dp-phy']
>>> from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.example.dtb: phy@aec2a00 (qcom,qcs8300-edp-phy): compatible: ['qcom,qcs8300-edp-phy', 'qcom,sa8775p-edp-phy'] is too long
>>> from schema $id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#
>>>
>>> doc reference errors (make refcheckdocs):
>>>
>>> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250730-mdssdt_qcs8300-v5-3-bc8ea35bbed6@quicinc.com
>>>
>>> The base for the series is generally the latest rc1. A different dependency
>>> should be noted in *this* patch.
>>>
>>> If you already ran 'make dt_binding_check' and didn't see the above
>>> error(s), then make sure 'yamllint' is installed and dt-schema is up to
>>> date:
>>>
>>> pip3 install dtschema --upgrade
>>>
>>> Please check and re-submit after running the above command yourself. Note
>>> that DT_SCHEMA_FILES can be set to your schema file to speed up checking
>>> your schema. However, it must be unset to test all examples with your schema.
>>>
>> This warning need to apply this patch..
>> https://lore.kernel.org/all/20250730072725.1433360-1-quic_yongmou@quicinc.com/
>> thanks, link in the cover-letter seem wrong. and there is an unnecessary ~
>
> It's not listed in b4 dependencies.
>
> --
> With best wishes
> Dmitry
Ohh, sorry.. will update it in next version...
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300
2025-08-04 4:52 ` Dmitry Baryshkov
@ 2025-08-04 6:11 ` Yongxing Mou
0 siblings, 0 replies; 18+ messages in thread
From: Yongxing Mou @ 2025-08-04 6:11 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kuogee Hsieh,
Bjorn Andersson, Konrad Dybcio, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel
On 2025/8/4 12:52, Dmitry Baryshkov wrote:
> On Mon, Aug 04, 2025 at 12:31:31PM +0800, Yongxing Mou wrote:
>>
>>
>> On 2025/8/2 17:56, Dmitry Baryshkov wrote:
>>> On Wed, Jul 30, 2025 at 05:42:28PM +0800, Yongxing Mou wrote:
>>>> Document the MDSS hardware found on the Qualcomm QCS8300 platform.
>>>>
>>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>>> ---
>>>> .../bindings/display/msm/qcom,qcs8300-mdss.yaml | 284 +++++++++++++++++++++
>>>> 1 file changed, 284 insertions(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
>>>> new file mode 100644
>>>> index 0000000000000000000000000000000000000000..ae4bc16395326bffd6c9eff92778d9f207209526
>>>> --- /dev/null
>>>> +++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
>>>> @@ -0,0 +1,284 @@
>>>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>>>> +%YAML 1.2
>>>> +---
>>>> +$id: http://devicetree.org/schemas/display/msm/qcom,qcs8300-mdss.yaml#
>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>> +
>>>> +title: Qualcomm Technologies, Inc. QCS8300 Display MDSS
>>>> +
>>>> +maintainers:
>>>> + - Yongxing Mou <quic_yongmou@quicinc.com>
>>>> +
>>>> +description:
>>>> + QCS8300 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
>>>> + DPU display controller, DP interfaces and EDP etc.
>>>> +
>>>> +$ref: /schemas/display/msm/mdss-common.yaml#
>>>> +
>>>> +properties:
>>>> + compatible:
>>>> + const: qcom,qcs8300-mdss
>>>> +
>>>> + clocks:
>>>> + items:
>>>> + - description: Display AHB
>>>> + - description: Display hf AXI
>>>> + - description: Display core
>>>> +
>>>> + iommus:
>>>> + maxItems: 1
>>>> +
>>>> + interconnects:
>>>> + maxItems: 3
>>>> +
>>>> + interconnect-names:
>>>> + maxItems: 3
>>>> +
>>>> +patternProperties:
>>>> + "^display-controller@[0-9a-f]+$":
>>>> + type: object
>>>> + additionalProperties: true
>>>> +
>>>> + properties:
>>>> + compatible:
>>>> + items:
>>>> + - const: qcom,qcs8300-dpu
>>>> + - const: qcom,sa8775p-dpu
>>>
>>> Use contains: instead of listing both of them
>>>
>> Got it, thanks~ here we want to fallback qcs8300 to sa8775p.
>> Should we update it to :
>> + contains:
>> + enum:
>> + - qcom,qcs8300-dpu
>> + - qcom,sa8775p-dpu
>>
>> above method can be validated using dt_binding_check.
>
>
> _instead_ of listing both of them
>
> So:
>
> contains:
> const: qcom,qcs8300-dpu
>
Got it.. thanks~!
>>>> +
>>>> + "^displayport-controller@[0-9a-f]+$":
>>>> + type: object
>>>> + additionalProperties: true
>>>> +
>>>> + properties:
>>>> + compatible:
>>>> + items:
>>>> + - const: qcom,qcs8300-dp
>>>> +
>>>> + "^phy@[0-9a-f]+$":
>>>> + type: object
>>>> + additionalProperties: true
>>>> + properties:
>>>> + compatible:
>>>> + items:
>>>> + - const: qcom,qcs8300-edp-phy
>>>> + - const: qcom,sa8775p-edp-phy
>>>
>>> Use contains: instead of listing both of them
>>>
>> Same as above
>>>> +
>>>> +required:
>>>> + - compatible
>>>> +
>>>> +unevaluatedProperties: false
>>>> +
>>>
>>
>
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2025-08-04 6:12 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30 9:42 [PATCH v5 0/5] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 1/5] dt-bindings: display/msm: Document the DPU for QCS8300 Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 2/5] dt-bindings: display/msm: dp-controller: document QCS8300 compatible Yongxing Mou
2025-07-30 18:04 ` Dmitry Baryshkov
2025-08-01 2:45 ` Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 3/5] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
2025-07-30 20:31 ` Rob Herring (Arm)
2025-08-04 4:00 ` Yongxing Mou
2025-08-04 4:49 ` Dmitry Baryshkov
2025-08-04 6:10 ` Yongxing Mou
2025-08-02 9:56 ` Dmitry Baryshkov
2025-08-04 4:31 ` Yongxing Mou
2025-08-04 4:52 ` Dmitry Baryshkov
2025-08-04 6:11 ` Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 4/5] drm/msm: mdss: Add QCS8300 support Yongxing Mou
2025-07-30 9:42 ` [PATCH v5 5/5] soc: qcom: ubwc: Add QCS8300 UBWC cfg Yongxing Mou
2025-07-30 10:16 ` Konrad Dybcio
2025-08-01 2:50 ` Yongxing Mou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).