1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/display/sol 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Solomon SSD132x OLED Display Controller 8 9 maintainers: 10 - Javier Martinez Canillas <javierm@redhat.co 11 12 properties: 13 compatible: 14 enum: 15 - solomon,ssd1322 16 - solomon,ssd1325 17 - solomon,ssd1327 18 19 required: 20 - compatible 21 - reg 22 23 allOf: 24 - $ref: solomon,ssd-common.yaml# 25 26 - if: 27 properties: 28 compatible: 29 contains: 30 const: solomon,ssd1322 31 then: 32 properties: 33 solomon,width: 34 default: 480 35 solomon,height: 36 default: 128 37 38 - if: 39 properties: 40 compatible: 41 contains: 42 const: solomon,ssd1325 43 then: 44 properties: 45 solomon,width: 46 default: 128 47 solomon,height: 48 default: 80 49 50 - if: 51 properties: 52 compatible: 53 contains: 54 const: solomon,ssd1327 55 then: 56 properties: 57 solomon,width: 58 default: 128 59 solomon,height: 60 default: 128 61 62 unevaluatedProperties: false 63 64 examples: 65 - | 66 i2c { 67 #address-cells = <1>; 68 #size-cells = <0>; 69 70 oled@3c { 71 compatible = "solomon,ssd1 72 reg = <0x3c>; 73 reset-gpios = <&gpio2 7>; 74 }; 75 76 }; 77 - | 78 spi { 79 #address-cells = <1>; 80 #size-cells = <0>; 81 82 oled@0 { 83 compatible = "solomon,ssd1 84 reg = <0x0>; 85 reset-gpios = <&gpio2 7>; 86 dc-gpios = <&gpio2 8>; 87 spi-max-frequency = <10000 88 }; 89 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.