mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 15:14:03 +08:00
44c916d58b
This merge window brings a good size of cleanups on various platforms. Among the bigger ones: * Removal of Samsung s5pc100 and s5p64xx platforms. Both of these have lacked active support for quite a while, and after asking around nobody showed interest in keeping them around. If needed, they could be resurrected in the future but it's more likely that we would prefer reintroduction of them as DT and multiplatform-enabled platforms instead. * OMAP4 controller code register define diet. They defined a lot of registers that were never actually used, etc. * Move of some of the Tegra platform code (PMC, APBIO, fuse, powergate) to drivers/soc so it can be shared with 64-bit code. This also converts them over to traditional driver models where possible. * Removal of legacy gpio-samsung driver, since the last users have been removed (moved to pinctrl) Plus a bunch of smaller changes for various platforms that sort of dissapear in the diffstat for the above. clps711x cleanups, shmobile header file refactoring/moves for multiplatform friendliness, some misc cleanups, etc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAABAgAGBQJT5DYPAAoJEIwa5zzehBx37egQAIiatNiLLqZnfo3rwGADRz/a POfPovktj68aPcobyzoyhFtToMqGvi9PpysyFTIQD2HJFG+5BtiIAuqtg0875zDe EpBWgsfugrm0YktJWAtUerj60oAmNPbKfaEm1cOOWuM2lb2mV+QkRrwSTAgsqkT7 927BzMXKKBRPOVLL0RYhoF8EXa0Eg8kCqAHP8fJrzVYkRp+UrZJDnGiUP1XmWJN+ VXQMu5SEjcPMtqT7+tfX455RfREHJfBcJ1ZN/dPF8HMWDwClQG0lyc6hifh1MxwO 8DjIZNkfZeKqgDqVyC17re7pc7p8md5HL8WXbrKpK0A9vQ5bRexbPHxcwJ1T/C2Y 465H+st5XXbuzV1gbMwjK1/ycsH0tCyffckk8Yl/2e1Fs7GgPNbAELtTdl+5vV1Y xmDXkyo/9WlRM3LQ23IGKwW7VzN86EfWVuShssfro0fO7xDdb4OOYLdQI+4bCG+h ytQYun1vU32OEyNik5RVNQuZaMrv2c93a3bID4owwuPHPmYOPVUQaqnRX/0E51eA aHZYbk2GlUOV3Kq5aSS4iyLg1Yj+I9/NeH9U+A4nc+PQ5FlgGToaVSCuYuw4DqbP AAG+sqQHbkBMvDPobQz/yd1qZbAb4eLhGy11XK1t5S65rApWI55GwNXnvbyxqt8x wpmxJTASGxcfuZZgKXm7 =gbcE -----END PGP SIGNATURE----- Merge tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC cleanups from Olof Johansson: "This merge window brings a good size of cleanups on various platforms. Among the bigger ones: - Removal of Samsung s5pc100 and s5p64xx platforms. Both of these have lacked active support for quite a while, and after asking around nobody showed interest in keeping them around. If needed, they could be resurrected in the future but it's more likely that we would prefer reintroduction of them as DT and multiplatform-enabled platforms instead. - OMAP4 controller code register define diet. They defined a lot of registers that were never actually used, etc. - Move of some of the Tegra platform code (PMC, APBIO, fuse, powergate) to drivers/soc so it can be shared with 64-bit code. This also converts them over to traditional driver models where possible. - Removal of legacy gpio-samsung driver, since the last users have been removed (moved to pinctrl) Plus a bunch of smaller changes for various platforms that sort of dissapear in the diffstat for the above. clps711x cleanups, shmobile header file refactoring/moves for multiplatform friendliness, some misc cleanups, etc" * tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (117 commits) drivers: CCI: Correct use of ! and & video: clcd-versatile: Depend on ARM video: fix up versatile CLCD helper move MAINTAINERS: Add sdhci-st file to ARCH/STI architecture ARM: EXYNOS: Fix build breakge with PM_SLEEP=n MAINTAINERS: Remove Kirkwood ARM: tegra: Convert PMC to a driver soc/tegra: fuse: Set up in early initcall ARM: tegra: Always lock the CPU reset vector ARM: tegra: Setup CPU hotplug in a pure initcall soc/tegra: Implement runtime check for Tegra SoCs soc/tegra: fuse: fix dummy functions soc/tegra: fuse: move APB DMA into Tegra20 fuse driver soc/tegra: Add efuse and apbmisc bindings soc/tegra: Add efuse driver for Tegra ARM: tegra: move fuse exports to soc/tegra/fuse.h ARM: tegra: export apb dma readl/writel ARM: tegra: Use a function to get the chip ID ARM: tegra: Sort includes alphabetically ARM: tegra: Move includes to include/soc/tegra ...
109 lines
4.4 KiB
Plaintext
109 lines
4.4 KiB
Plaintext
Device-Tree bindings for Samsung SoC display controller (FIMD)
|
|
|
|
FIMD (Fully Interactive Mobile Display) is the Display Controller for the
|
|
Samsung series of SoCs which transfers the image data from a video memory
|
|
buffer to an external LCD interface.
|
|
|
|
Required properties:
|
|
- compatible: value should be one of the following
|
|
"samsung,s3c2443-fimd"; /* for S3C24XX SoCs */
|
|
"samsung,s3c6400-fimd"; /* for S3C64XX SoCs */
|
|
"samsung,s5pv210-fimd"; /* for S5PV210 SoC */
|
|
"samsung,exynos4210-fimd"; /* for Exynos4 SoCs */
|
|
"samsung,exynos5250-fimd"; /* for Exynos5 SoCs */
|
|
|
|
- reg: physical base address and length of the FIMD registers set.
|
|
|
|
- interrupt-parent: should be the phandle of the fimd controller's
|
|
parent interrupt controller.
|
|
|
|
- interrupts: should contain a list of all FIMD IP block interrupts in the
|
|
order: FIFO Level, VSYNC, LCD_SYSTEM. The interrupt specifier
|
|
format depends on the interrupt controller used.
|
|
|
|
- interrupt-names: should contain the interrupt names: "fifo", "vsync",
|
|
"lcd_sys", in the same order as they were listed in the interrupts
|
|
property.
|
|
|
|
- pinctrl-0: pin control group to be used for this controller.
|
|
|
|
- pinctrl-names: must contain a "default" entry.
|
|
|
|
- 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 "sclk_fimd" and "fimd".
|
|
|
|
Optional Properties:
|
|
- samsung,power-domain: a phandle to FIMD power domain node.
|
|
- samsung,invert-vden: video enable signal is inverted
|
|
- samsung,invert-vclk: video clock signal is inverted
|
|
- display-timings: timing settings for FIMD, as described in document [1].
|
|
Can be used in case timings cannot be provided otherwise
|
|
or to override timings provided by the panel.
|
|
- samsung,sysreg: handle to syscon used to control the system registers
|
|
- i80-if-timings: timing configuration for lcd i80 interface support.
|
|
- cs-setup: clock cycles for the active period of address signal is enabled
|
|
until chip select is enabled.
|
|
If not specified, the default value(0) will be used.
|
|
- wr-setup: clock cycles for the active period of CS signal is enabled until
|
|
write signal is enabled.
|
|
If not specified, the default value(0) will be used.
|
|
- wr-active: clock cycles for the active period of CS is enabled.
|
|
If not specified, the default value(1) will be used.
|
|
- wr-hold: clock cycles for the active period of CS is disabled until write
|
|
signal is disabled.
|
|
If not specified, the default value(0) will be used.
|
|
|
|
The parameters are defined as:
|
|
|
|
VCLK(internal) __|??????|_____|??????|_____|??????|_____|??????|_____|??
|
|
: : : : :
|
|
Address Output --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX
|
|
| cs-setup+1 | : : :
|
|
|<---------->| : : :
|
|
Chip Select ???????????????|____________:____________:____________|??
|
|
| wr-setup+1 | | wr-hold+1 |
|
|
|<---------->| |<---------->|
|
|
Write Enable ????????????????????????????|____________|???????????????
|
|
| wr-active+1|
|
|
|<---------->|
|
|
Video Data ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>--
|
|
|
|
The device node can contain 'port' child nodes according to the bindings defined
|
|
in [2]. The following are properties specific to those nodes:
|
|
- reg: (required) port index, can be:
|
|
0 - for CAMIF0 input,
|
|
1 - for CAMIF1 input,
|
|
2 - for CAMIF2 input,
|
|
3 - for parallel output,
|
|
4 - for write-back interface
|
|
|
|
[1]: Documentation/devicetree/bindings/video/display-timing.txt
|
|
[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
|
|
|
|
Example:
|
|
|
|
SoC specific DT entry:
|
|
|
|
fimd@11c00000 {
|
|
compatible = "samsung,exynos4210-fimd";
|
|
interrupt-parent = <&combiner>;
|
|
reg = <0x11c00000 0x20000>;
|
|
interrupt-names = "fifo", "vsync", "lcd_sys";
|
|
interrupts = <11 0>, <11 1>, <11 2>;
|
|
clocks = <&clock 140>, <&clock 283>;
|
|
clock-names = "sclk_fimd", "fimd";
|
|
samsung,power-domain = <&pd_lcd0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
Board specific DT entry:
|
|
|
|
fimd@11c00000 {
|
|
pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|