[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220413033334.1514008-1-swboyd@chromium.org>
Date: Tue, 12 Apr 2022 20:33:32 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-kernel@...r.kernel.org, patches@...ts.linux.dev,
linux-input@...r.kernel.org, chrome-platform@...ts.linux.dev,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
Douglas Anderson <dianders@...omium.org>,
Hsin-Yi Wang <hsinyi@...omium.org>
Subject: [PATCH 0/2] Input: cros-ec-keyb: Don't register keyboard if doesn't exist
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@...omium.org>
Cc: Guenter Roeck <groeck@...omium.org>
Cc: Douglas Anderson <dianders@...omium.org>
Cc: Hsin-Yi Wang <hsinyi@...omium.org>
base-commit: 3123109284176b1532874591f7c81f3837bbdc17
--
https://chromeos.dev
Powered by blists - more mailing lists