From: Marek Vasut Date: Fri, 19 Jun 2020 18:04:22 +0200 Subject: [PATCH V2 4/5] pinctrl: renesas: Enable R8A774A1 PFC tables In-Reply-To: References: <20200619135830.501470-1-aford173@gmail.com> <20200619135830.501470-5-aford173@gmail.com> <061cecce-15ec-92f6-ad39-940e931381be@gmail.com> <4d07260a-756a-0d97-39af-ce8404cea135@gmail.com> Message-ID: <724e90b9-9824-add7-c5f0-248d924ef966@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6/19/20 5:55 PM, Adam Ford wrote: [...] >>>>> diff --git a/drivers/pinctrl/renesas/sh_pfc.h b/drivers/pinctrl/renesas/sh_pfc.h >>>>> index db3d513358..b9ce471007 100644 >>>>> --- a/drivers/pinctrl/renesas/sh_pfc.h >>>>> +++ b/drivers/pinctrl/renesas/sh_pfc.h >>>>> @@ -300,6 +300,7 @@ extern const struct sh_pfc_soc_info r8a7793_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a7794_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a7795_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a7796_pinmux_info; >>>>> +extern const struct sh_pfc_soc_info r8a774a1_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a77965_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a77970_pinmux_info; >>>>> extern const struct sh_pfc_soc_info r8a77980_pinmux_info; >>>> >>>> Please keep the lists sorted, all of them, where it makes sense. >>> >>> I was trying to do that. At least in hex. Doesn't 774a1 comes after >>> 7796 and before 77965? >> >> I honestly don't know how to sort these lists well either, neither >> option seems particularly good. What does Linux do ? > > I can make it match Linux or at least place it where it would be. > Some of the entries in Linux don't exist in U-Boot, so would mean > putting this at the top of the list. Sounds good.