| 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/startek,kd070fhfid015.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Alexandre Mergnat <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: panel-common.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: startek,kd070fhfid015 |
| 18 |
|
| 19 |
enable-gpios: true |
| 20 |
|
| 21 |
iovcc-supply: |
| 22 |
description: Reference to the regulator powering the panel IO pins. |
| 23 |
|
| 24 |
reg: |
| 25 |
maxItems: 1 |
| 26 |
description: DSI virtual channel |
| 27 |
|
| 28 |
reset-gpios: true |
| 29 |
|
| 30 |
port: true |
| 31 |
|
| 32 |
power-supply: true |
| 33 |
|
| 34 |
additionalProperties: false |
| 35 |
|
| 36 |
required: |
| 37 |
- compatible |
| 38 |
- enable-gpios |
| 39 |
- iovcc-supply |
| 40 |
- reg |
| 41 |
- reset-gpios |
| 42 |
- port |
| 43 |
- power-supply |
| 44 |
|
| 45 |
examples: |
| 46 |
- | |
| 47 |
#include <dt-bindings/gpio/gpio.h> |
| 48 |
|
| 49 |
dsi0 { |
| 50 |
#address-cells = <1>; |
| 51 |
#size-cells = <0>; |
| 52 |
|
| 53 |
panel@0 { |
| 54 |
compatible = "startek,kd070fhfid015"; |
| 55 |
reg = <0>; |
| 56 |
enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; |
| 57 |
reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; |
| 58 |
iovcc-supply = <&mt6357_vsim1_reg>; |
| 59 |
power-supply = <&vsys_lcm_reg>; |
| 60 |
|
| 61 |
port { |
| 62 |
panel_in: endpoint { |
| 63 |
remote-endpoint = <&dsi_out>; |
| 64 |
}; |
| 65 |
}; |
| 66 |
}; |
| 67 |
}; |
| 68 |
|
| 69 |
... |