platform/chrome: chromeos_laptop - Add support for Acer C720
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 17 Jun 2014 21:02:00 +0000 (14:02 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 10 Jul 2014 16:34:48 +0000 (09:34 -0700)
commitda3b0ab75aadab63d1ffd5563100c9386e444dad
tree8eac06c74569bb137d8855e5cdb580029dd47aa7
parentcd3de83f147601356395b57a8673e9c5ff1e59d1
platform/chrome: chromeos_laptop - Add support for Acer C720

Acer C720 has touchpad and light sensor connected to a separate I2C buses.
Since the designware I2C host controller driver has two instances on this
particular machine we need a way to match the correct instance. Add support
for this and then register both C720 touchpad and light sensor.

This code is based on following patch from Benson Leung:

https://patchwork.kernel.org/patch/3074411/

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/chromeos_laptop.c