[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240527212742.1432960-1-andy.shevchenko@gmail.com>
Date: Tue, 28 May 2024 00:24:35 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
linux-mips@...r.kernel.org
Cc: 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>,
Sean Wang <sean.wang@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Paul Cercueil <paul@...pouillou.net>,
Lakshmi Sowjanya D <lakshmi.sowjanya.d@...el.com>,
Andy Shevchenko <andy.shevchenko@...il.com>
Subject: [PATCH v1 00/11] pinctrl: pinmux: Embed and reuse struct pinfunction
As promised to Linus W. there is a series that converts struct function_desc
to use struct pinfunction. With this it both struct group_desc and struct
function_desc will rely on the generic data types (struct pingroup and struct
pinfunction respectively).
I haven't compiled everything, some builds might fail. Anyway, comments, reviews,
testing are all appreciated.
Andy Shevchenko (11):
pinctrl: berlin: Make use of struct pinfunction
pinctrl: equilibrium: Make use of struct pinfunction
pinctrl: ingenic: Provide a helper macro INGENIC_PIN_FUNCTION()
pinctrl: mediatek: Provide a helper macro PINCTRL_PIN_FUNCTION()
pinctrl: pinmux: Add a convenient define PINCTRL_FUNCTION_DESC()
pinctrl: pinmux: Embed struct pinfunction into struct function_desc
pinctrl: imx: Convert to use func member
pinctrl: ingenic: Convert to use func member
pinctrl: keembay: Convert to use func member
pinctrl: mediatek: Convert to use func member
pinctrl: pinmux: Remove unused members from struct function_desc
drivers/pinctrl/berlin/berlin.c | 33 +-
drivers/pinctrl/berlin/berlin.h | 6 -
drivers/pinctrl/core.h | 2 +-
drivers/pinctrl/freescale/pinctrl-imx.c | 14 +-
drivers/pinctrl/mediatek/pinctrl-moore.c | 10 +-
drivers/pinctrl/mediatek/pinctrl-moore.h | 6 +
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 32 +-
drivers/pinctrl/mediatek/pinctrl-mt7623.c | 42 +-
drivers/pinctrl/mediatek/pinctrl-mt7629.c | 20 +-
drivers/pinctrl/mediatek/pinctrl-mt7981.c | 34 +-
drivers/pinctrl/mediatek/pinctrl-mt7986.c | 24 +-
drivers/pinctrl/pinctrl-equilibrium.c | 18 +-
drivers/pinctrl/pinctrl-equilibrium.h | 12 -
drivers/pinctrl/pinctrl-ingenic.c | 707 +++++++++++-----------
drivers/pinctrl/pinctrl-keembay.c | 22 +-
drivers/pinctrl/pinmux.c | 15 +-
drivers/pinctrl/pinmux.h | 19 +-
17 files changed, 501 insertions(+), 515 deletions(-)
--
2.45.1
Powered by blists - more mailing lists