[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231211190321.307330-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 11 Dec 2023 20:57:53 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Biju Das <biju.das.jz@...renesas.com>,
Claudiu Beznea <claudiu.beznea.uj@...renesas.com>,
Jianlong Huang <jianlong.huang@...rfivetech.com>,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-mips@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Cc: Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Dong Aisheng <aisheng.dong@....com>,
Fabio Estevam <festevam@...il.com>,
Shawn Guo <shawnguo@...nel.org>, Jacky Bai <ping.bai@....com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Sascha Hauer <s.hauer@...gutronix.de>,
NXP Linux Team <linux-imx@....com>,
Sean Wang <sean.wang@...nel.org>,
Paul Cercueil <paul@...pouillou.net>,
Lakshmi Sowjanya D <lakshmi.sowjanya.d@...el.com>,
Emil Renner Berthing <kernel@...il.dk>,
Hal Feng <hal.feng@...rfivetech.com>
Subject: [PATCH v5 00/13] pinctrl: Convert struct group_desc to use struct pingroup
The struct group_desc has a lot of duplication with struct pingroup.
Deduplicate that by embeddind the latter in the former and convert
users.
NB. The function_desc is in plan to follow the similar deduplication.
This time test-compiled with old GCC 8 for arm64, besides GCC 13 and
LLVM 16 for x86_64.
In v5:
- dropped applied patches
- elaborated the need of the conversion (Fabio)
- reworked to avoid build errors on old GCC (Marek, Krzysztof, Geert)
v4: https://lore.kernel.org/r/20231129161459.1002323-1-andriy.shevchenko@linux.intel.com
In v4:
- made pins also unsigned in struct group_desc (Geert)
- made local pins variable unsigned in renesas drivers (Geert)
- collected more tags (Paul, Geert)
v3: https://lore.kernel.org/r/20231128200155.438722-1-andriy.shevchenko@linux.intel.com
In v3:
- fixed reported bug in equilibrium code (LKP) - collected tags (Emil, Florian, Paul)
v2: https://lore.kernel.org/r/20231123193355.3400852-1-andriy.shevchenko@linux.intel.com
In v2:
- added a few patches to fix multiple compile-time errors (LKP)
- added tag (Jonathan)
v1: https://lore.kernel.org/r/20231122164040.2262742-1-andriy.shevchenko@linux.intel.com
Andy Shevchenko (13):
pinctrl: core: Add a convenient define PINCTRL_GROUP_DESC()
pinctrl: mediatek: Use C99 initializers in PINCTRL_PIN_GROUP()
pinctrl: ingenic: Use C99 initializers in PINCTRL_PIN_GROUP()
pinctrl: core: Embed struct pingroup into struct group_desc
pinctrl: bcm: Convert to use grp member
pinctrl: equilibrium: Convert to use grp member
pinctrl: imx: Convert to use grp member
pinctrl: ingenic: Convert to use grp member
pinctrl: keembay: Convert to use grp member
pinctrl: mediatek: Convert to use grp member
pinctrl: renesas: Convert to use grp member
pinctrl: starfive: Convert to use grp member
pinctrl: core: Remove unused members from struct group_desc
drivers/pinctrl/bcm/pinctrl-ns.c | 4 +--
drivers/pinctrl/core.c | 11 +++---
drivers/pinctrl/core.h | 17 +++++----
drivers/pinctrl/freescale/pinctrl-imx.c | 31 ++++++++--------
drivers/pinctrl/mediatek/pinctrl-moore.c | 13 ++++---
drivers/pinctrl/mediatek/pinctrl-moore.h | 10 +++---
drivers/pinctrl/mediatek/pinctrl-paris.h | 10 +++---
drivers/pinctrl/pinctrl-equilibrium.c | 4 +--
drivers/pinctrl/pinctrl-ingenic.c | 35 ++++++++++---------
drivers/pinctrl/pinctrl-keembay.c | 2 +-
drivers/pinctrl/renesas/pinctrl-rza1.c | 2 +-
drivers/pinctrl/renesas/pinctrl-rza2.c | 10 +++---
drivers/pinctrl/renesas/pinctrl-rzg2l.c | 4 +--
drivers/pinctrl/renesas/pinctrl-rzv2m.c | 4 +--
.../starfive/pinctrl-starfive-jh7100.c | 8 ++---
.../starfive/pinctrl-starfive-jh7110.c | 8 ++---
16 files changed, 84 insertions(+), 89 deletions(-)
--
2.43.0.rc1.1.gbec44491f096
Powered by blists - more mailing lists