1 /* SPDX-License-Identifier: GPL-2.0-only OR BS 1 2 /* 3 * Copyright (C) 2023 Sophgo Ltd. 4 * 5 * Author: Inochi Amaoto <inochiama@outlook.co 6 */ 7 8 #ifndef _DT_BINDINGS_PINCTRL_CV18XX_H 9 #define _DT_BINDINGS_PINCTRL_CV18XX_H 10 11 #define PIN_MUX_INVALD 12 13 #define PINMUX2(pin, mux, mux2) \ 14 (((pin) & 0xffff) | (((mux) & 0xff) << 15 16 #define PINMUX(pin, mux) \ 17 PINMUX2(pin, mux, PIN_MUX_INVALD) 18 19 #endif /* _DT_BINDINGS_PINCTRL_CV18XX_H */ 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.