summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/solomon,ssd-common.yaml
blob: 3e6998481a75d97917ad189df77e60aa26152e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/solomon,ssd-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Common properties for Solomon OLED Display Controllers

maintainers:
  - Javier Martinez Canillas <javierm@redhat.com>

properties:
  reg:
    maxItems: 1

  reset-gpios:
    maxItems: 1

  # Only required for SPI
  dc-gpios:
    description:
      GPIO connected to the controller's D/C# (Data/Command) pin,
      that is needed for 4-wire SPI to tell the controller if the
      data sent is for a command register or the display data RAM
    maxItems: 1

  solomon,height:
    $ref: /schemas/types.yaml#/definitions/uint32
    description:
      Height in pixel of the screen driven by the controller.
      The default value is controller-dependent.

  solomon,width:
    $ref: /schemas/types.yaml#/definitions/uint32
    description:
      Width in pixel of the screen driven by the controller.
      The default value is controller-dependent.

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

additionalProperties: true