| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Motion sensor are only supported in guybrush convertible designs.
Parade retimer is currently used by guybrush reference and OEM board.
ANX flags are only required in guybrush reference board.
BUG=b:194031783
BRANCH=None
TEST=make BOARD=nipperkin
make BOARD=guybrush
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Change-Id: Ia84f8396510ad833d033bb6743e22bbbdc4d5204
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088587
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable keyboard factory test. The keyboard pinout is similar to Ezkinil
so this is used as starting point.
BUG=b:178221983
TEST=ectool kbfactorytest passes
BRANCH=None
Change-Id: Ie365d184eb8144c2138e6ae56fe3a401b6035982
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3053096
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4cb260ea26a3d6e18320bea2421624fa29b1b53d.
Reason for revert: Next board version can correctly exit from hibernate.
Original change's description:
> Guybrush: Wait a long time to hibernate
>
> Avoid hibernating for now because hardware problems affect our ability
> to wake properly. Leave the hibernate command in place, in case it's
> needed for testing, but don't actually hibernate for an absurdly long
> time.
>
> BRANCH=None
> BUG=b:190056419
> TEST=on guybrush, confirm 'hibdelay' shows selected value
>
> Signed-off-by: Diana Z <dzigterman@chromium.org>
> Change-Id: I477230e9f31cbb5be10fa9c29954e9634f227c41
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3018682
> Reviewed-by: Rob Barnes <robbarnes@google.com>
Bug: b:190056419
Change-Id: I1c66e3fce4dcdfba76f7ab961260dd6e5c7679e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3032202
Auto-Submit: Diana Z <dzigterman@chromium.org>
Tested-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. This patch puts LID_ACCEL in forced mode.
2. This patch moves ACCEL_FIFO defines to baseboard
BRANCH=none
BUG=b:178213305
TEST=1. ectool motionsense
Motion sensing active
Sensor 0: 0 0 0
Sensor 1: 0 0 0
Sensor 2: -336 -1360 -16288
2. Lid accel data is showing up on ectool.
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Change-Id: If0eaa106478777a6266a77af2b47e91e354229ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3021753
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid hibernating for now because hardware problems affect our ability
to wake properly. Leave the hibernate command in place, in case it's
needed for testing, but don't actually hibernate for an absurdly long
time.
BRANCH=None
BUG=b:190056419
TEST=on guybrush, confirm 'hibdelay' shows selected value
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I477230e9f31cbb5be10fa9c29954e9634f227c41
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3018682
Reviewed-by: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable BMI323 sensor as BASE ACCEL and BASE GYRO on guybrush board.
BRANCH=none
BUG=b:178398789
TEST=Accel implementation tested on Guybrush
EC commands:
> accelinfo
> acceldata
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Change-Id: I1bda8d0836dcb62b0d4a33750246a15931c77389
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2984744
Commit-Queue: Bhanu Prakash Maiya <bhanumaiya@google.com>
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable BMA422 sensor as LID ACCEL on guybrush board.
BRANCH=none
BUG=b:178400750
TEST=1. Flash ec.bin on Guybrush SKUA1 with BMA422 sensor
2. EC console commands
> accelread 2
Current data 2: 6576 -464 14752
Last calib. data 2: 0 0 0
> accelinfo on
sensor 2 name: Lid Accel
active mask: 28
chip: 27
type: 0
location: 1
port: 8
addr: 24
range: 2
min_freq: 12500
max_freq: 200000
config:
0 - odr: 0mHz, ec_rate: 0us
1 - odr: 10000mHz, ec_rate: 100000us
2 - odr: 10000mHz, ec_rate: 0us
3 - odr: 0mHz, ec_rate: 0us
> accelrate 2 <val>
> accelres 2
Resolution for sensor 2: 12
Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Change-Id: I01aea418e426e546de9733b56dc465c70c704436
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2981466
Tested-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@google.com>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Bhanu Prakash Maiya <bhanumaiya@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable accel sensor fifo on guybrush boards.
The base accel sensor relies on interrupts and fifo.
BUG=b:191619818, b:187620322
TEST=Pass kernel_CrosECSysfsAccel
BRANCH=None
Change-Id: I697d254579fa86fa6ce5748a547142001de8048f
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2976200
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new battery for proto 0 support
BUG=b:182847979
BRANCH=none
TEST=make BOARD=guybrush
Signed-off-by: Matt_Wang <Matt_Wang@compal.corp-partner.google.com>
Change-Id: If359fcb262cc6232f496de62a59a604b5cee723a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2866027
Tested-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Matt Wang <matt_wang@compal.corp-partner.google.com>
Auto-Submit: Matt Wang <matt_wang@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new battery for proto 0 support
BRANCH=None
BUG=b:186577625
TEST=on gubyrush, charge battery. Verify cutoff works and battery can
come out of disconnect after cutoff
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ieda447e7dc404f9138ac70b4d240fba739934d52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2861056
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move battery information into the board level in anticipation of them
probably varying with each board.
BRANCH=None
BUG=b:186577625
TEST=make -j buildall, load on guybrush with trembyle battery and ensure
it's identified
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I1780949746cd30c3033b2c9f36d1ba8f5d331166
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2861055
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the common LED on/off states for LED behavior. Set it up for our
two colors: amber and white.
BRANCH=None
BUG=b:184845299
TEST=on guybrush, confirm charging shows Amber, discharging is white,
shutdown shows no LED on
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Idc57de843fd2addaaa3006d4abd8566d76b2de6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2818151
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial base BMI160 sensor.
BUG=b:178213305
BRANCH=none
TEST=make -j BOARD=guybrush
TEST=can read the sensor data in ec console by i2cxfer.
Signed-off-by: Matt_Wang <Matt_Wang@compal.corp-partner.google.com>
Change-Id: Id49ff98dc921ba173b24f3c389fcfbde337ce77c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2783514
Tested-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Reviewed-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a base_gpio.inc and base_ec.tasklist. Move nearly all the
implementation to the baseboard. Parts of the implementation can be
moved to the boards as needed.
BUG=None
TEST=Build
BRANCH=None
Change-Id: I3b6ae7539b152d8078f8ef49d7da143a6283d8d4
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2579647
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
Create guybrush skeleton build. Minimal configuration required
to build.
BUG=b:173820614
BRANCH=none
TEST=make -j BOARD=guybrush
Change-Id: I1e906da42abc565941e6e7e9ca2c79462556ce09
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2552855
Reviewed-by: Edward Hill <ecgh@chromium.org>
|