Root/
1 | /* |
2 | * i2c-mux-pinctrl platform data |
3 | * |
4 | * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, |
8 | * version 2, as published by the Free Software Foundation. |
9 | * |
10 | * This program is distributed in the hope it will be useful, but WITHOUT |
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
13 | * more details. |
14 | * |
15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ |
18 | |
19 | #ifndef _LINUX_I2C_MUX_PINCTRL_H |
20 | #define _LINUX_I2C_MUX_PINCTRL_H |
21 | |
22 | /** |
23 | * struct i2c_mux_pinctrl_platform_data - Platform data for i2c-mux-pinctrl |
24 | * @parent_bus_num: Parent I2C bus number |
25 | * @base_bus_num: Base I2C bus number for the child busses. 0 for dynamic. |
26 | * @bus_count: Number of child busses. Also the number of elements in |
27 | * @pinctrl_states |
28 | * @pinctrl_states: The names of the pinctrl state to select for each child bus |
29 | * @pinctrl_state_idle: The pinctrl state to select when no child bus is being |
30 | * accessed. If NULL, the most recently used pinctrl state will be left |
31 | * selected. |
32 | */ |
33 | struct i2c_mux_pinctrl_platform_data { |
34 | int parent_bus_num; |
35 | int base_bus_num; |
36 | int bus_count; |
37 | const char **pinctrl_states; |
38 | const char *pinctrl_state_idle; |
39 | }; |
40 | |
41 | #endif |
42 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9