From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/2] [RFC] pinctrl: sh-pfc: r8a7795: Add pinmux data for single-function pins
Date: Thu, 03 Sep 2015 07:12:22 +0000 [thread overview]
Message-ID: <CAMuHMdVZBpoxRPfr817JOn18f+0emOEE3Bw4zrt-R6BErycuqg@mail.gmail.com> (raw)
In-Reply-To: <1441219910-28964-1-git-send-email-geert+renesas@glider.be>
Hi Morimoto-san,
On Thu, Sep 3, 2015 at 2:10 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>> + PINMUX_DATA(AVS1_MARK, FN_AVS1),
>> + PINMUX_DATA(AVS2_MARK, FN_AVS2),
>> + PINMUX_DATA(HDMI0_CEC_MARK, FN_HDMI0_CEC),
>> + PINMUX_DATA(HDMI1_CEC_MARK, FN_HDMI1_CEC),
>> + PINMUX_DATA(MSIOF0_RXD_MARK, FN_MSIOF0_RXD),
>> + PINMUX_DATA(MSIOF0_SCK_MARK, FN_MSIOF0_SCK),
>> + PINMUX_DATA(MSIOF0_TXD_MARK, FN_MSIOF0_TXD),
>> + PINMUX_DATA(SD2_CMD_MARK, FN_SD2_CMD),
>> + PINMUX_DATA(SD3_CLK_MARK, FN_SD3_CLK),
>> + PINMUX_DATA(SD3_CMD_MARK, FN_SD3_CMD),
>> + PINMUX_DATA(SD3_DAT0_MARK, FN_SD3_DAT0),
>> + PINMUX_DATA(SD3_DAT1_MARK, FN_SD3_DAT1),
>> + PINMUX_DATA(SD3_DAT2_MARK, FN_SD3_DAT2),
>> + PINMUX_DATA(SD3_DAT3_MARK, FN_SD3_DAT3),
>> + PINMUX_DATA(SD3_DS_MARK, FN_SD3_DS),
>> + PINMUX_DATA(SSI_SCK5_MARK, FN_SSI_SCK5),
>> + PINMUX_DATA(SSI_SDATA5_MARK, FN_SSI_SDATA5),
>> + PINMUX_DATA(SSI_WS5_MARK, FN_SSI_WS5),
>
> I think you can use PINMUX_IPSR_NOGP() for this purpose.
> And, you can find PINMUX_IPSR_NOGP() listed place in end of pinmux_data()
That macro indeed expands to the same.
But isn't PINMUX_IPSR_NOGP() intended for pins without a GPIO function?
Adding some comments to the PINMUX_*() macros would be helpful...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
prev parent reply other threads:[~2015-09-03 7:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 18:51 [PATCH 1/2] [RFC] pinctrl: sh-pfc: r8a7795: Add pinmux data for single-function pins Geert Uytterhoeven
2015-09-03 0:10 ` Kuninori Morimoto
2015-09-03 7:12 ` Geert Uytterhoeven [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMuHMdVZBpoxRPfr817JOn18f+0emOEE3Bw4zrt-R6BErycuqg@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).