Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: Add SSD133x OLED controllers

Add a Device Tree binding schema for the OLED panels based on the
Solomon SSD133x family of controllers.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231229112026.2797483-4-javierm@redhat.com

+45
+45
Documentation/devicetree/bindings/display/solomon,ssd133x.yaml
··· 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 <javierm@redhat.com> 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 + };