summaryrefslogtreecommitdiff
path: root/board/dirinboz
Commit message (Collapse)AuthorAgeFilesLines
* dirinboz: update AC power on limitZick Wei2021-09-091-0/+3
| | | | | | | | | | | | | | | This patch update AC only power on limit from 50W to 40W. BUG=b:199254041 BRANCH=zork TEST=make sure AC only can auto power on with 45W adapter. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Ib68acc22016d0906deacd699b13dfd3af74f6c2b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3147970 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* Reland "dirinboz: remove imu sensors"Zick Wei2021-09-094-131/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a reland of d7d8a72b24ba3f1b5845ac2d1fa61b032a2f5075 Original change's description: > dirinboz: remove imu sensors > > Dirinboz is a clamshell only device, not use imu sensors. > > BUG=b:174240357 > BRANCH=zork > TEST=can power on DUT normally. > > Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> > Change-Id: I56202d92da86b5da2919d3e285ce953f568aad5f > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017902 > Reviewed-by: Peter Marheine <pmarheine@chromium.org> > Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Bug: b:174240357 Change-Id: I2b5f1f2d653b7f6277ef5e5cfb261fe2c25779f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045865 Tested-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Commit-Queue: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
* USB MUX: Generalize mux ACKDiana Z2021-08-141-1/+5
| | | | | | | | | | | | | | | | | | | | Currently, only the virtual mux driver uses the mux ACK feature, but the actual wait for the host command ACK is a part of the usb_mux general code. Generalize this mux ACK wait so it's available if needed in the future for more muxes. Additionally, moving this wait out of the mux set will allow us to lock the muxes intelligently between tasks, without keeping the muxes locked during the inactive ACK wait. BRANCH=None BUG=b:172222942,b:186777984 TEST=tast typec.Mode*.manual on voxel Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I61a043425a482cc6f3170548c888d91ec20c2a82 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078411 Reviewed-by: Keith Short <keithshort@chromium.org>
* nct38xx: Split after-reset timestabilize-14151.B-mainDevin Lu2021-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Split after-reset time for NCT3807 and NCT3808, since the after-reset time is not the same. From the datasheet (section 4.4.2 Reset Timing) as following: * | Min | Max | * ----------------------+-------+-------+ * NCT3807 (single port) | x | 1.5ms | * ----------------------+-------+-------+ * NCT3808 (dual port) | x | 3ms | * ----------------------+-------+-------+ Currently the after-reset time for NCT3807 is zero. Change to 2ms to fit specification as well. BUG=none BRANCH=none TEST=On Redrix. Initial success with NCT3807. TEST=On Dirinboz. Initial success with NCT3807. TEST=make buildall. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I1f47f57c0d8955946b1c2522e1a1736739217f41 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3068492 Reviewed-by: caveh jalali <caveh@chromium.org>
* keyboard_scan: Add consts needed for factory test to headerRob Barnes2021-07-281-5/+0
| | | | | | | | | | | | | | | | | Add keyboard_factory_scan_pins and keyboard_factory_scan_pins_used to keyboard_scan header so they do not need to be declared as extern by individual boards. These constants need to be defined if CONFIG_KEYBOARD_FACTORY_TEST is enabled. BUG=None TEST=Build BRANCH=None Change-Id: I1a100f626b3cea251ca72703d17b2d27db0f8f28 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053101 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
* tablet_mode: Fix the race condition of setting the tablet modeWai-Hong Tam2021-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | There are 2 tablet mode triggers: * Lid: when the lid angle close to 360 degree, either detected by a GMR sensor or by the angle computed by 2 motion sensors. * Base: when the detachable base is detached. These 2 triggers set the tablet mode status, which as a boolean, resulting a race condition. This CL fixes the race condition. Each trigger updates its own bit. The final tablet mode status is the OR of all bits. BRANCH=Trogdor BUG=b:193873098 TEST=Attached the base, checked tablet_mode enabled; detached the base, checked tablet_mode disabled; flip base to 360 degree, checked tablet_mode disabled; move the base out of the lid, checked tablet_mode disabled. Change-Id: Ia9d9d2d66c194796c1039cc8b746c8d1f28a4496 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3044414 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* Revert "dirinboz: remove imu sensors"Zick Wei2021-07-234-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d7d8a72b24ba3f1b5845ac2d1fa61b032a2f5075. Reason for revert: CONFIG_LED_ONOFF_STATES accidentally delete last letter S. Original change's description: > dirinboz: remove imu sensors > > Dirinboz is a clamshell only device, not use imu sensors. > > BUG=b:174240357 > BRANCH=zork > TEST=can power on DUT normally. > > Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> > Change-Id: I56202d92da86b5da2919d3e285ce953f568aad5f > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017902 > Reviewed-by: Peter Marheine <pmarheine@chromium.org> > Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Bug: b:174240357 Change-Id: I4f2cbcc0c7931f22492c25a4ceb654da882b96cf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045864 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Zick Wei <zick.wei@quanta.corp-partner.google.com>
* dirinboz: remove imu sensorsZick Wei2021-07-234-132/+1
| | | | | | | | | | | | | | Dirinboz is a clamshell only device, not use imu sensors. BUG=b:174240357 BRANCH=zork TEST=can power on DUT normally. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I56202d92da86b5da2919d3e285ce953f568aad5f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3017902 Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
* cleanup: Fix Dynapack stringDevin Lu2021-07-212-4/+4
| | | | | | | | | | | | | | | The naming string should be DYNAPACK. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I32f2498d4e51a83bd323d313a862622b6e69967d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038017 Reviewed-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* Zork: Update TCPC reset functions to notify NCT38xx driverDiana Z2021-06-171-11/+18
| | | | | | | | | | | | | | | The NCT38xx driver is now storing boot information which should be cleared whenever the TCPC is forcibly reset through the reset line. Add these reset calls to all zork boards. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I89089a32d4d17dc260df7928028c2dc5fef45aa2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2965846 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* genvif: Use VIF overrides by defaultAbe Levkoy2021-03-301-0/+3
| | | | | | | | | | | | | | Use board-specific override files when generating VIFs for boards. BUG=b:172276715 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I197365018ceb8197c22d631cebf4cbce1c0119f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2785506 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* board/zork: Re-order includes so that enum definition comes before useTom Hughes2021-03-161-1/+2
| | | | | | | | | | | | | C++ doesn't allow forward enum references. BRANCH=none BUG=b:144959033 TEST=make buildall Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I7e1f8890005e05136eeb4e5084505988dbbb15b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2740566 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* dirinboz: add FW_CONFIG support for different keyboard layoutIsaac Lee2021-03-151-0/+8
| | | | | | | | | | BUG=b:182232569 BRANCH=firmware-zork-13434.B-main TEST=build all Change-Id: I567739a9499249d5bdb067e23ee80a957ba7c2e4 Signed-off-by: Isaac Lee <isaaclee@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2755360
* dirinboz: update thermal protect parameterZick Wei2021-03-151-10/+16
| | | | | | | | | | | | | | | | | | This patch update thermal protect parameter as below: All trigger/release by charger thermistor, Charging current 0.5A: Trigger > 58’C ; Release < 57’C CPU PROCHOT: Trigger > 63’C ; Release < 62’C Set USB-C0 port to 1.5A: Trigger > 63’C ; Release < 62’C BUG=b:181803301 BRANCH=zork TEST=verify EC behavior intended when trigger/ release thermal protection. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I9ce794a37c2d29f02f1e2829dcc53340c542b13e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2751304 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
* COIL: Rename ioexpander i2c address variableDiana Z2021-02-241-2/+2
| | | | | | | | | | | | | | Rename ioexpander i2c address to match current conventions and update any calling locations. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Iddad457f73d0dd0167496b794c00e274f8985615 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2697855 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
* board: Remove HAS_TASK_MOTIONSENSE when always definedGwendal Grignou2021-02-221-4/+0
| | | | | | | | | | | | | | | ifdef HAS_TASK_MOTIONSENSE is only necessary for board that may not have sensor. Only oak board may be compiled without the sensor stack. BUG=none BRANCH=none TEST=compile. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Change-Id: I7d8e4ff1a647e73251b91a185780025bfae78187 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2693915 Reviewed-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* board: Set Accelerometer range to 4gGwendal Grignou2021-02-131-1/+1
| | | | | | | | | | | | | | | | | For accelerometer presented to Android, set default range to 4g. Required by Android CDD - Section 7.3.1 - Paragraph C.1.4. mems_setup can correct it, but it is cleaner if the default setting is right. BUG=b:144004449 BRANCH=none TEST=compile Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Change-Id: I781eafc003823e2595d46d7170f717aaee08dc6d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657956 Reviewed-by: Alexandru M Stan <amstan@chromium.org>
* dirinboz: update thermal protect parameterZick Wei2021-01-192-0/+97
| | | | | | | | | | | | | | | | | | | This CL add below thermal parameter for dirinboz: Trigger at charger thermistor temperature > 56 C 1. Trigger AP prochot. 2. Set battery charge current to 500mA. 3. Set USB-C0 port only provide 1.5A. Release at charger thermistor temperature < 53 C BUG=b:177177974 BRANCH=zork TEST=verify EC behavior intended when trigger/ release thermal protection. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I2481b84048c70636b5ef526bcf27af278bcdf48b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2623310 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
* zork: use MKBP GPIO & host event for wake on DPPeter Marheine2021-01-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | GPIO-only MKBP only works when the AP is awake; we need to use GPIO_AND_HOST_EVENT in order to support waking the AP in response to MKBP events; in particular DP_ALT_MODE_ENTERED. We also configure the MKBP wakeup mask so powerd can apply configuration at runtime per chromeos-config: if no mask is configured then the hostcmd to set the wakeup mask is not included in the firmware. Wake on MKBP (and thus wake on DP) also requires AP firmware support. https://review.coreboot.org/c/coreboot/+/48844 implements it for Zork. BUG=b:174121852 TEST=Generating DP event via EC console on morphius with patched AP firmware successfully wakes system from S3. BRANCH=zork Signed-off-by: Peter Marheine <pmarheine@chromium.org> Change-Id: Ifb193399259674da17694aac5213bfd1f189ee59 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2607026 Reviewed-by: Edward Hill <ecgh@chromium.org>
* task_set_event: remove the wait argumentDawid Niedzwiecki2020-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | There is an option in the task_set_event function which force the calling task to wait for an event. However, the option is never used thus remove it. This also will help in the Zephyr migration process. BUG=b:172360521 BRANCH=none TEST=make buildall Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: Ic152fd3d6862d487bcc0024c48d136556c0b81bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2521599 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
* dirinboz: remove unuse configZick Wei2020-12-041-2/+0
| | | | | | | | | | | | | | | | This patch remove unuse config on dirinboz: CONFIG_IO_EXPANDER_PCAL6408 CONFIG_USB_MUX_PS8740 BUG=none BRANCH=zork TEST=make BOARD=dirinboz Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I6cbbb20b4b43c860206828943b9376959b0e1cad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2573659 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
* dirinboz: update led on/off levelZick Wei2020-11-301-12/+18
| | | | | | | | | | | | | | | | | | | | | | | This patch update led on/off level by board version and USB-C port: 1.board version >= 3 && USB-C right port led on: gpio set high led off: gpio set low 2. board version < 3 led on: gpio set low led off: gpio set high BUG=b:161210524 BRANCH=zork TEST=verify on rework board, led behavior as intended. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I6fec6968b2599702d61e9f2f1b7151ccd5c06a09 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2545913 Tested-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Commit-Queue: Zick Wei <zick.wei@quanta.corp-partner.google.com>
* dirinboz: enable keyboard factory scanZick Wei2020-11-132-0/+24
| | | | | | | | | | | | | | This patch add for factory keyboard connector test. BUG=none BRANCH=zork TEST=short keyboard pins and make sure "ectool kbfactorytest" works. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Ia05e19d43205e3dae01898ef8a46f2d6266014bf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2525251 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org>
* zork: Re-Enable CONFIG_CHARGE_RAMP_SWEdward Hill2020-09-021-0/+1
| | | | | | | | | | | | | | | We would prefer to use CONFIG_CHARGE_RAMP_HW to enable legacy BC1.2 charging but that feature of ISL9241 is broken (b/160287056) so we have to use CONFIG_CHARGE_RAMP_SW instead. BUG=b:163864475,b:167257846 BRANCH=none TEST=ramp up to 1.5A from legacy charger Signed-off-by: Denis Brockus <dbrockus@chromium.org> Change-Id: I636e2bd6db57c11ce6da24cc2417b35bb59c6d07 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2388081 Reviewed-by: Edward Hill <ecgh@chromium.org>
* Revert "zork: Enable CONFIG_CHARGE_RAMP_SW"Denis Brockus2020-08-311-1/+0
| | | | | | | | | | | | | | | | | This reverts commit 8a768a06bc876f83427691d27b4e572418406875. Reason for revert: The code as it stands breaks PD charging, so no battery charging is functional when this is landed. BUG=b:163864475,b:167257846 BRANCH=none TEST=verify Zork PD charging works Change-Id: I2c8b006e6add2e328840647367068449be28f7a6 Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2386024 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
* zork: Enable CONFIG_CHARGE_RAMP_SWEdward Hill2020-08-301-0/+1
| | | | | | | | | | | | | | We would prefer to use CONFIG_CHARGE_RAMP_HW to enable legacy BC1.2 charging but that feature of ISL9241 is broken (b/160287056) so we have to use CONFIG_CHARGE_RAMP_SW instead. BUG=b:163864475 BRANCH=zork TEST=ramp up to 1.5A from legacy charger Signed-off-by: Edward Hill <ecgh@chromium.org> Change-Id: Iec0a4b82f42fd388d738362ce9a8de4d31c61054 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2382635
* dirinboz: add LED behaviorZick Wei2020-08-203-67/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | dirinboz have two charging leds on left side and right side. each side have two colors amber and white. The led behavior define as following: Charging led: led on with charging port active, other port is off. Charging: Amber. Discharging: Off. Battery Error: Blinking white (0.4 sec on, 0.4 sec off) Fuel < 10%: Blinking white on right side port (1 sec on, 1 sec off) Force idle for factory: Blinking amber (1 sec on, 1 sec off) System suspend with non-charging state: Blinking both side LED white (1 sec on, 1 sec off) BUG=none BRANCH=none TEST=make sure led behavior intended. make sure ectool led left white/amber/off/auto work correctly. make sure ectool led right white/amber/off/auto work correctly. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: I3a182b1608554cf82fdb3b76917c01321d8d473d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2331983 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
* Dalboz/Dirinboz: Consolidate retimer power control functionsJosie Nordrum2020-08-171-12/+18
| | | | | | | | | | | | | | | | Add USBA retimer power control to HDMI retimer power control function to turn retimers off in S3. BUG=b:162747874 BRANCH=None TEST=None Signed-off-by: Josie Nordrum <josienordrum@google.com> Change-Id: I449322726f9d5d59c9281359ebdbb890c5931f8f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2352420 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org> Tested-by: Edward Hill <ecgh@chromium.org>
* dirinboz: add battery supportZick Wei2020-08-132-65/+154
| | | | | | | | | | | | | This CL add battery support for dirinboz: BUG=b:163713612 BRANCH=none TEST=verify battery can charge/discharge/cut off. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: If997582dc3d315a3e5ff0273d2992c4f2d504e62 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2351731 Reviewed-by: Edward Hill <ecgh@chromium.org>
* dirinboz: update DB settingZick Wei2020-08-133-183/+17
| | | | | | | | | | | | | | This CL remove unuse DB code for dirinboz. BUG=b:159598016 BRANCH=none TEST=verify DB function: DP/USB3.0 can work. Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Ic6b62a2f2d5428b9b88dc4bd06e099f10e083e03 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2327360 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
* Dalboz: Daughterboard IO expander pin IO5 new function EN_PWR_HDMI_DBJosie Nordrum2020-08-122-0/+19
| | | | | | | | | | | | | | Declare HDMI power enable signal. Add functions to turn off HDMI power in S3. BUG=b:162747874 TEST=None BRANCH=None Signed-off-by: Josie Nordrum <josienordrum@google.com> Change-Id: I6ab4c557bdb616b8a5514940ec39186cf6366f7a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2350029 Reviewed-by: Edward Hill <ecgh@chromium.org>
* Dalboz: Enable internal pull up for EC GPIOD4Josie Nordrum2020-08-121-1/+1
| | | | | | | | | | | | | | Add GPIO_PULL_UP to GPIOD4 for Dalboz and variants. BUG=b:162753456 TEST=None BRANCH=None Signed-off-by: Josie Nordrum <josienordrum@google.com> Change-Id: I8e261458ca31eed1b8284387546825f5e9e79bff Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2347226 Reviewed-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
* dirinboz: Remove I2C_PORT_BATTERY_V0 checkEdward Hill2020-08-111-17/+0
| | | | | | | | | | | | | Dirinboz only uses I2C_PORT_BATTERY_V1. BUG=b:155214765 BRANCH=none TEST=none Signed-off-by: Edward Hill <ecgh@chromium.org> Change-Id: I0ac8d011999a6dab32960dabbec225b0e2ae60e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2343760 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* dirinboz: Initial EC imageDevin Lu2020-07-218-0/+1261
Create the initial EC image for the dirinboz variant by copying the dalboz reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.0.3). BUG=b:161579679 BRANCH=none TEST=make BOARD=dirinboz Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I2250b2d57e39e1a118344e1f8ec65b10234e0696 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2306889 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>