summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_system
diff options
context:
space:
mode:
authorJun Lin <CHLin56@nuvoton.com>2021-03-18 11:05:36 +0800
committerCommit Bot <commit-bot@chromium.org>2021-03-21 21:54:54 +0000
commita81388b0842c517bc3b8c1c839437340ca929204 (patch)
tree374b33e6a5ba0d0302e523623e20e1c634658748 /zephyr/drivers/cros_system
parent602cf8193383c940dbf740d2dde03f9257cad9ba (diff)
downloadchrome-ec-a81388b0842c517bc3b8c1c839437340ca929204.tar.gz
zephyr: npcx:system: replace COMPAT pinctrl with scfg
In the upstream, we moved the scfg driver from driver/pinctrl to soc/arm/nuvoton_npcx/common/ and renamed the related files and COMPAT from pinctl to scfg. This CL is needed to meet the change of the upstream as it uses COMPAT "nuvoton-npcx-pinctrl" BUG=none BRANCH=none TEST=Build and boot up system on Volteer Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Cq-Depend: chromium:2771479 Change-Id: Ib8904951f021ff54fdcdb013116acfc8c5349ce0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2771481 Tested-by: CH Lin <chlin56@nuvoton.com> Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/drivers/cros_system')
-rw-r--r--zephyr/drivers/cros_system/cros_system_npcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/drivers/cros_system/cros_system_npcx.c b/zephyr/drivers/cros_system/cros_system_npcx.c
index 71eb1c4b9f..b21219355d 100644
--- a/zephyr/drivers/cros_system/cros_system_npcx.c
+++ b/zephyr/drivers/cros_system/cros_system_npcx.c
@@ -118,7 +118,7 @@ static int cros_system_npcx_soc_reset(const struct device *dev)
static struct cros_system_npcx_data cros_system_npcx_dev_data;
static const struct cros_system_npcx_config cros_system_dev_cfg = {
- .base_scfg = DT_REG_ADDR(DT_INST(0, nuvoton_npcx_pinctrl)),
+ .base_scfg = DT_REG_ADDR(DT_INST(0, nuvoton_npcx_scfg)),
.base_twd = DT_REG_ADDR(DT_INST(0, nuvoton_npcx_watchdog)),
};