mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
d2252563ee
Update DT bindings for mdp. We now have a more uniform and future-proof set of compatible strings. MDP5 bindings were missing. Add those and update details on the clock-names properties. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
Qualcomm adreno/snapdragon display controller
|
|
|
|
Required properties:
|
|
- compatible:
|
|
* "qcom,mdp4" - mdp4
|
|
* "qcom,mdp5" - mdp5
|
|
- reg: Physical base address and length of the controller's registers.
|
|
- interrupts: The interrupt signal from the display controller.
|
|
- connectors: array of phandles for output device(s)
|
|
- clocks: device clocks
|
|
See ../clocks/clock-bindings.txt for details.
|
|
- clock-names: the following clocks are required.
|
|
For MDP4:
|
|
* "core_clk"
|
|
* "iface_clk"
|
|
* "lut_clk"
|
|
* "src_clk"
|
|
* "hdmi_clk"
|
|
* "mdp_clk"
|
|
For MDP5:
|
|
* "bus_clk"
|
|
* "iface_clk"
|
|
* "core_clk_src"
|
|
* "core_clk"
|
|
* "lut_clk" (some MDP5 versions may not need this)
|
|
* "vsync_clk"
|
|
|
|
Optional properties:
|
|
- gpus: phandle for gpu device
|
|
- clock-names: the following clocks are optional:
|
|
* "lut_clk"
|
|
|
|
Example:
|
|
|
|
/ {
|
|
...
|
|
|
|
mdp: qcom,mdp@5100000 {
|
|
compatible = "qcom,mdp4";
|
|
reg = <0x05100000 0xf0000>;
|
|
interrupts = <GIC_SPI 75 0>;
|
|
connectors = <&hdmi>;
|
|
gpus = <&gpu>;
|
|
clock-names =
|
|
"core_clk",
|
|
"iface_clk",
|
|
"lut_clk",
|
|
"src_clk",
|
|
"hdmi_clk",
|
|
"mdp_clk";
|
|
clocks =
|
|
<&mmcc MDP_SRC>,
|
|
<&mmcc MDP_AHB_CLK>,
|
|
<&mmcc MDP_LUT_CLK>,
|
|
<&mmcc TV_SRC>,
|
|
<&mmcc HDMI_TV_CLK>,
|
|
<&mmcc MDP_TV_CLK>;
|
|
};
|
|
};
|