blob: d50af1ce381f4c996680fb739047a89396173345 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Masahiro Yamadad90a5a32015-08-27 12:44:29 +09002/*
3 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadad90a5a32015-08-27 12:44:29 +09004 */
5
6#ifndef __PINCTRL_H
7#define __PINCTRL_H
8
Patrice Chotardd5a83132018-10-24 14:10:17 +02009#define PINNAME_SIZE 10
10#define PINMUX_SIZE 40
11
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090012/**
13 * struct pinconf_param - pin config parameters
14 *
15 * @property: property name in DT nodes
16 * @param: ID for this config parameter
17 * @default_value: default value for this config parameter used in case
18 * no value is specified in DT nodes
19 */
20struct pinconf_param {
21 const char * const property;
22 unsigned int param;
23 u32 default_value;
24};
25
26/**
27 * struct pinctrl_ops - pin control operations, to be implemented by
28 * pin controller drivers.
29 *
30 * The @set_state is the only mandatory operation. You can implement your
31 * pinctrl driver with its own @set_state. In this case, the other callbacks
32 * are not required. Otherwise, generic pinctrl framework is also available;
33 * use pinctrl_generic_set_state for @set_state, and implement other operations
34 * depending on your necessity.
35 *
36 * @get_pins_count: return number of selectable named pins available
Sean Anderson9c08fbf2020-09-14 11:01:55 -040037 * in this driver. (necessary to parse "pins" property in DTS)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090038 * @get_pin_name: return the pin name of the pin selector,
39 * called by the core to figure out which pin it shall do
Sean Anderson9c08fbf2020-09-14 11:01:55 -040040 * operations to. (necessary to parse "pins" property in DTS)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090041 * @get_groups_count: return number of selectable named groups available
Sean Anderson9c08fbf2020-09-14 11:01:55 -040042 * in this driver. (necessary to parse "groups" property in DTS)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090043 * @get_group_name: return the group name of the group selector,
44 * called by the core to figure out which pin group it shall do
Sean Anderson9c08fbf2020-09-14 11:01:55 -040045 * operations to. (necessary to parse "groups" property in DTS)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090046 * @get_functions_count: return number of selectable named functions available
Sean Anderson9c08fbf2020-09-14 11:01:55 -040047 * in this driver. (necessary for pin-muxing)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090048 * @get_function_name: return the function name of the muxing selector,
49 * called by the core to figure out which mux setting it shall map a
Sean Anderson9c08fbf2020-09-14 11:01:55 -040050 * certain device to. (necessary for pin-muxing)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090051 * @pinmux_set: enable a certain muxing function with a certain pin.
52 * The @func_selector selects a certain function whereas @pin_selector
53 * selects a certain pin to be used. On simple controllers one of them
Sean Anderson9c08fbf2020-09-14 11:01:55 -040054 * may be ignored. (necessary for pin-muxing against a single pin)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090055 * @pinmux_group_set: enable a certain muxing function with a certain pin
Sean Anderson9c08fbf2020-09-14 11:01:55 -040056 * group. The @func_selector selects a certain function whereas
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090057 * @group_selector selects a certain set of pins to be used. On simple
58 * controllers one of them may be ignored.
59 * (necessary for pin-muxing against a pin group)
Sean Anderson9c08fbf2020-09-14 11:01:55 -040060 * @pinmux_property_set: enable a pinmux group. @pinmux_group should specify the
61 * pin identifier and mux settings. The exact format of a pinmux group is
62 * left up to the driver. The pin selector for the mux-ed pin should be
63 * returned on success. (necessary to parse the "pinmux" property in DTS)
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090064 * @pinconf_num_params: number of driver-specific parameters to be parsed
65 * from device trees (necessary for pin-configuration)
66 * @pinconf_params: list of driver_specific parameters to be parsed from
67 * device trees (necessary for pin-configuration)
68 * @pinconf_set: configure an individual pin with a given parameter.
69 * (necessary for pin-configuration against a single pin)
70 * @pinconf_group_set: configure all pins in a group with a given parameter.
71 * (necessary for pin-configuration against a pin group)
72 * @set_state: do pinctrl operations specified by @config, a pseudo device
73 * pointing a config node. (necessary for pinctrl_full)
74 * @set_state_simple: do needed pinctrl operations for a peripherl @periph.
75 * (necessary for pinctrl_simple)
Patrice Chotardf55a0c02018-10-24 14:10:13 +020076 * @get_pin_muxing: display the muxing of a given pin.
Marek Vasutae59d7c2019-04-21 23:57:23 +020077 * @gpio_request_enable: requests and enables GPIO on a certain pin.
78 * Implement this only if you can mux every pin individually as GPIO. The
79 * affected GPIO range is passed along with an offset(pin number) into that
80 * specific GPIO range - function selectors and pin groups are orthogonal
81 * to this, the core will however make sure the pins do not collide.
82 * @gpio_disable_free: free up GPIO muxing on a certain pin, the reverse of
83 * @gpio_request_enable
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090084 */
85struct pinctrl_ops {
86 int (*get_pins_count)(struct udevice *dev);
87 const char *(*get_pin_name)(struct udevice *dev, unsigned selector);
88 int (*get_groups_count)(struct udevice *dev);
89 const char *(*get_group_name)(struct udevice *dev, unsigned selector);
90 int (*get_functions_count)(struct udevice *dev);
91 const char *(*get_function_name)(struct udevice *dev,
92 unsigned selector);
93 int (*pinmux_set)(struct udevice *dev, unsigned pin_selector,
94 unsigned func_selector);
95 int (*pinmux_group_set)(struct udevice *dev, unsigned group_selector,
96 unsigned func_selector);
Sean Anderson9c08fbf2020-09-14 11:01:55 -040097 int (*pinmux_property_set)(struct udevice *dev, u32 pinmux_group);
Masahiro Yamadad90a5a32015-08-27 12:44:29 +090098 unsigned int pinconf_num_params;
99 const struct pinconf_param *pinconf_params;
100 int (*pinconf_set)(struct udevice *dev, unsigned pin_selector,
101 unsigned param, unsigned argument);
102 int (*pinconf_group_set)(struct udevice *dev, unsigned group_selector,
103 unsigned param, unsigned argument);
104 int (*set_state)(struct udevice *dev, struct udevice *config);
Simon Glassc5acf4a2015-08-30 16:55:13 -0600105
106 /* for pinctrl-simple */
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900107 int (*set_state_simple)(struct udevice *dev, struct udevice *periph);
Simon Glassc5acf4a2015-08-30 16:55:13 -0600108 /**
109 * request() - Request a particular pinctrl function
110 *
111 * This activates the selected function.
112 *
113 * @dev: Device to adjust (UCLASS_PINCTRL)
114 * @func: Function number (driver-specific)
115 * @return 0 if OK, -ve on error
116 */
117 int (*request)(struct udevice *dev, int func, int flags);
118
119 /**
120 * get_periph_id() - get the peripheral ID for a device
121 *
122 * This generally looks at the peripheral's device tree node to work
123 * out the peripheral ID. The return value is normally interpreted as
124 * enum periph_id. so long as this is defined by the platform (which it
125 * should be).
126 *
127 * @dev: Pinctrl device to use for decoding
128 * @periph: Device to check
129 * @return peripheral ID of @periph, or -ENOENT on error
130 */
131 int (*get_periph_id)(struct udevice *dev, struct udevice *periph);
Simon Glass77eaa192016-01-21 19:43:56 -0700132
133 /**
134 * get_gpio_mux() - get the mux value for a particular GPIO
135 *
136 * This allows the raw mux value for a GPIO to be obtained. It is
137 * useful for displaying the function being used by that GPIO, such
138 * as with the 'gpio' command. This function is internal to the GPIO
139 * subsystem and should not be used by generic code. Typically it is
140 * used by a GPIO driver with knowledge of the SoC pinctrl setup.
141 *
142 * @dev: Pinctrl device to use
143 * @banknum: GPIO bank number
144 * @index: GPIO index within the bank
145 * @return mux value (SoC-specific, e.g. 0 for input, 1 for output)
146 */
147 int (*get_gpio_mux)(struct udevice *dev, int banknum, int index);
Patrice Chotardf55a0c02018-10-24 14:10:13 +0200148
149 /**
150 * get_pin_muxing() - show pin muxing
151 *
152 * This allows to display the muxing of a given pin. It's useful for
153 * debug purpose to know if a pin is configured as GPIO or as an
154 * alternate function and which one.
155 * Typically it is used by a PINCTRL driver with knowledge of the SoC
156 * pinctrl setup.
157 *
158 * @dev: Pinctrl device to use
159 * @selector: Pin selector
160 * @buf Pin's muxing description
161 * @size Pin's muxing description length
162 * return 0 if OK, -ve on error
163 */
164 int (*get_pin_muxing)(struct udevice *dev, unsigned int selector,
165 char *buf, int size);
Marek Vasutae59d7c2019-04-21 23:57:23 +0200166
167 /**
168 * gpio_request_enable: requests and enables GPIO on a certain pin.
169 *
170 * @dev: Pinctrl device to use
171 * @selector: Pin selector
172 * return 0 if OK, -ve on error
173 */
174 int (*gpio_request_enable)(struct udevice *dev, unsigned int selector);
175
176 /**
177 * gpio_disable_free: free up GPIO muxing on a certain pin.
178 *
179 * @dev: Pinctrl device to use
180 * @selector: Pin selector
181 * return 0 if OK, -ve on error
182 */
183 int (*gpio_disable_free)(struct udevice *dev, unsigned int selector);
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900184};
185
186#define pinctrl_get_ops(dev) ((struct pinctrl_ops *)(dev)->driver->ops)
187
188/**
189 * Generic pin configuration paramters
190 *
Peng Fan0fe4e412018-01-05 14:05:17 +0800191 * enum pin_config_param - possible pin configuration parameters
192 * @PIN_CONFIG_BIAS_BUS_HOLD: the pin will be set to weakly latch so that it
193 * weakly drives the last value on a tristate bus, also known as a "bus
194 * holder", "bus keeper" or "repeater". This allows another device on the
195 * bus to change the value by driving the bus high or low and switching to
196 * tristate. The argument is ignored.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900197 * @PIN_CONFIG_BIAS_DISABLE: disable any pin bias on the pin, a
198 * transition from say pull-up to pull-down implies that you disable
199 * pull-up in the process, this setting disables all biasing.
200 * @PIN_CONFIG_BIAS_HIGH_IMPEDANCE: the pin will be set to a high impedance
201 * mode, also know as "third-state" (tristate) or "high-Z" or "floating".
202 * On output pins this effectively disconnects the pin, which is useful
203 * if for example some other pin is going to drive the signal connected
204 * to it for a while. Pins used for input are usually always high
205 * impedance.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900206 * @PIN_CONFIG_BIAS_PULL_DOWN: the pin will be pulled down (usually with high
207 * impedance to GROUND). If the argument is != 0 pull-down is enabled,
208 * if it is 0, pull-down is total, i.e. the pin is connected to GROUND.
209 * @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT: the pin will be pulled up or down based
210 * on embedded knowledge of the controller hardware, like current mux
211 * function. The pull direction and possibly strength too will normally
212 * be decided completely inside the hardware block and not be readable
213 * from the kernel side.
214 * If the argument is != 0 pull up/down is enabled, if it is 0, the
215 * configuration is ignored. The proper way to disable it is to use
216 * @PIN_CONFIG_BIAS_DISABLE.
Peng Fan0fe4e412018-01-05 14:05:17 +0800217 * @PIN_CONFIG_BIAS_PULL_UP: the pin will be pulled up (usually with high
218 * impedance to VDD). If the argument is != 0 pull-up is enabled,
219 * if it is 0, pull-up is total, i.e. the pin is connected to VDD.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900220 * @PIN_CONFIG_DRIVE_OPEN_DRAIN: the pin will be driven with open drain (open
221 * collector) which means it is usually wired with other output ports
222 * which are then pulled up with an external resistor. Setting this
223 * config will enable open drain mode, the argument is ignored.
224 * @PIN_CONFIG_DRIVE_OPEN_SOURCE: the pin will be driven with open source
225 * (open emitter). Setting this config will enable open source mode, the
226 * argument is ignored.
Peng Fan0fe4e412018-01-05 14:05:17 +0800227 * @PIN_CONFIG_DRIVE_PUSH_PULL: the pin will be driven actively high and
228 * low, this is the most typical case and is typically achieved with two
229 * active transistors on the output. Setting this config will enable
230 * push-pull mode, the argument is ignored.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900231 * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current
232 * passed as argument. The argument is in mA.
Guillaume La Roque4c2eecf2019-06-04 13:53:06 +0200233 * @PIN_CONFIG_DRIVE_STRENGTH_UA: the pin will sink or source at most the current
234 * passed as argument. The argument is in uA.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900235 * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode,
236 * which means it will wait for signals to settle when reading inputs. The
237 * argument gives the debounce time in usecs. Setting the
238 * argument to zero turns debouncing off.
Peng Fan0fe4e412018-01-05 14:05:17 +0800239 * @PIN_CONFIG_INPUT_ENABLE: enable the pin's input. Note that this does not
240 * affect the pin's ability to drive output. 1 enables input, 0 disables
241 * input.
242 * @PIN_CONFIG_INPUT_SCHMITT: this will configure an input pin to run in
243 * schmitt-trigger mode. If the schmitt-trigger has adjustable hysteresis,
244 * the threshold value is given on a custom format as argument when
245 * setting pins to this mode.
246 * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin.
247 * If the argument != 0, schmitt-trigger mode is enabled. If it's 0,
248 * schmitt-trigger mode is disabled.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900249 * @PIN_CONFIG_LOW_POWER_MODE: this will configure the pin for low power
250 * operation, if several modes of operation are supported these can be
251 * passed in the argument on a custom form, else just use argument 1
252 * to indicate low power mode, argument 0 turns low power mode off.
Peng Fan0fe4e412018-01-05 14:05:17 +0800253 * @PIN_CONFIG_OUTPUT_ENABLE: this will enable the pin's output mode
254 * without driving a value there. For most platforms this reduces to
255 * enable the output buffers and then let the pin controller current
256 * configuration (eg. the currently selected mux function) drive values on
257 * the line. Use argument 1 to enable output mode, argument 0 to disable
258 * it.
259 * @PIN_CONFIG_OUTPUT: this will configure the pin as an output and drive a
260 * value on the line. Use argument 1 to indicate high level, argument 0 to
261 * indicate low level. (Please see Documentation/driver-api/pinctl.rst,
262 * section "GPIO mode pitfalls" for a discussion around this parameter.)
263 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power
264 * supplies, the argument to this parameter (on a custom format) tells
265 * the driver which alternative power source to use.
266 * @PIN_CONFIG_SLEEP_HARDWARE_STATE: indicate this is sleep related state.
267 * @PIN_CONFIG_SLEW_RATE: if the pin can select slew rate, the argument to
268 * this parameter (on a custom format) tells the driver which alternative
269 * slew rate to use.
270 * @PIN_CONFIG_SKEW_DELAY: if the pin has programmable skew rate (on inputs)
271 * or latch delay (on outputs) this parameter (in a custom format)
272 * specifies the clock skew or latch delay. It typically controls how
273 * many double inverters are put in front of the line.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900274 * @PIN_CONFIG_END: this is the last enumerator for pin configurations, if
275 * you need to pass in custom configurations to the pin controller, use
276 * PIN_CONFIG_END+1 as the base offset.
Peng Fan0fe4e412018-01-05 14:05:17 +0800277 * @PIN_CONFIG_MAX: this is the maximum configuration value that can be
278 * presented using the packed format.
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900279 */
Peng Fan0fe4e412018-01-05 14:05:17 +0800280enum pin_config_param {
281 PIN_CONFIG_BIAS_BUS_HOLD,
282 PIN_CONFIG_BIAS_DISABLE,
283 PIN_CONFIG_BIAS_HIGH_IMPEDANCE,
284 PIN_CONFIG_BIAS_PULL_DOWN,
285 PIN_CONFIG_BIAS_PULL_PIN_DEFAULT,
286 PIN_CONFIG_BIAS_PULL_UP,
287 PIN_CONFIG_DRIVE_OPEN_DRAIN,
288 PIN_CONFIG_DRIVE_OPEN_SOURCE,
289 PIN_CONFIG_DRIVE_PUSH_PULL,
290 PIN_CONFIG_DRIVE_STRENGTH,
Guillaume La Roque4c2eecf2019-06-04 13:53:06 +0200291 PIN_CONFIG_DRIVE_STRENGTH_UA,
Peng Fan0fe4e412018-01-05 14:05:17 +0800292 PIN_CONFIG_INPUT_DEBOUNCE,
293 PIN_CONFIG_INPUT_ENABLE,
294 PIN_CONFIG_INPUT_SCHMITT,
295 PIN_CONFIG_INPUT_SCHMITT_ENABLE,
296 PIN_CONFIG_LOW_POWER_MODE,
297 PIN_CONFIG_OUTPUT_ENABLE,
298 PIN_CONFIG_OUTPUT,
299 PIN_CONFIG_POWER_SOURCE,
300 PIN_CONFIG_SLEEP_HARDWARE_STATE,
301 PIN_CONFIG_SLEW_RATE,
302 PIN_CONFIG_SKEW_DELAY,
303 PIN_CONFIG_END = 0x7F,
304 PIN_CONFIG_MAX = 0xFF,
305};
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900306
307#if CONFIG_IS_ENABLED(PINCTRL_GENERIC)
308/**
309 * pinctrl_generic_set_state() - generic set_state operation
310 * Parse the DT node of @config and its children and handle generic properties
311 * such as "pins", "groups", "functions", and pin configuration parameters.
312 *
313 * @pctldev: pinctrl device
314 * @config: config device (pseudo device), pointing a config node in DTS
315 * @return: 0 on success, or negative error code on failure
316 */
317int pinctrl_generic_set_state(struct udevice *pctldev, struct udevice *config);
318#else
319static inline int pinctrl_generic_set_state(struct udevice *pctldev,
320 struct udevice *config)
321{
322 return -EINVAL;
323}
324#endif
325
326#if CONFIG_IS_ENABLED(PINCTRL)
327/**
328 * pinctrl_select_state() - set a device to a given state
329 *
330 * @dev: peripheral device
331 * @statename: state name, like "default"
332 * @return: 0 on success, or negative error code on failure
333 */
334int pinctrl_select_state(struct udevice *dev, const char *statename);
335#else
336static inline int pinctrl_select_state(struct udevice *dev,
337 const char *statename)
338{
339 return -EINVAL;
340}
341#endif
342
Simon Glassc5acf4a2015-08-30 16:55:13 -0600343/**
344 * pinctrl_request() - Request a particular pinctrl function
345 *
346 * @dev: Device to check (UCLASS_PINCTRL)
347 * @func: Function number (driver-specific)
348 * @flags: Flags (driver-specific)
349 * @return 0 if OK, -ve on error
350 */
351int pinctrl_request(struct udevice *dev, int func, int flags);
352
353/**
354 * pinctrl_request_noflags() - Request a particular pinctrl function
355 *
356 * This is similar to pinctrl_request() but uses 0 for @flags.
357 *
358 * @dev: Device to check (UCLASS_PINCTRL)
359 * @func: Function number (driver-specific)
360 * @return 0 if OK, -ve on error
361 */
362int pinctrl_request_noflags(struct udevice *dev, int func);
363
364/**
365 * pinctrl_get_periph_id() - get the peripheral ID for a device
366 *
367 * This generally looks at the peripheral's device tree node to work out the
368 * peripheral ID. The return value is normally interpreted as enum periph_id.
369 * so long as this is defined by the platform (which it should be).
370 *
371 * @dev: Pinctrl device to use for decoding
372 * @periph: Device to check
373 * @return peripheral ID of @periph, or -ENOENT on error
374 */
375int pinctrl_get_periph_id(struct udevice *dev, struct udevice *periph);
376
Simon Glass52db39a2016-01-21 19:43:26 -0700377/**
Simon Glass77eaa192016-01-21 19:43:56 -0700378 * pinctrl_get_gpio_mux() - get the mux value for a particular GPIO
379 *
380 * This allows the raw mux value for a GPIO to be obtained. It is
381 * useful for displaying the function being used by that GPIO, such
382 * as with the 'gpio' command. This function is internal to the GPIO
383 * subsystem and should not be used by generic code. Typically it is
384 * used by a GPIO driver with knowledge of the SoC pinctrl setup.
385 *
386 * @dev: Pinctrl device to use
387 * @banknum: GPIO bank number
388 * @index: GPIO index within the bank
389 * @return mux value (SoC-specific, e.g. 0 for input, 1 for output)
390*/
391int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index);
392
Patrice Chotardf55a0c02018-10-24 14:10:13 +0200393/**
394 * pinctrl_get_pin_muxing() - Returns the muxing description
395 *
396 * This allows to display the muxing description of the given pin for
397 * debug purpose
398 *
399 * @dev: Pinctrl device to use
400 * @selector Pin index within pin-controller
401 * @buf Pin's muxing description
402 * @size Pin's muxing description length
403 * @return 0 if OK, -ve on error
404 */
405int pinctrl_get_pin_muxing(struct udevice *dev, int selector, char *buf,
406 int size);
407
Patrice Chotard8bbb5b22018-10-24 14:10:14 +0200408/**
409 * pinctrl_get_pins_count() - display pin-controller pins number
410 *
411 * This allows to know the number of pins owned by a given pin-controller
412 *
413 * @dev: Pinctrl device to use
414 * @return pins number if OK, -ve on error
415 */
416int pinctrl_get_pins_count(struct udevice *dev);
417
418/**
419 * pinctrl_get_pin_name() - Returns the pin's name
420 *
421 * This allows to display the pin's name for debug purpose
422 *
423 * @dev: Pinctrl device to use
424 * @selector Pin index within pin-controller
425 * @buf Pin's name
426 * @return 0 if OK, -ve on error
427 */
428int pinctrl_get_pin_name(struct udevice *dev, int selector, char *buf,
429 int size);
Marek Vasutae59d7c2019-04-21 23:57:23 +0200430
431/**
432 * pinctrl_gpio_request() - request a single pin to be used as GPIO
433 *
434 * @dev: GPIO peripheral device
435 * @offset: the GPIO pin offset from the GPIO controller
436 * @return: 0 on success, or negative error code on failure
437 */
438int pinctrl_gpio_request(struct udevice *dev, unsigned offset);
439
440/**
441 * pinctrl_gpio_free() - free a single pin used as GPIO
442 *
443 * @dev: GPIO peripheral device
444 * @offset: the GPIO pin offset from the GPIO controller
445 * @return: 0 on success, or negative error code on failure
446 */
447int pinctrl_gpio_free(struct udevice *dev, unsigned offset);
448
Masahiro Yamadad90a5a32015-08-27 12:44:29 +0900449#endif /* __PINCTRL_H */