| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/panel/samsung,s6d7aa0.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Samsung S6D7AA0 MIPI-DSI LCD panel controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Artur Weber <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: panel-common.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
items: |
| 18 |
- enum: |
| 19 |
# 1280x800 LSL080AL02 panel |
| 20 |
- samsung,lsl080al02 |
| 21 |
# 1024x768 LSL080AL03 panel |
| 22 |
- samsung,lsl080al03 |
| 23 |
# 1024x768 LTL101AT01 panel |
| 24 |
- samsung,ltl101at01 |
| 25 |
- const: samsung,s6d7aa0 |
| 26 |
|
| 27 |
reg: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
backlight: |
| 31 |
description: |
| 32 |
Backlight to use for the panel. If this property is set on panels |
| 33 |
that have DSI-based backlight control (LSL080AL03 and LTL101AT01), |
| 34 |
it overrides the DSI-based backlight. |
| 35 |
|
| 36 |
reset-gpios: |
| 37 |
description: Reset GPIO pin, usually GPIO_ACTIVE_LOW. |
| 38 |
|
| 39 |
power-supply: |
| 40 |
description: |
| 41 |
Main power supply for the panel; the exact voltage differs between |
| 42 |
panels, and is usually somewhere around 3.3-5v. |
| 43 |
|
| 44 |
vmipi-supply: |
| 45 |
description: VMIPI supply, usually 1.8v. |
| 46 |
|
| 47 |
required: |
| 48 |
- compatible |
| 49 |
- reg |
| 50 |
- reset-gpios |
| 51 |
|
| 52 |
additionalProperties: false |
| 53 |
|
| 54 |
examples: |
| 55 |
- | |
| 56 |
#include <dt-bindings/gpio/gpio.h> |
| 57 |
|
| 58 |
dsi { |
| 59 |
#address-cells = <1>; |
| 60 |
#size-cells = <0>; |
| 61 |
|
| 62 |
panel@0 { |
| 63 |
compatible = "samsung,lsl080al02", "samsung,s6d7aa0"; |
| 64 |
reg = <0>; |
| 65 |
power-supply = <&display_3v3_supply>; |
| 66 |
reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>; |
| 67 |
backlight = <&backlight>; |
| 68 |
}; |
| 69 |
}; |
| 70 |
|
| 71 |
... |