Input: max77693: Add support for Maxim 77843
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 30 Jul 2015 01:36:43 +0000 (10:36 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 7 Aug 2015 13:57:25 +0000 (14:57 +0100)
commit56bbc99e6914eb183fb083f737178a1757083d41
tree165ad97939a324b04a74e9a08acf4b4999e6f959
parent6eaa247a5bab775e45a74b52c17bf8bc37fd5f6f
Input: max77693: Add support for Maxim 77843

The Maxim 77843 haptic driver differs from 77693 by:
1. Setting the bias.
2. Different configuration register.
3. Not enabling the low-sys DAC.
4. Using same regmap for PMIC and haptic blocks.

Incorporate all differences into max77693 haptic driver so both devices
can be supported.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/input/misc/Kconfig
drivers/input/misc/max77693-haptic.c