OSDN Git Service

arm64: dts: qcom: msm8916-samsung-a2015: Add touch key
authorStephan Gerhold <stephan@gerhold.net>
Fri, 4 Jun 2021 17:27:38 +0000 (19:27 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 6 Jun 2021 04:04:36 +0000 (23:04 -0500)
commit61f363a625fcbff93171a271b898fcf37dd367c3
treecbbc7f6ec87539ac22219b0809121b2756e0236f
parenteb59cd3e39835d7a87d1e2cf4f5eb5f8ecd12bba
arm64: dts: qcom: msm8916-samsung-a2015: Add touch key

The Samsung Galaxy A3/A5 both have two capacitive touch keys,
connected to an ABOV MCU. It implements the same interface as
implemented by the tm2-touchkey driver and works just fine with
the coreriver,tc360-touchkey compatible. It's probably actually some
Samsung-specific interface that they implement with different MCUs.

Note that for some reason Samsung decided to connect this to GPIOs
where no hardware I2C bus is available, so we need to fall back
to software bit-banging using i2c-gpio.

The vdd/vcc-supply is board-specific and will be added separately
for a3u/a5u.

Co-developed-by: Michael Srba <Michael.Srba@seznam.cz>
Signed-off-by: Michael Srba <Michael.Srba@seznam.cz>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210604172742.10593-1-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi