Skip to content

: spmi: pmic-arb: Support for HW v5 and other fixes

Kiran Gunda linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 8 repliesIn review
  2. v112 patches 10 repliesSuperseded

Changes in v2 from the cover letter

* [PATCH V2 04/12] spmi: pmic-arb: optimize qpnpint_irq_set_type function Added Stephen's Reviewed-by tag.

* [PATCH V2 05/12] spmi: pmic-arb: fix memory allocation for mapping_table Added Fixes tag and Stephen's Reviewed-by tag.

* [PATCH V2 02/12] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanup Added Stephen's Reviewed-by tag.

* [PATCH V2 06/12] spmi: pmic-arb: replace the writel_relaxed with __raw_writel Added Fixes tag.

* [PATCH V2 03/12] spmi: pmic-arb: clean up pmic_arb_find_apid function Fixed alignement issue and added Stephen's reviewed-by tag.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12spmi: pmic-arb: remove the read/write access checksdrivers/spmi/spmi-pmic-arb.c+5 -700 replies
2/12spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanupdrivers/spmi/spmi-pmic-arb.c+209 -2090 replies
3/12spmi: pmic-arb: clean up pmic_arb_find_apid functiondrivers/spmi/spmi-pmic-arb.c+6 -70 replies
4/12spmi: pmic-arb: optimize qpnpint_irq_set_type functiondrivers/spmi/spmi-pmic-arb.c+12 -120 replies
5/12spmi: pmic-arb: fix memory allocation for mapping_tabledrivers/spmi/spmi-pmic-arb.c+5 -60 replies
6/12spmi: pmic-arb: replace the writel_relaxed with __raw_writeldrivers/spmi/spmi-pmic-arb.c+1 -10 replies
7/12spmi: pmic-arb: return the value instead of passing by pointerdrivers/spmi/spmi-pmic-arb.c+40 -420 replies
8/12spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capabilitydrivers/spmi/spmi-pmic-arb.c+9 -40 replies
9/12spmi: pmic-arb: return __iomem pointer instead of offsetdrivers/spmi/spmi-pmic-arb.c+51 -420 replies
10/12spmi: pmic-arb: fix a possible null pointer dereferencedrivers/spmi/spmi-pmic-arb.c+2 -20 replies
11/12spmi: pmic-arb: add support for HW version 5drivers/spmi/spmi-pmic-arb.c+214 -226 replies
12/12spmi: pmic-arb: Remove checking opc value not less than 0drivers/spmi/spmi-pmic-arb.c+2 -20 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchStephen Boyd
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 00/12]: spmi: pmic-arb: Support for HW v5 and other fixes

v2:

* [PATCH V2 04/12] spmi: pmic-arb: optimize qpnpint_irq_set_type function Added Stephen's Reviewed-by tag.

* [PATCH V2 05/12] spmi: pmic-arb: fix memory allocation for mapping_table Added Fixes tag and Stephen's Reviewed-by tag.

* [PATCH V2 02/12] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanup Added Stephen's Reviewed-by tag.

* [PATCH V2 06/12] spmi: pmic-arb: replace the writel_relaxed with __raw_writel Added Fixes tag.

* [PATCH V2 03/12] spmi: pmic-arb: clean up pmic_arb_find_apid function Fixed alignement issue and added Stephen's reviewed-by tag.

Now all the patches in this series are reviewed and acked by Stephen boyd and are ready for merge.

v1:

* This patch series add the support for pmic arbiter hardware v5 along with the few bug fixes and code cleanup.

* This new series is the combined series of
[PATCH V3 0/5]: spmi: pmic-arb: Fixup patches and
[PATCH V4 0/4]: spmi: pmic-arb: support for V5 HW and bug fixes, which are being reviewed by Stephen Boyd.

* This series depends on the below patch uploaded by Stephen Boyd
https://patchwork.kernel.org/patch/9810723/.

David Collins (1):
spmi: pmic-arb: add support for HW version 5

Fenglin Wu (1):
spmi: pmic-arb: Remove checking opc value not less than 0

Kiran Gunda (10):
spmi: pmic-arb: remove the read/write access checks
spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanup
spmi: pmic-arb: clean up pmic_arb_find_apid function
spmi: pmic-arb: optimize qpnpint_irq_set_type function
spmi: pmic-arb: fix memory allocation for mapping_table
spmi: pmic-arb: replace the writel_relaxed with __raw_writel
spmi: pmic-arb: return the value instead of passing by pointer
spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup
capability
spmi: pmic-arb: return __iomem pointer instead of offset
spmi: pmic-arb: fix a possible null pointer dereference

 drivers/spmi/spmi-pmic-arb.c | 825 +++++++++++++++++++++++++------------------
 1 file changed, 481 insertions(+), 344 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project