diff options
author | Robby Cai <R63905@freescale.com> | 2013-08-14 14:12:43 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-10-30 09:55:13 +0800 |
commit | fb8d617b983af98db943e87a78658e52340f2e3d (patch) | |
tree | 0ff568aa51a96dc24610c6f9c2f54eda988995f9 /Documentation | |
parent | 72a9967d76b39119e874c8409dc92c6d1a104e70 (diff) |
ENGR00276832-4 epdc: port the driver to 3.10 kernel
merge the mach/epdc.h into linux/mxcfb_epdc.h
drop VM_RESERVED flag as deprecated.
drop VM_IO flag as it's automatically set in remap_pfn_range()
use <linux/platform_data/dma-imx.h> instead of <mach/dma.h>
use module_platform_driver()
add binding dts document for epdc fb driver
change the devname for interrupt from 'fb_dma' to 'epdc' to make it clear
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/fb/fsl_epdc_fb.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/fsl_epdc_fb.txt b/Documentation/devicetree/bindings/fb/fsl_epdc_fb.txt new file mode 100644 index 000000000000..7943f1045824 --- /dev/null +++ b/Documentation/devicetree/bindings/fb/fsl_epdc_fb.txt @@ -0,0 +1,30 @@ +* Freescale MXC Electrophoretic Display Controller (EPDC) + +Required properties: +- compatible: Should be "fsl,<chip>-epdc". Supported chips include + imx6dl and imx6sl +- reg: Address and length of the register set for EPDC +- interrupts: Should contain EPDC interrupts +- clocks: the clocks for EPDC +- pinctrl-names: should be "default" +- pinctrl-0: should be pinctrl_ipu1_1 or pinctrl_ipu2_1, which depends on the + IPU connected. +- V3P3_supply: power supply for EPDC_PWRCTRL0 from pmic +- VCOM_supply: power supply for EPDC_VCOM0 from pmic +- DISPLAY_supply: power supply enable for pmic + +Examples: + +imx6_epdc@0x020f8000 { + compatible = "fsl,imx6dl-epdc"; + reg = <0x020f8000 4000>; + interrupts = <0 97 0x04>; + clocks = <&clks 133>, <&clks 137>; /* ipu2, ipu2_di1 */ + clock-names = "epdc-axi", "epdc-pix"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epdc_0>; + V3P3_supply = <&V3P3_reg>; + VCOM_supply = <&VCOM_reg>; + DISPLAY_supply = <&DISPLAY_reg>; + status = "disabled"; +}; |