zephyr,sdl-dc

Description

SDL based emulated display controller

Examples

#include <zephyr/dt-bindings/display/panel.h>

sdl_dc: sdl_dc {
  /* ... */

  pixel-format = <PANEL_PIXEL_FORMAT_ABGR_8888>;
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

title

string

Name of graphical window

pixel-format

int

Initial Pixel format of this controller's output data.

This property is required.

Legal values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192

height

int

Height of the panel driven by the controller, with the units in pixels.

This property is required.

width

int

Width of the panel driven by the controller, with the units in pixels.

This property is required.