| 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,ams495qa01.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Samsung AMS495QA01 panel with Magnachip D53E6EA8966 controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Chris Morgan <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: panel-common.yaml# |
| 14 |
- $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: samsung,ams495qa01 |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
reset-gpios: |
| 24 |
description: reset gpio, must be GPIO_ACTIVE_LOW |
| 25 |
elvdd-supply: |
| 26 |
description: regulator that supplies voltage to the panel display |
| 27 |
enable-gpios: true |
| 28 |
port: true |
| 29 |
vdd-supply: |
| 30 |
description: regulator that supplies voltage to panel logic |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- reset-gpios |
| 36 |
- vdd-supply |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
#include <dt-bindings/gpio/gpio.h> |
| 43 |
spi { |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <0>; |
| 46 |
panel@0 { |
| 47 |
compatible = "samsung,ams495qa01"; |
| 48 |
reg = <0>; |
| 49 |
reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; |
| 50 |
vdd-supply = <&vcc_3v3>; |
| 51 |
|
| 52 |
port { |
| 53 |
mipi_in_panel: endpoint { |
| 54 |
remote-endpoint = <&mipi_out_panel>; |
| 55 |
}; |
| 56 |
}; |
| 57 |
}; |
| 58 |
}; |
| 59 |
|
| 60 |
... |