summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lvgl/lv-drivers.inc
Commit message (Collapse)AuthorAgeFilesLines
* lvgl: lv-drivers: Allow empty packageMarek Vasut2023-10-301-0/+2
| | | | | | | | | | | The lv-drivers main package is empty, since all the headers end up in the -dev variant and static library archive ends up in -staticdev variant. Mark the main package as ALLOW_EMPTY. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f2ab5e1ac3f7c8ff63eb96d797f10555dde8fd7d) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lvgl: Add default input device configuration optionMarek Vasut2023-06-261-0/+2
| | | | | | | | | | Add the ability to override default touch input device hard-coded into LVGL. The current default in the code is "/dev/input/event10" for whatever reason, let user override this. Pick "/dev/input/touchscreen" as the OE default, as that is more likely to be present on embedded hardware. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Factor out and unify lv-drivers configurationMarek Vasut2023-06-261-0/+44
The configuration of lv_drivers is the same in lv-drivers and lvgl-demo-fb, the later just pulls in its own already preconfigured variant of lv-drivers as git submodule. Pull out the lv-drivers configuration into separate file lv-drivers.inc, so it can be shared by lv-drivers and lvgl-demo-fb recipes. Furthermore, as the configuration support in both recipes diverged already, merge support for both sets of configuration options. This way, lv-drivers grows support for DRM and SDL backend, and lvgl-demo-fb for WL backend. The PACKAGECONFIG of each recipe is left unchanged so far to avoid breaking of existing users. Note that LVGL_CONFIG_USE_EVDEV is new and activated for both fbdev and drm, since both of those backends need EVDEV support right now. The libinput input support is not available yet. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>