Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: qcom,sm8550-mdss: explicitly document mdp0-mem and cpu-cfg interconnect paths

The mdp1-mem is not supported on the SM8550 SoCs, and having maxItems=2
makes the bindings not clear if mdp0-mem/mdp1-mem or mdp0-mem/cpu-cfg is
required, so explicitly document the mdp0-mem/cpu-cfg interconnect and
add the cpu-cfg path in the example.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/637050/
Link: https://lore.kernel.org/r/20250213-topic-sm8x50-mdss-interconnect-bindings-fix-v4-1-3fa0bc42dd38@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Neil Armstrong and committed by
Dmitry Baryshkov
e05b233a baf49072

+9 -5
+9 -5
Documentation/devicetree/bindings/display/msm/qcom,sm8550-mdss.yaml
··· 30 30 maxItems: 1 31 31 32 32 interconnects: 33 - maxItems: 2 33 + items: 34 + - description: Interconnect path from mdp0 port to the data bus 35 + - description: Interconnect path from CPU to the reg bus 34 36 35 37 interconnect-names: 36 - maxItems: 2 38 + items: 39 + - const: mdp0-mem 40 + - const: cpu-cfg 37 41 38 42 patternProperties: 39 43 "^display-controller@[0-9a-f]+$": ··· 95 91 reg = <0x0ae00000 0x1000>; 96 92 reg-names = "mdss"; 97 93 98 - interconnects = <&mmss_noc MASTER_MDP 0 &gem_noc SLAVE_LLCC 0>, 99 - <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>; 100 - interconnect-names = "mdp0-mem", "mdp1-mem"; 94 + interconnects = <&mmss_noc MASTER_MDP 0 &mc_virt SLAVE_EBI1 0>, 95 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_DISPLAY_CFG 0>; 96 + interconnect-names = "mdp0-mem", "cpu-cfg"; 101 97 102 98 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>; 103 99