1# Copyright (c) 2023 Renesas Electronics Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4include: [mipi-dbi-controller.yaml, pinctrl-device.yaml] 5 6description: Renesas Smartbond(tm) MIPI DBI Host 7 8compatible: "renesas,smartbond-mipi-dbi" 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 reset-gpios: 18 type: phandle-array 19 description: | 20 Reset GPIO pin. Used to reset the display during initialization. 21 22 te-enable: 23 type: boolean 24 description: | 25 Boolean to indicate whether the tearing effect (TE) signal is available or not. 26 27 te-inversion: 28 type: boolean 29 description: | 30 Boolean to apply an inversion on the TE signal that triggers the MIPI DBI controller. 31 32 dma-prefetch: 33 type: string 34 enum: 35 - "no-prefetch" 36 - "prefetch-44-bytes" 37 - "prefetch-84-bytes" 38 - "prefetch-116-bytes" 39 - "prefetch-108-bytes" 40 description: | 41 Host controller will wait for at least the specified number of bytes before triggering 42 a single frame update. The prefetch mechanism should be enabled when frame buffer(s) 43 is stored into external storage mediums, e.g. PSRAM, that introduce comparable delays. 44 In such a case it might case that the controller runs into underrun conditions which 45 results in correpting the whole frame update. It's user's responsibility to ensure that 46 the selected value does not exceed frame's total size as otherwise the controller will 47 not be able to trigger the frame update. 48 49 spi-dev: 50 type: phandle 51 description: | 52 SPI bus to use for display read operations. When this property is present, MIPI DBI read 53 operations will be exhibited by the driver. This is because, the LCDC IP block does not 54 support read functionality, natively. 55