Re: [PATCH v9 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
On 03/04/2014 05:15 AM, Bjorn Andersson wrote: On Fri, Feb 28, 2014 at 3:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Hi Georgi, Sorry for reposting

[PATCH v5 0/9] Use regmap+devm+DT in pm8xxx input drivers

2014-03-04 Thread Stephen Boyd
These patches move the pm8xxx input drivers over to use devm_* APIs and regmap. This breaks the dependency of these drivers on the pm8xxx specific read/write calls and also simplifies the probe code a bit. Finally we add devicetree support to these drivers so they can be probed on the platforms

[PATCH v5 9/9] devicetree: bindings: Document PM8921/8058 vibrators

2014-03-04 Thread Stephen Boyd
Document the vibration device found on PM8921 and PM8058 PMICs. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/input/qcom,pm8xxx-vib.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

[PATCH v5 5/9] Input: pmic8xxx-pwrkey - Migrate to DT

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/input/misc/pmic8xxx-pwrkey.c | 33 - include/linux/input/pmic8xxx-pwrkey.h | 31

[PATCH v5 6/9] Input: pm8xxx-vibrator - Add DT match table

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/input/misc/pm8xxx-vibrator.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/misc/pm8xxx-vibrator.c

[PATCH v5 4/9] Input: pmic8xxx-keypad - Migrate to DT

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/input/keyboard/pmic8xxx-keypad.c | 150 ++- include/linux/input/pmic8xxx-keypad.h| 52

[PATCH v5 8/9] devicetree: bindings: Document PM8921/8058 power keys

2014-03-04 Thread Stephen Boyd
Document the power key found on PM8921 and PM8058 PMICs. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../bindings/input/qcom,pm8xxx-pwrkey.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644

[PATCH v5 7/9] devicetree: bindings: Document PM8921/8058 keypads

2014-03-04 Thread Stephen Boyd
Document the keypad device found on PM8921 and PM8058 PMICs. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../bindings/input/qcom,pm8xxx-keypad.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644

[PATCH v5 1/9] Input: pmic8xxx-keypad - Fix build by removing gpio configuration

2014-03-04 Thread Stephen Boyd
The gpio configuration in this driver doesn't work because the gpio.h include doesn't exist. Remove the configuration as it isn't strictly necessary, allowing us to actually compile this driver. If it's needed in the future, it should be done via a pinctrl driver. Signed-off-by: Stephen Boyd

[PATCH 0/2] pm8921 driver cleanup

2014-03-04 Thread Stephen Boyd
Two small cleanup patches for the pm8921 core driver. Stephen Boyd (2): mfd: pm8921: Drop irq_set_lockdep_class() code mfd: pm8921: Use IRQCHIP_SKIP_SET_WAKE drivers/mfd/pm8921-core.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) -- The Qualcomm Innovation Center, Inc.

[PATCH 1/2] mfd: pm8921: Drop irq_set_lockdep_class() code

2014-03-04 Thread Stephen Boyd
This isn't necessary as we aren't setting the summary interrupt to wake up the system in the irq_wake() callback. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mfd/pm8921-core.c

[PATCH 2/2] mfd: pm8921: Use IRQCHIP_SKIP_SET_WAKE

2014-03-04 Thread Stephen Boyd
We don't need to implement a dummy irq_set_wake op if we just set IRQCHIP_SKIP_SET_WAKE. Suggested-by: Josh Cartwright jo...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-04 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

[PATCH v10 3/3] mmc: sdhci-msm: Add platform_execute_tuning implementation

2014-03-04 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com ---

[PATCH v10 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Tested-by: Ivan T. Ivanov iiva...@mm-sol.com

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

2014-03-04 Thread Georgi Djakov
This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm SoCs. Tested with eMMC and various micro SD cards on APQ8074 Dragonboard. Applies to linux-next. Changes from v9: - Make platform_execute_tuning() static (suggested by Josh

Re: [PATCH] PM / devfreq: Rewrite devfreq_update_status() to fix multiple bugs

2014-03-04 Thread Saravana Kannan
On 03/04/2014 02:06 AM, MyungJoo Ham wrote: The current devfreq_update_status() has the following bugs: - If previous frequency doesn't have a valid level, it does an out of bounds access into the trans_table and causes memory corruption. - When the new frequency doesn't have a valid level,

Re: [PATCH 1/2] mfd: pm8921: Drop irq_set_lockdep_class() code

2014-03-04 Thread Lee Jones
This isn't necessary as we aren't setting the summary interrupt to wake up the system in the irq_wake() callback. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 3 --- 1 file changed, 3 deletions(-) Applied, thanks. -- Lee Jones Linaro

Re: [PATCH 2/2] mfd: pm8921: Use IRQCHIP_SKIP_SET_WAKE

2014-03-04 Thread Lee Jones
We don't need to implement a dummy irq_set_wake op if we just set IRQCHIP_SKIP_SET_WAKE. Suggested-by: Josh Cartwright jo...@codeaurora.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-)

Re: [PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-04 Thread Ulf Hansson
On 4 March 2014 20:27, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov

Re: [PATCH v10 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Ulf Hansson
On 4 March 2014 20:27, Georgi Djakov gdja...@mm-sol.com wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan

Re: [PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-04 Thread Rob Herring
On Tue, Mar 4, 2014 at 1:27 PM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi