[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZXhy3zkwg8UQj=+-4cqooUYhceEwQEcv1MyM-RLwvoLQ@mail.gmail.com>
Date: Thu, 21 Apr 2022 00:41:53 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yunian Yang <reimu@...omaker.com>
Cc: linux-mips@...r.kernel.org, Paul Cercueil <paul@...pouillou.net>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] pinctrl: Ingenic: Add missing UART2 group C for X1000/E
On Thu, Mar 24, 2022 at 2:32 PM Yunian Yang <reimu@...omaker.com> wrote:
> v2: Define PC31 pin only once, noted by Paul Cercueil <paul@...pouillou.net>
> Confirmed to work on hardware. Although the Ingenic folks did this twice
> in their 4.4 kernel fork; not sure why.
Put the changelog after the commit text at least please.
> X1000/E has a third UART2 pin group selection, which uses the TDI(G2) as RX
> and TDO(G1) as TX. This configuration is becoming increasingly popular in
> newer core boards, such as the Halley2 v4.1. This is done by enabling
> function 1 of a "virtual pin" PC31. See section 19.3.3 of the X1000
> Programming Manual for details.
>
> Signed-off-by: Yunian Yang <reimu@...omaker.com>
> @@ -2058,6 +2059,7 @@ static const struct group_desc x1000_groups[] = {
> INGENIC_PIN_GROUP("uart1-data-d", x1000_uart1_data_d, 1),
> INGENIC_PIN_GROUP("uart1-hwflow", x1000_uart1_hwflow, 1),
> INGENIC_PIN_GROUP("uart2-data-a", x1000_uart2_data_a, 2),
> + INGENIC_PIN_GROUP("uart2-data-c", x1000_uart2_data_c, 1),
This doesn't apply to the current mainline kernel, which doesn't
even have the uart2-data-a designation.
Clearly this patch depend on something that I haven't
yet applied? Something I missed?
Yours,
Linus Walleij
Powered by blists - more mailing lists