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

Kiran Gunda
2017-07-11T01:45:20Z

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