summaryrefslogtreecommitdiff
path: root/board/reef
Commit message (Collapse)AuthorAgeFilesLines
...
* reef: Initialize VBUS + BC1.2 charge_manager suppliersShawn Nematbakhsh2016-05-241-0/+29
| | | | | | | | | | | | | | | | | These must be initialized in order for charge_manager to select a port + input current limit. BUG=chrome-os-partner:53578 BRANCH=None TEST=Attach 5V USB-C charger on Reef, verify "New chg" print is seen along with "CL: p0 s1 i3000 v5000]" print. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: Ia6139d9e9c6acd17ac587b32280f11927741672d Reviewed-on: https://chromium-review.googlesource.com/347043 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org>
* reef: keep analogix pd chip in resetAaron Durbin2016-05-241-1/+1
| | | | | | | | | | | | | | | | | The gpio settings for the USB_PD_RST_ODL signal had the default state high while the power enable, EN_USB_TCPC_PWR, was low. This is combination of settings is invalid for the part. Therefore, keep USB_PD_RST_ODL low until board_set_tcpc_power_mode() is called to bring the pd chip online. BUG=chrome-os-partner:53035 BRANCH=None TEST=Rachel confirmed things still working. Change-Id: I8b6b54a474c00165a4d0af944fb60f2923b9ef5c Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347000 Reviewed-by: Shawn N <shawnn@chromium.org>
* reef: change USB_C0_PD_INT voltage toleranceAaron Durbin2016-05-241-1/+1
| | | | | | | | | | | | | | The USB_C0_PD_INT signal is actually at 3.3V levels. Don't mark the voltage sensitivity to 1.8V. BUG=chrome-os-partner:53035 BRANCH=None TEST=Rachel ran with resulting image. Nothing bad observed. Change-Id: I36bc3f911b715dc967cc8f23dfc70c3d0e5023d2 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/346734 Reviewed-by: Shawn N <shawnn@chromium.org>
* reef: don't reset analogix pd chip out of band of driverAaron Durbin2016-05-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | board_reset_pd_mcu() was provided to ensure a microcontroller USB PD implmenetation was reset. However, performing this sequence without coordinating with the analogix driver results in a mismatch of expectations regarding the internal polarity. The driver already sets the expected interrupt polarity, but performing this reset in chipset_pre_init() changes the expected setting which results in occasional power sequence state machine hangs since tcpc_get_alert_status() was always returning true. Lastly, added comment to board_reset_pd_mcu() indicating how that sequence is likely not needed if it's only invoked in the EC reset path. Getting the analogix chip out of reset works in conjunction with the default gpio settings for USB_PD_RST_ODL as well as the implementation of board_set_tcpc_power_mode(). BUG=chrome-os-partner:53035 BRANCH=None TEST=Rachel tested with change. Consistent power sequencing completes without any hangs. Change-Id: I9ffabaf85f33d6a361caef631e3e6d86c4cf8081 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/346733 Reviewed-by: Shawn N <shawnn@chromium.org>
* Driver: BD99955: Enable BC1.2 supportVijay Hiremath2016-05-241-1/+3
| | | | | | | | | | | | | | | | | BUG=none BRANCH=none TEST=Manually tested on Amenia. Connected Zinger, Type-C, DCP & CDP chargers. Device can negotiate to desired current & voltage and the battery can charge. USB2.0 sync device is detected by Kernel. Change-Id: I58cb69289eef9a966e06bef8fe31d35beaec5e27 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/341030 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Kevin K Wong <kevin.k.wong@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* reef: Initial commitDavid Hendricks2016-05-208-0/+1746
This adds the basic framework for Reef including full GPIO listing, board config file, and rudimentary functionality. It has not been fully tested and still has several TODOs/FIXMEs. For now we just need something that will build and can be incrementally improved. BUG=chrome-os-partner:53035 BRANCH=none TEST=EC and AP both boot, seems reasonably stable for now Change-Id: I4934ad00917e251dd1d7eb759207a92c45a36136 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/339292 Reviewed-by: Aaron Durbin <adurbin@chromium.org>