From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-sh@vger.kernel.org, Magnus Damm <magnus.damm@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pinctrl: pfc: r8a7791: add mux data for IIC(B) cores
Date: Tue, 25 Feb 2014 01:41:09 +0000 [thread overview]
Message-ID: <6968383.4dKPvQRapR@avalon> (raw)
In-Reply-To: <1393159095-14269-1-git-send-email-wsa@the-dreams.de>
Hi Wolfram,
Thank you for the patch.
On Sunday 23 February 2014 13:38:12 Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
>
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 64 +++++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c index 77d103f..cd28cec 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> @@ -1943,6 +1943,50 @@ static const unsigned int i2c4_c_pins[] = {
> static const unsigned int i2c4_c_mux[] = {
> SCL4_C_MARK, SDA4_C_MARK,
> };
> +/* - I2C7 -------------------------------------------------------------- */
> +static const unsigned int i2c7_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
> +};
> +static const unsigned int i2c7_mux[] = {
> + SCL7_MARK, SDA7_MARK,
> +};
> +static const unsigned int i2c7_b_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
> +};
> +static const unsigned int i2c7_b_mux[] = {
> + SCL7_B_MARK, SDA7_B_MARK,
> +};
> +static const unsigned int i2c7_c_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
> +};
> +static const unsigned int i2c7_c_mux[] = {
> + SCL7_C_MARK, SDA7_C_MARK,
> +};
> +/* - I2C8 -------------------------------------------------------------- */
> +static const unsigned int i2c8_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
> +};
> +static const unsigned int i2c8_mux[] = {
> + SCL8_MARK, SDA8_MARK,
> +};
> +static const unsigned int i2c8_b_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
> +};
> +static const unsigned int i2c8_b_mux[] = {
> + SCL8_B_MARK, SDA8_B_MARK,
> +};
> +static const unsigned int i2c8_c_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
> +};
> +static const unsigned int i2c8_c_mux[] = {
> + SCL8_C_MARK, SDA8_C_MARK,
> +};
> /* - INTC -------------------------------------------------------------- */
> static const unsigned int intc_irq0_pins[] = {
> /* IRQ */
> @@ -3123,6 +3167,12 @@ static const struct sh_pfc_pin_group pinmux_groups[]
> = { SH_PFC_PIN_GROUP(i2c4),
> SH_PFC_PIN_GROUP(i2c4_b),
> SH_PFC_PIN_GROUP(i2c4_c),
> + SH_PFC_PIN_GROUP(i2c7),
> + SH_PFC_PIN_GROUP(i2c7_b),
> + SH_PFC_PIN_GROUP(i2c7_c),
> + SH_PFC_PIN_GROUP(i2c8),
> + SH_PFC_PIN_GROUP(i2c8_b),
> + SH_PFC_PIN_GROUP(i2c8_c),
> SH_PFC_PIN_GROUP(intc_irq0),
> SH_PFC_PIN_GROUP(intc_irq1),
> SH_PFC_PIN_GROUP(intc_irq2),
> @@ -3335,6 +3385,18 @@ static const char * const i2c4_groups[] = {
> "i2c4_c",
> };
>
> +static const char * const i2c7_groups[] = {
> + "i2c7",
> + "i2c7_b",
> + "i2c7_c",
> +};
> +
> +static const char * const i2c8_groups[] = {
> + "i2c8",
> + "i2c8_b",
> + "i2c8_c",
> +};
> +
> static const char * const intc_groups[] = {
> "intc_irq0",
> "intc_irq1",
> @@ -3566,6 +3628,8 @@ static const struct sh_pfc_function pinmux_functions[]
> = { SH_PFC_FUNCTION(i2c2),
> SH_PFC_FUNCTION(i2c3),
> SH_PFC_FUNCTION(i2c4),
> + SH_PFC_FUNCTION(i2c7),
> + SH_PFC_FUNCTION(i2c8),
> SH_PFC_FUNCTION(intc),
> SH_PFC_FUNCTION(mmc),
> SH_PFC_FUNCTION(msiof0),
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-sh@vger.kernel.org, Magnus Damm <magnus.damm@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pinctrl: pfc: r8a7791: add mux data for IIC(B) cores
Date: Tue, 25 Feb 2014 02:41:09 +0100 [thread overview]
Message-ID: <6968383.4dKPvQRapR@avalon> (raw)
In-Reply-To: <1393159095-14269-1-git-send-email-wsa@the-dreams.de>
Hi Wolfram,
Thank you for the patch.
On Sunday 23 February 2014 13:38:12 Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
>
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 64 +++++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c index 77d103f..cd28cec 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> @@ -1943,6 +1943,50 @@ static const unsigned int i2c4_c_pins[] = {
> static const unsigned int i2c4_c_mux[] = {
> SCL4_C_MARK, SDA4_C_MARK,
> };
> +/* - I2C7 -------------------------------------------------------------- */
> +static const unsigned int i2c7_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
> +};
> +static const unsigned int i2c7_mux[] = {
> + SCL7_MARK, SDA7_MARK,
> +};
> +static const unsigned int i2c7_b_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
> +};
> +static const unsigned int i2c7_b_mux[] = {
> + SCL7_B_MARK, SDA7_B_MARK,
> +};
> +static const unsigned int i2c7_c_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
> +};
> +static const unsigned int i2c7_c_mux[] = {
> + SCL7_C_MARK, SDA7_C_MARK,
> +};
> +/* - I2C8 -------------------------------------------------------------- */
> +static const unsigned int i2c8_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
> +};
> +static const unsigned int i2c8_mux[] = {
> + SCL8_MARK, SDA8_MARK,
> +};
> +static const unsigned int i2c8_b_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
> +};
> +static const unsigned int i2c8_b_mux[] = {
> + SCL8_B_MARK, SDA8_B_MARK,
> +};
> +static const unsigned int i2c8_c_pins[] = {
> + /* SCL, SDA */
> + RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
> +};
> +static const unsigned int i2c8_c_mux[] = {
> + SCL8_C_MARK, SDA8_C_MARK,
> +};
> /* - INTC -------------------------------------------------------------- */
> static const unsigned int intc_irq0_pins[] = {
> /* IRQ */
> @@ -3123,6 +3167,12 @@ static const struct sh_pfc_pin_group pinmux_groups[]
> = { SH_PFC_PIN_GROUP(i2c4),
> SH_PFC_PIN_GROUP(i2c4_b),
> SH_PFC_PIN_GROUP(i2c4_c),
> + SH_PFC_PIN_GROUP(i2c7),
> + SH_PFC_PIN_GROUP(i2c7_b),
> + SH_PFC_PIN_GROUP(i2c7_c),
> + SH_PFC_PIN_GROUP(i2c8),
> + SH_PFC_PIN_GROUP(i2c8_b),
> + SH_PFC_PIN_GROUP(i2c8_c),
> SH_PFC_PIN_GROUP(intc_irq0),
> SH_PFC_PIN_GROUP(intc_irq1),
> SH_PFC_PIN_GROUP(intc_irq2),
> @@ -3335,6 +3385,18 @@ static const char * const i2c4_groups[] = {
> "i2c4_c",
> };
>
> +static const char * const i2c7_groups[] = {
> + "i2c7",
> + "i2c7_b",
> + "i2c7_c",
> +};
> +
> +static const char * const i2c8_groups[] = {
> + "i2c8",
> + "i2c8_b",
> + "i2c8_c",
> +};
> +
> static const char * const intc_groups[] = {
> "intc_irq0",
> "intc_irq1",
> @@ -3566,6 +3628,8 @@ static const struct sh_pfc_function pinmux_functions[]
> = { SH_PFC_FUNCTION(i2c2),
> SH_PFC_FUNCTION(i2c3),
> SH_PFC_FUNCTION(i2c4),
> + SH_PFC_FUNCTION(i2c7),
> + SH_PFC_FUNCTION(i2c8),
> SH_PFC_FUNCTION(intc),
> SH_PFC_FUNCTION(mmc),
> SH_PFC_FUNCTION(msiof0),
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-02-25 1:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-23 12:38 [PATCH] pinctrl: pfc: r8a7791: add mux data for IIC(B) cores Wolfram Sang
2014-02-23 12:38 ` Wolfram Sang
2014-02-25 1:41 ` Laurent Pinchart [this message]
2014-02-25 1:41 ` Laurent Pinchart
2014-02-25 9:47 ` Linus Walleij
2014-02-25 9:47 ` Linus Walleij
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=6968383.4dKPvQRapR@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=wsa@the-dreams.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.