1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 /* 1 /* 3 * Defines macros and constants for Renesas RZ 2 * Defines macros and constants for Renesas RZ/A1 pin controller pin 4 * muxing functions. 3 * muxing functions. 5 */ 4 */ 6 #ifndef __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H 5 #ifndef __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H 7 #define __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H 6 #define __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H 8 7 9 #define RZA1_PINS_PER_PORT 16 8 #define RZA1_PINS_PER_PORT 16 10 9 11 /* 10 /* 12 * Create the pin index from its bank and posi 11 * Create the pin index from its bank and position numbers and store in 13 * the upper 16 bits the alternate function id 12 * the upper 16 bits the alternate function identifier 14 */ 13 */ 15 #define RZA1_PINMUX(b, p, f) ((b) * RZA1_PI 14 #define RZA1_PINMUX(b, p, f) ((b) * RZA1_PINS_PER_PORT + (p) | (f << 16)) 16 15 17 #endif /* __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H 16 #endif /* __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H */ 18 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.