forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/exynos: add Exynos5433 decon driver
DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim <[email protected]> Signed-off-by: Hyungwon Hwang <[email protected]> Signed-off-by: Inki Dae <[email protected]>
- Loading branch information
Showing
6 changed files
with
898 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
Documentation/devicetree/bindings/video/exynos5433-decon.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
Device-Tree bindings for Samsung Exynos SoC display controller (DECON) | ||
|
||
DECON (Display and Enhancement Controller) is the Display Controller for the | ||
Exynos series of SoCs which transfers the image data from a video memory | ||
buffer to an external LCD interface. | ||
|
||
Required properties: | ||
- compatible: value should be "samsung,exynos5433-decon"; | ||
- reg: physical base address and length of the DECON registers set. | ||
- interrupts: should contain a list of all DECON IP block interrupts in the | ||
order: VSYNC, LCD_SYSTEM. The interrupt specifier format | ||
depends on the interrupt controller used. | ||
- interrupt-names: should contain the interrupt names: "vsync", "lcd_sys" | ||
in the same order as they were listed in the interrupts | ||
property. | ||
- clocks: must include clock specifiers corresponding to entries in the | ||
clock-names property. | ||
- clock-names: list of clock names sorted in the same order as the clocks | ||
property. Must contain "aclk_decon", "aclk_smmu_decon0x", | ||
"aclk_xiu_decon0x", "pclk_smmu_decon0x", clk_decon_vclk", | ||
"sclk_decon_eclk" | ||
- ports: contains a port which is connected to mic node. address-cells and | ||
size-cells must 1 and 0, respectively. | ||
- port: contains an endpoint node which is connected to the endpoint in the mic | ||
node. The reg value muset be 0. | ||
- i80-if-timings: specify whether the panel which is connected to decon uses | ||
i80 lcd interface or mipi video interface. This node contains | ||
no timing information as that of fimd does. Because there is | ||
no register in decon to specify i80 interface timing value, | ||
it is not needed, but make it remain to use same kind of node | ||
in fimd and exynos7 decon. | ||
|
||
Example: | ||
SoC specific DT entry: | ||
decon: decon@13800000 { | ||
compatible = "samsung,exynos5433-decon"; | ||
reg = <0x13800000 0x2104>; | ||
clocks = <&cmu_disp CLK_ACLK_DECON>, <&cmu_disp CLK_ACLK_SMMU_DECON0X>, | ||
<&cmu_disp CLK_ACLK_XIU_DECON0X>, | ||
<&cmu_disp CLK_PCLK_SMMU_DECON0X>, | ||
<&cmu_disp CLK_SCLK_DECON_VCLK>, | ||
<&cmu_disp CLK_SCLK_DECON_ECLK>; | ||
clock-names = "aclk_decon", "aclk_smmu_decon0x", "aclk_xiu_decon0x", | ||
"pclk_smmu_decon0x", "sclk_decon_vclk", "sclk_decon_eclk"; | ||
interrupt-names = "vsync", "lcd_sys"; | ||
interrupts = <0 202 0>, <0 203 0>; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
decon_to_mic: endpoint { | ||
remote-endpoint = <&mic_to_decon>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
Board specific DT entry: | ||
&decon { | ||
i80-if-timings { | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.