| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since there are more projects using this driver.
Move it into driver place.
BUG=b:273191751
BRANCH=None
TEST=make buildall -j
Change-Id: I50e2cb480a551ce19722edc2b6f70824f4b9147e
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4335461
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch correct F75303 read fail on zephyr.
BUG=b:269786658
BRANCH=none
TEST=test markarth console that temps show right value.
Change-Id: I315d80e2166d0b5f4d69f4e671846abe52fccbba
Signed-off-by: Logan_Liao <Logan_Liao@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290094
Reviewed-by: Logan Liao <logan_liao@compal.corp-partner.google.com>
Tested-by: Logan Liao <logan_liao@compal.corp-partner.google.com>
Reviewed-by: Chao Gui <chaogui@google.com>
Commit-Queue: Logan Liao <logan_liao@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function is identical to get_vbus_voltage but without
checking the DEV_CAP_1. This is a refactor for some TCPCI
(e.g. ANX7447) support VBUS sensing, but doesn't report it
in DEV_CAP_1.
BUG=b:272664811
TEST=./twister -T zephyr/test/drivers
BRANCH=none
Change-Id: Ic66fc1dd86eea363f82388453c0181f35bfc5ae6
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4333418
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The scale mask is at b10 and b11. So the shift should be 10 instead.
BUG=b:272664811
TEST=with the next CL, ./twister -c -i -T zephyr/test/drivers
BRANCH=none
Change-Id: I53aa0557a184eec5d49dcfb7ba33869eba764470
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4328913
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flip the comparator inverter output when the charger
chip is running in OTG mode so that the AC_PRESENT
signal is correctly generated. The AC_PRESENT relies on the
ACOK signal, but during OTG mode, ACOK is on when the
charger is sourcing power to the port, so AC_PRESENT should
be off.
BUG=b:263691951
TEST=Verify with nivviks that AC_PRESENT is generated correctly
BRANCH=none
Change-Id: I004b8caaa63a902dd54288840c044bbe920e1347
Signed-off-by: Andrew McRae <amcrae@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4179436
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some drivers massage retrieved chip info in assorted ways (usually
because the chips misbehave), but it's both confusing and inefficient
how that interacts with cached chip info because the consuming driver
needs to always interpose itself between possibly-cached values and its
caller, usually requiring another layer of caching.
This adds a new tcpci_get_chip_info_mutable() function that works like
tcpci_get_chip_info(), but the caller can provide a function that
modifies the cached data in order to do any required massaging. A
callback is used rather than an output pointer to give the
implementation freedom to change its behavior more, such as by adding
locking to prevent the latent concurrency bugs that currently lurk in
it.
This also fixes a bug in the previous implementation where partial data
would be cached if an error occurred in reading certain TCPC registers.
BUG=b:244502337
TEST=make buildall; zmake build -a; twister
BRANCH=none
Change-Id: Ia3dcac109eb22bf0326e3fd1722aa64fe9f73f50
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4179431
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set 'DP CONNECTION' bit when mux_state gets HPD event only on
the ports with HDMI/DP card
It will increase BBR power consumption, so set 'DP CONNECTION'
bit only when mux_state gets HPD event only on the ports with
HDMI/DP card.
BUG=b:233975818
BRANCH=None
TEST=Test on Banshee, when only hdmi card 'DP CONNECTION' bit
is 0. Enter console command bb 1 r 4 =0x403, plug in hdmi
monitor bb 1 r 4 =0x8503.
Run ./twister -T zephyr/test/drivers
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: I87b2a4379e66e08830c556d703390a7fb96d3258
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4050320
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Boris Mittelberg <bmbm@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop unnecessary headers.
BUG=none
TEST=zmake compare-builds \
$(find zephyr/program/corsola/ -type f -name project.overlay \
| sed -r 's|/[^/]+$||' | sed -r 's|^.+/||')
BRANCH=corsola
Change-Id: I45e1a8ac51f6a8dee9488b2d2845422a4fa90652
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4095602
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Auto-Submit: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sort all includes in driver with the clang-format rules used by
the zephyr project.
BRANCH=None
BUG=b:247100970
TEST=zmake build -a
TEST=./twister --clobber -v -i
TEST=make -j72 buildall_only runtests
TEST=zmake compare-builds -a
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I675e0db416b6b7cbcfce031c97fd24ad97b66f4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4052767
Reviewed-by: Yuval Peress <peress@google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sort all includes in include with the clang-format rules used by
the zephyr project.
BRANCH=None
BUG=b:247100970
TEST=zmake build -a
TEST=./twister --clobber -v -i
TEST=make -j72 buildall_only runtests
TEST=zmake compare-builds -a
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Ic23f440ebd93519e4341423cf6cb7a298620cbfe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4049883
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Tristan Honscheid <honscheid@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:259354679
BRANCH=none
TEST=make buildall -j
Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Change-Id: Ia93b7fb6c927e2d527186e0d59d3e37da01ed820
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4001240
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a few headers here that don't include the stdint or stdbool
headers, but use the int or bool types defined there.
BRANCH=None
BUG=b:247100970
TEST=CQ
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Idbf7e4d0c5182821fbc9fe9fb60690b12701bf75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4022252
Commit-Queue: Simon Glass <sjg@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the temperature sensor drivers declare periodic one second hook
to update cached temperature measurement. Declare common hook and call
the update function for every sensor.
The change allows better manageing of the update calls, e.g. checking
power-good pin.
BUG=b:244474857
BRANCH=main
TEST=skyrim doesn't spam "Recover Bus failed" in G3
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ibdfe63e20c726efb738deaa23444f7d6dd87b5e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3909669
Reviewed-by: Diana Z <dzigterman@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Dawid Niedzwiecki <dawidn@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add PCT2075 temperature sensor emulator. The PCT2075 doesn't support
the OS pin.
The emulator helps with testing code that is touched only by i2c
temperature sensors.
BUG=b:244474857
BRANCH=main
TEST=twister -T zephyr/test/drivers
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Iaefed4ffd50b17b59da89361abeded28456751ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4020414
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Dawid Niedzwiecki <dawidn@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an API which may be used to adjust the flat gain settings of pins on
the retimer individually.
BUG=b:254616597
BRANCH=none
TEST=zmake skyrim winterhold successfully
LOW_COVERAGE_REASON=no emulator for the ANX7483 exists
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: I3677f25a0fe16b4a0393dc1377848a6a453a849e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3985350
Reviewed-by: Diana Z <dzigterman@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:247796816
BRANCH=None
TEST=./twister -T zephyr/test/rex --clobber
Signed-off-by: Madhurima Paruchuri <mparuchuri@google.com>
Change-Id: Iefe2eeb69eee1edca5bea0c7cbe6c0e1a6974514
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3956154
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify nct38xx and fusb3802 get vbus voltage function to use the
tcpm_drv API.
BUG=b:252974232
BRANCH=none
TEST=zmake build skyrim winterhold adlrvp_npcx ass
TEST=Winterhold with this function ectool usbpdpower can get the voltage
LOW_COVERAGE_REASON=we don't have an NCT emulator yet
Signed-off-by: Matt Wang <matt_wang@compal.corp-partner.google.com>
Change-Id: Iedd7165aad0c471c60f750cc4b207eef609d2eed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3951752
Reviewed-by: Diana Z <dzigterman@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Elthan Huang <elthan_huang@compal.corp-partner.google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bb_retimer_set_usb3() function is no longer used.
Set USB_MUX_FLAG_CAN_IDLE in usb_mux.flags instead.
BRANCH=none
BUG=b:245753005
TEST='make buildall' passes
Change-Id: I2ca48ae6e641ac7a8243a0ddac198d7234241d52
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3914996
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the BB driver to support the recently introduced
.set_idle_mode() interface.
Also, the existing bb_retimer_set_usb3() interface is implemented using
this new .set_idle_mode() interface. bb_retimer_set_usb3() will be
removed when callers are updated to use the new interface.
BRANCH=none
BUG=b:245753005
TEST='make buildall' passes
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: I0c8d8e53ecf4dca7f1ded4bab560597570e5ea44
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3914993
Reviewed-by: Diana Z <dzigterman@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for the PS8818 in the shim so it can be configured using the
devicetree. Note that all of the PS8818's include file is "public" in
that boards regularly manipulate the registers directly rather than
through well-formed APIs.
BRANCH=None
BUG=b:244457125
TEST=zmake build skyrim
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ia182ca5617d312db2acb8fb7680a7847a3a7ecb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3905887
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the burnside bridge datasheet, the extended connection mode
register is actually at offset 7, not 6.
BRANCH=none
BUG=none
TEST='make BOARD=brya' passes
'./twister -v -T zephyr/test' passes
Change-Id: If0ad1d68d58f7731c242bb7393b7c56957916ab8
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3901261
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Define a common function for setting the rms noise floor.
Use static function per sensor to set the proper floor.
BUG=b:236799854
BRANCH=dedede
TEST=Compile
Change-Id: I18e228fd98cb230a77d435f3865c8b249162a4bc
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3860188
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add tcpc_get_bist_test_mode which returns the
BIST mode control status.
BUG=b:229812911
TEST=ensure the BIST status is reported correctly
BRANCH=none
Change-Id: Idbec04e449c962ee1b3185aa91a324c1a5215960
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3787827
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bb retimer usb3 state can be set to enable/disable.
Add mutexing access to the BB_RETIMER_REG_CONNECTION_STATE register.
BUG=b:233975818
BRANCH=None
TEST=build make -j BOARD=Banshee pass
Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>
Change-Id: Ie59223ac23d5380a52de0189b27fd12eeb81ec89
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3756998
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the mask registers will be reseted after hard reset received.
TCPM did full initialization and restore the mask registers as well.
However, full initialization will cause tPSHardReset time to worse.
To improve tPSHardReset time during hard reset, so only restore the
mask registers during hard reset.
BUG=b:232326002
BRANCH=none
TEST=On Vell. Check tPSHardReset time.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I2ae250af7cb06fe5102c8ba4dce98e5d467a2d93
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3702883
Tested-by: Devin Lu <devin.lu@quantatw.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PS8745 is broadly identical to the PS8815, to the point that some
firmware versions of PS8745.A2 claim to be PS8815.A2. A workaround is
included to check whether a device is PS8815 or PS8745 and correct the
device IDs if needed.
BUG=b:236761058,b:237593618
TEST=PS8745-A2 now reports correct IDs on Nereid and USB port
still works.
BRANCH=none
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I5d0542ef00956414854e6a38b1d127294cb3df0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3752425
Reviewed-by: Andrew McRae <amcrae@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A number of files have had non-compliant changes uploaded since all
files were formatted. Likely, the changes were uploaded before
CL:3751770, so the author would not have seen any pre-upload failures.
Re-format these files.
This CL was generated via:
clang-format -i $(find -name '*.[ch]' -type f -not -path '*third_party*')
BUG=b:236386294
BRANCH=none
TEST=none
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Iedad17d13c29f45c7601d43f7fa2ce3215cc678e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3751462
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
move i2c device register address and function declarations into
public header.
BUG=b:227359727
TEST=zmake
BRANCH=none
Change-Id: I2fa6cf979a94d5b459e2b50bd1f37d14e44bc204
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3721944
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
move i2c device register address and function declarations into
public header.
BUG=b:227359727
TEST=zmake
BRANCH=none
Change-Id: I6abf44ed35c48a5a8ff087130867b67c1cc5ec8c
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3721943
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
move i2c device register address and function declarations into
public header.
BUG=b:227359727
TEST=zmake
BRANCH=none
Change-Id: I51c967c53c3052196bc51964a7ca2f7d104a1781
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3721942
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Tested-by: Eric Yilun Lin <yllin@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the default tuning function for the ANX7483 devicetree
USB mux configuration.
BUG=b:233170580
TEST=zmake testall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: I7cb7082e155a94380d7289187184eac0659954cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3739110
Reviewed-by: Diana Z <dzigterman@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I9d5c0f7fba31b62d373bd07d438b6f7926ee8ed1
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730258
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: If0d5183eac01d0f822b013bd340d8d6d825162c3
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730257
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I92250a4af94f79a81e8509e3ada49926a4a304eb
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730255
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I4c59ffad975a95cdd2e7143d5234b920f2636420
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730272
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I3c1570c0468ebde3e29c9ddc0352b5cf3b5480d5
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730269
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I21a3e2cfbdf2a7b5614610c9c6a820f2469786d9
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730244
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ibcff21093dca2225efdb0433f542b71ef22ca6db
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730273
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ib53918b5910763a36b1f49d10db329b335e70fd6
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730106
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ib3119c7b9bd3c961919bc772fdbd855ad27b8d8e
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730270
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I5c401c552f6e599bd97b4ca6b3509da1bf65310f
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730276
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I6c54eb98398e2673a785af028f1665c37bfb44ad
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730248
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I8701aeb65e931b2567353c4aec627f82bbf21ba2
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730250
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: If9f64b38886c24399fd2cfdb64b4dbefe1cad01e
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730256
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I5b6ee32b6c386768e51f63c0d093b61b63d9edde
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730253
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Iab45abf98e097b508ac53eabf0565fc502f34287
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730274
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ie8164ca4e4dc817882b2ad48cc9d9bbceb689e54
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730254
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I7cac80a05792dbc09d65a0c6df0875e55ba900fa
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730268
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|