1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/msm !! 4 $id: "http://devicetree.org/schemas/display/msm/mdp4.yaml#" 5 $schema: http://devicetree.org/meta-schemas/co !! 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 6 7 title: Qualcomm Adreno/Snapdragon MDP4 display 7 title: Qualcomm Adreno/Snapdragon MDP4 display controller 8 8 9 description: > 9 description: > 10 MDP4 display controller found in SoCs like M 10 MDP4 display controller found in SoCs like MSM8960, APQ8064 and MSM8660. 11 11 12 maintainers: 12 maintainers: 13 - Rob Clark <robdclark@gmail.com> 13 - Rob Clark <robdclark@gmail.com> 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: qcom,mdp4 17 const: qcom,mdp4 18 18 19 clocks: 19 clocks: 20 minItems: 6 20 minItems: 6 21 maxItems: 6 21 maxItems: 6 22 22 23 clock-names: 23 clock-names: 24 items: 24 items: 25 - const: core_clk 25 - const: core_clk 26 - const: iface_clk 26 - const: iface_clk 27 - const: bus_clk 27 - const: bus_clk 28 - const: lut_clk 28 - const: lut_clk 29 - const: hdmi_clk 29 - const: hdmi_clk 30 - const: tv_clk 30 - const: tv_clk 31 31 32 reg: 32 reg: 33 maxItems: 1 33 maxItems: 1 34 34 35 interrupts: 35 interrupts: 36 maxItems: 1 36 maxItems: 1 37 37 38 iommus: 38 iommus: 39 maxItems: 4 39 maxItems: 4 40 40 41 ports: 41 ports: 42 $ref: /schemas/graph.yaml#/properties/port 42 $ref: /schemas/graph.yaml#/properties/ports 43 properties: 43 properties: 44 port@0: 44 port@0: 45 $ref: /schemas/graph.yaml#/properties/ 45 $ref: /schemas/graph.yaml#/properties/port 46 description: LCDC/LVDS 46 description: LCDC/LVDS 47 47 48 port@1: 48 port@1: 49 $ref: /schemas/graph.yaml#/properties/ 49 $ref: /schemas/graph.yaml#/properties/port 50 description: DSI1 Cmd / Video 50 description: DSI1 Cmd / Video 51 51 52 port@2: 52 port@2: 53 $ref: /schemas/graph.yaml#/properties/ 53 $ref: /schemas/graph.yaml#/properties/port 54 description: DSI2 Cmd / Video 54 description: DSI2 Cmd / Video 55 55 56 port@3: 56 port@3: 57 $ref: /schemas/graph.yaml#/properties/ 57 $ref: /schemas/graph.yaml#/properties/port 58 description: Digital TV 58 description: Digital TV 59 59 60 qcom,lcdc-align-lsb: 60 qcom,lcdc-align-lsb: 61 type: boolean 61 type: boolean 62 description: > 62 description: > 63 Indication that LSB alignment should be 63 Indication that LSB alignment should be used for LCDC. 64 This is only valid for 18bpp panels. 64 This is only valid for 18bpp panels. 65 65 66 required: 66 required: 67 - compatible 67 - compatible 68 - reg 68 - reg 69 - clocks 69 - clocks 70 - ports 70 - ports 71 71 72 additionalProperties: false 72 additionalProperties: false 73 73 74 examples: 74 examples: 75 - | 75 - | 76 mdp: mdp@5100000 { 76 mdp: mdp@5100000 { 77 compatible = "qcom,mdp4"; 77 compatible = "qcom,mdp4"; 78 reg = <0x05100000 0xf0000>; 78 reg = <0x05100000 0xf0000>; 79 interrupts = <0 75 0>; 79 interrupts = <0 75 0>; 80 clock-names = 80 clock-names = 81 "core_clk", 81 "core_clk", 82 "iface_clk", 82 "iface_clk", 83 "bus_clk", 83 "bus_clk", 84 "lut_clk", 84 "lut_clk", 85 "hdmi_clk", 85 "hdmi_clk", 86 "tv_clk"; 86 "tv_clk"; 87 clocks = 87 clocks = 88 <&mmcc 77>, 88 <&mmcc 77>, 89 <&mmcc 86>, 89 <&mmcc 86>, 90 <&mmcc 102>, 90 <&mmcc 102>, 91 <&mmcc 75>, 91 <&mmcc 75>, 92 <&mmcc 97>, 92 <&mmcc 97>, 93 <&mmcc 12>; 93 <&mmcc 12>; 94 94 95 ports { 95 ports { 96 #address-cells = <1>; 96 #address-cells = <1>; 97 #size-cells = <0>; 97 #size-cells = <0>; 98 98 99 port@0 { 99 port@0 { 100 reg = <0>; 100 reg = <0>; 101 mdp_lvds_out: endpoint { 101 mdp_lvds_out: endpoint { 102 }; 102 }; 103 }; 103 }; 104 104 105 port@1 { 105 port@1 { 106 reg = <1>; 106 reg = <1>; 107 mdp_dsi1_out: endpoint { 107 mdp_dsi1_out: endpoint { 108 }; 108 }; 109 }; 109 }; 110 110 111 port@2 { 111 port@2 { 112 reg = <2>; 112 reg = <2>; 113 mdp_dsi2_out: endpoint { 113 mdp_dsi2_out: endpoint { 114 }; 114 }; 115 }; 115 }; 116 116 117 port@3 { 117 port@3 { 118 reg = <3>; 118 reg = <3>; 119 mdp_dtv_out: endpoint { 119 mdp_dtv_out: endpoint { 120 remote-endpoint = <&hdmi_i 120 remote-endpoint = <&hdmi_in>; 121 }; 121 }; 122 }; 122 }; 123 }; 123 }; 124 }; 124 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.