1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2016 Marvell International Ltd.
4 * https://spdx.org/licenses
7 #ifndef __PINCTRL_MVEBU_H_
8 #define __PINCTRL_MVEBU_H_
10 #define MVEBU_MAX_PINCTL_BANKS 4
11 #define MVEBU_MAX_PINS_PER_BANK 100
12 #define MVEBU_MAX_FUNC 0xF
15 * struct mvebu_pin_bank_data: mvebu-pinctrl bank data
16 * @base_reg: controller base address for this bank
17 * @pin_cnt: number of pins included in this bank
18 * @max_func: maximum configurable function value for pins in this bank
20 * @bank_name: the pin's bank name
22 struct mvebu_pinctrl_priv {
27 const char *bank_name;
30 #endif /* __PINCTRL_MVEBU_H_ */