summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/pinctrl-single.h
blob: 7473d3c4cabfe59c3103f456e07902a43979d2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _PINCTRL_SINGLE_H
#define _PINCTRL_SINGLE_H

/**
 * irq:		optional wake-up interrupt
 * rearm:	optional soc specific rearm function
 *
 * Note that the irq and rearm setup should come from device
 * tree except for omap where there are still some dependencies
 * to the legacy PRM code.
 */
struct pcs_pdata {
	int irq;
	void (*rearm)(void);
};

#endif /* _PINCTRL_SINGLE_H */