meowth: Add SAR Sensor in devicetree
commitc3d4c428e0c9246bba26adadc592552adf1462c0
authorGwendal Grignou <gwendal@chromium.org>
Wed, 7 Mar 2018 21:44:16 +0000 (7 13:44 -0800)
committerFurquan Shaikh <furquan@google.com>
Sat, 10 Mar 2018 00:27:22 +0000 (10 00:27 +0000)
treeec93720f6684c7bc96936bc1f4e5dd54cf297f99
parentf211165334145e1ac8e7622b5cbade01b3925a02
meowth: Add SAR Sensor in devicetree

Add left and right semtech SAR sensor.

BUG=b:74363445
TEST=Test on meowth, alongside 24962.
Check in sysfs that SX9310 is presented:
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/SX9310:00
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0d/SX9310:01

Change-Id: I017db1105800003b312e75dc7e1e27be535a457a
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://review.coreboot.org/25062
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
src/mainboard/google/zoombini/variants/meowth/devicetree.cb
src/mainboard/google/zoombini/variants/meowth/gpio.c