summaryrefslogtreecommitdiff
path: root/board/elm/battery.c
Commit message (Collapse)AuthorAgeFilesLines
* Elm: Update battery parameters for SanyoRyan Zhang2016-06-251-5/+5
| | | | | | | | | | | | | BUG=chrome-os-partner:54617 BRANCH=master TEST=`make -j BOARD=elm` Change-Id: Id4bf6180b7776363f470f29d1b7d3d4d8095c659 Reviewed-by: Ryan Zhang <Ryan.Zhang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/353514 Commit-Ready: Ryan Zhang <Ryan.Zhang@quantatw.com> Tested-by: Ryan Zhang <Ryan.Zhang@quantatw.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* elm: modifications for EVTKoro Chen2016-04-251-6/+1
| | | | | | | | | | | | | | | | This add modifications for EVT, including: - Use SPI for KX022 motion sensor on the daughterboard - remove TMP432 - Use PF2 to control the external power of ANX7688 BRANCH=none BUG=chrome-os-partner:52245 TEST=make BOARD=elm -j Change-Id: I7d4021746bc8a2be0028076a5c3aeefd8736c1b0 Signed-off-by: Koro Chen <koro.chen@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/337338 Reviewed-by: Rong Chang <rongchang@chromium.org>
* elm: Modify battery cutoff commandDavid Huang2016-04-211-20/+7
| | | | | | | | | | | | | | | Modify battery cutoff command for EVT BRANCH=elm BUG=chrome-os-partner:52548 TEST=Use "ectool batterycutoff" to check battery enter shipmode. Change-Id: Ia0c620f95d6e94ec658f92c5b56cbab3ae964848 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/340168 Commit-Ready: 志偉 黃 <David.Huang@quantatw.com> Tested-by: Koro Chen <koro.chen@mediatek.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* elm: initial elm mainboardRong Chang2016-04-141-0/+65
Elm is an oak variant that uses ANX7688 PD port controller. This CL sets PD port count to 1 and modifies TCPC I2C address to 0x50. Other elm changes are included in this change: - add 2 KX022 motion sensors, remove BMI160 - remove ALS - LED configuration changed to 2 bi-color LEDs - remove pi3usb30532 - add ANX7688 mux driver - change PD interrupt polarity BRANCH=none BUG=none TEST=manual make BOARD=elm -j load and test on elm proto Signed-off-by: Rong Chang <rongchang@chromium.org> Change-Id: I8ad02da9acade985bc0e7e2f85d9e58db7e6b38d Reviewed-on: https://chromium-review.googlesource.com/331453 Reviewed-by: Shawn N <shawnn@chromium.org>