Re: [PATCH] display: panel: Add AUO g070vvn01 display support (800x480)

From: Rob Herring
Date: Mon Apr 09 2018 - 17:19:59 EST


On Tue, Apr 03, 2018 at 12:15:25PM +0200, Lukasz Majewski wrote:
> This commit adds support for AUO's 7.0" display.
>
> Signed-off-by: Lukasz Majewski <lukma@xxxxxxx>
> ---
> .../bindings/display/panel/auo,g070vvn01 | 30 +++++++++++++++++++++

.txt

> drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++
> 2 files changed, 61 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01
>
> diff --git a/Documentation/devicetree/bindings/display/panel/auo,g070vvn01 b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01
> new file mode 100644
> index 000000000000..bd4017362094
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01
> @@ -0,0 +1,30 @@
> +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel
> +
> +Required properties:
> +- compatible: should be "auo,g070vvn01"
> +- backlight: phandle of the backlight device attached to the panel
> +- power-supply: single regulator to provide the supply voltage
> +
> +Required nodes:
> +- port: Parallel port mapping to connect this display
> +
> +This panel needs single power supply voltage. Its backlight is conntrolled
> +via PWM signal.
> +
> +Example:
> +--------
> +
> +Example device-tree definition when connected to iMX6Q based board
> +
> + lcd_panel: lcd-panel {
> + compatible = "auo,g070vvn01";
> + backlight = <&backlight_lcd>;
> + bus-format-override = "rgb565";

This is not documented though it appears in a few i.MX dts files.

> + power-supply = <&reg_display>;
> +
> + port {
> + lcd_panel_in: endpoint {
> + remote-endpoint = <&lcd_display_out>;
> + };
> + };
> + };