| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several new boards were missing the HAS_COVERAGE_SUPPORT Kconfig.
BUG=b:183007888
TEST=zmake coverage build/zmake-coverage
BRANCH=None
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I249adc6f7937d514ef400a55cf573b1630a419d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2937740
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until there is a variant that needs to have a CONFIG_
option as a different value, they should stay in the
top level board configuration.
BUG=b:180980668
BRANCH=none
TEST=zmake configure -b $PROJ_ASURADA
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I78890978489be5a90656d283c6489a92060305c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2920626
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable config for keyboard scan function, and we use default keyboard
scan timing config on board hayato.
BUG=b:187192587
BRANCH=none
TEST=on hayato, console cmd "ksstate" then press key:
[115.097839 KB state: -- -- -- 02 -- -- 02 -- -- -- -- -- --]
[116.462371 KB state: -- -- -- -- -- -- 02 -- -- -- -- -- --]
[116.499633 KB state: -- -- -- -- -- -- -- -- -- -- -- -- --]
Change-Id: Ie717d7333c2ff3f4279ec7c2f8c01fcb306fc5ad
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2883376
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:188577674
BRANCH=none
TEST=boot to kernel
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ic565f6f737245a61db56a1994d2b956bf622c191
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2906533
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=none
TEST=build asurada.
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I1fb117060ecab8091ee1f54b7be2d0e93fcfcf16
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2905037
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:180980668
BRANCH=none
TEST=get powerbtn command in shell
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I1af4673b7eff84149e3aabad7ff09445a1f96e1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2895306
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some settings still look off but this syncs
up the zephyr adc multipliers/dividers to be as
the CrOS EC values that are used.
21-05-18 17:52:09.112 uart:~$ adc
21-05-18 17:52:10.663 ADC_VBUS = 20830 mV
21-05-18 17:52:10.673 ADC_BOARD_ID_0 = 588 mV
21-05-18 17:52:10.680 ADC_BOARD_ID_1 = 134 mV
21-05-18 17:52:10.690 ADC_AMON_BMON = 1777 mV
21-05-18 17:52:10.700 ADC_PMON = 43 mV
BUG=b:187210461
BRANCH=none
TEST=adc shell command
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ifa15c5e646639e5355a9fe159727b3650d34744c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2903126
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change CONFIG_SYS_CLOCK_TICKS_PER_SEC to match our timer3 frequency
for more precise timing (1 tick ~= 30.5us).
BUG=none
BRANCH=none
TEST=on hayato, console cmd "gettime" twice
and compare to my timer time
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Change-Id: I1fbd2b0674a591c57548250bc1b3ce60d8e0405c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2887025
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:187210461
BRANCH=none
TEST=AP is not booting yet, so just make sure this builds
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I9054cdb830f961f86aa083e67c2b0b0b2d1f11f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2895791
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AP is not running, so not a lot of testing that
can happen other than see if it builds. This is
required to be enabled before AP can be enabled.
BUG=b:180980668
BRANCH=none
TEST=zmake configure -b zephyr/projects/asurada/hayato
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ie106e3b3b086d5c68e83a19977209d12245349b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2895304
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=b:187210461
BRANCH=none
TEST=ec shell "adc"
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Id1915e380389bea8b3eee8d7dc4780609533ab9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2876868
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SDA and SCL components of the struct i2c_port_t are only used in
and for the i2c_wedge.c logic. This isn't needed in Zephyr. Remove
the values and functions that use them from the Zephyr build.
BRANCH=none
BUG=b:188179405
TEST=build volteer and trogdor
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I71a26fbd9bc51def744ef1f16a540728482c5a2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2896235
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The frequency wasn't actually being used as it was set by the i2c
controller in the proper Zephyr driver. Also, remove the kbps field
in struct i2c_port_t for Zephyr builds to make sure we don't
accidentally use it later on.
BRANCH=none
BUG=none
TEST=build trogdor and volteer
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I2eea231ff629d3e6f0ebbe71923a7b0ae96af87c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2896234
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hold off on merging this until
https://chromium-review.googlesource.com/#/q/2859183 and
https://chromium-review.googlesource.com/#/q/2857993
or their equivalent have been landed by ITE
BUG=b:180980668,b:186673243
BRANCH=none
TEST=i2c shell "i2c scan I2C_0"
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I6c8bbe9e6aef1ab24fc25797e379b0e5cf8a070f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2855217
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the binman device-tree input into the Zephyr build system's DTS,
which allows overriding parts of the binman settings on a
board/project specific basis using device-tree.
In the process, we need to move the flash offset and size to
device-tree instead of Kconfig, because Kconfig is not including
during device-tree preprocessing. This is overall, a net-good change,
as this should never been Kconfig in the first place. This assumes
the existing Kconfig defaults of 512 KB of flash with 256 KB sections,
however can still be overridden via device-tree.
BUG=b:184388037
BRANCH=none
TEST=zmake testall
manually investigate the flash output for lazor using dump_fmap
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I424ea15454d5cd02947642116673bebcad3406cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2860987
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4ac1d81e1430dbfbfba1376a23ab19dfa845d7ef.
The config name collides with the same config name in zephyr.
Also, renames zephyr Kconfig CONFIG_PLATFORM_EC_FLASH to
CONFIG_PLATFORM_EC_FLASH_CROS as the corresponding change at Kconfig
side.
BUG=chromium:1202406,b:180980668
TEST=make -j16 runhosttests buildall && zmake testall && \
/mnt/host/source/src/platform/ec/zephyr/firmware_builder.py --metrics \
/tmp/tmplt8ty8ci test ; echo $?
BRANCH=none
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I5b5e58b30d936b5232e049827f458d9a2ed06340
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2855320
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable GPIO and include GPIO DTS
BUG=b:180980668
BRANCH=none
TEST=ec console "gpioget"
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ied6fddfb69071fae246e1331c055b2fb61d34825
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2854335
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
EC should boot with UART active
BUG=b:180980668
BRANCH=none
TEST=zmake configure -b $PROJ_HAYATO
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Idae8453c5803442c2f9853c45462a7eb74d5c268
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2844770
Tested-by: Denis Brockus <dbrockus@chromium.org>
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
|