soc: npcx: extend group field of struct npcx_alt to 8-bit

In npcx9, the number of pinmux registers (DEVALTx) is more than 16. We
need to extend the "group" member in the struct npcx_ALT to configure
the pinmux settings in npcx9.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
Mulin Chao 2021-04-27 20:56:33 -07:00 committed by Carles Cufí
commit 358a61e83c

View file

@ -18,9 +18,10 @@ extern "C" {
* pin-muxing and its polarity to enable alternative functionality.
*/
struct npcx_alt {
uint8_t group:4;
uint8_t group;
uint8_t bit:3;
uint8_t inverted:1;
uint8_t reserved:4;
};
/**