]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: restrict properties for sitronix,st7735r
authorSam Ravnborg <sam@ravnborg.org>
Mon, 20 Jan 2020 19:02:49 +0000 (20:02 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Thu, 23 Jan 2020 18:16:36 +0000 (19:16 +0100)
commita23f16fead3d1617b9f4e9bf454fd1618f154e4b
treec59f017d4a34fc06ef09da59825e72a7d9e0a66f
parent3af2be8abab45049bbfd257e0e0ebd6839394ffc
dt-bindings: restrict properties for sitronix,st7735r

David Lechner noticed (paraphrased):
- not all properties from panel-common are applicable.
- missing optional rotation and backlight properties

Fix this by listing all allowed properties,
and do not allow other properties.

Fixes: 66de6f372847 ("dt-bindings: display: sitronix,st7735r: Convert to DT schema")
Reported-by: David Lechner <david@lechnology.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Cc: David Lechner <david@lechnology.com>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200120190249.GA9619@ravnborg.org
Documentation/devicetree/bindings/display/sitronix,st7735r.yaml