blob: 57e2f42770b42296691b5af129e7172c32d8f3bc [file]
# Copyright 2023-2024 NXP
# SPDX-License-Identifier: Apache-2.0
#
# Common fields for MIPI-DBI devices
include: [base.yaml, power.yaml]
on-bus: mipi-dbi
properties:
mipi-max-frequency:
type: int
description: Maximum clock frequency of device's MIPI interface in Hz
mipi-mode:
type: string
description: |
MIPI DBI mode in use. These definitions should match those in
dt-bindings/mipi_dbi/mipi_dbi.h
enum:
- "MIPI_DBI_MODE_SPI_3WIRE"
- "MIPI_DBI_MODE_SPI_4WIRE"
- "MIPI_DBI_MODE_6800_BUS_16_BIT"
- "MIPI_DBI_MODE_6800_BUS_9_BIT"
- "MIPI_DBI_MODE_6800_BUS_8_BIT"
- "MIPI_DBI_MODE_8080_BUS_16_BIT"
- "MIPI_DBI_MODE_8080_BUS_9_BIT"
- "MIPI_DBI_MODE_8080_BUS_8_BIT"
te-mode:
type: string
default: "MIPI_DBI_TE_NO_EDGE"
description: |
MIPI DBI tearing enable signal mode. Defaults to disabled.
enum:
- "MIPI_DBI_TE_NO_EDGE"
- "MIPI_DBI_TE_RISING_EDGE"
- "MIPI_DBI_TE_FALLING_EDGE"
te-delay:
type: int
default: 0
description: |
Delay in microseconds to wait before transmitting display data after a
tearing enable synchronization signal is seen. Defaults to 0 since most
controllers will not need a delay.