| 1 |
|
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/panel/motorola,mot-panel.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Atrix 4G and Droid X2 DSI Display Panel |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Svyatoslav Ryhel <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
Atrix 4G and Droid X2 use the same 540x960 DSI video mode panel. Exact |
| 14 |
panel vendor and model are unknown hence generic compatible based on the |
| 15 |
board name "Mot" is used. |
| 16 |
|
| 17 |
allOf: |
| 18 |
- $ref: panel-common.yaml# |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
items: |
| 23 |
- const: motorola,mot-panel |
| 24 |
|
| 25 |
reg: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
vdd-supply: |
| 29 |
description: Regulator for main power supply. |
| 30 |
|
| 31 |
vddio-supply: |
| 32 |
description: Regulator for 1.8V IO power supply. |
| 33 |
|
| 34 |
backlight: true |
| 35 |
reset-gpios: true |
| 36 |
port: true |
| 37 |
|
| 38 |
required: |
| 39 |
- compatible |
| 40 |
|
| 41 |
additionalProperties: false |
| 42 |
|
| 43 |
examples: |
| 44 |
- | |
| 45 |
#include <dt-bindings/gpio/gpio.h> |
| 46 |
|
| 47 |
dsi { |
| 48 |
#address-cells = <1>; |
| 49 |
#size-cells = <0>; |
| 50 |
|
| 51 |
panel@0 { |
| 52 |
compatible = "motorola,mot-panel"; |
| 53 |
reg = <0>; |
| 54 |
|
| 55 |
reset-gpios = <&gpio 35 GPIO_ACTIVE_LOW>; |
| 56 |
|
| 57 |
vdd-supply = <&vdd_5v0_panel>; |
| 58 |
vddio-supply = <&vdd_1v8_vio>; |
| 59 |
|
| 60 |
backlight = <&backlight>; |
| 61 |
|
| 62 |
port { |
| 63 |
panel_in: endpoint { |
| 64 |
remote-endpoint = <&dsi_out>; |
| 65 |
}; |
| 66 |
}; |
| 67 |
}; |
| 68 |
}; |
| 69 |
... |