drivers: gpio: it8xxx2: add missing chip_chipregs.h/soc_common.h

Register definition header was missing, SoC common header as well (for
ite_intc_get_irq_num).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-10-05 17:02:11 +02:00 committed by Carles Cufí
parent ac63bca423
commit 1992699e07
2 changed files with 6 additions and 0 deletions

View file

@ -16,6 +16,10 @@
#include <string.h>
#include <zephyr/logging/log.h>
#include "gpio_utils.h"
#include <chip_chipregs.h>
#include <soc_common.h>
LOG_MODULE_REGISTER(gpio_it8xxx2, LOG_LEVEL_ERR);
#define DT_DRV_COMPAT ite_it8xxx2_gpio

View file

@ -10,6 +10,8 @@
#include <zephyr/drivers/pwm.h>
#include <zephyr/types.h>
#include <soc.h>
#define REG_EN_ENABLE 0x1
#define REG_EN_DISABLE 0x0