diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2021-04-21 15:49:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-23 05:42:38 +0000 |
commit | e1297cb9e7418c341049ff7918849c08ccbda953 (patch) | |
tree | a38f23fe9a92f9eafd3b695550dfa79941a1d2a0 /board | |
parent | a4e38fe2152b56a178a77c4ff8b89ba5f85e027b (diff) | |
download | chrome-ec-e1297cb9e7418c341049ff7918849c08ccbda953.tar.gz |
adlrvp: Use PCA9675 I/O expander driver structure
Updated the code use PCA9675 I/O expander's standard driver structure.
BUG=b:169814014
BRANCH=none
TEST=ADLRVP can configure retimer & CCD works
Change-Id: I61eef08214a64382338321f4a2dae9f7cfd980da
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2845014
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/adlrvpp_ite/board.c | 1 | ||||
-rw-r--r-- | board/adlrvpp_ite/gpio.inc | 2 | ||||
-rw-r--r-- | board/adlrvpp_npcx/board.c | 1 | ||||
-rw-r--r-- | board/adlrvpp_npcx/gpio.inc | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/board/adlrvpp_ite/board.c b/board/adlrvpp_ite/board.c index d9105e1396..3e39b4888d 100644 --- a/board/adlrvpp_ite/board.c +++ b/board/adlrvpp_ite/board.c @@ -11,6 +11,7 @@ #include "i2c.h" #include "it83xx_pd.h" #include "lid_switch.h" +#include "pca9675.h" #include "power.h" #include "power_button.h" #include "pwm.h" diff --git a/board/adlrvpp_ite/gpio.inc b/board/adlrvpp_ite/gpio.inc index 8dc31a7fae..9eb21524f3 100644 --- a/board/adlrvpp_ite/gpio.inc +++ b/board/adlrvpp_ite/gpio.inc @@ -12,6 +12,8 @@ * Note: Those with interrupt handlers must be declared first. */ +#include "baseboard/intelrvp/adlrvp_ioex_gpio.inc" + /* Power sequencing interrupts */ GPIO_INT(ALL_SYS_PWRGD_EC, PIN(F, 0), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(RSMRST_PWRGD_EC, PIN(F, 1), GPIO_INT_BOTH, power_signal_interrupt) diff --git a/board/adlrvpp_npcx/board.c b/board/adlrvpp_npcx/board.c index 075bbe0d83..d4221696f1 100644 --- a/board/adlrvpp_npcx/board.c +++ b/board/adlrvpp_npcx/board.c @@ -7,6 +7,7 @@ #include "button.h" #include "fusb302.h" #include "lid_switch.h" +#include "pca9675.h" #include "power.h" #include "power_button.h" #include "switch.h" diff --git a/board/adlrvpp_npcx/gpio.inc b/board/adlrvpp_npcx/gpio.inc index 74f06f965d..a059b1c6b6 100644 --- a/board/adlrvpp_npcx/gpio.inc +++ b/board/adlrvpp_npcx/gpio.inc @@ -7,6 +7,8 @@ /* Intel ADL-P-RVP-NPCX board-specific configuration */ +#include "baseboard/intelrvp/adlrvp_ioex_gpio.inc" + /* Power sequencing interrupts */ GPIO_INT(ALL_SYS_PWRGD, PIN(7, 0), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(RSMRST_PWRGD, PIN(3, 7), GPIO_INT_BOTH, power_signal_interrupt) |