FILE
pinctrl-cv18xx.h
File preview with syntax highlighting.
linux-6.19.14/include/dt-bindings/pinctrl/pinctrl-cv18xx.h
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_H 9#define _DT_BINDINGS_PINCTRL_CV18XX_H 10 11#define PIN_MUX_INVALD 0xff 12 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 */
~/
Read-only file preview.