| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add TEMP_SENSOR_5V_REGULATOR to enum names.
BUG=none
BRANCH=none
TEST=none
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Change-Id: I196d10cc6108824297401f2145a88bf1f070e9de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891563
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@google.com>
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for alternative usb_mux configuration from the devicetree.
Alternate USB mux chain is created by adding "cros-ec,usb-mux-chain"
in DTS with alternative-chain property.
To enable alternate configuration, USB_MUX_ENABLE_ALTERNATE_NODE macro
has to be used at runtime.
BUG=b:234482311
TEST=zmake build -a
TEST=./twister -T zephyr/test
BRANCH=none
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I0ae8889b225800d8741f01f8ea70c5f4f5547065
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3700330
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update Zephyr shim layer to generate struct usb_mux_chain from DTS. Now
chain has separate node instead of property in named-usbc-port.
BUG=b:236274003
TEST=zmake build -a
TEST=./twister -T zephyr/test
BRANCH=None
Cq-Depend: chromium:3780414, chromium:3780415, chromium:3780416
Cq-Depend: chromium:3780417, chromium:3780418, chromium:3780419
Cq-Depend: chromium:3780420, chromium:3780421, chromium:3858650
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: I3bc1cccc33fe64e7743baa1fe0a58c37ca1dce7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779618
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally we don't do this, but enough changes have accumulated that
we're doing a tree-wide one-off update of the name & style.
BRANCH=none
BUG=chromium:1098010
TEST=`repo upload` works
Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Emulate RTC driver
BUG=b:236074639
BRANCH=NONE
TEST=./twister -T zephyr/test
Signed-off-by: Al Semjonovs <asemjonovs@google.com>
Change-Id: Ib1073c0e30c0c39d8e778c228a89cc9b6638c887
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3880865
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the AOZ1380 as an option into the zephyr shim for boards to set up
in their devicetree.
BRANCH=None
BUG=b:244457125
TEST=zmake build skyrim; make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I1876cdca462fe9d7db0dcc0f4d2043cb43639c6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3880670
Reviewed-by: Keith Short <keithshort@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some boards may use an alternative charger chip option, so enable this
in the devicetree, similar to the alternative PPC chip.
BRANCH=None
BUG=b:231153273
TEST=zmake buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ie95671d74b0df57fd43ded73fb548e849d269c69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3868032
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move DTS bindings for USB-C related devices into sub-directories
specific for their types. Crated sub-directories under
zephyr/dts/bindings/usbc are tcpc, bc12, and ppc. USB-C muxes have their
sub-directory already created.
BUG=b:229420806
TEST=zmake build -a
TEST=./twister -T zephyr/test
BRANCH=None
Signed-off-by: Tomasz Michalec <tm@semihalf.com>
Change-Id: Ic1344e818cd80a6bf400f0b641c1caac4ade5fb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3670274
Tested-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Auto-Submit: Tomasz Michalec <tmichalec@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reuse existing linear interpolation algorithm and dts structure for
rt9490 temperature calculation.
BUG=none
TEST=`temps` in ec console looks reasonable:
ec:~$ temps
ambient 324 K (= 51 C)
charger 322 K (= 49 C)
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: If69d9332d81a5b23b851c76c2e0539d62cbdfe09
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3865584
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setup battery parameter for winterhold
BUG=b:242491702
BRANCH=none
TEST=zmake build
Signed-off-by: Leila Lin <leilacy_lin@compal.corp-partner.google.com>
Change-Id: Ib236fc2d95ac0907ff0fd73194ede8f30083fa71
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3861708
Tested-by: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: LeilaCY Lin <leilacy_lin@compal.corp-partner.google.com.test-google-a.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expand the manuf_name and device_name so that it is clear
what their use and origin is for.
BUG=none
TEST=zmake build nissa
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: I8defd0cd02eff15f4924866ca9268cad264819b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3864747
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Battery cut off fail.
Modify manufacturerName and devicename can fix it.
BUG=b:244129838
BRANCH=Xivu
TEST=zmake build xivu.Xivu battery cutoff success.
Signed-off-by: ridden_liu <ridden_liu@compal.corp-partner.google.com>
Change-Id: I4bb9a1f5133b8849bc997a16ac01b44d8a91e17d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3864744
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: SamSP Liu <samsp_liu2@compal.corp-partner.google.com>
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use thermistor RT9490 for charger temperature.
BUG=b:242267801
TEST=ectool temps all to check it can read thermistor temperature.
BRANCH=None
Signed-off-by: jeffrey <jeffrey_lin@pegatron.corp-partner.google.com>
Change-Id: I91a01adafdc6aca7fcd2afb14c4e6a099826e46e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3853779
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com>
Commit-Queue: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com>
Tested-by: Jeffrey Lin <jeffrey_lin@pegatron.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all devicetree label usage from the i2c_mock emulator.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Iece16f5aa8ff48e280db4487f38b776554556174
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855428
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all devicetree label usage from the sn5s330 emulator.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I9f30cb5ba28b85d1cef1a838327a4ff599e28506
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855427
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all devicetree label usage from the lis2dw12 emulator.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ice425e988f1d39e1eb3293c1ac1e9ff97de174d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855426
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous CLs remove the label property from the ps8xxx and generate
TCPCI emulators. Restore the tcpci.yaml file so the label property is
deprecated.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I9169a13fc9db07a76fe12abba64bac6b56b8a02f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855425
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all devicetree label usage from the isl923x emulator.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ie7bd86eadb0804d8d8321c56a2e1a06390b8d1e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855422
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all devcietree label references from the ln9310 emulator.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Id56fe974d4f18b32fcd47f9e0a2c4b69412fb827
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855420
Reviewed-by: Yuval Peress <peress@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all USB-C mux nodes onto the i2c buses from named-usbc-port nodes.
The change should simplify the upstream process of the mux chips
drivers.
BUG=b:240618099
TEST=zmake build -a; make sure usb-c works
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ieab80f2ccf2f47f93597e90f5afbda8072b71d49
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3827181
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AP20CBL new gauge IC to solve watchdog timeout issue.
Add cosmx,ap20cbl-2.yaml to define it as another battery for
Craask.
BUG=b:243772306
BRANCH=none
TEST=battery information, cut off and resume work fine
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I23d340578a4f28bfcbf774baf2bb6bbcedfff2c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3858764
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The isl923x emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I69a3622f6f9c5e0b97ad84603305f490172bfa50
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852904
Reviewed-by: Aaron Massey <aaronmassey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The i2c_mock emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Iae40d695a6ae0e92a448a6a0b123d9cb3f1b1899
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852903
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The lis2dw12 emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I03aaee950bc674036646a8598eaa3baf451bcc97
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852902
Reviewed-by: Aaron Massey <aaronmassey@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ln9310 emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I0c7596ed1a0f1564be15e30c8f4b59f5127a3563
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852901
Reviewed-by: Tristan Honscheid <honscheid@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The TCPCI emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I3bbc85dc882ae7cd17b178189979f81e3657d521
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852576
Reviewed-by: Sam Hurst <shurst@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The sn5s330 emulator and tests currently require the label property.
Override the deprecated attribute from the base.yaml.
BUG=b:239165779
BRANCH=none
TEST=./twister --clobber
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I48e603607236c4837b10a89e403e1b826c15a4d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3852575
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement a mock pwm device for testing pwm_led driver.
This driver supports 1 channel, and an extra get_duty function for
verification.
BUG=b:241064591
TEST=passed the new test in CL:3792590
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: Ife27e29bd615f37733b3592c9c8b0a6df61defb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3825344
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use separate data structures for each lsm6dso
driver data sensor entry.
v2 - add comments
BUG=b:242009482
TEST=zmake build nivviks; flash & run
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ib0bfb95ba44e1e4b90f7afc52675d777dc665600
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3834903
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Adam Mills <adamjmills@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change removes extra_flag property used to differentiate between
forced and unforced PWR_STATE_IDLE. Instead, it uses additional
charge_state PWR_STATE_FORCED_IDLE to make this differentiation.
BUG=b:241167493
TEST=zmake build --all
Tested on Skyrim proto using console command chgstate idle on|off and
observed LED behavior
BRANCH=None
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: I368a09c8b0f7b12a15a834ad850c219e976b58a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3807136
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the first part of a compatible string should be a vendor name.
BUG=b:240110919
TEST=zmake build krabby
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I6c25115b85887c02635054ee7202eeb0dfa51b33
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3825345
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all ppc nodes under the i2c bus nodes instead of named-usbc-port
nodes. The change should simplify the upstream process of the ppc chip
drivers.
BUG=b:240617931
TEST=zmake testall; zephyr/zmake/run_tests.sh
BRANCH=main
Signed-off-by: Adam Mills <adamjmills@google.com>
Change-Id: I4fcf95cd200fc82b3fedd4b3bc166e8aa8243c79
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3810131
Reviewed-by: Andrew McRae <amcrae@google.com>
Reviewed-by: Dawid Niedzwiecki <dawidn@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all charger nodes onto the i2c buses from named-usbc-port nodes.
The change should simplify the upstream process of the charger chips
drivers.
BUG=b:241062565
TEST=zmake testall; make sure charging works
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I5c8e358cc56d5fd7b5a91971d41e4269e84e949e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3805199
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all tcpc nodes onto the i2c buses from named-usbc-port nodes.
The change should simplify the upstream process of the tcpc chips
drivers.
BUG=b:240617928
TEST=zmake testall; make sure all TCPCs work by attaching a charger
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I9dfd1187fcb222df41bc3f129265e7dfd0e0c4eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3797608
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Dawid Niedźwiecki <dn@semihalf.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use ssfc bit2-3 to identify LID ACCEL sensor.
0: lis2dw12
1: bma422
BUG=b:240040384
BRANCH=none
TEST=can read raw data from bma422 after setting ssfc=0x4
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: I515b808b94b344c7c2f134a4ab1ab862a69e8370
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3807187
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Anx7447 is not able to use tcpci_usb_mux_driver, so fix this by using
anx7447_usb_mux_driver instead.
Also, add property hpd-update-enable for anx7447_tcpc_update_hpd_status.
BUG=b:227359727 b:238170235
TEST=Kingler C0 is able to DP out
BRANCH=none
Change-Id: I34d04a2d434f0140b326c9ae41b6b5c6cd8b0a80
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3801772
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename cros-ec,led-colors.yaml to cros-ec,led-policy.yaml to avoid name
conflict with child node of the same name and to reflect the purpose of
the nodes. Also, update description of properties.
BRANCH=None
BUG=b:227798487
TEST=zmake build --all
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Cq-Depend: chromium:3685751, chromium:3685752
Cq-Depend: chromium:3685753, chromium:3783354
Cq-Depend: chromium:3783355, chromium:3783356
Cq-Depend: chromium:3783357, chromium:3783185
Cq-Depend: chromium:3783183
Change-Id: I10567f48da3978ead99150bf23853d3a376a14ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3685750
Tested-by: Bob Moragues <moragues@chromium.org>
Commit-Queue: Bob Moragues <moragues@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all bc12 nodes under the i2c bus nodes instead of named-usbc-port
nodes. The change should simplify the upstream process of the bc12 chip
drivers.
BUG=b:228240586
TEST=zmake testall; make sure all bc12 chip works
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Icbf961ccc3846da53c3841bb616c3706a1876b53
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763906
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove 'frequency' from device tree as driver
is consuming that information from 'period' of PWM spec
BUG=b:230093078
BRANCH=none
TEST=zmake testall
TEST=gdb ./build/zephyr/${BOARD}/build-ro/zephyr/zephyr.elf
p _pwm_dt_spec_0_ch_1
Signed-off-by: Madhurima Paruchuri <mparuchuri@google.com>
Change-Id: Ied878863009ec74e973b19d240ff1326b9a04e2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3787657
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modify battery-smart.yaml naming and battery vendor
BUG=b:237432841
TEST=zmake build tentacruel --clobber
BRANCH=None
Signed-off-by: jeffrey_lin <jeffrey_lin@pegatron.corp-partner.google.com>
Change-Id: If8966368fe1d23f7f02b0945fe0cdba67b9cf02f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3789209
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add additional enum that is created based on used I2C ports from
devicetree.
Use the new enums to create i2c enums listed in the named-i2c-ports
node. The named-i2c-port enums that point to the same i2c port have
the same value.
The change should allow getting the i2c enum value from the
named-i2c-ports node and the i2c port node(the node created by the chip
vendor) alternately. It will be useful in process of moving usbc chips
e.g. bc12 under the i2c bus, not in the named-usbc-port node.
Since i2c enums using the same port have the same value, the
i2c_physical_ports is no longer needed.
The commit reduces the usage of memory a bit because I2C_PORT_COUNT is
lower and initialization of i2c_physical_ports isn't needed.
Also, change how the enum values are defined in the dts files. Only one
node should be created per physical i2c port and define multiple enum
values.
BUG=b:228240586
TEST=zmake testall; make sure all i2c ports work
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I95c3f6845cfb71a69d408f33a6c7b22383f10028
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763905
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add all batteries node for pujjo.
BUG=b:236791102
TEST=zmake build pujjo
BRANCH=none
Signed-off-by: jimmy.wu <jimmy.wu@lcfc.corp-partner.google.com>
Change-Id: Ia395fe8e9de20198ebefeed0dcf072b38636e358
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3787368
Reviewed-by: Andrew McRae <amcrae@google.com>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's not used.
BRANCH=none
BUG=b:239165779
TEST=zmake testall
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: Ia7ce07c4564c315898f50fbbcd5e62608bb9965d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763916
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's not used for anything, drop it, and drop the "common" file since
it's now empty.
BRANCH=none
BUG=b:239165779
TEST=zmake testall
Cq-Depend: chromium:3767557
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: Id99495522d7c508e60b00e3b197bf3bd45d88bba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763915
Reviewed-by: Sam Hurst <shurst@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove 'pwm-frequency' from device tree as driver
is consuming that information from 'period' of PWM spec
BUG=b:230093078
BRANCH=none
TEST=zmake testall
Signed-off-by: Madhurima Paruchuri <mparuchuri@google.com>
Change-Id: I94a527ea4547631f546c2565e82eff007d08312d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778930
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Zephyr DTS bindings are normally named to match their compatible
strings. Rename few bindings that were misnamed in the EC bindings
directory.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I789c6fea96cda0d0fb4b697574ed7037097f6b1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3779901
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will avoid build warning due to new batteries.
Also modify battery .yaml naming. Change Vendor_Manuf,Device.yaml to Vendor,Manuf_Device.yaml
BRANCH=none
BUG=b:239502723
TEST=zmake build joxer
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I8534b8f4170dfff3b58869d39b15aaf71d2217a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778934
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support battery ap19b8m for nerwin.
BUG=b:239366024, b:239682988
TEST=zmake build nivviks; flash run, found battery ap19b8m.
BRANCH=none
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I0ad722139140eb49b04c4d7842a2436b3de273fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778920
Reviewed-by: Andrew McRae <amcrae@google.com>
Commit-Queue: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is empty now, no sense keeping it around.
BRANCH=none
BUG=none
TEST=zmake testall
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I585008317dab45e0df8755f2d1f4a406ffb5aaff
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763912
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seems like this is unused.
BRANCH=none
BUG=b:239165779
TEST=zmake testall
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I059f388fe3301f6d7f48fdbe9cfdb6cb1c5b7ec8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3763911
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Tristan Honscheid <honscheid@google.com>
|