ite: drivers/pinmux: modify pinmux driver
Modify the pinmux control method and add support the fun3 & fun4 alternation function. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
parent
05a68b1604
commit
caa3328cc7
9 changed files with 412 additions and 78 deletions
11
include/dt-bindings/pinctrl/it8xxx2-pinctrl.h
Normal file
11
include/dt-bindings/pinctrl/it8xxx2-pinctrl.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2021 ITE Technology Corporation.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_IT8XXX2_PINCTRL_H_
|
||||
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_IT8XXX2_PINCTRL_H_
|
||||
|
||||
#define NO_FUNC 0
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_IT8XXX2_PINCTRL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue