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:
parent
ac63bca423
commit
1992699e07
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue