Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support BT656 (8bit) and BT1120 (12bit) interlaced output on display port from RGB and YUV frame-buffer input for PAL and NTSC mode. Features supported: - Support BT656(8 bits) and BT1120 (16 bits)interlaced output on display port. - Support both RGB and YUV frame buffer for BT656/BT1120 output. - Support PAL and NTSC mode. - Support on the fly switch between PAL and NTSC mode. Notes: - For 8 bits BT656 interface, the default data pins are "DISP0_DAT_23~DISP0_DAT_16", it can also be any other continued display data pins, for example if "DISP0_DAT_7~DISP0_DAT_0" are used, the macro "BT656_IF_DI_MSB" in "kernel_imx/drivers/mxc/ipu3/ipu_disp.c" should be changed from "23" to "7". - For 16 bits BT1120 interface, the default data pins are "DISP0_DAT_23~DISP0_DAT_8", it can also be any other continued display data pins, the macro "BT656_IF_DI_MSB" should be modified if the hardware pins are changed. - When bt656 interface is the second display for each IPU,1-layer-fb (it can be checked with command: "$ cat /sys/class/graphics/fbx/fsl_disp_propperty"), the frame buffer can only be YUV format. In this case, the IPU DC channel was used for BT656 display, it has no CSC function, so RGB frame buffer was not supported. See https://community.freescale.com/docs/DOC-94019 Written-by: Qiang Li Device-tree support Written-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
- Loading branch information
Showing
13 changed files
with
1,555 additions
and
296 deletions.
There are no files selected for viewing
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,20 @@ | ||
* Freescale BT656/BT1120 interface output | ||
|
||
Required properties for bt656 on specified board: | ||
- compatible: should be "fsl,bt656" | ||
- reg: <base addr, range> contains pxp register base address and range | ||
- default_ifmt: BT656|BT1120 - input format | ||
- ipu_id: 0|1 | ||
- disp_id: 0|1 | ||
- status: should be set to "okay" if want to use bt656 | ||
|
||
Examples: | ||
bt656: bt656@0 { | ||
compatible = "fsl,bt656"; | ||
default_ifmt = "BT656"; | ||
ipu_id = <1>; | ||
disp_id = <0>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_ipu2_2>; | ||
status = "okay"; | ||
}; |
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
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.