Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-17 Thread kgunda
On 2017-07-14 23:00, Stephen Boyd wrote: On 07/11, Kiran Gunda wrote: @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, Mostly style nitpicks! Will check and address in the next patch. /* Start the transaction */

Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-17 Thread kgunda
On 2017-07-14 23:00, Stephen Boyd wrote: On 07/11, Kiran Gunda wrote: @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, Mostly style nitpicks! Will check and address in the next patch. /* Start the transaction */

Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-14 Thread Stephen Boyd
On 07/11, Kiran Gunda wrote: > @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller > *ctrl, u8 opc, u8 sid, > Mostly style nitpicks! > /* Start the transaction */ > pmic_arb_base_write(pmic_arb, offset + PMIC_ARB_CMD, cmd); > - rc =

Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-14 Thread Stephen Boyd
On 07/11, Kiran Gunda wrote: > @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller > *ctrl, u8 opc, u8 sid, > Mostly style nitpicks! > /* Start the transaction */ > pmic_arb_base_write(pmic_arb, offset + PMIC_ARB_CMD, cmd); > - rc =

[PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-10 Thread Kiran Gunda
From: David Collins Add support for version 5 of the SPMI PMIC arbiter. It utilizes different offsets for registers than those found on version 3. Also, the procedure to determine if writing and IRQ access is allowed for a given PPID changes for version 5.

[PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-10 Thread Kiran Gunda
From: David Collins Add support for version 5 of the SPMI PMIC arbiter. It utilizes different offsets for registers than those found on version 3. Also, the procedure to determine if writing and IRQ access is allowed for a given PPID changes for version 5. Signed-off-by: David Collins