Re: [PATCH v2 4/7] regulator: max77802: Add header for operating modes

2014-10-17 Thread Lee Jones
On Thu, 16 Oct 2014, Javier Martinez Canillas wrote: Add a header file for the max77802 constants that could be shared between the regulator driver and Device Tree source files. Also, remove standby and off opmodes since only normal and low power are valid operating modes. Signed-off-by:

Re: [PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-17 Thread Chander Kashyap
Hi Lorenzo, On Wed, Oct 15, 2014 at 2:30 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Oct 15, 2014 at 07:35:20AM +0100, Chander Kashyap wrote: Exynos7 has core power down state where cores can be powered off independently. This patch adds support for this state. Please

Re: [PATCH 1/9] usb: dwc2/gadget: report disconnect event from 'end session' irq

2014-10-17 Thread Marek Szyprowski
Hello, On 2014-10-16 15:33, Felipe Balbi wrote: On Thu, Oct 16, 2014 at 02:57:57PM +0200, Marek Szyprowski wrote: This patch adds a call to s3c_hsotg_disconnect() from 'end session' interrupt to correctly notify gadget subsystem about unplugged usb cable. Signed-off-by: Marek Szyprowski

Re: [PATCH 3/9] usb: dwc2/gadget: fix support for soft_connect udc framework feature

2014-10-17 Thread Marek Szyprowski
Hello, On 2014-10-16 15:36, Felipe Balbi wrote: On Thu, Oct 16, 2014 at 02:57:59PM +0200, Marek Szyprowski wrote: Enabling and disabling usb gadget by writing to /sys/class/udc/*hsotg/soft_connect results in calling udc_start/udc_stop functions with the same usb gadget driver, so the driver

Re: [PATCH v2 5/7] regulator: max77802: Document regulator opmode DT properties

2014-10-17 Thread Mark Brown
On Thu, Oct 16, 2014 at 06:48:51PM +0200, Javier Martinez Canillas wrote: +- maxim,regulator-initial-mode: initial operating mode. + This property can only be used on regulators that support changing their mode + during normal operation. These regulators are LDO1, LDO3, LDO20 and LDO21.

Re: exynos5422-odroid-xu3: MCPM: only 6 of 8 CPUs coming online

2014-10-17 Thread Kevin Hilman
On Wed, Oct 15, 2014 at 4:35 AM, Joonyoung Shim jy0922.s...@samsung.com wrote: Hi, Kevin Hilman khilman at kernel.org writes: Hi Abhilash, Abhilash Kesavan a.kesavan at samsung.com writes: I had noticed a similar issue where only 6 cores would come up during development on 5420. This

Re: [PATCH v2 5/7] regulator: max77802: Document regulator opmode DT properties

2014-10-17 Thread Javier Martinez Canillas
Hello Mark, On 10/17/2014 01:57 PM, Mark Brown wrote: On Thu, Oct 16, 2014 at 06:48:51PM +0200, Javier Martinez Canillas wrote: +- maxim,regulator-initial-mode: initial operating mode. + This property can only be used on regulators that support changing their mode + during normal

Re: [PATCH v2 1/7] regulator: max77802: Add .{get,set}_mode callbacks

2014-10-17 Thread Mark Brown
On Thu, Oct 16, 2014 at 06:48:47PM +0200, Javier Martinez Canillas wrote: Some max77802 LDOs (1, 3, 20 and 21) support to be configured in Low Power Mode during system normal operation. Add function handlers for the .get_mode and .set_mode operations to set the mode on these LDOs. Applied,

Re: [PATCH v2 2/7] regulator: max77802: Add set suspend mode for BUCKs and simplify code

2014-10-17 Thread Mark Brown
On Thu, Oct 16, 2014 at 06:48:48PM +0200, Javier Martinez Canillas wrote: The max77802 PMIC has a special enable pin (PWRREQ) that can be used by the Application Processor (AP) to power down and up voltage rails. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 4/7] regulator: max77802: Add header for operating modes

2014-10-17 Thread Mark Brown
On Thu, Oct 16, 2014 at 06:48:50PM +0200, Javier Martinez Canillas wrote: Add a header file for the max77802 constants that could be shared between the regulator driver and Device Tree source files. Also, remove standby and off opmodes since only normal and low power are valid operating modes.

Re: [PATCH v2 3/7] regulator: max77802: Don't treat OFF as an operating mode

2014-10-17 Thread Mark Brown
On Thu, Oct 16, 2014 at 06:48:49PM +0200, Javier Martinez Canillas wrote: The only operating modes that are supported by the regulators in the max77802 PMIC are Output ON (normal) and Output On in Low Power Mode. OFF was wrongly counted as an operating mode while is only a regulator status.

Re: [PATCH v2 5/7] regulator: max77802: Document regulator opmode DT properties

2014-10-17 Thread Mark Brown
On Fri, Oct 17, 2014 at 02:39:15PM +0200, Javier Martinez Canillas wrote: Just to be sure I understood correctly, are you suggesting something like this? ldo1_reg: LDO1 { regulator-name = vdd_1v0; regulator-min-microvolt = 100;

Re: [PATCH v2 5/7] regulator: max77802: Document regulator opmode DT properties

2014-10-17 Thread Javier Martinez Canillas
Hello Mark, On 10/17/2014 03:54 PM, Mark Brown wrote: On Fri, Oct 17, 2014 at 02:39:15PM +0200, Javier Martinez Canillas wrote: Just to be sure I understood correctly, are you suggesting something like this? ldo1_reg: LDO1 { regulator-name = vdd_1v0;

Re: [PATCH 3/9] usb: dwc2/gadget: fix support for soft_connect udc framework feature

2014-10-17 Thread Felipe Balbi
On Fri, Oct 17, 2014 at 12:43:48PM +0200, Marek Szyprowski wrote: Hello, On 2014-10-16 15:36, Felipe Balbi wrote: On Thu, Oct 16, 2014 at 02:57:59PM +0200, Marek Szyprowski wrote: Enabling and disabling usb gadget by writing to /sys/class/udc/*hsotg/soft_connect results in calling

Re: [PATCH 3/9] usb: dwc2/gadget: fix support for soft_connect udc framework feature

2014-10-17 Thread Felipe Balbi
Hi, On Fri, Oct 17, 2014 at 10:44:35AM -0500, Felipe Balbi wrote: On Fri, Oct 17, 2014 at 12:43:48PM +0200, Marek Szyprowski wrote: Hello, On 2014-10-16 15:36, Felipe Balbi wrote: On Thu, Oct 16, 2014 at 02:57:59PM +0200, Marek Szyprowski wrote: Enabling and disabling usb gadget by

[PATCH 4/7] clk: samsung: exynos7: add gate clocks for WDT, TMU and PWM blocks

2014-10-17 Thread Abhilash Kesavan
From: Naveen Krishna Ch naveenkrishna...@gmail.com Add clock support for the watchdog timer, pwm timer and thermal management unit IPs in Exynos7. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com ---

[PATCH 5/7] arm64: dts: Add PMU DT node for exynos7 SoC

2014-10-17 Thread Abhilash Kesavan
Adds PMU DT node for exynos7 SoC. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|1 + arch/arm64/boot/dts/exynos/exynos7.dtsi|5 + 2 files changed, 6 insertions(+) diff --git

[PATCH 2/7] clk: samsung: exynos7: add clocks for MMC block

2014-10-17 Thread Abhilash Kesavan
From: Naveen Krishna Ch naveenkrishna...@gmail.com Exynos7 supports 3 MMC channels, add the MMC gate clocks to support them. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- .../devicetree/bindings/clock/exynos7-clock.txt|

[PATCH 0/7] Add clock and DT support for a few IPs on Exynos7

2014-10-17 Thread Abhilash Kesavan
This series adds clock support for I2C, MMC, RTC, Watchdog, TMU and PWM. It also adds the device nodes for I2C, RTC, WDT, MMC and PMU. The patchset has been tested on linux-next (20141017) on an Exynos7 Espresso board. Following are the dependencies: 1) dts, kbuild: Implement support for dtb

[PATCH 1/7] clk: samsung: exynos7: add clocks for I2C block

2014-10-17 Thread Abhilash Kesavan
From: Naveen Krishna Ch naveenkrishna...@gmail.com Exynos7 supports 12 I2C channels, add the I2C gate clocks to support them. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- drivers/clk/samsung/clk-exynos7.c | 24

[PATCH 6/7] arm64: dts: Add nodes for mmc, i2c, rtc, watchdog on Exynos7

2014-10-17 Thread Abhilash Kesavan
Add nodes for 3 mmc channels, 12 i2c channels, rtc, and watchdog on Exynos7. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 41 arch/arm64/boot/dts/exynos/exynos7.dtsi

[PATCH 7/7] arm64: exynos: Enable rtc and watchdog support for Exynos7

2014-10-17 Thread Abhilash Kesavan
Enable rtc and watchdog support for exynos7 SoCs. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm64/Kconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 238acff..9bb4e02 100644 --- a/arch/arm64/Kconfig +++

Re: [PATCH 1/9] usb: dwc2/gadget: report disconnect event from 'end session' irq

2014-10-17 Thread Felipe Balbi
On Fri, Oct 17, 2014 at 12:35:39PM +0200, Marek Szyprowski wrote: Hello, On 2014-10-16 15:33, Felipe Balbi wrote: On Thu, Oct 16, 2014 at 02:57:57PM +0200, Marek Szyprowski wrote: This patch adds a call to s3c_hsotg_disconnect() from 'end session' interrupt to correctly notify gadget