mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
pinctrl: sh-pfc: Add PINMUX_SINGLE()
Add a macro to describe a pinmux configuration for a single-function pin. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
8005c49d9a
commit
dcd803bebc
1 changed files with 8 additions and 0 deletions
|
@ -198,6 +198,14 @@ struct sh_pfc_soc_info {
|
|||
#define PINMUX_IPSR_MSEL(ipsr, fn, ms) \
|
||||
PINMUX_DATA(fn##_MARK, FN_##ms, FN_##ipsr, FN_##fn)
|
||||
|
||||
/*
|
||||
* Describe a pinmux configuration for a single-function pin with GPIO
|
||||
* capability.
|
||||
* - fn: Function name
|
||||
*/
|
||||
#define PINMUX_SINGLE(fn) \
|
||||
PINMUX_DATA(fn##_MARK, FN_##fn)
|
||||
|
||||
/*
|
||||
* GP port style (32 ports banks)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue