everywhere: fix typos
Fix a lot of typos Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
This commit is contained in:
parent
210ed711a3
commit
9713f0d47c
331 changed files with 478 additions and 478 deletions
|
@ -17,7 +17,7 @@
|
|||
#define ESPI_XEC_VWIRE_ACK_DELAY 10ul
|
||||
|
||||
/* Maximum timeout to transmit a virtual wire packet.
|
||||
* 10 ms expresed in multiples of 100us
|
||||
* 10 ms expressed in multiples of 100us
|
||||
*/
|
||||
#define ESPI_XEC_VWIRE_SEND_TIMEOUT 100ul
|
||||
|
||||
|
@ -109,7 +109,7 @@ enum mchp_smvw_regs {
|
|||
MCHP_SMVW08,
|
||||
};
|
||||
|
||||
/* Microchip cannonical virtual wire mapping
|
||||
/* Microchip canonical virtual wire mapping
|
||||
* ------------------------------------------------------------------------|
|
||||
* VW Idx | VW reg | SRC_ID3 | SRC_ID2 | SRC_ID1 | SRC_ID0 |
|
||||
* ------------------------------------------------------------------------|
|
||||
|
@ -255,7 +255,7 @@ static int espi_xec_configure(const struct device *dev, struct espi_cfg *cfg)
|
|||
cap1 |= (iomode << MCHP_ESPI_GBL_CAP1_IO_MODE_POS);
|
||||
}
|
||||
|
||||
/* Validdate and translate eSPI API channels to MEC capabilities */
|
||||
/* Validate and translate eSPI API channels to MEC capabilities */
|
||||
cap0 &= ~MCHP_ESPI_GBL_CAP0_MASK;
|
||||
if (cfg->channel_caps & ESPI_CHANNEL_PERIPHERAL) {
|
||||
if (IS_ENABLED(CONFIG_ESPI_PERIPHERAL_CHANNEL)) {
|
||||
|
@ -1209,7 +1209,7 @@ static void ibf_kbc_isr(const struct device *dev)
|
|||
struct espi_xec_data *data = (struct espi_xec_data *)(dev->data);
|
||||
|
||||
/* The high byte contains information from the host,
|
||||
* and the lower byte speficies if the host sent
|
||||
* and the lower byte specifies if the host sent
|
||||
* a command or data. 1 = Command.
|
||||
*/
|
||||
uint32_t isr_data = ((KBC_REGS->EC_DATA & 0xFF) << E8042_ISR_DATA_POS) |
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define ESPI_XEC_VWIRE_ACK_DELAY 10ul
|
||||
|
||||
/* Maximum timeout to transmit a virtual wire packet.
|
||||
* 10 ms expresed in multiples of 100us
|
||||
* 10 ms expressed in multiples of 100us
|
||||
*/
|
||||
#define ESPI_XEC_VWIRE_SEND_TIMEOUT 100ul
|
||||
|
||||
|
@ -72,7 +72,7 @@ LOG_MODULE_REGISTER(espi, CONFIG_ESPI_LOG_LEVEL);
|
|||
#define XEC_PCR_REG_BASE \
|
||||
((struct pcr_regs *)(DT_REG_ADDR(DT_NODELABEL(pcr))))
|
||||
|
||||
/* Microchip cannonical virtual wire mapping
|
||||
/* Microchip canonical virtual wire mapping
|
||||
* ------------------------------------------------------------------------|
|
||||
* VW Idx | VW reg | SRC_ID3 | SRC_ID2 | SRC_ID1 | SRC_ID0 |
|
||||
* ------------------------------------------------------------------------|
|
||||
|
@ -236,7 +236,7 @@ static int espi_xec_configure(const struct device *dev, struct espi_cfg *cfg)
|
|||
cap1 |= (iomode << MCHP_ESPI_GBL_CAP1_IO_MODE_POS);
|
||||
}
|
||||
|
||||
/* Validdate and translate eSPI API channels to MEC capabilities */
|
||||
/* Validate and translate eSPI API channels to MEC capabilities */
|
||||
cap0 &= ~MCHP_ESPI_GBL_CAP0_MASK;
|
||||
if (cfg->channel_caps & ESPI_CHANNEL_PERIPHERAL) {
|
||||
if (IS_ENABLED(CONFIG_ESPI_PERIPHERAL_CHANNEL)) {
|
||||
|
|
|
@ -171,7 +171,7 @@ static void espi_init_wui_callback(const struct device *dev,
|
|||
npcx_miwu_init_dev_callback(callback, wui, handler, dev);
|
||||
npcx_miwu_manage_dev_callback(callback, 1);
|
||||
|
||||
/* Congiure MIWU setting and enable its interrupt */
|
||||
/* Configure MIWU setting and enable its interrupt */
|
||||
npcx_miwu_interrupt_configure(wui, NPCX_MIWU_MODE_EDGE,
|
||||
NPCX_MIWU_TRIG_BOTH);
|
||||
npcx_miwu_irq_enable(wui);
|
||||
|
@ -390,7 +390,7 @@ static void espi_vw_notify_plt_rst(const struct device *dev)
|
|||
if (wire) {
|
||||
/* Set Peripheral Channel ready when PLTRST is de-asserted */
|
||||
inst->ESPICFG |= BIT(NPCX_ESPICFG_PCHANEN);
|
||||
/* Configure all host sub-modules in host doamin */
|
||||
/* Configure all host sub-modules in host domain */
|
||||
npcx_host_init_subs_host_domain();
|
||||
}
|
||||
|
||||
|
|
|
@ -659,7 +659,7 @@ static int check_ecp_access_size(uint32_t reqlen)
|
|||
}
|
||||
|
||||
/*
|
||||
* EC access (read/erase/write) to SAF atttached flash array
|
||||
* EC access (read/erase/write) to SAF attached flash array
|
||||
* cmd 0 = read
|
||||
* 1 = write
|
||||
* 2 = erase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue