brintos

brintos / linux-shallow public Read only

0
0
Text · 517 B · cdb9502 Raw
18 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Defines macros and constants for Renesas RZ/A1 pin controller pin4 * muxing functions.5 */6#ifndef __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H7#define __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H8 9#define RZA1_PINS_PER_PORT	1610 11/*12 * Create the pin index from its bank and position numbers and store in13 * the upper 16 bits the alternate function identifier14 */15#define RZA1_PINMUX(b, p, f)	((b) * RZA1_PINS_PER_PORT + (p) | (f << 16))16 17#endif /* __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H */18