description: >
  GoodDisplay GDEQ031T10 (UC8253-family controller) 3.1" 320x240 SPI e-paper panel,
  as used on the LilyGO T-Deck Pro/Max. Monochrome (1bpp), full-frame refreshes with
  automatic windowed partial updates and ghost-clearing.

compatible: "gooddisplay,gdeq031t10"

bus: spi

properties:
  pin-dc:
    type: phandles
    required: true
    description: Data/Command GPIO pin
  pin-reset:
    type: phandles
    required: false
    default: GPIO_PIN_SPEC_NONE
    description: Reset GPIO pin
  pin-busy:
    type: phandles
    required: true
    description: Busy GPIO pin (reads high when the controller is idle/ready)
  clock-speed-hz:
    type: int
    default: 10000000
    description: SPI clock frequency in Hz
  refresh-mode:
    type: int
    default: GDEQ031T10_REFRESH_FAST
    description: >
      Gdeq031t10RefreshMode waveform used for automatic full-screen refreshes
      (e.g. ghost-clears). Explicit full-refresh requests always use the
      best-quality full waveform.
  mirror-180:
    type: boolean
    default: false
    description: Panel is mounted upside down relative to the reference orientation
