From: Andre Przywara <andre.przywara@arm.com>
To: Samuel Holland <samuel@sholland.org>
Cc: Jagan Teki <jagan@amarulasolutions.com>, u-boot@lists.denx.de
Subject: Re: [PATCH v2] pinctrl: sunxi: Add P2WI and RSB pinmuxes
Date: Tue, 13 Dec 2022 20:07:47 +0000 [thread overview]
Message-ID: <20221213200747.4fbc10a6@slackpad.lan> (raw)
In-Reply-To: <20221118042228.48294-1-samuel@sholland.org>
On Thu, 17 Nov 2022 22:22:27 -0600
Samuel Holland <samuel@sholland.org> wrote:
> P2WI and RSB are used to communicate with a PMIC. Most SoCs have only
> one possible pinmux. F1C100s has two possibilities, with different mux
> values, so omit it until some board needs one of them.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
Compared against the manuals.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cheers,
Andre
> ---
>
> Changes in v2:
> - Fix pin list comment for A80 entry
>
> drivers/pinctrl/sunxi/pinctrl-sunxi.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> index 061104be056..c4fbda7a925 100644
> --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
> @@ -338,6 +338,7 @@ static const struct sunxi_pinctrl_function sun6i_a31_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 2 }, /* PL0-PL1 */
> + { "s_p2wi", 3 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
> @@ -404,6 +405,7 @@ static const struct sunxi_pinctrl_function sun8i_a23_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 3 }, /* PL0-PL1 */
> + { "s_rsb", 2 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
> @@ -469,6 +471,7 @@ static const struct sunxi_pinctrl_function sun8i_a83t_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 2 }, /* PL8-PL9 */
> + { "s_rsb", 2 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
> @@ -574,6 +577,7 @@ static const struct sunxi_pinctrl_function sun9i_a80_r_pinctrl_functions[] = {
> { "gpio_out", 1 },
> { "s_i2c0", 2 }, /* PN0-PN1 */
> { "s_i2c1", 3 }, /* PM8-PM9 */
> + { "s_rsb", 3 }, /* PN0-PN1 */
> { "s_uart", 3 }, /* PL0-PL1 */
> };
>
> @@ -615,6 +619,7 @@ static const struct sunxi_pinctrl_function sun50i_a64_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 2 }, /* PL8-PL9 */
> + { "s_rsb", 2 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
> @@ -680,6 +685,7 @@ static const struct sunxi_pinctrl_function sun50i_h6_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 3 }, /* PL0-PL1 */
> + { "s_rsb", 2 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
> @@ -717,6 +723,7 @@ static const struct sunxi_pinctrl_function sun50i_h616_r_pinctrl_functions[] = {
> { "gpio_in", 0 },
> { "gpio_out", 1 },
> { "s_i2c", 3 }, /* PL0-PL1 */
> + { "s_rsb", 2 }, /* PL0-PL1 */
> { "s_uart", 2 }, /* PL2-PL3 */
> };
>
prev parent reply other threads:[~2022-12-13 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 4:22 [PATCH v2] pinctrl: sunxi: Add P2WI and RSB pinmuxes Samuel Holland
2022-12-13 20:07 ` Andre Przywara [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=20221213200747.4fbc10a6@slackpad.lan \
--to=andre.przywara@arm.com \
--cc=jagan@amarulasolutions.com \
--cc=samuel@sholland.org \
--cc=u-boot@lists.denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox