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