1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/solomon,ssd-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Common properties for Solomon OLED Display Controllers
8
9maintainers:
10  - Javier Martinez Canillas <javierm@redhat.com>
11
12properties:
13  reg:
14    maxItems: 1
15
16  reset-gpios:
17    maxItems: 1
18
19  # Only required for SPI
20  dc-gpios:
21    description:
22      GPIO connected to the controller's D/C# (Data/Command) pin,
23      that is needed for 4-wire SPI to tell the controller if the
24      data sent is for a command register or the display data RAM
25    maxItems: 1
26
27  solomon,height:
28    $ref: /schemas/types.yaml#/definitions/uint32
29    description:
30      Height in pixel of the screen driven by the controller.
31      The default value is controller-dependent.
32
33  solomon,width:
34    $ref: /schemas/types.yaml#/definitions/uint32
35    description:
36      Width in pixel of the screen driven by the controller.
37      The default value is controller-dependent.
38
39allOf:
40  - $ref: /schemas/spi/spi-peripheral-props.yaml#
41
42additionalProperties: true
43