Path: blob/main/sys/contrib/device-tree/Bindings/display/exynos/samsung-fimd.txt
48523 views
Device-Tree bindings for Samsung SoC display controller (FIMD)12FIMD (Fully Interactive Mobile Display) is the Display Controller for the3Samsung series of SoCs which transfers the image data from a video memory4buffer to an external LCD interface.56Required properties:7- compatible: value should be one of the following8"samsung,s3c2443-fimd"; /* for S3C24XX SoCs */9"samsung,s3c6400-fimd"; /* for S3C64XX SoCs */10"samsung,s5pv210-fimd"; /* for S5PV210 SoC */11"samsung,exynos3250-fimd"; /* for Exynos3250/3472 SoCs */12"samsung,exynos4210-fimd"; /* for Exynos4 SoCs */13"samsung,exynos5250-fimd"; /* for Exynos5250 SoCs */14"samsung,exynos5420-fimd"; /* for Exynos5420/5422/5800 SoCs */1516- reg: physical base address and length of the FIMD registers set.1718- interrupts: should contain a list of all FIMD IP block interrupts in the19order: FIFO Level, VSYNC, LCD_SYSTEM. The interrupt specifier20format depends on the interrupt controller used.2122- interrupt-names: should contain the interrupt names: "fifo", "vsync",23"lcd_sys", in the same order as they were listed in the interrupts24property.2526- pinctrl-0: pin control group to be used for this controller.2728- pinctrl-names: must contain a "default" entry.2930- clocks: must include clock specifiers corresponding to entries in the31clock-names property.3233- clock-names: list of clock names sorted in the same order as the clocks34property. Must contain "sclk_fimd" and "fimd".3536Optional Properties:37- power-domains: a phandle to FIMD power domain node.38- samsung,invert-vden: video enable signal is inverted39- samsung,invert-vclk: video clock signal is inverted40- display-timings: timing settings for FIMD, as described in document [1].41Can be used in case timings cannot be provided otherwise42or to override timings provided by the panel.43- samsung,sysreg: handle to syscon used to control the system registers44- i80-if-timings: timing configuration for lcd i80 interface support.45- cs-setup: clock cycles for the active period of address signal is enabled46until chip select is enabled.47If not specified, the default value(0) will be used.48- wr-setup: clock cycles for the active period of CS signal is enabled until49write signal is enabled.50If not specified, the default value(0) will be used.51- wr-active: clock cycles for the active period of CS is enabled.52If not specified, the default value(1) will be used.53- wr-hold: clock cycles for the active period of CS is disabled until write54signal is disabled.55If not specified, the default value(0) will be used.5657The parameters are defined as:5859VCLK(internal) __|??????|_____|??????|_____|??????|_____|??????|_____|??60: : : : :61Address Output --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX62| cs-setup+1 | : : :63|<---------->| : : :64Chip Select ???????????????|____________:____________:____________|??65| wr-setup+1 | | wr-hold+1 |66|<---------->| |<---------->|67Write Enable ????????????????????????????|____________|???????????????68| wr-active+1|69|<---------->|70Video Data ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>--7172The device node can contain 'port' child nodes according to the bindings defined73in [2]. The following are properties specific to those nodes:74- reg: (required) port index, can be:750 - for CAMIF0 input,761 - for CAMIF1 input,772 - for CAMIF2 input,783 - for parallel output,794 - for write-back interface8081[1]: Documentation/devicetree/bindings/display/panel/display-timing.txt82[2]: Documentation/devicetree/bindings/media/video-interfaces.txt8384Example:8586SoC specific DT entry:8788fimd@11c00000 {89compatible = "samsung,exynos4210-fimd";90interrupt-parent = <&combiner>;91reg = <0x11c00000 0x20000>;92interrupt-names = "fifo", "vsync", "lcd_sys";93interrupts = <11 0>, <11 1>, <11 2>;94clocks = <&clock 140>, <&clock 283>;95clock-names = "sclk_fimd", "fimd";96power-domains = <&pd_lcd0>;97status = "disabled";98};99100Board specific DT entry:101102fimd@11c00000 {103pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;104pinctrl-names = "default";105status = "okay";106};107108109