staging: iio: light: cm3218: support CM32181
authorSri Krishna chowdary <schowdary@nvidia.com>
Tue, 16 Apr 2013 07:01:52 +0000 (12:01 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:18:36 +0000 (13:18 -0700)
commit17c33af76538f9e1e2bec359d04e94fb06eac2ba
tree30ba5f8153d2b80a9bf825be094920d75720f836
parentd3bf3a5bfcef8fd2fe64abe54e067c7cb5cf3b9d
staging: iio: light: cm3218: support CM32181

CM32181 is used on Ardbeg.
Modify the cm3218 driver to be compatible with k3.8.
Also, change default value for Command register on cm32181.

Bug 1256462
Bug 1327616

Change-Id: I6a3d8875befbe0f18d79ed478fb7f96a20300c0b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/219714
(cherry picked from commit 6fabee72fa38a5eb99ca90095fb4cdba7700ee1d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264210
Reviewed-by: Automatic_Commit_Validation_User
drivers/staging/iio/light/Kconfig
drivers/staging/iio/light/Makefile
drivers/staging/iio/light/cm3218.c