Skip to content

: spmi: pmic-arb: support for V5 HW and bug fixes

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 3 repliesIn review
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches7 repliesSuperseded

Changes in v4 from the cover letter

* spmi: pmic-arb: add support for HW version 5 Clean-up as per Stephen's comments

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spmi: pmic-arb: return __iomem pointer instead of offsetdrivers/spmi/spmi-pmic-arb.c+48 -390 replies
2/4spmi: pmic-arb: fix a possible null pointer dereferencedrivers/spmi/spmi-pmic-arb.c+2 -20 replies
3/4spmi: pmic-arb: add support for HW version 5drivers/spmi/spmi-pmic-arb.c+214 -221 reply
4/4spmi: pmic-arb: Remove checking opc value not less than 0drivers/spmi/spmi-pmic-arb.c+2 -20 replies

Reviews trailers per patch

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

PatchStephen Boyd
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v4 thread

Cover letter [PATCH V4 0/4]: spmi: pmic-arb: support for V5 HW and bug fixes

v4:
* spmi: pmic-arb: add support for HW version 5 Clean-up as per Stephen's comments

v3:
* spmi: pmic-arb: add support for HW version 5
Modified #define INVALID (-1) to
#define INVALID_EE 0xFF.

v2:
* spmi: pmic-arb: return __iomem pointer instead of offset Added Stephen's reviewed-by tag.

* spmi: pmic-arb: fix a possible null pointer dereference Added Stephen's reviewed-by tag.

* spmi: pmic-arb: add support for HW version 5
Modified the pmic_arb_offset_v5 function to return the offset instead of passed by a pointer.

* spmi: pmic-arb: Remove checking opc value not less than 0 Added Stephen's reviewed-by tag.
Added my sign-off tag.

v1:

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

This patch series is dependent on the below patches and can be merged cleanly only after picking the below patches in to the tree.

https://patchwork.kernel.org/patch/9810723/
https://patchwork.kernel.org/patch/9822597/
https://patchwork.kernel.org/patch/9822601/
https://patchwork.kernel.org/patch/9822607/
https://patchwork.kernel.org/patch/9822609/
https://patchwork.kernel.org/patch/9822613/

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 (2):
spmi: pmic-arb: return __iomem pointer instead of offset
spmi: pmic-arb: fix a possible null pointer dereference

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