| # Copyright (c) 2020, Rohit Gujarathi |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| title: Sharp LS0XX memory display controller |
| |
| description: | |
| Sharp LS0XX series has an eclectic range of TFT-LCD controllers, |
| mostly monochrome TFT-LCD controller up to 400x240 resolution. |
| |
| Example supported references: |
| LS012B7DD01 |
| LS013B7DH03 |
| LS013B7DH05 |
| LS027B7DH01A |
| LS032B7DD02 |
| LS044Q7DH01 |
| |
| Adafruit 1.3" SHARP Memory LCD display is a breakout board for |
| LS013B4DN04, and 2.7" for LS027B7DH01. |
| |
| compatible: "sharp,ls0xx" |
| |
| include: [spi-device.yaml, display-controller.yaml] |
| |
| properties: |
| extcomin-gpios: |
| type: phandle-array |
| description: EXTCOMIN pin |
| |
| The EXTCOMIN pin is where a square pulse for toggling VCOM will |
| be given |
| |
| extcomin-frequency: |
| type: int |
| description: EXTCOMIN pin toggle frequency |
| |
| The frequency with which the EXTCOMIN pin should be toggled. See |
| datasheet of particular display. Higher frequency gives better |
| contrast while low frequency saves power. |
| |
| disp-en-gpios: |
| type: phandle-array |
| description: DISPLAY pin |
| |
| The DISPLAY pin controls if the LCD displays memory contents or |
| white screen. If defined, the pin will be set high during driver |
| initialization. display blanking apis can be used to control it. |
| |
| serial-vcom-inversion: |
| type: boolean |
| description: Send serial VCOM inversion commands |
| |
| Enable when EXTCOMIN is not configured and VCOM inversion is not |
| application-managed. |
| |
| serial-vcom-interval: |
| type: int |
| default: 1000 |
| description: Serial VCOM inversion interval |
| |
| VCOM inversion interval in milliseconds. This value is used when |
| there is no EXTCOMIN configured and serial-vcom inversion is set. |
| If not configured, 1000ms will be used which is the minimum some |
| sources recommend, though the panel datasheet may specify a more |
| frequent interval and 1000ms will also be visible. |