| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No implementation does nothing other than return 0 on task_set_event(),
change the return type to void so that the API is clear.
BRANCH=none
BUG=none
TEST=cq dry run
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I88b20f53aa6dffa291ce78f4776888b21985f57f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3683769
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify fan freq to 25kHz and remove the PWM_CONFIG_DSLEEP flag.
BUG=b:231380285
BRANCH=none
TEST=ectool pwmsetfanrpm 1000 and the ectool pwmgetfanrpm can nearly
1000rpm.
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: Ic09d741c319cbcfbdfcb3147d371e8eef4264d0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3685930
Reviewed-by: Ricky Chang <rickytlchang@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update PWM setting, osiris PWM setting is follow kano
BUG=b:234545460 b:229039902
BRANCH=none
TEST=build pass
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I2c9aeee96be7869008f6b98029bdf242d67d8afa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3682985
Reviewed-by: Kenny Pan <kennypan@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set GPIO_EC_PCH_RTCRST to low in HOOK_INIT.
BUG=b:234105289
BRANCH=puff
TEST=make sure tool can keep going when EC cold boot
with specific RO and RW firmeware version.
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I93cadf278df36bf78e7ee797683a642980428a21
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3676898
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no side volume button for kingoftown/pazquel.
Remove incorrect config.
BUG=b:234175434
BRANCH=trogdor
TEST=emerge-trogdor chromeos-ec and check ectool mkbpget button
Signed-off-by: Knox Chiou <knoxchiou@google.com>
Change-Id: Ica13644dc9947b38219aa27aacfe7661cec15e86
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3677835
Tested-by: Knox Chiou <knoxchiou@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
Auto-Submit: Knox Chiou <knoxchiou@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
temp_host WARN 100'C
HIGH 105'C
HALT 108'C
temp_host_release HIGH 85'C
BUG=b:232981797, b:212658444
BRANCH=guybrush
TEST=verify by thermal team
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I22c5f93b4a398275ada68b2fff38c3406f4e28ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3682978
Reviewed-by: Jonathon Murphy <jpmurphy@google.com>
Commit-Queue: Jonathon Murphy <jpmurphy@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mithrax has a battery LED and no power LED.
Battery LED AC mode:
Charging (0%-94%): Amber
Full charged: White
Battery LED DC mode:
S0: Solid White
S3/S0ix: Blinking White, 1 sec on/3 sec off
S5: Led off
Battery Low(S0): Blinking Amber, 1 sec on/3 sec off
Battery Low(S3/S0ix): Blinking White, 1 sec on/3 sec off
Battery Low(S5): Led off
Battery Error(S0): Blinking Amber, 1 sec on/1 sec off
Battery Error(S3/S0ix): Blinking White, 1 sec on/3 sec off
Battery Error(S5): Led off
BUG=b:232889856
BRANCH=none
TEST=make BOARD=mithrax, and verify the led behavior on mithrax
Signed-off-by: Leila Lin <leilacy_lin@compal.corp-partner.google.com>
Change-Id: Ice0c1ccf90c279ba7559adc4e8445c62b181fe4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658670
Reviewed-by: Ricky Chang <rickytlchang@chromium.org>
Commit-Queue: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Reviewed-by: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Tested-by: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regarding battery specification. The OTP is 51 degree while
battery is charging.
BUG=b:214885316
BRANCH=none
TEST=build.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I72eb4f5330787e376d26d04f4c116782b1688306
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3676604
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:199246802
BRANCH=none
TEST=Verify FAN acoustic is not loud while EC resetting.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I9120c548a08863cebe8876c22487db0b709c1d64
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3676602
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since kingoftown doesn't support tablet mode, remove it to avoid
unexpected triggering.
BUG=none
BRANCH=trogdor
TEST=make BOARD=kingoftown
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I82acd6a56b944199e9f3dcce027199d0947429ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3667236
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Bob Moragues <moragues@chromium.org>
Reviewed-by: Bob Moragues <moragues@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize the vivaldi keyboard.
BUG=b:220800586
BRANCH=none
TEST=check all top row keys working
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I29c6a517aff72affc4c902e6c66c2a0f66a841e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3663673
Reviewed-by: Kenny Pan <kennypan@google.com>
Commit-Queue: Kenny Pan <kennypan@google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove second HDMI CEC on Moli.
BUG=b:226261530
BRANCH=none
TEST=make -j BOARD=moli
Signed-off-by: Elsie Shih <elsie_shih@wistron.corp-partner.google.com>
Change-Id: I74211222a48ee92957740c1ea934f86573934c0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3676897
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add battery AP22ABN
BUG=b:229947325
BRANCH=none
TEST=Check battery charge/discharge/cutoff working
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I8e2d3cfd08932c0a066fa53f0502ee2a1a26b721
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3662668
Commit-Queue: Kenny Pan <kennypan@google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Kenny Pan <kennypan@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed keyboard matrix
BUG=b:220800586
BRANCH=none
TEST=manual check function working
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Ida179b3cd01b1578e1b73e7bc0f92596e4df1283
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3670786
Reviewed-by: Kenny Pan <kennypan@google.com>
Commit-Queue: Kenny Pan <kennypan@google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add rgb kb function
BUG=b:233323599 b:233012340
BRANCH=none
TEST=check "ectool rgbkbd <1~12> <0xff0000|0x00ff00|0x0000ff>"
working
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I407176d33c9d958cf30c5dfef9d2abbcddd43405
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3667237
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove usb_db_type field
BUG=b:232647819
BRANCH=none
TEST=check system boot
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I09142c02eb9b1418740b33c2699ad0f9bb054023
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3670784
Commit-Queue: caveh jalali <caveh@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Define an explicit function to set events for the usb charger tasks, so
that the caller is not coupled to the internal task implementation, and
we can use a single task on a later patch.
BRANCH=none
BUG=b:226411332
TEST=make buildall
TEST=zmake testall
TEST=cq dry run
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I7a1223642b800568bf4f9864f75b2b647c84d29f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3663746
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no USB4 on mithrax remove CONFIG_USB_PD_REQUIRE_AP
_MODE_ENTRY.
BUG=b:231458605
BRANCH=none
TEST=make BOARD=mithrax
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: Ib79d9d017307cd3bb6ee1a1343ee1447c1f81eca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3662640
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Ko Ko <ko_ko@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rgb kb power:
board_kblight_init -> power on
board_kblight_shutdown -> power off
speaker power:
S0 -> power on
S3 -> power off
BUG=b:233323599 b:224423318
BRANCH=none
TEST=make BOARD=osiris
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Ia0a47c21862097467e919872ec100fc6f0969a48
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658673
Reviewed-by: Parth Malkan <parthmalkan@google.com>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add board_led_auto_control for factory test to check led state
while receive the auto control command.
BUG=b:233552221
BRANCH=none
TEST="ectool led power auto" can show correct led behavior
Signed-off-by: Leila Lin <leilacy_lin@compal.corp-partner.google.com>
Change-Id: I4ade8e9102528fa6f79b2bf73b7c756c72133fcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3666956
Reviewed-by: Elmo Lan <elmo_lan@compal.corp-partner.google.com>
Reviewed-by: Ricky Chang <rickytlchang@chromium.org>
Reviewed-by: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Tested-by: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Commit-Queue: Ricky Chang <rickytlchang@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ioex_init function has to reconfigure the ioexpander chip. For the
Zephyr ioexpander driver, which is treated as a normal GPIO driver,
means we have to configure every single pin from the ioexpander chip.
Use the gpio_reset_port function for that purpose instead of ioex_init
which bases on the ioex_config array(takes an index of the array as
argument).
This change allows reconfiguring ioexpnader pins e.g. after the
ioexpander chip reset which is done during TCPC init for Brya board.
BUG=b:231086773, b:208181774
TEST=zmake testall && Make sure PD works on ports 0 and 2 on Brya
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I8c446a4b35b03b9ed9574c6572a0daa80a9a7dee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3655999
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify RGB led mapping table for 4 zone.
BUG=b:227522597, b:231747095
BRANCH=none
TEST=make buildall -j
ectool rgbkbd 1 0xffffff
ectool rgbkbd 2 0xffffff
...
ectool rgbkbd 127 0xffffff
Signed-off-by: arthur.lin <arthur.lin@lcfc.corp-partner.google.com>
Change-Id: I1d7ae552a0b16be048598dc2b65bd9cc385a58b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3653757
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See the bug for more details.
BUG=b:233563617
BRANCH=cherry
TEST=make sure that PWM output freq. correct.
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: I9da56738667aa4ddd34c9d0126ae9f49b2d890b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3660007
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Porting keyboard action key for landrid none keyboard backlight sku.
Remove redundant indentation of landrid_keybd_backlight.
BUG=b:232135808
BRANCH=dedede
TEST=make sure keyboard function of each MB works correctly.
Signed-off-by: Hank Xie <hank.xie@quanta.corp-partner.google.com>
Change-Id: I72fb6f61600f39897df06034c2f66ad9500fcdc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3660700
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the CONFIG_HOSTCMD_I2C_CONTROL for host control i2c.
BUG=b:233298528
BRANCH=none
TEST=Switched I2C bus speed between 400 kHz and 1 MHz. And update the
PDFW success.
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: I58902856f2e4cf13a9246860bb42232a754aada8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3659122
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add flag for allow i2c speed change.
BUG=b:233298528
BRANCH=none
TEST=Switched I2C bus speed between 400 kHz and 1 MHz. And update the
PDFW success.
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: I2df4fa1ea4591ae3fe151e9cb37f28a912e9d8b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3659124
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update USB type-c ppc address
BUG=b:224423318
BRANCH=none
TEST=make BOARD=osiris
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I8d2cd453e53073b8d2c14afce2e7479b93538fc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3655722
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update pd 0 reset function
BUG=b:224423318
BRANCH=none
TEST=check ‘chgsup’, pd can switch to 20V
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Icefb7cb28a07378ec9626a1d2fbce5bcdaf69b86
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658671
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ghost has no need for reconfiguring the ADC channels at runtime.
BRANCH=none
BUG=b:230813416
TEST=make passes
Change-Id: I2bdcd8bfa5d512ff29a33286ec298a6b5862e785
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658336
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:230813416
TEST=make passes
Change-Id: Id4aa99bd228e8819403f74a395e00eb773bfab91
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658334
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:230813416
TEST=make passes
Change-Id: I5117ef044e254b097fa8fc9c184487f83d9638da
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658331
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the accelerometer is configured to use interrupt,
remove conflicting force mode definition.
Fixes commit 33e90cae341a39 ("Jacuzzi: initial new EC board fennel.")
BUG=b:230401133
BRANCH=jacuzzi
TEST=On fennel, check hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: Ib30fd54e90414f5c7dcf979f91ff3f5d855a5c62
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609364
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the accelerometer is configured to use interrupt,
remove conflicting force mode definition.
Fixes commit b0f3a5d0992f1344 ("felwinter: Initial EC image")
BUG=b:230401133
BRANCH=brya
TEST=On felwinter, check hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I37f9b199f58adeddfca32d38533662b472c7a3f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609363
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the accelerometer is configured to use interrupt,
remove conflicting force mode definition.
Fixes commit 114b5d5f3636 ("crota: Initial EC image")
BUG=b:230401133
BRANCH=brya
TEST=On crota, check hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I3f978ac199adaafd97bfa76bbcbd5cf43edcab7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609362
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the accelerometer is configured to use interrupt,
remove conflicting force mode definition.
Fixes commit ed9b4784c53c ("brya: add motionsense task and IMU sensors")
BUG=b:230401133,b:179648721
BRANCH=brya
TEST=On brya, check hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I45036bc6b849f12e4091d4aa9715385d08c5b314
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609361
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Always enable interrupt for lid accel.
BUG=b:171931139,b:230401133
BRANCH=asurada
TEST=On asurada check hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I8aa67c507d9356f49b8c9be228eb98222e8dd232
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609360
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
taniks can be stuffed with a lis12dw or a bma422.
Since the later does not have code to support interrupt, disable
interrupt for both.
BUG=b:230401133
BRANCH=brya
TEST=Check on taniks hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: Ieefd0f389bd03b77a5cd5c772b0f1a8dc30f7b85
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609359
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
taeko can be stuffed with a lis12dw or a bma422.
Since the later does not have code to support interrupt, disable
interrupt for both.
BUG=b:230401133
BRANCH=brya
TEST=Check on taeko hardware.SensorIioserviceHard passes.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: Id58b2d8474097947881bd821692a86f53a538c42
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609358
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On buggzy, interrupt line to the LIS2DW is not working as expected.
Use force mode instead.
BUG=b:230401133,b:227283291
BRANCH=dedede
TEST=On buggzy, run tast hardware.SensorIioserviceHard test.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I38cae896f7d03b6fb80d1f047d509fdb7870a707
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609357
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
board.h was missing this define. The error was hidden since
CONFIG_ACCEL_LSM6DSM_INT_EVENT was defined to 0 only in LSM6DSM driver
when not found.
See commit 55dc3bb5577 ("driver: lsm6dsm: Allow building without CONFIG_ACCEL_FIFO")
These boards are canceled projects, so it does not impact any devices.
BUG=b:230401133
BRANCH=asurada,dedede,brya
TEST=Build all. Check Zephyr with herobrine. Check on bugzzy.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I402e2a14b7d44623f859092875085b9928ef9821
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609123
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LIS2DW can be used in force mode or interrupt mode. Since
ACCEL_INTERRUPTS does not give the flexibility to enable interrupt for a
single sensor, LIS2DW_AS_BASE has been introduced.
Superseded by LIS2DW_INT_ENABLE.
Fixes commit 8df548726b24 ("driver: lis2dw12/lis2dwl: add polling mode support")
Fixes commit 4df10f7b2b0e ("zephyr: driver: add ST accel_lis2dw12")
BUG=b:230401133
BRANCH=asurada,dedede,brya
TEST=Build all. Check Zephyr with herobrine. Check on bugzzy.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I7e6ecab7eed803808dc97f84f61def339def0e40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609122
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a finer grain set of define, to allow some sensors to use interrupt
when wired properly and some use force mode when not using interrupt.
BUG=b:230401133
BRANCH=asurada,dedede,brya
TEST=Build all. Check Zephyr with herobrine. Check on bugzzy.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I9c7d50b88a0eaec017f4e5e2ccfdb80761d71fb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609121
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PD_RESET command was only supported at PD_MCU.
It was used to reset the PD MCU after firmware upgrade.
However, for TCPCs, this is also needed after TCPC firmware upgrade.
Also, add skeleton functions for reef_it8320 to suppress build error.
BUG=b:225312229
TEST=ectool pdcontrol reset
BRANCH=none
Change-Id: If2dc36dfa448d75d2310d26b08dcd91ceff830e2
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3644554
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create the initial EC image for the kuldax variant by copying
the brask reference board EC files into a new directory named for
the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.5.0).
BUG=b:233380254
BRANCH=None
TEST=make BOARD=kuldax
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: Ia6e453c2186d68c155210a2d050700bd147afb46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3655622
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:233319598
TEST=make passes
Change-Id: Ib8d0dbc8f10ec615fae5c75550ad12b7d95c963a
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658330
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:230813416
TEST=make passes
Change-Id: I7955a168338d226a55c4e9d5cf07ec0e2cd92cdc
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658329
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:233317538
TEST=make passes
Change-Id: I571d4fda59a47eda586c128a548df5c6864de594
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658328
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:230813416
TEST=make passes
Change-Id: Iae44c3c0136722060050819d58e230c9172b1885
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658327
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:233311897
TEST=make passes
Change-Id: I2ee9b89a7345cadd7453ee9ed0417da6500dc786
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3658246
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need add feture for power share in S5/G3 state.
BUG=b:230074336, b:230083233
BRANCH=none
TEST=make -j BOARD=crota
Signed-off-by: Peter Chi <peter_chi@wistron.corp-partner.google.com>
Change-Id: Ic95887aeffea90b35159056af121f81513975ab2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3602116
Commit-Queue: Boris Mittelberg <bmbm@google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|