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

From: Kiran Gunda
Date: Mon Jul 10 2017 - 09:06:11 EST


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 | 327 +++++++++++++++++++++++++++++++++++--------
1 file changed, 267 insertions(+), 60 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project