Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: Add DT bindings for Ilitek ILI9322

This adds device tree bindings for the Ilitek ILI9322
320x240 TFT panel driver.

Cc: David Lechner <david@lechnology.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171201161659.9588-1-linus.walleij@linaro.org

+49
+49
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt
··· 1 + Ilitek ILI9322 TFT panel driver with SPI control bus 2 + 3 + This is a driver for 320x240 TFT panels, accepting a variety of input 4 + streams that get adapted and scaled to the panel. The panel output has 5 + 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and 6 + VCOMH outputs. 7 + 8 + Required properties: 9 + - compatible: "dlink,dir-685-panel", "ilitek,ili9322" 10 + (full system-specific compatible is always required to look up configuration) 11 + - reg: address of the panel on the SPI bus 12 + 13 + Optional properties: 14 + - vcc-supply: core voltage supply, see regulator/regulator.txt 15 + - iovcc-supply: voltage supply for the interface input/output signals, 16 + see regulator/regulator.txt 17 + - vci-supply: voltage supply for analog parts, see regulator/regulator.txt 18 + - reset-gpios: a GPIO spec for the reset pin, see gpio/gpio.txt 19 + 20 + The following optional properties only apply to RGB and YUV input modes and 21 + can be omitted for BT.656 input modes: 22 + 23 + - pixelclk-active: see display/panel/display-timing.txt 24 + - de-active: see display/panel/display-timing.txt 25 + - hsync-active: see display/panel/display-timing.txt 26 + - vsync-active: see display/panel/display-timing.txt 27 + 28 + The panel must obey the rules for a SPI slave device as specified in 29 + spi/spi-bus.txt 30 + 31 + The device node can contain one 'port' child node with one child 32 + 'endpoint' node, according to the bindings defined in 33 + media/video-interfaces.txt. This node should describe panel's video bus. 34 + 35 + Example: 36 + 37 + panel: display@0 { 38 + compatible = "dlink,dir-685-panel", "ilitek,ili9322"; 39 + reg = <0>; 40 + vcc-supply = <&vdisp>; 41 + iovcc-supply = <&vdisp>; 42 + vci-supply = <&vdisp>; 43 + 44 + port { 45 + panel_in: endpoint { 46 + remote-endpoint = <&display_out>; 47 + }; 48 + }; 49 + };