Re: [PATCH] regulator: core: Make regulator object reflect configured voltage

2014-02-04 Thread Mark Brown
On Mon, Feb 03, 2014 at 09:54:28PM -0800, Bjorn Andersson wrote: + /* + * Make the regulator reflect the configured voltage selected in + * machine_constraints_voltage() + */ + if (rdev-constraints-apply_uV + rdev-constraints-min_uV ==

Re: [Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Lars-Peter Clausen
On 02/04/2014 12:04 AM, Andy Gross wrote: [...] +static int bam_dma_remove(struct platform_device *pdev) +{ + struct bam_device *bdev = platform_get_drvdata(pdev); + u32 i; + + dma_async_device_unregister(bdev-common); + of_dma_controller_free(pdev-dev.of_node); The

Re: [PATCH v8 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-04 Thread Christopher Covington
Hi Georgi, On 01/30/2014 01:45 PM, Georgi Djakov wrote: This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Tested with eMMC and various micro SD cards on APQ8074 Dragonboard. [...]

Re: [PATCH v8 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-04 Thread Georgi Djakov
Hi Christopher, On 02/04/2014 03:19 PM, Christopher Covington wrote: Hi Georgi, On 01/30/2014 01:45 PM, Georgi Djakov wrote: This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Tested with eMMC and various micro SD

Re: [PATCH] regulator: core: Make regulator object reflect configured voltage

2014-02-04 Thread Bjorn Andersson
On Tue, Feb 4, 2014 at 3:05 AM, Mark Brown broo...@kernel.org wrote: On Mon, Feb 03, 2014 at 09:54:28PM -0800, Bjorn Andersson wrote: + /* + * Make the regulator reflect the configured voltage selected in + * machine_constraints_voltage() + */ + if

Re: [PATCH] regulator: core: Make regulator object reflect configured voltage

2014-02-04 Thread Mark Brown
On Tue, Feb 04, 2014 at 10:02:14AM -0800, Bjorn Andersson wrote: On Tue, Feb 4, 2014 at 3:05 AM, Mark Brown broo...@kernel.org wrote: Why not do this at the time we apply the voltage? That would seem to be more robust, doing it in a separate place means that we might update one bit of

Re: [PATCH] regulator: core: Make regulator object reflect configured voltage

2014-02-04 Thread Bjorn Andersson
On Tue, Feb 4, 2014 at 10:18 AM, Mark Brown broo...@kernel.org wrote: On Tue, Feb 04, 2014 at 10:02:14AM -0800, Bjorn Andersson wrote: On Tue, Feb 4, 2014 at 3:05 AM, Mark Brown broo...@kernel.org wrote: Why not do this at the time we apply the voltage? That would seem to be more robust,

Re: [Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Andy Gross
On Tue, Feb 04, 2014 at 12:58:25PM +0100, Lars-Peter Clausen wrote: On 02/04/2014 12:04 AM, Andy Gross wrote: [...] +static int bam_dma_remove(struct platform_device *pdev) +{ +struct bam_device *bdev = platform_get_drvdata(pdev); +u32 i; + +

Re: [PATCH] regulator: core: Make regulator object reflect configured voltage

2014-02-04 Thread Mark Brown
On Tue, Feb 04, 2014 at 11:09:03AM -0800, Bjorn Andersson wrote: I have a regulator that's being configured from DT as: regulator-min-microvolt = 295; regulator-max-microvolt = 295; In the consumer I do regulator_set_voltage(2.95V). As min == max the voltage is applied by the

Re: [PATCH v5 4/6] spmi: pmic_arb: add support for interrupt handling

2014-02-04 Thread Thomas Gleixner
On Mon, 3 Feb 2014, Josh Cartwright wrote: +static void qpnpint_irq_ack(struct irq_data *d) +{ + struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); + u8 irq = d-hwirq 8; + u8 apid = d-hwirq; + unsigned long flags; + u8 data; + +

[Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Andy Gross
Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. Each BAM DMA device is associated with a specific on-chip peripheral. Each channel provides a uni-directional data transfer engine that is capable of transferring data between the

[Patch v5 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-02-04 Thread Andy Gross
Add device tree binding support for the QCOM BAM DMA driver. Signed-off-by: Andy Gross agr...@codeaurora.org --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 48 1 file changed, 48 insertions(+) create mode 100644

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Joe Perches
On Tue, 2014-02-04 at 14:42 -0600, Andy Gross wrote: Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. trivia: fixable later. diff --git a/drivers/dma/qcom_bam_dma.c b/drivers/dma/qcom_bam_dma.c [] + /* allocate enough room to

[PATCH v2 0/5] Split mach-msm into legacy and mach-qcom (multiplatform)

2014-02-04 Thread Kumar Gala
This is the splits the Qualcomm MSM platform into legacy support that we will not try and convert to multiplatform and multiplatform support. - k Changes from v1: * Added patch to remove hotplug.c * Added patch to rename msm_ to qcom_ * Changes the Kconfig to drop CPU_V7 * used wfi() in cpu_die

[PATCH 1/5] ARM: msm: kill off hotplug.c

2014-02-04 Thread Kumar Gala
Right now hotplug.c only really implements msm_cpu_die as a wfi. Just move that implementation into platsmp.c. At the same time we use the existing wfi() instead of inline asm. Signed-off-by: Kumar Gala ga...@codeaurora.org --- arch/arm/mach-msm/Makefile | 1 - arch/arm/mach-msm/common.h |

[PATCH v2 5/5] ARM: qcom: Rename various msm prefixed functions to qcom

2014-02-04 Thread Kumar Gala
As mach-qcom will support a number of different Qualcomm SoC platforms we replace the msm prefix on function names with qcom to be a bit more generic. Signed-off-by: Kumar Gala ga...@codeaurora.org --- arch/arm/mach-qcom/board.c | 4 ++-- arch/arm/mach-qcom/smp.c | 22 +++---

[PATCH v2 4/5] clocksource: qcom: split building of legacy vs multiplatform support

2014-02-04 Thread Kumar Gala
The majority of the clocksource code for the Qualcomm platform is shared between newer (multiplatform) and older platforms. However there is a bit of code that isn't, so only build it for the appropriate config. Acked-by: Olof Johansson o...@lixom.net Signed-off-by: Kumar Gala

[PATCH v2 3/5] arm: qcom: Split Qualcomm support into legacy and multiplatform

2014-02-04 Thread Kumar Gala
Introduce a new mach-qcom that will support SoCs that intend to be multiplatform compatiable while keeping mach-msm to legacy SoC/board support that will not transition over to multiplatform. As part of this, we move support for MSM8X60, MSM8960 and MSM8974 over to mach-qcom. Signed-off-by:

[PATCH v2 1/5] ARM: msm: kill off hotplug.c

2014-02-04 Thread Kumar Gala
Right now hotplug.c only really implements msm_cpu_die as a wfi. Just move that implementation into platsmp.c. At the same time we use the existing wfi() instead of inline asm. Signed-off-by: Kumar Gala ga...@codeaurora.org --- arch/arm/mach-msm/Makefile | 1 - arch/arm/mach-msm/common.h |

[PATCH v2 2/5] clocksource: qcom: Move clocksource code out of mach-msm

2014-02-04 Thread Kumar Gala
We intent to share the clocksource code for MSM platforms between legacy and multiplatform supported qcom SoCs. Acked-by: Olof Johansson o...@lixom.net Signed-off-by: Kumar Gala ga...@codeaurora.org --- arch/arm/mach-msm/Kconfig| 13 +- arch/arm/mach-msm/Makefile | 1 -

Re: [PATCH v2 2/5] clocksource: qcom: Move clocksource code out of mach-msm

2014-02-04 Thread Stephen Boyd
On 02/04, Kumar Gala wrote: We intent to share the clocksource code for MSM platforms between legacy s/intent/intend/ and multiplatform supported qcom SoCs. Acked-by: Olof Johansson o...@lixom.net Signed-off-by: Kumar Gala ga...@codeaurora.org diff --git a/drivers/clocksource/Kconfig

Re: [PATCH v2 1/5] ARM: msm: kill off hotplug.c

2014-02-04 Thread Stephen Boyd
On 02/04, Kumar Gala wrote: diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c index 3721b31..251a91e 100644 --- a/arch/arm/mach-msm/platsmp.c +++ b/arch/arm/mach-msm/platsmp.c @@ -29,6 +29,13 @@ extern void secondary_startup(void); static DEFINE_SPINLOCK(boot_lock);

Re: [PATCH v5 4/6] spmi: pmic_arb: add support for interrupt handling

2014-02-04 Thread Josh Cartwright
On Tue, Feb 04, 2014 at 09:10:45PM +0100, Thomas Gleixner wrote: On Mon, 3 Feb 2014, Josh Cartwright wrote: +static void qpnpint_irq_ack(struct irq_data *d) +{ + struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); + u8 irq = d-hwirq 8; + u8 apid = d-hwirq; +

Re: [PATCH v2 1/5] ARM: msm: kill off hotplug.c

2014-02-04 Thread Kumar Gala
On Feb 4, 2014, at 5:07 PM, Stephen Boyd sb...@codeaurora.org wrote: On 02/04, Kumar Gala wrote: diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c index 3721b31..251a91e 100644 --- a/arch/arm/mach-msm/platsmp.c +++ b/arch/arm/mach-msm/platsmp.c @@ -29,6 +29,13 @@

Re: [PATCH v2 2/5] clocksource: qcom: Move clocksource code out of mach-msm

2014-02-04 Thread Kumar Gala
On Feb 4, 2014, at 5:09 PM, Stephen Boyd sb...@codeaurora.org wrote: On 02/04, Kumar Gala wrote: We intent to share the clocksource code for MSM platforms between legacy s/intent/intend/ and multiplatform supported qcom SoCs. Acked-by: Olof Johansson o...@lixom.net Signed-off-by:

[PATCHv2 2/2] arm: Get rid of meminfo

2014-02-04 Thread Laura Abbott
memblock is now fully integrated into the kernel and is the prefered method for tracking memory. Rather than reinvent the wheel with meminfo, migrate to using memblock directly instead of meminfo as an intermediate. Signed-off-by: Laura Abbott lau...@codeaurora.org ---

Re: [PATCH v2 3/5] arm: qcom: Split Qualcomm support into legacy and multiplatform

2014-02-04 Thread Stephen Boyd
On 02/04, Kumar Gala wrote: Introduce a new mach-qcom that will support SoCs that intend to be multiplatform compatiable while keeping mach-msm to legacy SoC/board s/compatiable/compatible/ support that will not transition over to multiplatform. As part of this, we move support for

Re: [PATCH v2 0/5] Split mach-msm into legacy and mach-qcom (multiplatform)

2014-02-04 Thread Stephen Boyd
On 02/04, Kumar Gala wrote: This is the splits the Qualcomm MSM platform into legacy support that we will not try and convert to multiplatform and multiplatform support. - k Changes from v1: * Added patch to remove hotplug.c * Added patch to rename msm_ to qcom_ * Changes the Kconfig to

Re: [PATCHv2 2/2] arm: Get rid of meminfo

2014-02-04 Thread Jason Cooper
On Tue, Feb 04, 2014 at 04:02:31PM -0800, Laura Abbott wrote: memblock is now fully integrated into the kernel and is the prefered method for tracking memory. Rather than reinvent the wheel with meminfo, migrate to using memblock directly instead of meminfo as an intermediate.

[PATCH] pinctrl-msm: Support output-{high,low} configuration

2014-02-04 Thread Bjorn Andersson
Add support for configuring pins as output with value as from the pinconf-generic interface. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/pinctrl/pinctrl-msm.c | 27 +++ 1 file changed, 27 insertions(+) diff --git