Re: [PATCH] drm/msm/mdp5: enable clocks in hw_init and set_irqmask

2015-08-28 Thread Archit Taneja
On 08/27/2015 10:36 AM, Archit Taneja wrote: On 08/26/2015 08:42 PM, h...@codeaurora.org wrote: 2015-08-26 9:55 GMT-04:00 h...@codeaurora.org: Hi Archit, mdp5_hw_init and mdp5_set_irqmask configure registers but may not have clocks enabled. Add mdp5_enable/disable calls in these funcs

Re: [GIT PULL] qcom SoC changes for 4.3-rc2

2015-08-28 Thread Andy Gross
On Thu, Aug 27, 2015 at 05:16:03PM -0700, Bjorn Andersson wrote: On Thu 27 Aug 14:28 PDT 2015, Andy Gross wrote: The following changes since commit 72af1ff60d08a57e223b9753f9c52396fb4c3897: Merge tag 'qcom-soc-for-4.3' into for-soc-new (2015-08-27 12:14:29 -0500) are available in

[PATCH] soc: qcom: smem: Avoid NULL pointer exception on remove

2015-08-28 Thread Stephen Boyd
Don't set a pointer to NULL and then dereference it in the next line. Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/soc/qcom/smem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/smem.c

[PATCH] soc: qcom: Reorder SMEM/SMD configs

2015-08-28 Thread Stephen Boyd
When I make nconfig, having the SMEM option after the SMD option causes the configurator to get confused when I'm enabling and disabling these options. Let's move SMEM before SMD so there's a clear indented dependency chain. Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by:

Re: [PATCHv2 3/4] power: Add Qualcomm SMBB driver

2015-08-28 Thread Bjorn Andersson
On Thu 30 Jul 10:53 PDT 2015, Bjorn Andersson wrote: Ping? From: Courtney Cavin courtney.ca...@sonymobile.com Add the Qualcomm Switch-Mode Battery Charger and Boost driver, found in pm8941. Signed-off-by: Courtney Cavin courtney.ca...@sonymobile.com Signed-off-by: Bjorn Andersson

[PATCH] soc: qcom: smd: Implement id_table driver matching

2015-08-28 Thread Bjorn Andersson
Implement a id_table based driver maching mechanism for drivers that binds to fixed channels and doesn't need any additional configuration, e.g. IPCRTR and DIAG. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/soc/qcom/smd.c | 25 ++---

Re: [PATCH] soc: qcom: Reorder SMEM/SMD configs

2015-08-28 Thread Bjorn Andersson
On Fri 28 Aug 11:23 PDT 2015, Stephen Boyd wrote: When I make nconfig, having the SMEM option after the SMD option causes the configurator to get confused when I'm enabling and disabling these options. Let's move SMEM before SMD so there's a clear indented dependency chain. Cc: Bjorn

Re: [PATCH] soc: qcom: smem: Avoid NULL pointer exception on remove

2015-08-28 Thread Bjorn Andersson
On Fri 28 Aug 11:18 PDT 2015, Stephen Boyd wrote: Don't set a pointer to NULL and then dereference it in the next line. Sorry about that. Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com Regards, Bjorn -- To unsubscribe from this list: send the line unsubscribe linux-arm-msm in

Re: [PATCH] spmi: pmic-arb: Don't byte swap when reading/writing FIFO

2015-08-28 Thread Bjorn Andersson
On Fri 28 Aug 12:21 PDT 2015, Stephen Boyd wrote: We don't want to swap bytes that we're reading and writing to the FIFOs when we're running on a big-endian CPU. Doing so causes problems like where the qcom-spmi-iadc driver can't detect the type of device because the bytes are all mixed up.

Re: [PATCH] spmi: pmic-arb: u8 = 0xff is always true

2015-08-28 Thread Bjorn Andersson
On Fri 28 Aug 12:31 PDT 2015, Stephen Boyd wrote: Silences this static checker warning: drivers/spmi/spmi-pmic-arb.c:363 pmic_arb_write_cmd() warn: always true condition '(opc = 255) = (0-255 = 255)' Cc: Andy Gross agr...@codeaurora.org Reviewed-by: Bjorn Andersson

Re: [PATCH] gpio: msm: Remove unused driver

2015-08-28 Thread Bjorn Andersson
On Fri 28 Aug 14:48 PDT 2015, Stephen Boyd wrote: Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles. Reviewed-by: Bjorn Andersson bjorn.anders...@sonymobile.com Cc: Andy Gross agr...@codeaurora.org

[PATCH] gpio: msm: Remove unused driver

2015-08-28 Thread Stephen Boyd
Remove this driver now that Bjorn has introduced a pinctrl driver for msm8660 and the dts files have been updated with the pinctrl compatibles. Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Cc: Andy Gross agr...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org ---

[GIT PULL] qcom SoC changes for 4.3-rc2 Part 2

2015-08-28 Thread Andy Gross
The following changes since commit 3427446d72e21f6992534a3b68055f1b4c722546: soc: qcom: smd: Use correct remote processor ID (2015-08-27 12:15:58 -0500) are available in the git repository at: git://codeaurora.org/quic/kernel/agross-msm.git tags/qcom-soc-for-4.3-rc2-1 for you to fetch

[PATCH] spmi: pmic-arb: Don't byte swap when reading/writing FIFO

2015-08-28 Thread Stephen Boyd
We don't want to swap bytes that we're reading and writing to the FIFOs when we're running on a big-endian CPU. Doing so causes problems like where the qcom-spmi-iadc driver can't detect the type of device because the bytes are all mixed up. Use the raw IO accessors for these API instead, and

[PATCH] spmi: pmic-arb: u8 = 0xff is always true

2015-08-28 Thread Stephen Boyd
Silences this static checker warning: drivers/spmi/spmi-pmic-arb.c:363 pmic_arb_write_cmd() warn: always true condition '(opc = 255) = (0-255 = 255)' Cc: Andy Gross agr...@codeaurora.org Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Stephen Boyd sb...@codeaurora.org ---

[PATCH] soc: qcom: smem: Handle big endian CPUs

2015-08-28 Thread Stephen Boyd
The contents of smem are always in little endian, but the smem driver is not capable of being used on big endian CPUs. Annotate the little endian data members and update the code to do the proper byte swapping. Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Stephen Boyd