Re: [PATCH v4 2/3] dt-bindings: Add Rocktech jh057n00900 panel bindings

From: Fabio Estevam
Date: Mon Mar 25 2019 - 10:10:48 EST


On Mon, Mar 25, 2019 at 11:06 AM Guido GÃnther <agx@xxxxxxxxxxx> wrote:

> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt
> @@ -0,0 +1,18 @@
> +Rocktech jh057n00900 5.5" 720x1440 TFT LCD panel
> +
> +Required properties:
> +- compatible: should be "rocktech,jh057n00900"
> +- reg: DSI virtual channel of the peripheral
> +- reset-gpios: panel reset gpio
> +- backlight: phandle of the backlight device attached to the panel
> +
> +Example:
> +
> + &mipi_dsi {
> + panel {
> + compatible = "rocktech,jh057n00900";
> + reg = <0>;

Passing the reg property without its corresponding @0 would cause a
dtc warning when building with W=1.