[PATCH] ARM: qcom: Drop unnecessary selects from ARCH_QCOM

2015-01-21 Thread Stephen Boyd
We don't need to force gpiolib on everyone given that it isn't required to actually boot the device and the multiplatform Kconfig already selects ARCH_WANT_OPTIONAL_GPIOLIB. CLKSRC_OF is already selected by CONFIG_ARCH_MULTIPLATFORM too, so we can drop that here. Signed-off-by: Stephen Boyd

[PATCH v2] ARM: qcom: Fix SCM interface for big-endian kernels

2015-01-21 Thread Stephen Boyd
The secure environment only runs in little-endian mode, so any buffers shared with the secure environment should have their contents converted to little-endian. We also mark such elements with __le32 to allow sparse to catch such problems. Signed-off-by: Stephen Boyd sb...@codeaurora.org ---

Re: [PATCH] spmi: pmic_arb: add support for hw version 2

2015-01-21 Thread Stephen Boyd
On 01/19/2015 05:10 PM, Gilad Avidov wrote: Qualcomm PMIC Arbiter version-2 changes from version-1 are: - Some diffrent register offsets. s/diffrent/different/ - New channel register space, one per PMIC peripheral (ppid). All tx tarffic uses these channels. s/tarffic/traffic/ - New

[PATCH 0/2] Fix secondary CPU boot for thumb2 kernels

2015-01-21 Thread Stephen Boyd
Currently I can't boot up secondary CPUs on qcom platforms when I compile the kernel for THUMB2 mode. This is because we always enter the kernel in ARM mode regardless of what mode the kernel is compiled for. This patchset adds a small wrapper to secondary_startup() called secondary_startup_arm()

[PATCH 1/2] ARM: Add a secondary_startup that assumes ARM mode

2015-01-21 Thread Stephen Boyd
Some platforms always enter the kernel in ARM mode even if the kernel is compiled for THUMB2. Add a small wrapper on top of secondary_startup() that switches into THUMB2 mode. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/kernel/head.S | 7 +++ 1 file changed, 7 insertions(+)

[PATCH 2/2] ARM: qcom: Use secondary_startup_arm()

2015-01-21 Thread Stephen Boyd
On qcom platforms we always enter the kernel in ARM mode, regardless of the kernel being compiled for THUMB mode. Use secondary_startup_arm() to properly switch the mode to what the kernel expects if required. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- arch/arm/mach-qcom/platsmp.c | 4

Re: [PATCH 0/3] pinctrl: Qualcomm msm8916 pinctrl driver

2015-01-21 Thread Linus Walleij
On Tue, Jan 20, 2015 at 10:17 AM, Stanimir Varbanov svarba...@mm-sol.com wrote: This series adds a pinctrl driver for Snapdragon 410 (msm8916) SoC. The first patch increase the register address variable size, next adds a binding document and the last patch adds the pinctrl driver Comments

Re: [PATCH 8/8] msm: scm: Move the scm driver to drivers/soc/qcom

2015-01-21 Thread Olof Johansson
I just saw this in the pull request from Kumar, so this is a bit late w.r.t. to the patch, but so was his merging of the code. :) On Mon, Aug 4, 2014 at 6:31 PM, Stephen Boyd sb...@codeaurora.org wrote: Architectural changes in the ARM Linux kernel tree mandate the eventual removal of the

Re: [GIT PULL] qcom DT changes for v3.20

2015-01-21 Thread Olof Johansson
On Mon, Jan 19, 2015 at 12:25:51PM -0600, Kumar Gala wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [GIT PULL] qcom SoC changes for v3.20

2015-01-21 Thread Olof Johansson
Hi, On Mon, Jan 19, 2015 at 12:27:15PM -0600, Kumar Gala wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [PATCH 2/5] mtd: nand: Add qcom nand controller driver

2015-01-21 Thread Archit Taneja
Hi, On 01/21/2015 06:24 AM, Daniel Ehrenberg wrote: On Fri, Jan 16, 2015 at 6:48 AM, Archit Taneja arch...@codeaurora.org wrote: +/* + * the bad block marker is readable only when we read the page with ECC + * disabled. all the read/write commands like NAND_CMD_READOOB, NAND_CMD_READ0 + * and

Re: [PATCH 8/8] msm: scm: Move the scm driver to drivers/soc/qcom

2015-01-21 Thread Bjorn Andersson
On Wed, Jan 21, 2015 at 5:13 PM, Olof Johansson o...@lixom.net wrote: [..] On Mon, Aug 4, 2014 at 6:31 PM, Stephen Boyd sb...@codeaurora.org wrote: Architectural changes in the ARM Linux kernel tree mandate the eventual removal of the mach-* directories. Move the scm driver to drivers/soc/qcom

[PATCH] MAINTAINERS: update Qualcomm support entry

2015-01-21 Thread Andy Gross
Added myself as a co-maintainer. Updated the files to include the Qualcomm SoC directory. Added linux-soc mailing list. Signed-off-by: Andy Gross agr...@codeaurora.org --- MAINTAINERS |3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93409ad..2af6e23

[PATCH] dmaengine: qcom_bam_dma: Add support for BAM v1.7.0

2015-01-21 Thread Archit Taneja
Add register offset table entry for the newer (v1.7.0) version of the BAM IP found on MSM8916. Update the DT bindings documentation. Signed-off-by: Archit Taneja arch...@codeaurora.org --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 1 + drivers/dma/qcom_bam_dma.c

Re: [PATCH v7 2/5] phy: qcom-ufs: add support for 20nm phy

2015-01-21 Thread Kishon Vijay Abraham I
hi, On Thursday 15 January 2015 08:02 PM, Yaniv Gardi wrote: This change adds a support for a 20nm qcom-ufs phy that is required in platforms that use ufs-qcom controller. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/phy/Makefile| 1 +

Re: [PATCH 2/5] phy: qcom: Add Qualcomm PCIe PHY

2015-01-21 Thread Stanimir Varbanov
Hi Kishon, Thanks for the comments! On 01/21/2015 11:11 AM, Kishon Vijay Abraham I wrote: Hi, On Friday 12 December 2014 10:43 PM, Stanimir Varbanov wrote: Add a PCIe PHY driver used by PCIe host controller driver on Qualcomm SoCs like Snapdragon 805. Signed-off-by: Stanimir Varbanov

Re: [PATCH 2/5] phy: qcom: Add Qualcomm PCIe PHY

2015-01-21 Thread Kishon Vijay Abraham I
Hi, On Friday 12 December 2014 10:43 PM, Stanimir Varbanov wrote: Add a PCIe PHY driver used by PCIe host controller driver on Qualcomm SoCs like Snapdragon 805. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com --- drivers/phy/Kconfig |7 + drivers/phy/Makefile|

Re: [PATCH] spmi: pmic_arb: add support for hw version 2

2015-01-21 Thread Ivan T. Ivanov
Hi Gilad, Just few comments. On Mon, 2015-01-19 at 18:10 -0700, Gilad Avidov wrote: Qualcomm PMIC Arbiter version-2 changes from version-1 are: - Some diffrent register offsets. - New channel register space, one per PMIC peripheral (ppid). All tx tarffic uses these channels. - New