From: Songjun Wu Date: Wed, 1 Mar 2017 17:25:10 +0800 Subject: [U-Boot] [PATCH v2 2/2] at91: video: DT binding for HLCDC driver In-Reply-To: <20170301092510.29847-1-songjun.wu@microchip.com> References: <20170301092510.29847-1-songjun.wu@microchip.com> Message-ID: <20170301092510.29847-3-songjun.wu@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu --- Changes in v2: None doc/device-tree-bindings/video/atme-hlcdc.txt | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 doc/device-tree-bindings/video/atme-hlcdc.txt diff --git a/doc/device-tree-bindings/video/atme-hlcdc.txt b/doc/device-tree-bindings/video/atme-hlcdc.txt new file mode 100644 index 0000000000..aac0b842f0 --- /dev/null +++ b/doc/device-tree-bindings/video/atme-hlcdc.txt @@ -0,0 +1,38 @@ +Atmel HLCDC Framebuffer +----------------------------------------------------- +Required properties: +- compatible : + "atmel,sama5d2-hlcdc". +- reg: physical base address of the controller and length of memory mapped + region. +- clocks: phandles to input clocks. +- atmel,vl-bpix: Bits per pixel. +- atmel,guard-time: lcd guard time (Delay in frame periods). +- display-timings: please refer the displaymode.txt. + +Example: +hlcdc: hlcdc at f0000000 { + u-boot,dm-pre-reloc; + compatible = "atmel,sama5d2-hlcdc"; + reg = <0xf0000000 0x2000>; + clocks = <&lcdc_clk>; + atmel,vl-bpix = <4>; + atmel,guard-time = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; + status = "okay"; + + display-timings { + 480x272 { + clock-frequency = <9000000>; + hactive = <480>; + vactive = <272>; + hsync-len = <41>; + hfront-porch = <2>; + hback-porch = <2>; + vfront-porch = <2>; + vback-porch = <2>; + vsync-len = <11>; + }; + }; +}; \ No newline at end of file -- 2.11.0