Commit Graph
5 Commits
Author SHA1 Message Date
Sam Ravnborg 672c6b1fe6 dt-bindings: fix simple-framebuffer example
Now that dt-extract-example gained support for using root nodes
in examples, update the example for the simple-frambuffer binding to use it.

This gives us a better example and kill a long standing warning:

simple-framebuffer.example.dts:23.16-39.11:
Warning (chosen_node_is_root): /example-0/chosen: chosen node must be at root node

Note: To get the update dt-extract-example execute:
pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade

v2:
  - fix spelling of framebuffer (Geert)
  - drop stdout-path (Rob)

Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2020-07-10 21:00:24 +02:00
Rob Herring 51a21e0e7b dt-bindings: Fix dtc warnings in examples
Fix all the warnings in the DT binding schema examples when built with
'W=1'. This is in preparation to make that the default for examples.

Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Acked-by: Lee Jones <[email protected]>
Acked-by: Srinivas Kandagatla <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Bartosz Golaszewski <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Cc: Ulf Hansson <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2020-02-28 14:15:52 -06:00
Maxime Ripard ed8e3f51b6 dt-bindings: simple-framebuffer: Add requirement for pipelines
Both the allwinner and amlogic compatibles require that either the
allwinner,pipeline or the amlogic,pipeline property is set. This was
dropped during the conversion since we didn't have conditionals back then,
but we can express this properly now.

Signed-off-by: Maxime Ripard <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2019-07-03 13:18:50 -06:00
Maxime Ripard f4913aeed7 dt-bindings: display: Fix simple-framebuffer example
The simple-framebuffer binding has a compatible that isn't one of the valid
options. Since an Allwinner pipeline is being described, let's add the
matching compatible.

Signed-off-by: Maxime Ripard <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2019-07-03 13:18:23 -06:00
Maxime Ripard a32c3d9d98 dt-bindings: Add schemas for simple-framebuffer
The simple framebuffer is a binding that allows the bootloader to setup a
framebuffer, describe it in the Device Tree for the OS to pick it up and
use it as is.

Replace the current binding by a schema to allow the validation tools to
check those nodes.

Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Maxime Jourdan <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2019-04-10 16:33:48 -05:00