ARM64: dts: rk3399: add trackpad for gru/kevin boards
authorDouglas Anderson <dianders@chromium.org>
Fri, 22 Apr 2016 18:32:48 +0000 (11:32 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 26 Apr 2016 10:51:57 +0000 (18:51 +0800)
commitb67caebc9470b9785a4ec28030fba7df7f85d99a
tree92d50d49746755496aac9bae9b5d1e3786d41a28
parentcdcdef3122b476c2a143e849e59d5d224a53887e
ARM64: dts: rk3399: add trackpad for gru/kevin boards

The trackpad bits in the DTS needed some love.  This adds some basic
infrastructure support in the main gru dts file and then adds the
specific trackpad used on kevin-r0 and kevin-r1.  For now just duplicate
between kevin-r0 and kevin-r1 and we'll decide if we want to share
later (perhaps we want an "atmel" snippet?).

Note that gpio-keymap here makes the driver appear as a trackpad rather
than a touchscreen (driver assumes that anything with buttons is a
trackpad).  Input entry corresponding to the button on the trackpad was
found by experimentation as suggested in the device tree bindings.

BUG=chrome-os-partner:52637
TEST=With series, trackpad works in browser; button works.

Change-Id: Ia62cff90449625778fd99054b914e22a55c13550
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://chrome-internal-review.googlesource.com/256510
Commit-Ready: Doug Anderson <dianders@google.com>
Tested-by: Doug Anderson <dianders@google.com>
Reviewed-by: Brian Norris <briannorris@google.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin-r0.dts
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin-r1.dts
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi