summaryrefslogtreecommitdiff
path: root/board/dirinboz/gpio.inc
Commit message (Collapse)AuthorAgeFilesLines
* Reland "dirinboz: remove imu sensors"Zick Wei2021-09-091-2/+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>
* Revert "dirinboz: remove imu sensors"Zick Wei2021-07-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-2/+0
| | | | | | | | | | | | | | 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>
* dirinboz: add LED behaviorZick Wei2020-08-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* dirinboz: update DB settingZick Wei2020-08-131-14/+7
| | | | | | | | | | | | | | 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-121-0/+1
| | | | | | | | | | | | | | 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: Initial EC imageDevin Lu2020-07-211-0/+140
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>