[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220210141931.291712-1-angelogioacchino.delregno@collabora.com>
Date: Thu, 10 Feb 2022 15:19:26 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: sean.wang@...nel.org
Cc: linus.walleij@...aro.org, matthias.bgg@...il.com,
linux-mediatek@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
kernel@...labora.com,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Subject: [PATCH 0/5] MediaTek pinctrl drivers cleanups
Hello!
This series performs some cleanups to the MediaTek pinctrl drivers
by commonizing some functions (reducing code duplication) hence also
simplifying the probe mechanism by removing unnecessary per-driver
probe functions.
This code was tested against multiple platforms.
AngeloGioacchino Del Regno (5):
pinctrl: mediatek: paris: Unify probe function by using OF match data
pinctrl: mediatek: common-v1: Add common probe function
pinctrl: mediatek: common-v1: Use common probe function
pinctrl: mediatek: common-v1: Commonize spec_pupd callback
pinctrl: mediatek: common-v1: Commonize spec_ies_smt_set callback
drivers/pinctrl/mediatek/pinctrl-mt2701.c | 40 ++++--------
drivers/pinctrl/mediatek/pinctrl-mt2712.c | 44 +++----------
drivers/pinctrl/mediatek/pinctrl-mt6765.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt6779.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt6797.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt8127.c | 39 +++---------
drivers/pinctrl/mediatek/pinctrl-mt8135.c | 17 ++---
drivers/pinctrl/mediatek/pinctrl-mt8167.c | 40 +++---------
drivers/pinctrl/mediatek/pinctrl-mt8173.c | 29 +++------
drivers/pinctrl/mediatek/pinctrl-mt8183.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt8192.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt8195.c | 9 +--
drivers/pinctrl/mediatek/pinctrl-mt8365.c | 40 +++---------
drivers/pinctrl/mediatek/pinctrl-mt8516.c | 40 +++---------
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 63 ++++++++++++++-----
drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 33 +++++++---
drivers/pinctrl/mediatek/pinctrl-paris.c | 9 ++-
drivers/pinctrl/mediatek/pinctrl-paris.h | 3 +-
18 files changed, 165 insertions(+), 286 deletions(-)
--
2.33.1
Powered by blists - more mailing lists