Some platforms provide more than one reset for the MDSS hardware block. On SM8750 the display clock controller exposes a second one, DISP_CC_MDSS_CORE_INT2_BCR, which belongs to the second MDSS core domain that dispcc describes with its own GDSC (mdss_int2_gdsc) and its own clock family (disp_cc_mdss_mdp1_clk, disp_cc_mdss_ahb1_clk, ...).
Allow the resets property to list one or two resets, keeping the MDSS core reset as the first entry so that existing device trees describing a single reset remain valid. Signed-off-by: Qianhui Xu <[email protected]> --- .../devicetree/bindings/display/msm/mdss-common.yaml | 4 +++- .../devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml index c6305a6e03346..51ef4cc74e818 100644 --- a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml +++ b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml @@ -84,8 +84,10 @@ properties: - const: cpu-cfg resets: + minItems: 1 items: - - description: MDSS_CORE reset + - description: MDSS core reset + - description: MDSS core INT2 interrupt controller reset memory-region: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml index 46dc0d28da29a..729de45ec8622 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml @@ -101,7 +101,8 @@ examples: interconnect-names = "mdp0-mem", "cpu-cfg"; - resets = <&disp_cc_mdss_core_bcr>; + resets = <&disp_cc_mdss_core_bcr>, + <&disp_cc_mdss_core_int2_bcr>; power-domains = <&mdss_gdsc>; -- 2.53.0
