Sharp Memory LCD panels
Schema identifier ($id): "http://devicetree.org/schemas/display/sharp,ls010b7dh04.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alex Lanzano <lanzano.alex@gmail.com>"
Sharp Memory LCDs are a series of monochrome displays that operate over a SPI bus. The displays require a signal (VCOM) to be generated to prevent DC bias build up resulting in pixels being unable to change. Three modes can be used to provide the VCOM signal ("software", "external", "pwm").
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sharp,ls010b7dh04", "sharp,ls011b7dh03", "sharp,ls012b7dd01", "sharp,ls013b7dh03", "sharp,ls013b7dh05", "sharp,ls018b7dh02", "sharp,ls027b7dh01", "sharp,ls027b7dh01a", "sharp,ls032b7dd02", "sharp,ls044q7dh01"
reg — required here #
Maximum number of items (maxItems): 1
spi-max-frequency — not listed as required here #
Maximum value (maximum): 2000000
sharp,vcom-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
software - This mode relies on a software operation to send a "maintain display" message to the display, toggling the vcom bit on and off with each message
external - This mode relies on an external clock to generate the signal on the EXTCOMM pin
pwm - This mode relies on a pwm device to generate the signal on the EXTCOMM pin
Allowed values (enum): "software", "external", "pwm"
enable-gpios — not listed as required here #
true — No constraints added by this property rule.
pwms — not listed as required here #
Maximum number of items (maxItems): 1
External VCOM signal
Required in this object (required): "compatible", "reg", "sharp,vcom-mode"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):panel/panel-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
sharp,vcom-mode— not listed as required hereExact value (
const):"pwm"When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi {
#address-cells = <1>;
#size-cells = <0>;
display@0 {
compatible = "sharp,ls013b7dh03";
reg = <0>;
spi-cs-high;
spi-max-frequency = <1000000>;
sharp,vcom-mode = "software";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)