diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-10-20 19:33:00 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-11-30 13:41:31 +0100 |
commit | dcd803bebcfc0fae9c2d3d5063210e9225fe4b1b (patch) | |
tree | 257e8c2549d1dea8e3115c98e21f451b7b2331ae /drivers/pinctrl/sh-pfc | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | blackbird-obmc-linux-dcd803bebcfc0fae9c2d3d5063210e9225fe4b1b.tar.gz blackbird-obmc-linux-dcd803bebcfc0fae9c2d3d5063210e9225fe4b1b.zip |
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>
Diffstat (limited to 'drivers/pinctrl/sh-pfc')
-rw-r--r-- | drivers/pinctrl/sh-pfc/sh_pfc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h index 7b373d43d981..fb2de5297609 100644 --- a/drivers/pinctrl/sh-pfc/sh_pfc.h +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h @@ -199,6 +199,14 @@ struct sh_pfc_soc_info { 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) */ |