[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1580306.72ms5WNCEt@avalon>
Date: Thu, 22 Jan 2015 23:50:41 +0200
From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
To: Niklas Söderlund <niso@....se>
Cc: linux-kernel@...r.kernel.org, linus.walleij@...aro.org,
devicetree@...r.kernel.org, linux-sh@...r.kernel.org,
magnus.damm@...il.com
Subject: Re: [PATCH v2 1/4] sh-pfc: add macro to define pinmux without function
Hi Niklas,
Thank you for the patch.
On Sunday 18 January 2015 13:20:01 Niklas Söderlund wrote:
> 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@....se>
Acked-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
> ---
> drivers/pinctrl/sh-pfc/sh_pfc.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h
> b/drivers/pinctrl/sh-pfc/sh_pfc.h index 5b72831..c837286 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 {
> PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
> #define PINMUX_IPSR_NOGM(ispr, fn, ms) \
> PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ms)
> +#define PINMUX_IPSR_NOFN(ipsr, fn, ms) \
> + PINMUX_DATA(fn##_MARK, FN_##ipsr, FN_##ms)
> #define PINMUX_IPSR_MSEL(ipsr, fn, ms) \
> PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr, FN_##ms)
> #define PINMUX_IPSR_MODSEL_DATA(ipsr, fn, ms) \
--
Regards,
Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists