David Heidelberg 52864f251d dt-bindings: display: enable port jdi,lt070me05000
Enable port inside panel bindings.

Fixes warnings generated by `make qcom-apq8064-asus-nexus7-flo.dtb` as:
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
	From schema: Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml

Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211224195354.78362-1-david@ixit.cz
2022-01-04 19:23:06 -06:00

73 lines
1.4 KiB
YAML

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: JDI model LT070ME05000 1200x1920 7" DSI Panel
maintainers:
- Vinay Simha BN <simhavcs@gmail.com>
allOf:
- $ref: panel-common.yaml#
properties:
compatible:
const: jdi,lt070me05000
enable-gpios: true
reg: true
reset-gpios: true
vddp-supply:
description: |
The regulator that provides the supply voltage Power IC supply (3-5V)
iovcc-supply:
description: |
The regulator that provides the supply voltage IOVCC,
power supply for LCM (1.8V)
dcdc-en-gpios:
maxItems: 1
description: |
phandle of the gpio for power ic line
Power IC supply enable, High active
port: true
required:
- compatible
- reg
- vddp-supply
- iovcc-supply
- enable-gpios
- reset-gpios
- dcdc-en-gpios
additionalProperties: false
examples:
- |
#include <dt-bindings/gpio/gpio.h>
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "jdi,lt070me05000";
reg = <0>;
vddp-supply = <&pm8921_l17>;
iovcc-supply = <&pm8921_lvs7>;
enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
};
};
...