1 /* SPDX-License-Identifier: GPL-2.0+ OR MIT */ 1 /* SPDX-License-Identifier: GPL-2.0+ OR MIT */ 2 /* 2 /* 3 * This header provides constants for Apple pi 3 * This header provides constants for Apple pinctrl bindings. 4 */ 4 */ 5 5 6 #ifndef _DT_BINDINGS_PINCTRL_APPLE_H 6 #ifndef _DT_BINDINGS_PINCTRL_APPLE_H 7 #define _DT_BINDINGS_PINCTRL_APPLE_H 7 #define _DT_BINDINGS_PINCTRL_APPLE_H 8 8 9 #define APPLE_PINMUX(pin, func) ((pin) | ((fun 9 #define APPLE_PINMUX(pin, func) ((pin) | ((func) << 16)) 10 #define APPLE_PIN(pinmux) ((pinmux) & 0xffff) 10 #define APPLE_PIN(pinmux) ((pinmux) & 0xffff) 11 #define APPLE_FUNC(pinmux) ((pinmux) >> 16) 11 #define APPLE_FUNC(pinmux) ((pinmux) >> 16) 12 12 13 #endif /* _DT_BINDINGS_PINCTRL_APPLE_H */ 13 #endif /* _DT_BINDINGS_PINCTRL_APPLE_H */ 14 14
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.