mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||
|
%YAML 1.2
|
||
|
---
|
||
|
$id: http://devicetree.org/schemas/display/panel/panel-simple.yaml#
|
||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||
|
|
||
|
title: Simple panels with one power supply
|
||
|
|
||
|
maintainers:
|
||
|
- Thierry Reding <thierry.reding@gmail.com>
|
||
|
- Sam Ravnborg <sam@ravnborg.org>
|
||
|
|
||
|
description: |
|
||
|
This binding file is a collection of the simple (dumb) panels that
|
||
|
requires only a single power-supply.
|
||
|
There are optionally a backlight and an enable GPIO.
|
||
|
The panel may use an OF graph binding for the association to the display,
|
||
|
or it may be a direct child node of the display.
|
||
|
|
||
|
If the panel is more advanced a dedicated binding file is required.
|
||
|
|
||
|
allOf:
|
||
|
- $ref: panel-common.yaml#
|
||
|
|
||
|
properties:
|
||
|
|
||
|
compatible:
|
||
|
enum:
|
||
|
# compatible must be listed in alphabetical order, ordered by compatible.
|
||
|
# The description in the comment is mandatory for each compatible.
|
||
|
|
||
|
# Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel
|
||
|
- ampire,am-480272h3tmqw-t01h
|
||
|
# Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel
|
||
|
- ampire,am800480r3tmqwa1h
|
||
|
|
||
|
backlight: true
|
||
|
enable-gpios: true
|
||
|
port: true
|
||
|
power-supply: true
|
||
|
|
||
|
additionalProperties: false
|
||
|
|
||
|
required:
|
||
|
- compatible
|
||
|
- power-supply
|
||
|
|
||
|
examples:
|
||
|
- |
|
||
|
panel_rgb: panel-rgb {
|
||
|
compatible = "ampire,am-480272h3tmqw-t01h";
|
||
|
power-supply = <&vcc_lcd_reg>;
|
||
|
|
||
|
port {
|
||
|
panel_in_rgb: endpoint {
|
||
|
remote-endpoint = <<dc_out_rgb>;
|
||
|
};
|
||
|
};
|
||
|
};
|