linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Refactor the pinctrl driver
@ 2023-05-12 11:55 Rohit Agarwal
  2023-05-12 11:55 ` [PATCH 1/2] pinctrl: qcom: Remove the msm_function struct Rohit Agarwal
  2023-05-12 11:55 ` [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver Rohit Agarwal
  0 siblings, 2 replies; 8+ messages in thread
From: Rohit Agarwal @ 2023-05-12 11:55 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, linus.walleij, robh+dt,
	krzysztof.kozlowski+dt, richardcochran, manivannan.sadhasivam,
	andy.shevchenko
  Cc: linux-arm-msm, linux-gpio, devicetree, linux-kernel, netdev,
	Rohit Agarwal

Hi,

This series refactor the target specific pinctrl driver for qcom
by reusing the generic pinfunction struct, pingroup struct and the defined
macros to avoid code repetition.
The series is rebased on linux-next and based on all the review and
comments from different versions of [1].

[1] https://lore.kernel.org/linux-arm-msm/1681966915-15720-1-git-send-email-quic_rohiagar@quicinc.com/

Thanks,
Rohit.

Rohit Agarwal (2):
  pinctrl: qcom: Remove the msm_function struct
  pinctrl: qcom: Refactor generic qcom pinctrl driver

 drivers/pinctrl/qcom/pinctrl-apq8064.c  | 104 +++---
 drivers/pinctrl/qcom/pinctrl-apq8084.c  | 264 ++++++++-------
 drivers/pinctrl/qcom/pinctrl-ipq4019.c  | 104 +++---
 drivers/pinctrl/qcom/pinctrl-ipq5332.c  | 206 ++++++------
 drivers/pinctrl/qcom/pinctrl-ipq6018.c  | 260 +++++++--------
 drivers/pinctrl/qcom/pinctrl-ipq8064.c  | 114 +++----
 drivers/pinctrl/qcom/pinctrl-ipq8074.c  | 240 +++++++-------
 drivers/pinctrl/qcom/pinctrl-ipq9574.c  | 176 +++++-----
 drivers/pinctrl/qcom/pinctrl-mdm9607.c  | 276 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-mdm9615.c  |  90 +++--
 drivers/pinctrl/qcom/pinctrl-msm.c      |  13 +-
 drivers/pinctrl/qcom/pinctrl-msm.h      |  42 ++-
 drivers/pinctrl/qcom/pinctrl-msm8226.c  | 156 +++++----
 drivers/pinctrl/qcom/pinctrl-msm8660.c  | 252 +++++++-------
 drivers/pinctrl/qcom/pinctrl-msm8909.c  | 268 ++++++++-------
 drivers/pinctrl/qcom/pinctrl-msm8916.c  | 556 ++++++++++++++++---------------
 drivers/pinctrl/qcom/pinctrl-msm8953.c  | 424 ++++++++++++------------
 drivers/pinctrl/qcom/pinctrl-msm8960.c  | 464 +++++++++++++-------------
 drivers/pinctrl/qcom/pinctrl-msm8976.c  | 212 ++++++------
 drivers/pinctrl/qcom/pinctrl-msm8994.c  | 564 ++++++++++++++++----------------
 drivers/pinctrl/qcom/pinctrl-msm8996.c  | 508 ++++++++++++++--------------
 drivers/pinctrl/qcom/pinctrl-msm8998.c  | 380 +++++++++++----------
 drivers/pinctrl/qcom/pinctrl-msm8x74.c  | 474 +++++++++++++--------------
 drivers/pinctrl/qcom/pinctrl-qcm2290.c  | 230 +++++++------
 drivers/pinctrl/qcom/pinctrl-qcs404.c   | 388 +++++++++++-----------
 drivers/pinctrl/qcom/pinctrl-qdf2xxx.c  |   6 +-
 drivers/pinctrl/qcom/pinctrl-qdu1000.c  | 249 +++++++-------
 drivers/pinctrl/qcom/pinctrl-sa8775p.c  | 308 +++++++++--------
 drivers/pinctrl/qcom/pinctrl-sc7180.c   | 254 +++++++-------
 drivers/pinctrl/qcom/pinctrl-sc7280.c   | 322 +++++++++---------
 drivers/pinctrl/qcom/pinctrl-sc8180x.c  | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sc8280xp.c | 358 ++++++++++----------
 drivers/pinctrl/qcom/pinctrl-sdm660.c   | 387 +++++++++++-----------
 drivers/pinctrl/qcom/pinctrl-sdm670.c   | 284 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sdm845.c   | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sdx55.c    | 190 ++++++-----
 drivers/pinctrl/qcom/pinctrl-sdx65.c    | 194 ++++++-----
 drivers/pinctrl/qcom/pinctrl-sm6115.c   | 162 +++++----
 drivers/pinctrl/qcom/pinctrl-sm6125.c   | 282 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm6350.c   | 296 ++++++++---------
 drivers/pinctrl/qcom/pinctrl-sm6375.c   | 358 ++++++++++----------
 drivers/pinctrl/qcom/pinctrl-sm8150.c   | 286 ++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8250.c   | 258 +++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8350.c   | 298 ++++++++---------
 drivers/pinctrl/qcom/pinctrl-sm8450.c   | 300 +++++++++--------
 drivers/pinctrl/qcom/pinctrl-sm8550.c   | 320 +++++++++---------
 46 files changed, 6055 insertions(+), 6394 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-13  5:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12 11:55 [PATCH 0/2] Refactor the pinctrl driver Rohit Agarwal
2023-05-12 11:55 ` [PATCH 1/2] pinctrl: qcom: Remove the msm_function struct Rohit Agarwal
2023-05-12 17:33   ` kernel test robot
2023-05-13  0:26   ` kernel test robot
2023-05-12 11:55 ` [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver Rohit Agarwal
2023-05-12 18:15   ` kernel test robot
2023-05-12 18:26   ` kernel test robot
2023-05-13  5:39   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).