mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Jules Maselbas" <jmaselbas@zdiv.net>
To: "Ahmad Fatoum" <a.fatoum@pengutronix.de>, <barebox@lists.infradead.org>
Subject: Re: [PATCH v2 3/6] pinctrl: Add sun50i-a64 pinctrl driver
Date: Thu, 16 Jan 2025 15:28:16 +0100	[thread overview]
Message-ID: <D73KH1ETF4PN.2QO1M9J9XVZN6@zdiv.net> (raw)
In-Reply-To: <8290a410-2d0b-4d0e-a5a6-fefcfac2c6c7@pengutronix.de>

On Tue Jan 14, 2025 at 9:39 AM CET, Ahmad Fatoum wrote:
> On 07.01.25 15:37, Jules Maselbas wrote:
>> sunxi pinctrl driver, adapted from Linux, is split in two parts:
>>  - pinctrl-sunxi.c that implements gpio, pinctrl and pinmux functions
>>  - pinctrl-sun50i-a64.c that declare sun50i pins and their functions.
>>    This file only require minor adaptations and be easily copied from Linux.
>> 
>> The pin functions are needed for uart, SD/MMC, and likely for other
>> controllers too.
>> 
>> Signed-off-by: Jules Maselbas <jmaselbas@zdiv.net>]
>
> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
>
>> ---
>> v1->v2:
>>  - removed `!IS_ENABLED(CONFIG_PINCTRL)` (Ahmad)
>
> Sascha suggested that of his own volition ;)
oopsy
>
>> +	func_name = sunxi_pinctrl_parse_function_prop(np);
>> +	if (!func_name) {
>> +		dev_err(dev, "%s: missing 'function' property\n", np->full_name);
>
> Nitpick: %pOF
Ack

>> +		return -EINVAL;
>> +	}
>
> Cheers,
> Ahmad




  reply	other threads:[~2025-01-16 14:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07 14:37 [PATCH v2 0/6] Initial support for Allwinner A64 SoC Jules Maselbas
2025-01-07 14:37 ` [PATCH v2 1/6] clk: divider: add error code propagation Jules Maselbas
2025-01-08 14:20   ` Ahmad Fatoum
2025-01-07 14:37 ` [PATCH v2 2/6] clk: Add clock driver for sun50i-a64 Jules Maselbas
2025-01-14  8:38   ` Ahmad Fatoum
2025-01-16 14:20     ` Jules Maselbas
2025-01-07 14:37 ` [PATCH v2 3/6] pinctrl: Add sun50i-a64 pinctrl driver Jules Maselbas
2025-01-14  8:39   ` Ahmad Fatoum
2025-01-16 14:28     ` Jules Maselbas [this message]
2025-01-07 14:37 ` [PATCH v2 4/6] mci: Add sunxi-mmc driver Jules Maselbas
2025-01-14  8:38   ` Ahmad Fatoum
2025-01-07 14:37 ` [PATCH v2 5/6] ARM: sunxi: Introduce mach-sunxi Jules Maselbas
2025-01-14  5:49   ` Sascha Hauer
2025-01-14  8:38   ` Ahmad Fatoum
2025-01-07 14:37 ` [PATCH v2 6/6] Documentation: sunxi: Add some documentation Jules Maselbas
2025-01-14  8:39   ` Ahmad Fatoum
2025-01-16 14:37     ` Jules Maselbas

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=D73KH1ETF4PN.2QO1M9J9XVZN6@zdiv.net \
    --to=jmaselbas@zdiv.net \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.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