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

dt-bindings: Add binding for Ilitek ILI9225 display panels

This adds a new binding for display panels that use an Ilitek ILI9225
controller.

The "ilitek,ili9225-2.2in-176x220" device listed has no identification
markings whatsoever and an hour of googling turned up nothing, hence the use
of the size and resolution in the name instead of a model name.

An example of this nameless device can be found at:
https://github.com/Nkawu/TFT_22_ILI9225

Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1511122328-31133-3-git-send-email-david@lechnology.com

authored by

David Lechner and committed by
Noralf Trønnes
3fd8d9e0 2bade36c

+25
+25
Documentation/devicetree/bindings/display/ilitek,ili9225.txt
··· 1 + Ilitek ILI9225 display panels 2 + 3 + This binding is for display panels using an Ilitek ILI9225 controller in SPI 4 + mode. 5 + 6 + Required properties: 7 + - compatible: "ilitek,ili9225-2.2in-176x220" 8 + - rs-gpios: Register select signal 9 + - reset-gpios: Reset pin 10 + 11 + The node for this driver must be a child node of a SPI controller, hence 12 + all mandatory properties described in ../spi/spi-bus.txt must be specified. 13 + 14 + Optional properties: 15 + - rotation: panel rotation in degrees counter clockwise (0,90,180,270) 16 + 17 + Example: 18 + display@0{ 19 + compatible = "ilitek,ili9225-2.2in-176x220"; 20 + reg = <0>; 21 + spi-max-frequency = <12000000>; 22 + rs-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; 23 + reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; 24 + rotation = <270>; 25 + };