Input: bcm_iproc_tsc - use syscon to access shared registers
authorRaveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Wed, 6 Apr 2016 17:26:27 +0000 (10:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Apr 2016 23:11:56 +0000 (16:11 -0700)
commit74813cebd678dd471b4fcd7d3019aecab9dbcedd
tree64d40e8ef5b60959cadd25f13368728b2a9a912e
parent20aa787e453faec948ad75ebaa1535dbd5adb271
Input: bcm_iproc_tsc - use syscon to access shared registers

In Cygnus SOC touch screen controller registers are shared with ADC and
flex timer. Using readl/writel could lead to race condition. So touch
screen driver is enhanced to support register access using syscon framework
API's to take care of mutually exclusive access.

Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/brcm,iproc-touchscreen.txt
arch/arm/boot/dts/bcm-cygnus.dtsi
drivers/input/touchscreen/bcm_iproc_tsc.c