brintos

brintos / linux-shallow public Read only

0
0
Text · 475 B · bc92ad1 Raw
20 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */2/*3 * Copyright (C) 2023 Sophgo Ltd.4 *5 * Author: Inochi Amaoto <inochiama@outlook.com>6 */7 8#ifndef _DT_BINDINGS_PINCTRL_CV18XX_H9#define _DT_BINDINGS_PINCTRL_CV18XX_H10 11#define PIN_MUX_INVALD				0xff12 13#define PINMUX2(pin, mux, mux2)	\14	(((pin) & 0xffff) | (((mux) & 0xff) << 16) | (((mux2) & 0xff) << 24))15 16#define PINMUX(pin, mux) \17	PINMUX2(pin, mux, PIN_MUX_INVALD)18 19#endif /* _DT_BINDINGS_PINCTRL_CV18XX_H */20