# Copyright (c) 2025 MASSDRIVER EI (massdriver.space)
# SPDX-License-Identifier: Apache-2.0

include: display-controller.yaml

properties:
  column-offset:
    type: int
    required: true
    description: 8-bits start column address

  line-offset:
    type: int
    required: true
    description: 6-bits start line offset

  regulation-ratio:
    type: int
    required: true
    description: Regulation resistor ratio (3-bits RR2 RR1 RR0)

  segment-invdir:
    type: boolean
    description: Scan direction is from last SEG output to first SEG output

  com-invdir:
    type: boolean
    description: Scan direction is from last COM output to first COM output

  inversion-on:
    type: boolean
    description: Invert display

  bias:
    type: boolean
    description: Bias setting (0 for 1/9, or 1 for 1/7)

  reset-gpios:
    type: phandle-array
    description: RESET pin.

      The RESET pin of ST7567 is active low.
      If connected directly, the MCU pin should be configured
      as active low.
