mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
f4b2e66967
Allow the standard rotation property from panel-common for ILI9881C based panels. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211020153432.383845-3-john@metanate.com
55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ilitek ILI9881c based MIPI-DSI panels
|
|
|
|
maintainers:
|
|
- Maxime Ripard <mripard@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- bananapi,lhr050h41
|
|
- feixin,k101-im2byl02
|
|
- wanchanglong,w552946aba
|
|
- const: ilitek,ili9881c
|
|
|
|
backlight: true
|
|
power-supply: true
|
|
reg: true
|
|
reset-gpios: true
|
|
rotation: true
|
|
|
|
required:
|
|
- compatible
|
|
- power-supply
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
panel@0 {
|
|
compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
|
|
reg = <0>;
|
|
power-supply = <®_display>;
|
|
reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
|
|
backlight = <&pwm_bl>;
|
|
};
|
|
};
|
|
|
|
...
|