Re: [PATCH v2 8/8] pinctrl: qcom: ssbi: Family A gpio mpp drivers

2015-07-17 Thread Linus Walleij
On Wed, Jul 15, 2015 at 8:40 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: This introduces pinctrl drivers for gpio and mpp blocks found in family A PMICs. Tested-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com

Re: [PATCH 6/8] pinctrl: qcom: spmi-mpp: Transpose pinmux function

2015-07-17 Thread Linus Walleij
On Thu, Jun 18, 2015 at 8:47 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: The function of the MPP driver was inherited from the GPIO driver, but the differences between the two hardware blocks makes both the driver and the device tree binding to be awkward. Instead of

Re: [PATCH v2 7/8] mfd: pm8921: Implement irq_get_irqchip_state

2015-07-17 Thread Linus Walleij
On Wed, Jul 15, 2015 at 8:40 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Implement irq_chip-irq_get_irqchip_state to make it possible for PMIC block drivers to access the IRQ real time status bits. The status bits are used for various kinds of input signals, e.g. GPIO.

Re: [PATCH v2 7/8] mfd: pm8921: Implement irq_get_irqchip_state

2015-07-17 Thread Marc Zyngier
On 15/07/15 07:40, Bjorn Andersson wrote: Implement irq_chip-irq_get_irqchip_state to make it possible for PMIC block drivers to access the IRQ real time status bits. The status bits are used for various kinds of input signals, e.g. GPIO. Signed-off-by: Bjorn Andersson

Re: [PATCH v2 5/8] pinctrl: qcom: spmi-mpp: Add support for setting analog output level

2015-07-17 Thread Linus Walleij
On Wed, Jul 15, 2015 at 8:40 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: When the MPP is configured for analog output the output level is selected by the AOUT_CTL register, this patch makes it possible to control this. Signed-off-by: Bjorn Andersson

Re: [PATCH] [v2] pinctrl: add support for Qualcomm Technologies QDF2xxx ARM64 SoCs

2015-07-17 Thread Linus Walleij
On Wed, Jul 15, 2015 at 6:47 PM, Timur Tabi ti...@codeaurora.org wrote: Add the pinctrl driver for the Qualcomm Technologies QDF2xxx ARM64 SoCs, which uses the Qualcomm Technologies TLMM pinctrl/gpio device. This driver is probed via ACPI and uses the pinctrl-msm.c backend driver. This

Re: [PATCH v3 1/3] ARM: dts: qcom: Add binding for the qcom coincell charger

2015-07-17 Thread Rob Herring
On Thu, Jul 16, 2015 at 6:55 PM, Tim Bird tim.b...@sonymobile.com wrote: This binding is used to configure the driver for the coincell charger found in Qualcomm PMICs. Signed-off-by: Tim Bird tim.b...@sonymobile.com Reviewed-by: Rob Herring r...@kernel.org --- Changes in v3: - change

[RFC PATCH 3/4] iommu/arm-smmu: Add support for specifying clocks

2015-07-17 Thread Sricharan R
From: Mitchel Humpherys mitch...@codeaurora.org On some platforms with tight power constraints it is polite to only leave your clocks on for as long as you absolutely need them. Currently we assume that all clocks necessary for SMMU register access are always on. Add some optional device tree

[RFC PATCH 1/4] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

2015-07-17 Thread Sricharan R
This patch uses IOMMU_OF_DECLARE to register the driver and the iommu_ops. So when master devices of the iommu are registered, of_xlate callback can be used to add the master configurations to the smmu driver. Signed-off-by: Sricharan R sricha...@codeaurora.org --- drivers/iommu/arm-smmu.c | 36

[RFC PATCH 2/4] iommu/arm-smmu: Add xlate callback for initializing master devices from dt

2015-07-17 Thread Sricharan R
This adds of_xlate callback to arm-smmu driver. xlate callback is called during device registration from DT for those master devices attached to iommus using generic iommu bindings. Signed-off-by: Sricharan R sricha...@codeaurora.org --- drivers/iommu/arm-smmu.c | 36

[RFC PATCH 4/4] iommu/arm-smmu: Add support for specifying regulators

2015-07-17 Thread Sricharan R
From: Mitchel Humpherys mitch...@codeaurora.org This adds the support to turn on the regulators required for SMMUs. It is turned on during the SMMU probe and remains 'on' till the device exists. Signed-off-by: Sricharan R sricha...@codeaurora.org --- .../devicetree/bindings/iommu/arm,smmu.txt

[RFC PATCH 0/4] iommu/arm-smmu: Add support for adding masters/clocks using generic bindings

2015-07-17 Thread Sricharan R
This series adds support for xlate callback to add master devices configs using generic bindings and clocks/regulators required to access smmu. OF_IOMMU_DECLARE is used to register and probe the smmu controller devices before the masters are added in of_platform_populate. Here, we are registering

Re: [PATCH v3] Input: pmic8xxx-pwrkey - Support shutdown

2015-07-17 Thread Dmitry Torokhov
On Tue, Jul 14, 2015 at 01:18:52PM -0700, Bjorn Andersson wrote: On Tue 14 Jul 12:05 PDT 2015, Stephen Boyd wrote: On pm8xxx PMICs, shutdown and restart are signaled to the PMIC via a pin called PS_HOLD. When this pin goes low, the PMIC performs a configurable power sequence. Add a

[PATCH v4 2/2] regulator: qcom-spmi: Add vendor specific configuration

2015-07-17 Thread Stephen Boyd
Add support for over current protection (OCP), pin control selection, soft start strength, and auto-mode. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Notes: Changes from v3: * Split this patch out from rest of driver * Moved auto mode into

[PATCH v4 0/2] SPMI regulator driver updates

2015-07-17 Thread Stephen Boyd
This is the leftover parts of the SPMI regulator driver port. The OCP feature and other vendor specific DT bindings that didn't make v4.2. I've added a hook to configure OCP per Stephen Boyd (2): regulator: Add over current protection (OCP) support regulator: qcom-spmi: Add vendor specific

Re: [PATCH v2 02/11] soc: qcom: Add Shared Memory Manager driver

2015-07-17 Thread Andy Gross
On Fri, Jun 26, 2015 at 02:50:10PM -0700, bj...@kryo.se wrote: From: Bjorn Andersson bjorn.anders...@sonymobile.com The Shared Memory Manager driver implements an interface for allocating and accessing items in the memory area shared among all of the processors in a Qualcomm platform.

[PATCH v4 1/2] regulator: Add over current protection (OCP) support

2015-07-17 Thread Stephen Boyd
Some regulators can automatically shut down when they detect an over current event. Add an op (set_over_current_protection) and a DT property + constraint to support this capability. Cc: Rob Herring robherri...@gmail.com Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Changes since v3: *