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