diff options
author | Ruibin Chang <Ruibin.Chang@ite.com.tw> | 2021-08-31 16:36:49 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-07 16:03:51 +0000 |
commit | 6174ebd005dc54aa94e7ee7c5276e65f07b71ec6 (patch) | |
tree | bf1d420423730e1987cfc1ccceaacc0873a726b1 /zephyr/boards | |
parent | 14891fcf8ac0ac2e1c72f5d22321c6b077ab2e53 (diff) | |
download | chrome-ec-6174ebd005dc54aa94e7ee7c5276e65f07b71ec6.tar.gz |
zephyr: delete node and re-defined registers, and re-name struct
Delete kscan node to avoid duplicating unit-address and allow
the Hayato board to enable the cros-kb-raw driver.
Keyboard scan registers are moved to upstream
soc/riscv/riscv-ite/common/chip_chipregs.h,
so remove re-defined registers.
Also re-name the struct same as upstream.
BUG=none
BRANCH=none
TEST=1.zmake build it8xxx2_evb and hayato
2.on hayato, console cmd "ksstate on" then press key:
[33.633453 KB state: -- -- -- -- -- -- 80 -- -- -- -- -- --]
[33.715301 KB state: -- -- -- -- -- 10 80 -- -- -- -- -- --]
[33.729492 KB state: -- -- -- -- -- 10 -- -- -- -- -- -- --]
Cq-Depend: chromium:3193348
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Change-Id: If62f1d192c88a3a8348f4ef976dacc21663aa47e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3132552
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/boards')
-rw-r--r-- | zephyr/boards/riscv/asurada/asurada.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/boards/riscv/asurada/asurada.dts b/zephyr/boards/riscv/asurada/asurada.dts index 7b4519c0e1..9624360d42 100644 --- a/zephyr/boards/riscv/asurada/asurada.dts +++ b/zephyr/boards/riscv/asurada/asurada.dts @@ -150,6 +150,8 @@ }; soc { + /delete-node/ kscan@f01d00; + cros_kb_raw: cros-kb-raw@f01d00 { compatible = "ite,it8xxx2-cros-kb-raw"; reg = <0x00f01d00 0x29>; |