kscan: Introduce zephyr,keyboard-scan chosen prop

Introduce zephyr,keyboard-scan chosen node property to point to the
node that implements the default KSCAN device.  This is similar to
the zephyr,display property.

We switch over the samples to utilize the new property instead of
kscan0 alias.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-11 14:55:20 -05:00 committed by Kumar Gala
commit 5ac8fca9cb
14 changed files with 15 additions and 6 deletions

View file

@ -33,6 +33,7 @@
zephyr,shell-uart = &lpuart1;
zephyr,canbus = &flexcan2;
zephyr,display = &lcdif;
zephyr,keyboard-scan = &touch_controller;
};
sdram0: memory@80000000 {