1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef _PINCTRL_SINGLE_H
4#define _PINCTRL_SINGLE_H
5
6/**
7 * irq: optional wake-up interrupt
8 * rearm: optional soc specific rearm function
9 *
10 * Note that the irq and rearm setup should come from device
11 * tree except for omap where there are still some dependencies
12 * to the legacy PRM code.
13 */
14struct pcs_pdata {
15 int irq;
16 void (*rearm)(void);
17};
18
19#endif /* _PINCTRL_SINGLE_H */
20

source code of linux/include/linux/platform_data/pinctrl-single.h