18c2ecf20Sopenharmony_ciFreescale imx21 Framebuffer
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThis framebuffer driver supports devices imx1, imx21, imx25, and imx27.
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciRequired properties:
68c2ecf20Sopenharmony_ci- compatible : "fsl,<chip>-fb", chip should be imx1 or imx21
78c2ecf20Sopenharmony_ci- reg : Should contain 1 register ranges(address and length)
88c2ecf20Sopenharmony_ci- interrupts : One interrupt of the fb dev
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciRequired nodes:
118c2ecf20Sopenharmony_ci- display: Phandle to a display node as described in
128c2ecf20Sopenharmony_ci	Documentation/devicetree/bindings/display/panel/display-timing.txt
138c2ecf20Sopenharmony_ci	Additional, the display node has to define properties:
148c2ecf20Sopenharmony_ci	- bits-per-pixel: Bits per pixel
158c2ecf20Sopenharmony_ci	- fsl,pcr: LCDC PCR value
168c2ecf20Sopenharmony_ci	A display node may optionally define
178c2ecf20Sopenharmony_ci	- fsl,aus-mode: boolean to enable AUS mode (only for imx21)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciOptional properties:
208c2ecf20Sopenharmony_ci- lcd-supply: Regulator for LCD supply voltage.
218c2ecf20Sopenharmony_ci- fsl,dmacr: DMA Control Register value. This is optional. By default, the
228c2ecf20Sopenharmony_ci	register is not modified as recommended by the datasheet.
238c2ecf20Sopenharmony_ci- fsl,lpccr: Contrast Control Register value. This property provides the
248c2ecf20Sopenharmony_ci	default value for the contrast control register.
258c2ecf20Sopenharmony_ci	If that property is omitted, the register is zeroed.
268c2ecf20Sopenharmony_ci- fsl,lscr1: LCDC Sharp Configuration Register value.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciExample:
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci	imxfb: fb@10021000 {
318c2ecf20Sopenharmony_ci		compatible = "fsl,imx21-fb";
328c2ecf20Sopenharmony_ci		interrupts = <61>;
338c2ecf20Sopenharmony_ci		reg = <0x10021000 0x1000>;
348c2ecf20Sopenharmony_ci		display = <&display0>;
358c2ecf20Sopenharmony_ci	};
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	...
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci	display0: display0 {
408c2ecf20Sopenharmony_ci		model = "Primeview-PD050VL1";
418c2ecf20Sopenharmony_ci		bits-per-pixel = <16>;
428c2ecf20Sopenharmony_ci		fsl,pcr = <0xf0c88080>;	/* non-standard but required */
438c2ecf20Sopenharmony_ci		display-timings {
448c2ecf20Sopenharmony_ci			native-mode = <&timing_disp0>;
458c2ecf20Sopenharmony_ci			timing_disp0: 640x480 {
468c2ecf20Sopenharmony_ci				hactive = <640>;
478c2ecf20Sopenharmony_ci				vactive = <480>;
488c2ecf20Sopenharmony_ci				hback-porch = <112>;
498c2ecf20Sopenharmony_ci				hfront-porch = <36>;
508c2ecf20Sopenharmony_ci				hsync-len = <32>;
518c2ecf20Sopenharmony_ci				vback-porch = <33>;
528c2ecf20Sopenharmony_ci				vfront-porch = <33>;
538c2ecf20Sopenharmony_ci				vsync-len = <2>;
548c2ecf20Sopenharmony_ci				clock-frequency = <25000000>;
558c2ecf20Sopenharmony_ci			};
568c2ecf20Sopenharmony_ci		};
578c2ecf20Sopenharmony_ci	};
58