2 * Internal interface between the core pin control system and the
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
7 * Based on bits of regulator core, gpio core and clk core
9 * Author: Linus Walleij <linus.walleij@linaro.org>
11 * License terms: GNU General Public License (GPL) version 2
16 int pinconf_check_ops(struct pinctrl_dev
*pctldev
);
17 void pinconf_init_device_debugfs(struct dentry
*devroot
,
18 struct pinctrl_dev
*pctldev
);
19 int pin_config_get_for_pin(struct pinctrl_dev
*pctldev
, unsigned pin
,
20 unsigned long *config
);
21 int pin_config_set_for_pin(struct pinctrl_dev
*pctldev
, unsigned pin
,
22 unsigned long config
);
26 static inline int pinconf_check_ops(struct pinctrl_dev
*pctldev
)
31 static inline void pinconf_init_device_debugfs(struct dentry
*devroot
,
32 struct pinctrl_dev
*pctldev
)