]> Git Repo - linux.git/blob - include/dt-bindings/pinctrl/r7s72100-pinctrl.h
Merge branch 'work.__copy_to_user' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / include / dt-bindings / pinctrl / r7s72100-pinctrl.h
1 /*
2  * Defines macros and constants for Renesas RZ/A1 pin controller pin
3  * muxing functions.
4  */
5 #ifndef __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H
6 #define __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H
7
8 #define RZA1_PINS_PER_PORT      16
9
10 /*
11  * Create the pin index from its bank and position numbers and store in
12  * the upper 16 bits the alternate function identifier
13  */
14 #define RZA1_PINMUX(b, p, f)    ((b) * RZA1_PINS_PER_PORT + (p) | (f << 16))
15
16 #endif /* __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H */
This page took 0.033492 seconds and 4 git commands to generate.