mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
For code readability, several bindings which list allowed properties with ": true" syntax group them in one place, without line breaks between each. Align a few bindings to match this style. No functional impact. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260313-dt-bindings-display-panel-clean-v2-1-d49615218f92@oss.qualcomm.com
92 lines
1.9 KiB
YAML
92 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Himax HX8394 MIPI-DSI LCD panel controller
|
|
|
|
maintainers:
|
|
- Ondrej Jirman <megi@xff.cz>
|
|
- Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
description:
|
|
Device tree bindings for panels based on the Himax HX8394 controller,
|
|
such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with
|
|
a MIPI-DSI video interface.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- hannstar,hsd060bhw4
|
|
- microchip,ac40t08a-mipi-panel
|
|
- powkiddy,x55-panel
|
|
- const: himax,hx8394
|
|
- items:
|
|
- enum:
|
|
- huiling,hl055fhav028c
|
|
- const: himax,hx8399c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
reset-gpios: true
|
|
backlight: true
|
|
rotation: true
|
|
port: true
|
|
|
|
vcc-supply:
|
|
description: Panel power supply
|
|
|
|
iovcc-supply:
|
|
description: I/O voltage supply
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- backlight
|
|
- port
|
|
- vcc-supply
|
|
- iovcc-supply
|
|
|
|
allOf:
|
|
- $ref: panel-common.yaml#
|
|
- if:
|
|
not:
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- microchip,ac40t08a-mipi-panel
|
|
then:
|
|
required:
|
|
- reset-gpios
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
dsi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
panel@0 {
|
|
compatible = "hannstar,hsd060bhw4", "himax,hx8394";
|
|
reg = <0>;
|
|
vcc-supply = <®_2v8_p>;
|
|
iovcc-supply = <®_1v8_p>;
|
|
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
|
|
backlight = <&backlight>;
|
|
|
|
port {
|
|
mipi_in_panel: endpoint {
|
|
remote-endpoint = <&mipi_out_panel>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|