diff options
author | Niklas Söderlund <niso@kth.se> | 2015-01-18 07:20:01 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-27 02:47:53 -0500 |
commit | 4c9e473541c52453554dd78bdef8c2deba1d2ff3 (patch) | |
tree | 8b8e68529f82e90ff03909b8a7bdd6ac869c6438 /drivers/pinctrl/sh-pfc/sh_pfc.h | |
parent | 6ac730951104a437bf828683bcf9ba66336c4fa7 (diff) |
sh-pfc: add macro to define pinmux without function
Used to define pinmux configurations where the pinmux function have no
representation in the configuration registers but instead solely depends
on a group selection.
Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/sh_pfc.h')
-rw-r--r-- | drivers/pinctrl/sh-pfc/sh_pfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h index 5b7283182c1e..c83728626906 100644 --- a/drivers/pinctrl/sh-pfc/sh_pfc.h +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h | |||
@@ -167,6 +167,8 @@ struct sh_pfc_soc_info { | |||
167 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) | 167 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) |
168 | #define PINMUX_IPSR_NOGM(ispr, fn, ms) \ | 168 | #define PINMUX_IPSR_NOGM(ispr, fn, ms) \ |
169 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ms) | 169 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ms) |
170 | #define PINMUX_IPSR_NOFN(ipsr, fn, ms) \ | ||
171 | PINMUX_DATA(fn##_MARK, FN_##ipsr, FN_##ms) | ||
170 | #define PINMUX_IPSR_MSEL(ipsr, fn, ms) \ | 172 | #define PINMUX_IPSR_MSEL(ipsr, fn, ms) \ |
171 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr, FN_##ms) | 173 | PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr, FN_##ms) |
172 | #define PINMUX_IPSR_MODSEL_DATA(ipsr, fn, ms) \ | 174 | #define PINMUX_IPSR_MODSEL_DATA(ipsr, fn, ms) \ |