Solomon SSD132x OLED Display Controllers
Schema identifier ($id): "http://devicetree.org/schemas/display/solomon,ssd132x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "solomon,ssd1322", "solomon,ssd1325", "solomon,ssd1327"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):solomon,ssd-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"solomon,ssd1322"When the condition matches (
then) #Properties and child nodes (
properties)
solomon,width— not listed as required hereDefault value (
default):480
solomon,height— not listed as required hereDefault value (
default):128
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"solomon,ssd1325"When the condition matches (
then) #Properties and child nodes (
properties)
solomon,width— not listed as required hereDefault value (
default):128
solomon,height— not listed as required hereDefault value (
default):80
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"solomon,ssd1327"When the condition matches (
then) #Properties and child nodes (
properties)
solomon,width— not listed as required hereDefault value (
default):128
solomon,height— not listed as required hereDefault value (
default):128
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
oled@3c {
compatible = "solomon,ssd1327";
reg = <0x3c>;
reset-gpios = <&gpio2 7>;
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
oled@0 {
compatible = "solomon,ssd1327";
reg = <0x0>;
reset-gpios = <&gpio2 7>;
dc-gpios = <&gpio2 8>;
spi-max-frequency = <10000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)