We're registering a keyboard input device on detachable chromebooks when that input device doesn't generate any events. This patch series stops doing that to save some runtime memory and to help userspace understand that there really isn't a keyboard present when the keyboard is detached. The second patch is an RFC because it should be picked up through arm-soc tree, not input tree. Stephen Boyd (2): Input: cros-ec-keyb: Only register keyboard if rows/columns exist arm64: dts: qcom: sc7180-trogdor: Remove cros-ec keyboard from detachables arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 5 +++++ arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 5 +++++ drivers/input/keyboard/cros_ec_keyb.c | 9 +++++++++ 3 files changed, 19 insertions(+) Cc: Benson Leung <bleung@xxxxxxxxxxxx> Cc: Guenter Roeck <groeck@xxxxxxxxxxxx> Cc: Douglas Anderson <dianders@xxxxxxxxxxxx> Cc: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx> base-commit: 3123109284176b1532874591f7c81f3837bbdc17 -- https://chromeos.dev