Re: [PATCH 1/2] gpio: msm: Fix irq mask/unmask by writing bits instead of numbers

2013-12-18 Thread Rohit Vaswani
ng as interrupts. Signed-off-by: Stephen Boyd I've applied this for fixes and tagged for stable. Björn, Rohit: OK? Yours, Linus Walleij Acked-by: Rohit Vaswani Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundat

[PATCHv6 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-17 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/qcom-apq8074

[PATCHv5 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-12 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/qcom-apq8074

Re: Use of drivers/platform and matching include?

2013-10-08 Thread Rohit Vaswani
already in codeaurora for 8974/8226/8626/8610 etc? Yes. Thanks, Andi -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Thanks, Rohit Vaswa

Re: Use of drivers/platform and matching include?

2013-10-07 Thread Rohit Vaswani
the headers could go into include/linux/qcom-*.h Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message

Re: [PATCHv4 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-04 Thread Rohit Vaswani
On 10/4/2013 1:28 AM, Ivan T. Ivanov wrote: Hi Rohit, On Thu, 2013-10-03 at 16:05 -0700, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit

[PATCH 4/4] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-10-03 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

[PATCHv4 2/4] ARM: msm: Add support for APQ8074 Dragonboard

2013-10-03 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/qcom-apq8074

[PATCH 3/4] ARM: debug: msm: Add DEBUG_LL support for ARCH_MSM8974

2013-10-03 Thread Rohit Vaswani
Add debug uart support for MSM8974. This patch adds a Kconfig entry and the base address for the debug uart. Signed-off-by: Rohit Vaswani --- arch/arm/Kconfig.debug | 9 + arch/arm/include/debug/msm.S | 5 + 2 files changed, 14 insertions(+) diff --git a/arch/arm

[PATCH 0/4]Re-organize DEBUG_UART for MSM and add support for MSM8974

2013-10-03 Thread Rohit Vaswani
As a pre-cursor, this series cleans-up the DEBUG_UART configs for msm and includes patches to add basic board support for MSM8974 and debug uart support for it as well. The debug uart patches will be added to Russell's patch tracker and hence were separated from the MSM8974 patch. Rohit Va

[PATCH 1/4] ARM: debug: Create CONFIG_DEBUG_MSM_UART and re-organize the selects for MSM

2013-10-03 Thread Rohit Vaswani
Create the hidden config DEBUG_MSM_UART and clean-up the default selection for CONFIG_DEBUG_LL_INCLUDE. Signed-off-by: Rohit Vaswani --- arch/arm/Kconfig.debug | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug

Re: [PATCHv4 2/3] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-26 Thread Rohit Vaswani
On 9/26/2013 11:05 AM, Rohit Vaswani wrote: On 9/26/2013 9:37 AM, Kumar Gala wrote: +++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts @@ -0,0 +1,6 @@ +/include/ "qcom-msm8974.dtsi" + +/ { +model = "Qualcomm APQ8074 Dragonboard"; +compatible = "qcom,ap

Re: [PATCHv4 2/3] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-26 Thread Rohit Vaswani
lt;0xf900 0x1000>, + <0xf9002000 0x1000>; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = <1 2 0xf08>, +<1 3 0xf08>, + <1 4 0xf08>, +

Re: [PATCHv4 2/3] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-25 Thread Rohit Vaswani
On 9/25/2013 12:49 PM, Kumar Gala wrote: On Sep 23, 2013, at 10:13 PM, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch

[PATCH 1/3] ARM: debug: Create CONFIG_DEBUG_MSM_UART and re-organize the selects for MSM

2013-09-23 Thread Rohit Vaswani
Create the hidden config DEBUG_MSM_UART and clean-up the default selection for CONFIG_DEBUG_LL_INCLUDE. Signed-off-by: Rohit Vaswani --- arch/arm/Kconfig.debug | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug

[PATCH 3/3] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-09-23 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

[PATCHv4 2/3] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-23 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/Kconfig.debug | 9 +++ arch/arm/boot/dts/Makefile

[no subject]

2013-09-23 Thread Rohit Vaswani
Date: Mon, 23 Sep 2013 19:51:25 -0700 Subject: [PATCH 1/3] ARM: debug: Create CONFIG_DEBUG_MSM_UART and re-organize the selects for MSM Create the hidden config DEBUG_MSM_UART and clean-up the default selection for CONFIG_DEBUG_LL_INCLUDE. Signed-off-by: Rohit Vaswani --- arch/arm

Re: [PATCH] ARM: msm: Move msm devicetrees under a Qualcomm dir

2013-09-16 Thread Rohit Vaswani
differences between them. I think msm has run out of steam, especially as more SoCs come out of Qualcomm that aren't just targeting phones & tablets. - k Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The L

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-12 Thread Rohit Vaswani
ll have to format this as a valid patch. I don't have preferences. Rohit could you send this patch with you changes? Yep. Will fixup this as part of the initial support. Regards, Ivan Thanks, David Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Co

[PATCHv2 2/2] ARM: msm: Create a common board-dt and config ARCH_MSM_DT

2013-09-09 Thread Rohit Vaswani
Create a config ARCH_MSM_DT and common board-dt.c to encapsulate the MSM DT based targets. Reviewed-by: Stephen Boyd Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig | 13 +++ arch/arm/mach-msm/Makefile| 3 +-- arch/arm/mach-msm/board-dt-8660.c | 48

[PATCHv2 1/2] ARM: msm: Remove irqs-*.h files for DT based targets

2013-09-09 Thread Rohit Vaswani
From: Stephen Boyd We don't want or need the irqs.h files from the DT based MSM targets. Remove these header files and select sparse irq so that we don't try to include the mach/irqs.h file. Reviewed-by: Rohit Vaswani Signed-off-by: Stephen Boyd Signed-off-by: Rohit Vaswani ---

[PATCH 1/2] ARM: msm: Remove irqs-*.h files for DT based targets

2013-09-09 Thread Rohit Vaswani
From: Stephen Boyd We don't want or need the irqs.h files from the DT based MSM targets. Remove these header files and select sparse irq so that we don't try to include the mach/irqs.h file. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/Kconfig | 2 + arch/arm/mach-msm/i

[PATCH 2/2] ARM: msm: Create a common board-dt and config ARCH_MSM_DT

2013-09-09 Thread Rohit Vaswani
Create a config ARCH_MSM_DT and common board-dt.c to encapsulate the MSM DT based targets. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig | 13 +++ arch/arm/mach-msm/Makefile| 3 +-- arch/arm/mach-msm/board-dt-8660.c | 48

Re: [PATCHv3 1/2] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-09 Thread Rohit Vaswani
On 9/9/2013 3:04 PM, Kumar Gala wrote: On Sep 9, 2013, at 4:42 PM, Rohit Vaswani wrote: On 9/9/2013 2:25 PM, Kumar Gala wrote: On Fri, Sep 06, 2013 at 12:32:22PM -0700, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard dtb-$(CONFIG_ARCH_MSM) += msm8660

Re: [PATCHv3 1/2] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-09 Thread Rohit Vaswani
On 9/9/2013 2:25 PM, Kumar Gala wrote: On Fri, Sep 06, 2013 at 12:32:22PM -0700, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ - msm8960-cdp.dtb + msm8960-cdp.dtb \ + apq8074-dragonboard.dtb

Re: [PATCHv3 1/2] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-09 Thread Rohit Vaswani
On 9/6/2013 2:50 PM, Olof Johansson wrote: Hi, Some comments below. On Fri, Sep 06, 2013 at 12:32:22PM -0700, Rohit Vaswani wrote: This patch adds basic board support for APQ8074 Dragonboard dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \ - msm8960-cdp.dtb + msm8960-cdp.dtb

[PATCHv3 1/2] ARM: msm: Add support for APQ8074 Dragonboard

2013-09-06 Thread Rohit Vaswani
This patch adds basic board support for APQ8074 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/apq8074-dragonboard.dts | 6

[PATCHv3 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-09-06 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

Re: [PATCHv2 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-06 Thread Rohit Vaswani
On 9/6/2013 7:28 AM, Kumar Gala wrote: On Sep 5, 2013, at 7:04 PM, Rohit Vaswani wrote: diff --git a/arch/arm/boot/dts/msm8974-db.dts b/arch/arm/boot/dts/msm8974-db.dts new file mode 100644 index 000..74106a8 --- /dev/null +++ b/arch/arm/boot/dts/msm8974-db.dts @@ -0,0 +1,7 @@ +/include

Re: [PATCHv2 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-06 Thread Rohit Vaswani
On 9/6/2013 7:22 AM, Kumar Gala wrote: On Sep 5, 2013, at 7:04 PM, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm

[PATCHv2 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-05 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/msm8974-db.dts | 7 +++ arch/arm

[PATCHv2 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-09-05 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

Re: [RESEND PATCH 4/4] ARM: msm: Add support for 8974 SMP

2013-08-14 Thread Rohit Vaswani
On 8/2/2013 8:46 AM, Kumar Gala wrote: On Aug 1, 2013, at 9:15 PM, Rohit Vaswani wrote: Add the cpus bindings and the Kraitv2 release sequence to make SMP work for 2 cores on MSM8974. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + arch/arm/boot/dts

Re: [PATCH 3/4] ARM: msm: Add SMP support for 8960

2013-08-14 Thread Rohit Vaswani
On 8/2/2013 8:43 AM, Kumar Gala wrote: On Aug 1, 2013, at 9:15 PM, Rohit Vaswani wrote: Add the cpus bindings and the Krait release sequence to make SMP work for MSM8960 Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree

Re: [RESEND PATCH 4/4] ARM: msm: Add support for 8974 SMP

2013-08-14 Thread Rohit Vaswani
On 8/12/2013 9:39 AM, Mark Rutland wrote: On Fri, Aug 02, 2013 at 03:15:25AM +0100, Rohit Vaswani wrote: Add the cpus bindings and the Kraitv2 release sequence to make SMP work for 2 cores on MSM8974. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 1

Re: [RESEND PATCH 2/4] ARM: msm: Re-organize platsmp to make it extensible

2013-08-14 Thread Rohit Vaswani
. On Fri, Aug 02, 2013 at 03:15:23AM +0100, Rohit Vaswani wrote: This makes it easy to add SMP support for new targets by adding cpus property and the release sequence. We add the enable-method property for the cpus property to specify which release sequence to use. While at it, add the 8660 cpus

Re: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux

2013-08-08 Thread Rohit Vaswani
as this patch ? Best regards, Krzysztof ___ linux-arm-kernel mailing list linux-arm-ker...@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-08-06 Thread Rohit Vaswani
On 8/6/2013 7:01 AM, Javier Martinez Canillas wrote: On Tue, Aug 6, 2013 at 1:02 AM, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit

Re: [PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-08-06 Thread Rohit Vaswani
On 8/6/2013 8:47 AM, Kumar Gala wrote: On Aug 5, 2013, at 6:02 PM, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. I think the board is APQ8074 and not MSM8974

[PATCH 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-08-05 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/msm8974-db.dts | 26

[PATCH 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-08-05 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

Re: [RESEND PATCH 1/2] ARM: msm: Add support for MSM8974

2013-08-01 Thread Rohit Vaswani
On 8/1/2013 7:29 PM, Stephen Warren wrote: On 08/01/2013 07:23 PM, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. arch/arm/boot/dts/msm8974.dts | 26

[RESEND PATCH 4/4] ARM: msm: Add support for 8974 SMP

2013-08-01 Thread Rohit Vaswani
Add the cpus bindings and the Kraitv2 release sequence to make SMP work for 2 cores on MSM8974. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + arch/arm/boot/dts/msm8974.dts | 23 arch/arm/mach-msm/board-dt-8974.c

[PATCH 3/4] ARM: msm: Add SMP support for 8960

2013-08-01 Thread Rohit Vaswani
Add the cpus bindings and the Krait release sequence to make SMP work for MSM8960 Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree/bindings/arm/msm/kpss.txt | 16 ++ arch/arm/boot/dts/msm8960-cdp.dts | 22

[RESEND PATCH 2/4] ARM: msm: Re-organize platsmp to make it extensible

2013-08-01 Thread Rohit Vaswani
This makes it easy to add SMP support for new targets by adding cpus property and the release sequence. We add the enable-method property for the cpus property to specify which release sequence to use. While at it, add the 8660 cpus bindings to make SMP work. Signed-off-by: Rohit Vaswani

[RESEND PATCH 1/4] ARM: msm: Remove pen_release usage

2013-08-01 Thread Rohit Vaswani
pen_release is no longer required as the synchronization is now managed by generic arm code. This is done as suggested in https://lkml.org/lkml/2013/6/4/184 Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Makefile | 2 +- arch/arm/mach-msm/headsmp.S | 39

[RESEND PATCH 0/4]Add SMP support for MSM8660, MSM8960 and MSM8974

2013-08-01 Thread Rohit Vaswani
dary cores based on the cpu. Rohit Vaswani (4): ARM: msm: Remove pen_release usage ARM: msm: Re-organize platsmp to make it extensible ARM: msm: Add SMP support for 8960 ARM: msm: Add support for 8974 SMP Documentation/devicetree/bindings/arm/cpus.txt | 9 + Documentation/devicetree/bi

[RESEND PATCH 1/2] ARM: msm: Add support for MSM8974

2013-08-01 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/msm8974.dts | 26

[RESEND PATCH 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-08-01 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs/msm_defconfig +++ b

Re: [PATCH 1/4] ARM: msm: Remove pen_release usage

2013-07-30 Thread Rohit Vaswani
On 7/26/2013 10:48 AM, Kumar Gala wrote: On Jun 28, 2013, at 6:25 PM, Rohit Vaswani wrote: pen_release is no longer required as the synchronization is now managed by generic arm code. This is done as suggested in https://lkml.org/lkml/2013/6/4/184 Signed-off-by: Rohit Vaswani --- arch/arm

Re: [PATCH 0/4] Add SMP support for MSM8660, MSM8960 and MSM8974

2013-07-15 Thread Rohit Vaswani
ping ? On 6/28/2013 4:25 PM, Rohit Vaswani wrote: This series re-organizes the platsmp.c and adds SMP support for MSM8660, MSM8960 and MSM8974. We convert to using the cpus property in device tree and add a "enable-method" property for arm32. This helps select the appropriate releas

Re: [PATCHv3 1/2] ARM: msm: Add support for MSM8974

2013-07-15 Thread Rohit Vaswani
ping ? On 6/25/2013 10:41 AM, Rohit Vaswani wrote: This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile|3 ++- arch/arm

[PATCH 2/4] ARM: msm: Re-organize platsmp to make it extensible

2013-06-28 Thread Rohit Vaswani
This makes it easy to add SMP support for new targets by adding cpus property and the release sequence. We add the enable-method property for the cpus property to specify which release sequence to use. While at it, add the 8660 cpus bindings to make SMP work. Signed-off-by: Rohit Vaswani

[PATCH 1/4] ARM: msm: Remove pen_release usage

2013-06-28 Thread Rohit Vaswani
pen_release is no longer required as the synchronization is now managed by generic arm code. This is done as suggested in https://lkml.org/lkml/2013/6/4/184 Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/headsmp.S | 41 - arch/arm/mach-msm/hotplug.c

[PATCH 4/4] ARM: msm: Add support for 8974 SMP

2013-06-28 Thread Rohit Vaswani
Add the cpus bindings and the Kraitv2 release sequence to make SMP work for 2 cores on MSM8974. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + arch/arm/boot/dts/msm8974.dts | 23 arch/arm/mach-msm/board-dt-8974.c

[PATCH 3/4] ARM: msm: Add SMP support for 8960

2013-06-28 Thread Rohit Vaswani
Add the cpus bindings and the Krait release sequence to make SMP work for MSM8960 Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree/bindings/arm/msm/kpss.txt | 16 ++ arch/arm/boot/dts/msm8960-cdp.dts | 22

[PATCH 0/4] Add SMP support for MSM8660, MSM8960 and MSM8974

2013-06-28 Thread Rohit Vaswani
This series re-organizes the platsmp.c and adds SMP support for MSM8660, MSM8960 and MSM8974. We convert to using the cpus property in device tree and add a "enable-method" property for arm32. This helps select the appropriate release sequence for the secondary cores based on the c

[PATCHv3 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-06-25 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs

[PATCHv3 1/2] ARM: msm: Add support for MSM8974

2013-06-25 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile|3 ++- arch/arm/boot/dts/msm8974.dts | 26

[PATCHv2 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-06-21 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs

[PATCHv2 1/2] ARM: msm: Add support for MSM8974

2013-06-21 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile|3 ++- arch/arm/boot/dts/msm8974.dts | 24

[PATCH 2/2] defconfig: msm_defconfig: Enable CONFIG_ARCH_MSM8974

2013-06-21 Thread Rohit Vaswani
This patch enables MSM8974 build support. Signed-off-by: Rohit Vaswani --- arch/arm/configs/msm_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/msm_defconfig b/arch/arm/configs/msm_defconfig index 690b5f9..0ed32e5 100644 --- a/arch/arm/configs

[PATCH 1/2] ARM: msm: Add support for MSM8974

2013-06-21 Thread Rohit Vaswani
This patch adds basic board support for MSM8974. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile|3 ++- arch/arm/boot/dts/msm8974.dts | 23 +++ arch/arm/mach-msm/Kconfig | 31 +++ arch/arm/mach-msm/Makefile

Re: [PATCH 2/4] drivers: gpio: msm: Fix the error condition for reading ngpio

2013-06-19 Thread Rohit Vaswani
On 6/19/2013 12:45 PM, Linus Walleij wrote: On Wed, Jun 19, 2013 at 3:02 AM, Rohit Vaswani wrote: of_property_read_u32 return 0 on success. The check was using a ! to return error. Fix the if condition. Signed-off-by: Rohit Vaswani Acked-by: Linus Walleij I guess this is going through

[PATCH 3/3] ARM: msm: Consolidate gpiomux for older architectures

2013-06-18 Thread Rohit Vaswani
Msm gpiomux can be used only for 7x30 and 8x50. Prevent compilation and fix build issues on 7X00, 8X60 and 8960. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig |3 +-- arch/arm/mach-msm/gpiomux-v1.c | 33 - arch/arm/mach-msm/gpiomux.h

[PATCH 0/3] ARM: MSM: Consolidate MSM gpiomux for 7X30 and 8X50

2013-06-18 Thread Rohit Vaswani
This series is based on David Brown's for-next branch git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git for-next The previous gpio patches left some room for consolidation and required a few fixes. This patch provides the necessary patches to do that. Rohit Vaswani (3):

[PATCH 2/3] drivers: gpio: msm: Fix the error condition for reading ngpio

2013-06-18 Thread Rohit Vaswani
of_property_read_u32 return 0 on success. The check was using a ! to return error. Fix the if condition. Signed-off-by: Rohit Vaswani --- drivers/gpio/gpio-msm-v2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c

[PATCH 1/3] ARM: msm: dts: Fix the gpio register address for msm8960

2013-06-18 Thread Rohit Vaswani
Fix the the gpio reg address for the device tree entry. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/msm8960-cdp.dts |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts index db2060c..9c1167b0

Re: [PATCH 0/4] ARM: MSM: Consolidate GPIOMUX for 7x30 and 8x50

2013-06-18 Thread Rohit Vaswani
**Please ignore this 4 patch series** Sorry for the inconvenience. On 6/18/2013 6:02 PM, Rohit Vaswani wrote: The previous gpio clean up series left some room for consolidation and required a few fixes. Rohit Vaswani (4): ARM: msm: dts: Fix the gpio register address for msm8960 drivers

[PATCH 1/4] ARM: msm: dts: Fix the gpio register address for msm8960

2013-06-18 Thread Rohit Vaswani
Fix the the gpio reg address for the device tree entry. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/msm8960-cdp.dts |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts index 52fe253..1599764

[PATCH 2/4] drivers: gpio: msm: Fix the error condition for reading ngpio

2013-06-18 Thread Rohit Vaswani
of_property_read_u32 return 0 on success. The check was using a ! to return error. Fix the if condition. Signed-off-by: Rohit Vaswani --- drivers/gpio/gpio-msm-v2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c

[PATCH 3/4] ARM: msm: Consolidate gpiomux for older architectures

2013-06-18 Thread Rohit Vaswani
Msm gpiomux can be used only for 7x30 and 8x50. Prevent compilation and fix build issues on 7X00, 8X60 and 8960. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig |3 +-- arch/arm/mach-msm/gpiomux-v1.c | 33 - arch/arm/mach-msm/gpiomux.h

[PATCH 4/4] drivers: gpio: msm: Remove __devinit

2013-06-18 Thread Rohit Vaswani
Remove stray usage of __devinit as it has been removed. Signed-off-by: Rohit Vaswani --- drivers/gpio/gpio-msm-v1.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index c798585..fb2cc90 100644 --- a/drivers/gpio

[PATCH 0/4] ARM: MSM: Consolidate GPIOMUX for 7x30 and 8x50

2013-06-18 Thread Rohit Vaswani
The previous gpio clean up series left some room for consolidation and required a few fixes. Rohit Vaswani (4): ARM: msm: dts: Fix the gpio register address for msm8960 drivers: gpio: msm: Fix the error condition for reading ngpio ARM: msm: Consolidate gpiomux for older architectures

[PATCH 2/3] ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

2013-06-10 Thread Rohit Vaswani
MSM_TLMM_BASE is currently not mapped by 8x60. Remove it. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h b/arch/arm/mach-msm/include

[PATCH 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-10 Thread Rohit Vaswani
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani --- .../devicetree/bindings/gpio/gpio-msm.txt | 26 +++ arch/arm/boot/dts/msm8660

[PATCH 1/3] ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs

2013-06-10 Thread Rohit Vaswani
Remove gpiomux-v2 as it's not being used and make way for future improvements. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig| 13 +++- arch/arm/mach-msm/Makefile |6 +-- arch/arm/mach-msm/gpiomux-8x60.c | 19 arch/arm/mach-msm/gpiomux

[PATCHv5 0/3] Cleanup MSM_GPIOMUX and add DT support for gpio-msm

2013-06-10 Thread Rohit Vaswani
v5: for gpio-msm-v2 patch * Made the bitmaps statically allocated. * MAX_NR_GPIO set to 300 for the gpio-msm-v2 driver. This limit can be changed if we have a gpio controller with more gpios. Rohit Vaswani (3): ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs ARM: msm: Remove

Re: [PATCHv4 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-10 Thread Rohit Vaswani
On 6/5/2013 2:38 PM, Grant Likely wrote: On Sun, 02 Jun 2013 19:31:33 -0700, Rohit Vaswani wrote: On 6/1/2013 1:09 AM, Grant Likely wrote: On Sat, Jun 1, 2013 at 1:22 AM, Rohit Vaswani wrote: This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now

Re: [PATCH 2/3] ARM: msm: Re-organize platsmp to make it extensible

2013-06-04 Thread Rohit Vaswani
On 6/4/2013 2:32 AM, Russell King - ARM Linux wrote: On Mon, Jun 03, 2013 at 05:19:44PM -0700, Rohit Vaswani wrote: + sc1_base_ptr = of_iomap(dn, 0); + if (sc1_base_ptr) { + writel_relaxed(0, sc1_base_ptr + VDD_SC1_ARRAY_CLAMP_GFS_CTL); + writel_relaxed(0

[PATCH 3/3] ARM: msm: Add SMP support for 8960

2013-06-03 Thread Rohit Vaswani
Add the cpus bindings and the Krait release sequence to make SMP work for MSM8960 Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt |2 + Documentation/devicetree/bindings/arm/msm/kpss.txt | 16 ++ arch/arm/boot/dts/msm8960-cdp.dts

[PATCH 0/3] Add SMP support for MSM8660 and MSM8960

2013-06-03 Thread Rohit Vaswani
This series re-organizes the platsmp.c and adds SMP support for MSM8660 and MSM8960. We convert to using the cpus property in device tree and add a "enable-method" property for arm32. Rohit Vaswani (3): msm: platsmp: Consolidate write to pen_release ARM: msm: Re-organize platsmp

[PATCH 1/3] msm: platsmp: Consolidate write to pen_release

2013-06-03 Thread Rohit Vaswani
Change the pen variable in one place. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/platsmp.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c index 00cdb0a..2028f3f 100644 --- a/arch/arm/mach

[PATCH 2/3] ARM: msm: Re-organize platsmp to make it extensible

2013-06-03 Thread Rohit Vaswani
This makes it easy to add SMP support for new targets. This patch adds the 8660 cpus bindings to make SMP work. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt |6 ++ Documentation/devicetree/bindings/arm/msm/scss.txt | 15 +++ arch/arm/boot/dts/msm8660

Re: [PATCH 1/2] msm: Remove unused file core.h

2013-06-03 Thread Rohit Vaswani
Ping ? On 5/29/2013 2:37 PM, Rohit Vaswani wrote: Commit be2109e13fc6f017040c57615acfe1065723687b removed the usage of core.h. Remove the file as well. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/core.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) delete mode 100644

Re: [PATCHv4 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-02 Thread Rohit Vaswani
On 6/1/2013 1:09 AM, Grant Likely wrote: On Sat, Jun 1, 2013 at 1:22 AM, Rohit Vaswani wrote: This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit

[PATCH 2/3] ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

2013-05-31 Thread Rohit Vaswani
MSM_TLMM_BASE is currently not mapped by 8x60. Remove it. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h b/arch/arm/mach-msm/include

[PATCHv4 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-05-31 Thread Rohit Vaswani
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani --- .../devicetree/bindings/gpio/gpio-msm.txt | 26 +++ arch/arm/boot/dts/msm8660

[PATCH 1/3] ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs

2013-05-31 Thread Rohit Vaswani
Remove gpiomux-v2 as it's not being used and make way for future improvements. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig| 13 +++- arch/arm/mach-msm/Makefile |6 +-- arch/arm/mach-msm/gpiomux-8x60.c | 19 arch/arm/mach-msm/gpiomux

[PATCHv4 0/3] Cleanup MSM_GPIOMUX and add DT support for gpio-msm

2013-05-31 Thread Rohit Vaswani
v4: for gpio-msm-v2 patch * Made summary_irq and tlmm_base part of msm_gpio_dev * Fixed the bitmap allocation * Fixed some compile issues with non-ARM Rohit Vaswani (3): ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

Re: [PATCHv2 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-05-31 Thread Rohit Vaswani
On 5/31/2013 5:42 AM, Grant Likely wrote: On Wed, 22 May 2013 17:29:24 -0700, Rohit Vaswani wrote: This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit

[PATCH 2/2] msm: iomap: Remove unused bases and mappings

2013-05-29 Thread Rohit Vaswani
QGIC_DIST and QGIC_CPU bases are now unused as they are obtained from device tree. Remove the static iomappings. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/include/mach/msm_iomap-8960.h |7 --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h |6 -- arch/arm/mach-msm

[PATCH 1/2] msm: Remove unused file core.h

2013-05-29 Thread Rohit Vaswani
Commit be2109e13fc6f017040c57615acfe1065723687b removed the usage of core.h. Remove the file as well. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/core.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) delete mode 100644 arch/arm/mach-msm/core.h diff --git a/arch/arm/mach

[PATCH 2/3] ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

2013-05-24 Thread Rohit Vaswani
MSM_TLMM_BASE is currently not mapped by 8x60. Remove it. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h b/arch/arm/mach-msm/include

[PATCH 1/3] ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs

2013-05-24 Thread Rohit Vaswani
Remove gpiomux-v2 as it's not being used and make way for future improvements. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig| 13 +++- arch/arm/mach-msm/Makefile |6 +-- arch/arm/mach-msm/gpiomux-8x60.c | 19 arch/arm/mach-msm/gpiomux

[PATCHv3 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-05-24 Thread Rohit Vaswani
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani --- .../devicetree/bindings/gpio/gpio-msm.txt | 26 +++ arch/arm/boot/dts/msm8660

[PATCHv3 0/3] Cleanup MSM_GPIOMUX and add DT support for gpio-msm

2013-05-24 Thread Rohit Vaswani
Hi Linus, Could this series go through David's tree or is there a better way to do this? It would be great if I can have you ack for the gpio patch. Thanks, Rohit Rohit Vaswani (3): ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs ARM: msm: Remove unused and unm

[PATCHv2 0/3] Cleanup MSM_GPIOMUX and add DT support for gpio-msm

2013-05-24 Thread Rohit Vaswani
Hi Linus, Could this series go through David's tree or is there a better way to do this? It would be great if I can have you ack for the gpio patch. Thanks, Rohit Rohit Vaswani (3): ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs ARM: msm: Remove unused and unm

Re: [PATCH 1/3] ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs

2013-05-23 Thread Rohit Vaswani
On 5/23/2013 9:57 AM, Stephen Boyd wrote: On 05/22/13 17:29, Rohit Vaswani wrote: diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index fceb093..614e41e 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig @@ -48,9 +48,7 @@ config ARCH_MSM8X60 select

  1   2   >