]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: seps525: Add dt binding description
authorVikhyat Goyal <vikhyat.goyal@xilinx.com>
Wed, 2 Dec 2020 22:21:51 +0000 (15:21 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Jan 2021 10:54:53 +0000 (11:54 +0100)
Added dt binding for seps525 display driver.

Signed-off-by: Vikhyat Goyal <vikhyat.goyal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
MAINTAINERS
doc/device-tree-bindings/video/syncoam,seps525.txt [new file with mode: 0644]

index 52d730752589d6e61e73ecb46d3c8298698b1dce..8e2ccc24df718b80678cbc8df37fb4996d720201 100644 (file)
@@ -548,6 +548,7 @@ S:  Maintained
 T:     git https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze.git
 F:     arch/arm/mach-zynq/
 F:     doc/board/xilinx/
+F:     doc/device-tree-bindings/video/syncoam,seps525.txt
 F:     drivers/clk/clk_zynq.c
 F:     drivers/fpga/zynqpl.c
 F:     drivers/gpio/zynq_gpio.c
diff --git a/doc/device-tree-bindings/video/syncoam,seps525.txt b/doc/device-tree-bindings/video/syncoam,seps525.txt
new file mode 100644 (file)
index 0000000..e1e0db9
--- /dev/null
@@ -0,0 +1,24 @@
+spi based seps525 framebuffer display driver
+
+Driver for seps525 display controller (in spi mode), This binding supports selection
+of spi chipselect, spi max frequency, gpio to drive dc and reset pin of seps525
+controller and spi transaction bit length.
+
+Required properties:
+- compatible: "syncoam,seps525"
+- reg: Specifies the chip-select the seps525 is connected to on the spi bus
+- reset-gpios: gpio connected to reset pin of seps525 controller.
+- dc-gpios: gpio connected to dc pin of seps525 controller:
+- buswidth: bitlength of each spi transaction
+
+Example:
+       displayspi@0 {
+               compatible = "syncoam,seps525";
+               reg = <0>;
+               spi-max-frequency = <10000000>;
+               spi-cpol;
+               spi-cpha;
+               buswidth = <8>;
+               reset-gpios = <&gpio 0x1c GPIO_ACTIVE_LOW>;
+               dc-gpios = <&gpio 0x1b GPIO_ACTIVE_HIGH>;
+       };