refactor(boards): Proper LVGL display chosen node.

This commit is contained in:
Peter Johanson 2022-09-22 19:35:18 +00:00
parent d820c2fdef
commit 7e22e92c8b
3 changed files with 10 additions and 7 deletions

View file

@ -93,10 +93,8 @@ config IL0323
bool bool
default y default y
config LVGL_DISPLAY_DEV_NAME config ZMK_DISPLAY_BLANK_ON_IDLE
string default n
default "DISPLAY"
depends on LVGL
#config DISPLAY_WOB #config DISPLAY_WOB
# bool "White on Black Display" # bool "White on Black Display"
@ -119,4 +117,4 @@ menuconfig CUSTOM_WIDGET_PERIPHERAL_STATUS
# config CORNE_ISH_ZEN_20 # config CORNE_ISH_ZEN_20
# bool # bool
endif # BOARD_CORNEISH_ZEN_V2_LEFT || BOARD_CORNEISH_ZEN_V2_RIGHT endif # BOARD_CORNEISH_ZEN_V2_LEFT || BOARD_CORNEISH_ZEN_V2_RIGHT

View file

@ -8,6 +8,10 @@
#include "corne-ish_zen.dtsi" #include "corne-ish_zen.dtsi"
/{ /{
chosen {
zephyr,display = &epd;
};
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN"; label = "KSCAN";

View file

@ -8,8 +8,9 @@
#include "corne-ish_zen.dtsi" #include "corne-ish_zen.dtsi"
/{ /{
chosen {
zephyr,display = &epd;
};
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";