1# Copyright 2023 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 MIPI-DBI Mode C compatible SPI controller. This driver emulates MIPI DBI 6 mode C using a SPI controller and GPIO pins 7compatible: "zephyr,mipi-dbi-spi" 8 9include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"] 10 11properties: 12 spi-dev: 13 type: phandle 14 required: true 15 description: | 16 SPI device to use for data transfers with MIPI DBI commands. This SPI 17 device should be connected to the MIPI DBI display. 18 19 dc-gpios: 20 type: phandle-array 21 description: | 22 Data/command gpio pin. Required when using 4 wire SPI mode (Mode C1). 23 Set to low when sending a command, or high when sending data. 24 25 reset-gpios: 26 type: phandle-array 27 description: | 28 Reset GPIO pin. Set high to reset the display 29 30 write-only: 31 type: boolean 32 description: | 33 Only writes to display controller, do not perform reads. 34 If all controllers are write-only, read functions will be 35 optimized out for size. 36 It can also be used as an alternative to half duplex when 37 only one data line is connected. 38