Attention is currently required from: Boris Mittelberg, Caveh Jalali, Chao Jhan Bo, Jon Murphy, Karthik Ramasubramanian, Keith Short, Subrata Banik.

Chao Jhan Bo uploaded patch set #23 to this change.

View Change

ec/google: Add support for Realtek EC in ChromeOS EC

This commit adds the necessary infrastructure to support Realtek EC
controllers RTS5912/RTS5915 within the ChromeOS EC framework.

TEST=With this commit and 87702, flash to brox board with realtek rts5915
Boot normally and got those message from ap console:

[DEBUG] Google Chrome EC uptime: 698.137 seconds
[DEBUG] Google Chrome AP resets since EC boot: 6
[DEBUG] Google Chrome most recent AP reset causes:
[DEBUG] 635.380: 8 reset: during EC initialization
[DEBUG] 645.374: 32775 shutdown: entering G3
[DEBUG] 680.284: 8 reset: during EC initialization
[DEBUG] 684.586: 8 reset: during EC initialization
[DEBUG] Google Chrome EC reset flags at last EC boot: soft
[DEBUG] PNP: 0c09.0 init finished in 284 msecs

Change-Id: I44118c7b61a7efcee81acdd04be90b5022007a41
Signed-off-by: Jhan Bo Chao <jhan_bo_chao@realtek.com>
---
M src/ec/google/chromeec/Kconfig
M src/ec/google/chromeec/Makefile.mk
M src/ec/google/chromeec/ec.h
M src/ec/google/chromeec/ec_lpc.c
A src/ec/google/chromeec/mec.c
A src/ec/google/chromeec/rtk.c
M src/ec/google/common/Kconfig
7 files changed, 247 insertions(+), 107 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/87544/23

To view, visit change 87544. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I44118c7b61a7efcee81acdd04be90b5022007a41
Gerrit-Change-Number: 87544
Gerrit-PatchSet: 23
Gerrit-Owner: Chao Jhan Bo <jhan_bo_chao@realtek.corp-partner.google.com>
Gerrit-Reviewer: Boris Mittelberg <bmbm@google.com>
Gerrit-Reviewer: Caveh Jalali <caveh@chromium.org>
Gerrit-Reviewer: Keith Short <keithshort@chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Jon Murphy <jpmurphy@google.com>
Gerrit-CC: Karthik Ramasubramanian <kramasub@google.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Keith Short <keithshort@chromium.org>
Gerrit-Attention: Subrata Banik <subratabanik@google.com>
Gerrit-Attention: Caveh Jalali <caveh@chromium.org>
Gerrit-Attention: Jon Murphy <jpmurphy@google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub@google.com>
Gerrit-Attention: Chao Jhan Bo <jhan_bo_chao@realtek.corp-partner.google.com>
Gerrit-Attention: Boris Mittelberg <bmbm@google.com>