Debian Codegraph @

Documentation/devicetree/bindings/display/solomon,ssd133x.yaml

raw
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,ssd133x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Solomon SSD133x OLED Display Controllers
8
9 maintainers:
10 - Javier Martinez Canillas <[email protected]>
11
12 allOf:
13 - $ref: solomon,ssd-common.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - solomon,ssd1331
19
20 solomon,width:
21 default: 96
22
23 solomon,height:
24 default: 64
25
26 required:
27 - compatible
28 - reg
29
30 unevaluatedProperties: false
31
32 examples:
33 - |
34 spi {
35 #address-cells = <1>;
36 #size-cells = <0>;
37
38 oled@0 {
39 compatible = "solomon,ssd1331";
40 reg = <0x0>;
41 reset-gpios = <&gpio2 7>;
42 dc-gpios = <&gpio2 8>;
43 spi-max-frequency = <10000000>;
44 };
45 };