mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
Revert "Documentation: add rockchip fb lcdc lvds specific content"
This reverts commit 5198023c6d.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I08211afb6ac057bfe66c75cbd6adfe31d56be250
This commit is contained in:
@@ -1,65 +0,0 @@
|
||||
Device-Tree bindings for Rockchip framebuffer.
|
||||
|
||||
Required properties:
|
||||
- compatible: value should be "rockchip,rk-fb".
|
||||
- rockchip,disp-mode: DUAL :for dual lcdc and dual display;
|
||||
ONE_DUAL : for one lcdc and dual display.
|
||||
|
||||
Example:
|
||||
|
||||
DT entry:
|
||||
fb: fb{
|
||||
compatible = "rockchip,rk-fb";
|
||||
rockchip,disp-mode = <DUAL>;
|
||||
};
|
||||
|
||||
Device-Tree bindings for RockChip screen driver
|
||||
|
||||
Required properties:
|
||||
- compatible: value should be "rockchip,screen"
|
||||
- display-timings: value should be disp_timings, which defined in
|
||||
lcd-xxx.dtsi file,the file should include by your board dts
|
||||
|
||||
Example:
|
||||
creen: rk_screen{
|
||||
compatible = "rockchip,screen";
|
||||
display-timings = <&disp_timings>;
|
||||
};
|
||||
|
||||
/*
|
||||
* RockChip. LCD_B101ew05 lcd-b101ew05.dtsi
|
||||
*
|
||||
*/
|
||||
|
||||
/ {
|
||||
|
||||
disp_timings: display-timings {
|
||||
native-mode = <&timing0>;
|
||||
timing0: timing0 {
|
||||
screen-type = <SCREEN_LVDS>;
|
||||
lvds-format = <LVDS_8BIT_2>;
|
||||
out-face = <OUT_D888_P666>;
|
||||
clock-frequency = <71000000>;
|
||||
hactive = <1280>;
|
||||
vactive = <800>;
|
||||
hback-porch = <100>;
|
||||
hfront-porch = <18>;
|
||||
vback-porch = <8>;
|
||||
vfront-porch = <6>;
|
||||
hsync-len = <10>;
|
||||
vsync-len = <2>;
|
||||
hsync-active = <0>;
|
||||
vsync-active = <0>;
|
||||
de-active = <0>;
|
||||
pixelclk-active = <0>;
|
||||
swap-rb = <0>;
|
||||
swap-rg = <0>;
|
||||
swap-gb = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
note: reference for display-timing.txt for display-timing bindings
|
||||
@@ -1,69 +0,0 @@
|
||||
Device-Tree bindings for Rockchip SoC display controller (VOP / LCDC)
|
||||
VOP (Video Output Process) / LCDC is the Display Controller for the
|
||||
ROCKCHIP 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
|
||||
"rockchip,rk3288-lcdc"; /* for RK3288 SoCs */
|
||||
"rockchip,rk3368-lcdc"; /* for RK3368 SoCs */
|
||||
"rockchip,rk322x-lcdc"; /* for RK322X SoCs */
|
||||
"rockchip,rk3399-lcdc"; /* for RK3399 SoCs */
|
||||
- rockchip,prop: set the lcdc as primary or extend display.
|
||||
- rochchip,pwr18: set the controller IO voltage,0 is 3.3v,1 is 1.8v.
|
||||
- reg: physical base address and length of the LCDC registers set.
|
||||
- interrupts: interrupt number to the cpu and interrupt proterties.
|
||||
- pinctrl-names: must contain a "default" entry.
|
||||
- pinctrl-0: pin control group to be used for this controller.
|
||||
- pinctrl-1: pin control group to be used for gpio.
|
||||
- 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..
|
||||
|
||||
Optional Properties:
|
||||
- rockchip,debug: printk debug message.
|
||||
- rockchip,mirror: the lcdc mirror function.
|
||||
- lcd_en:lcd_en: contain power control for lcd.
|
||||
- rockchip,power_type: power type,GPIO or REGULATOR.
|
||||
- gpios: pin number for gpio.
|
||||
- rockchip,delay: delay time after set power.
|
||||
|
||||
Example:
|
||||
|
||||
SoC specific DT entry:
|
||||
lcdc1: lcdc@ff940000 {
|
||||
compatible = "rockchip,rk3288-lcdc";
|
||||
rockchip,prop = <PRMRY>;
|
||||
rochchip,pwr18 = <0>;
|
||||
reg = <0xff940000 0x10000>;
|
||||
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
||||
pinctrl-names = "default", "gpio";
|
||||
pinctrl-0 = <&lcdc0_lcdc>;
|
||||
pinctrl-1 = <&lcdc0_gpio>;
|
||||
status = "disabled";
|
||||
clocks = <&clk_gates15 7>, <&dclk_lcdc1>, <&clk_gates15 8>, <&pd_vop1>;
|
||||
clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "pd_lcdc";
|
||||
};
|
||||
|
||||
|
||||
Board specific DT entry:
|
||||
|
||||
&lcdc1 {
|
||||
status = "okay";
|
||||
power_ctr: power_ctr {
|
||||
rockchip,debug = <0>;
|
||||
rockchip,mirror = <NO_MIRROR>;
|
||||
lcd_en:lcd_en {
|
||||
rockchip,power_type = <GPIO>;
|
||||
gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,delay = <10>;
|
||||
};
|
||||
lcd_cs:lcd_cs {
|
||||
rockchip,power_type = <GPIO>;
|
||||
gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,delay = <10>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
The Rockchip display port interface should be configured based on
|
||||
the type of panel connected to it.
|
||||
|
||||
Required properties:
|
||||
- compatible: value should be "rockchip,rk32-lvds".
|
||||
- reg: physical base address and length of the LVDS registers set.
|
||||
- interrupts: interrupt number to the cpu and interrupt proterties.
|
||||
- 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..
|
||||
|
||||
Example:
|
||||
|
||||
SoC specific DT entry:
|
||||
lvds: lvds@ff96c000 {
|
||||
compatible = "rockchip,rk32-lvds";
|
||||
reg = <0xff96c000 0x4000>;
|
||||
clocks = <&clk_gates16 7>;
|
||||
clock-names = "pclk_lvds";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user