Re: [PATCH v2 3/5] ARM: dts: exynos4412-odroidx: add support for USB (phy, host, device)

2014-06-26 Thread Marek Szyprowski
Hello, On 2014-06-25 15:58, Vivek Gautam wrote: On Wed, Jun 25, 2014 at 6:56 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: From: Kamil Debski k.deb...@samsung.com This patch adds basic support for USB modules (host and device) on OdroidX board. Signed-off-by: Kamil Debski

Re: [PATCH 1/3] drm/exynos: Control DISP1BLK system register in FIMD

2014-06-26 Thread Rahul Sharma
Hi Ajay, On 25 June 2014 19:45, Ajay Kumar ajaykumar...@samsung.com wrote: Exynos SOC have a DISP1BLK register where we can select the path for FIMD output. We can redirect the video data directly to DP/MIPI interface, or we can pass it via image enhancement chips. Since we don't use any

Re: [PATCH 4/4 v2] ARM: DTS: Add NTC thermistor nodes to Exynos5420 based Peach_PIT

2014-06-26 Thread Naveen Krishna Ch
Doug, On 26 June 2014 02:10, Doug Anderson diand...@chromium.org wrote: Naveen, On Tue, Jun 24, 2014 at 11:29 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Exynos5420 based Peach PIT board has 4 NTC thermistors to measure temperatures at various points on the board. IIO based

Re: Using s5p-sss hw crypto causes ipsec to break

2014-06-26 Thread Herbert Xu
Sonny Rao sonny...@chromium.org wrote: Hi, I've been investigating an issue relating to hardware crypto which is that when I enable the s5p-sss module for hardware cryptographic acceleration on Samsung Exynos SoCs the in-kernel IPSec seems to break, although cryptographic operations on

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
On 06/26/2014 03:27 AM, Laura Abbott wrote: On 6/25/2014 5:13 AM, Tushar Behera wrote: On 06/25/2014 03:59 AM, Laura Abbott wrote: On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote:

Re: [PATCH] ARM: dts: add hdmi regulators for exynos5420 based peach-pit board

2014-06-26 Thread Javier Martinez Canillas
Hello Rahul, On Wed, Jun 18, 2014 at 3:44 PM, Rahul Sharma rahul.sha...@samsung.com wrote: Adding regulators for hdmi for peach-pit board. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- Based on for-next branch in Kukjin's tree. Dependent on: 1) PMIC DT patch at

Re: [PATCH] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-06-26 Thread Javier Martinez Canillas
Hello Rahul, On Thu, Jun 26, 2014 at 7:26 AM, Rahul Sharma rahul.sha...@samsung.com wrote: Adding regulators for HDMI for exynos5800 based Peach-pi board. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- Based on Kukjin's for-next branch. Depends on: 1) PMIC addition to Peach-pi:

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Vivek Gautam
Hi Sachin, On Thu, Jun 26, 2014 at 11:09 AM, Sachin Kamat sachin.ka...@samsung.com wrote: EHCI and OHCI drivers on Exynos platforms do not work without their corresponding SoC specific phy drivers. Hence it makes no sense to keep these phy drivers as user selectable. Instead select them from

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Sachin Kamat
Hi Vivek, On Thu, Jun 26, 2014 at 1:39 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Hi Sachin, On Thu, Jun 26, 2014 at 11:09 AM, Sachin Kamat sachin.ka...@samsung.com wrote: EHCI and OHCI drivers on Exynos platforms do not work without their corresponding SoC specific phy drivers.

Re: [PATCH 4/4 v2] ARM: DTS: Add NTC thermistor nodes to Exynos5420 based Peach_PIT

2014-06-26 Thread Naveen Krishna Ch
Hello Doug, Kukjin, On 26 June 2014 11:46, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Doug, On 26 June 2014 02:10, Doug Anderson diand...@chromium.org wrote: Naveen, On Tue, Jun 24, 2014 at 11:29 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Exynos5420 based Peach PIT

Re: [alsa-devel] [PATCH V2 1/2] ASoC: samsung: Add machine driver for Odroid X2/U3

2014-06-26 Thread Sylwester Nawrocki
On 25/06/14 05:31, Tushar Behera wrote: On 06/18/2014 09:52 PM, Sylwester Nawrocki wrote: This patch adds the sound subsystem driver for Odroid-X2 and Odroid-U3 boards. The codec works in I2S master mode; there are 2 separate audio routing paths defined as there are differences in the signal

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Kishon Vijay Abraham I
Hi Sachin, On Thursday 26 June 2014 11:09 AM, Sachin Kamat wrote: EHCI and OHCI drivers on Exynos platforms do not work without their corresponding SoC specific phy drivers. Hence it makes no sense to keep these phy drivers as user selectable. Instead select them from the respective USB

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Sachin Kamat
Hi Vivek, On Thu, Jun 26, 2014 at 1:55 PM, Sachin Kamat sachin.ka...@samsung.com wrote: Hi Vivek, On Thu, Jun 26, 2014 at 1:39 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Hi Sachin, On Thu, Jun 26, 2014 at 11:09 AM, Sachin Kamat sachin.ka...@samsung.com wrote: EHCI and OHCI

Re: [PATCH v4 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: Maxim Integrated Power Management ICs are very similar with regard to their clock outputs. Most of the clock drivers for these chips are duplicating code and are simpler enough that can be converted to use a generic driver to

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Sachin Kamat
Hi Kishon, On Thu, Jun 26, 2014 at 2:19 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi Sachin, On Thursday 26 June 2014 11:09 AM, Sachin Kamat wrote: EHCI and OHCI drivers on Exynos platforms do not work without their corresponding SoC specific phy drivers. Hence it makes no sense to

Re: [PATCH v4 02/14] mfd: max77686: Allow the max77686 rtc to wakeup the system

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: From: Doug Anderson diand...@chromium.org The max77686 includes an RTC that keeps power during suspend. It's convenient to be able to use it as a wakeup source. NOTE: due to wakeup ordering problems this patch alone

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-26 Thread Vivek Gautam
Hi Sachin, On Thu, Jun 26, 2014 at 2:23 PM, Sachin Kamat sachin.ka...@samsung.com wrote: Hi Vivek, On Thu, Jun 26, 2014 at 1:55 PM, Sachin Kamat sachin.ka...@samsung.com wrote: Hi Vivek, On Thu, Jun 26, 2014 at 1:39 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Hi Sachin, On

Re: [PATCH V5 16/20] ARM: exynos: cpuidle: Move the power sequence call in the cpu_pm notifier

2014-06-26 Thread Chander Kashyap
On Fri, Apr 11, 2014 at 4:10 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: The code to initiate and exit the powerdown sequence is the same in pm.c and cpuidle.c. Let's split the common part in the pm.c and reuse it from the cpu_pm notifier. That is one more step forward to make the

[PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-06-26 Thread Vikas Sajjan
From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being reset across sleep/wake. If we don't set it to anything then the TPM will be reset. U-Boot will detect this as invalid and will reset the system on resume time. This GPIO can

Re: [PATCH v2 4/6] ARM: SAMSUNG: Restore Samsung PM Debug functionality

2014-06-26 Thread Daniel Drake
On Wed, Jun 25, 2014 at 12:43 PM, Tomasz Figa t.f...@samsung.com wrote: Due to recently merged patches and previous merge conflicts, the Samsung PM Debug functionality no longer can be enabled. This patch fixes incorrect dependency of SAMSUNG_PM_DEBUG on an integer symbol and adds missing

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Krzysztof Kozlowski
Hi, Just a few nit-picks below but overall everything looks fine: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: Maxim MAX77802 is a power management chip that contains 10 high efficiency Buck regulators, 32

Re: [PATCH] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-06-26 Thread Rahul Sharma
On 26 June 2014 13:11, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Rahul, On Thu, Jun 26, 2014 at 7:26 AM, Rahul Sharma rahul.sha...@samsung.com wrote: Adding regulators for HDMI for exynos5800 based Peach-pi board. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com ---

[PATCH v2] ARM: dts: add hdmi regulators for exynos5800 based peach-pi board

2014-06-26 Thread Rahul Sharma
Adding regulators for HDMI for Peach-pi board. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- v2: 1) Add blank line before hdmi regulators. Based on Kukjin's for-next branch. Depends on: 1) PMIC addition to Peach-pi:

Re: [PATCH V5 16/20] ARM: exynos: cpuidle: Move the power sequence call in the cpu_pm notifier

2014-06-26 Thread Tomasz Figa
Hi Chander, On 26.06.2014 11:07, Chander Kashyap wrote: On Fri, Apr 11, 2014 at 4:10 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: [snip] @@ -359,6 +373,7 @@ static int exynos_cpu_pm_notifier(struct notifier_block *self, switch (cmd) { case CPU_PM_ENTER:

Re: [PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-06-26 Thread Tomasz Figa
Hi Vikas, Doug, On 26.06.2014 11:15, Vikas Sajjan wrote: From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being reset across sleep/wake. If we don't set it to anything then the TPM will be reset. U-Boot will detect this as

Re: [PATCH v4 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these regulators found on the MAX77802 PMIC and is based on a driver added by Simon Glass to the Chrome OS

RE: [PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-06-26 Thread Seungwon Jeon
Hi Doug, On Thu, June 26, 2014, Doug Anderson wrote: Seungwon, On Wed, Jun 25, 2014 at 4:18 AM, Seungwon Jeon tgih@samsung.com wrote: + case MMC_POWER_ON: + if (!IS_ERR(mmc-supply.vqmmc) + !test_bit(DW_MMC_IO_POWERED,

Re: [PATCH v4 11/14] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v3:

RE: [PATCH 3/3] mmc: dw_mmc: Support voltage changes

2014-06-26 Thread Seungwon Jeon
On Thu, June 26, 2014, Doug Anderson wrote: Seungwon, On Wed, Jun 25, 2014 at 6:08 AM, Seungwon Jeon tgih@samsung.com wrote: On Mon, June 23, 2014, Yuvaraj Kumar C D wrote: Subject: [PATCH 3/3] mmc: dw_mmc: Support voltage changes From: Doug Anderson diand...@chromium.org For

[PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Abhilash Kesavan
Setup the mcpm entry address again on system resume as the iRAM contents are lost across an s2r cycle. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- This has been tested after applying the Exynos5420 S2R support series along with Nicolas Pitre's boot cluster CCI enablement patches on

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your feedback. On 06/26/2014 11:31 AM, Krzysztof Kozlowski wrote: Hi, Just a few nit-picks below but overall everything looks fine: Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com + +static int max77802_i2c_probe(struct i2c_client *i2c, +

[PATCH v5 3/3] clk: samsung: exynos5420: Setup clocks before system suspend

2014-06-26 Thread Vikas Sajjan
Prior to suspending the system, we need to ensure that certain clock source and gate registers are unmasked. while at it, add these clks to save/restore list also. Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com ---

[PATCH v5 0/3] Adds PMU and S2R support for exynos5420

2014-06-26 Thread Vikas Sajjan
Rebased on 1] Kukjin Kim's tree, for-next branch https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next 2] Pankaj Dubey's v5 PMU patchset http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg671625.html changes since v4: - Adressed comments from Tomasz

[PATCH v5 2/3] arm: exynos5: Add Suspend-to-RAM support for 5420

2014-06-26 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Adds Suspend-to-RAM support for EXYNOS5420 Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan vikas.saj...@samsung.com --- arch/arm/mach-exynos/pm.c | 150 - 1 file changed,

[PATCH v5 1/3] arm: exynos5: Add PMU support for 5420

2014-06-26 Thread Vikas Sajjan
From: Abhilash Kesavan a.kesa...@samsung.com Add intial PMU settings for exynos5420. This is required for future S2R and Switching support. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vikas Sajjan

Re: [PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-06-26 Thread Yuvaraj Kumar
Doug On Tue, Jun 24, 2014 at 11:30 PM, Doug Anderson diand...@chromium.org wrote: Yuvaraj, On Mon, Jun 23, 2014 at 3:45 AM, Yuvaraj Kumar C D yuvaraj...@gmail.com wrote: This patch makes use of mmc_regulator_get_supply() to handle the vmmc and vqmmc regulators.Also it moves the code

[PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-06-26 Thread Tomasz Figa
Current Samsung UART driver relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are available on board, not even saying of deterministic device naming. This series intends to fix this situation by adding

[PATCH 3/3] ARM: dts: SAMSUNG: Add aliases of UART nodes

2014-06-26 Thread Tomasz Figa
This patch adds alias entries for UART nodes of all SoCs using samsung-uart compatible UART controllers, so that the dependency on probe order is removed and deterministic device naming is assured. Signed-off-by: Tomasz Figa t.f...@samsung.com --- arch/arm/boot/dts/exynos3250.dtsi | 2 ++

[PATCH 2/3] serial: samsung: Consider DT alias when probing ports

2014-06-26 Thread Tomasz Figa
Current driver code relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are available on board, not even saying of deterministic device naming. This patch fixes this on DT-enabled systems by using DT

[PATCH 1/3] Documentation: devicetree: Update samsung UART bindings

2014-06-26 Thread Tomasz Figa
The primary purpose of this patch is to add information about (now required) aliases of UART ports. However the documentation currently is heavily outdated and so this patch also takes care of this. Signed-off-by: Tomasz Figa t.f...@samsung.com --- .../devicetree/bindings/serial/samsung_uart.txt

Re: [PATCH v4 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-26 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your feedback. On 06/26/2014 12:08 PM, Krzysztof Kozlowski wrote: On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these

Re: [PATCH v5 0/5] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-06-26 Thread Vikas Sajjan
On Wed, Jun 25, 2014 at 7:33 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch series, modifies Exynos Power Management Unit (PMU) related code for converting it into a platform_driver. This is also preparation for moving PMU related code out of machine folder into a either

Re: [PATCH 2/2] ARM: EXYNOS: Add support for firmware-assisted suspend/resume

2014-06-26 Thread Daniel Drake
Hi Tomasz, On Wed, Jun 25, 2014 at 5:18 PM, Tomasz Figa t.f...@samsung.com wrote: On a numer of Exynos-based boards Linux kernel is running in non-secure mode under a secure firmware. This means that certain operations need to be handled in special way, with firmware assistance. System-wide

Re: [PATCH 3/3] mmc: dw_mmc: Support voltage changes

2014-06-26 Thread Yuvaraj Kumar
On Wed, Jun 25, 2014 at 11:16 PM, Doug Anderson diand...@chromium.org wrote: Seungwon, On Wed, Jun 25, 2014 at 6:08 AM, Seungwon Jeon tgih@samsung.com wrote: On Mon, June 23, 2014, Yuvaraj Kumar C D wrote: Subject: [PATCH 3/3] mmc: dw_mmc: Support voltage changes From: Doug Anderson

Re: [PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 01:24:32PM +0200, Tomasz Figa wrote: Current Samsung UART driver relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are available on board, not even saying of deterministic

[PATCH RESEND] ARM: EXYNOS: Do not calculate boot address twice

2014-06-26 Thread Krzysztof Kozlowski
Commit b3205dea8fbf (ARM: EXYNOS: Map SYSRAM through generic DT bindings) introduced local variable boot_reg where boot address from cpu_boot_reg() call is stored. Re-use it instead calling cpu_boot_reg() again. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com ---

Re: [PATCH 4/4 v2] ARM: DTS: Add NTC thermistor nodes to Exynos5420 based Peach_PIT

2014-06-26 Thread Naveen Krishna Ch
Hello Kukjin, On 26 June 2014 11:46, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Doug, On 26 June 2014 02:10, Doug Anderson diand...@chromium.org wrote: Naveen, On Tue, Jun 24, 2014 at 11:29 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Exynos5420 based Peach PIT board

Re: [PATCH v4 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-26 Thread Yadwinder Singh Brar
Hi Javier, Sorry for jumping in late, but just one concern mentioned inline. [ .. ] + +static unsigned long max_gen_recalc_rate(struct clk_hw *hw, +unsigned long parent_rate) +{ + return 32768; +} Isn't more safer(correct), if it check and

Re: [PATCH RESEND] ARM: EXYNOS: Do not calculate boot address twice

2014-06-26 Thread Sachin Kamat
Hi Krzysztof, On Thu, Jun 26, 2014 at 5:16 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: Commit b3205dea8fbf (ARM: EXYNOS: Map SYSRAM through generic DT bindings) introduced local variable boot_reg where boot address from cpu_boot_reg() call is stored. Re-use it instead calling

[PATCH RESEND] clk: samsung: Make of_device_id array const

2014-06-26 Thread Krzysztof Kozlowski
Array of struct of_device_id may be be const as expected by of_match_table field and of_find_matching_node_and_match() function. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/clk/samsung/clk-exynos4.c| 2 +- drivers/clk/samsung/clk-exynos5250.c | 2 +-

Re: [PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-06-26 Thread Tomasz Figa
On 26.06.2014 13:39, Russell King - ARM Linux wrote: On Thu, Jun 26, 2014 at 01:24:32PM +0200, Tomasz Figa wrote: Current Samsung UART driver relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are

[PATCH RESEND 1/2] ARM: multi_v7_defconfig: Enable clock and RTC driver for S2M and S5M

2014-06-26 Thread Krzysztof Kozlowski
The config enables already Samsung's PMIC-s MFD and regulator (S2MPS11 and S5M8767) drivers. Enable also drivers for the rest of these PMIC-s features: clock and RTC. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2

[PATCH RESEND 2/2] ARM: exynos_defconfig: Enable clock and RTC driver for S2M and S5M

2014-06-26 Thread Krzysztof Kozlowski
The config enables already Samsung's PMIC-s MFD and regulator (S2MPS11 and S5M8767) drivers. Enable also drivers for the rest of these PMIC-s features: clock and RTC. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- arch/arm/configs/exynos_defconfig | 2 ++ 1 file changed, 2

[PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Naveen Krishna Chatradhi
This patchset does the following 1. Create a common dtsi file cros-exynos-peach.dtsi for exynos5420-peach-pit.dts and exynos5800-peach-pi.dts 2. Adds the ADC based Thermistor nodes and enables them in peach_pit.dts and peach_pi.dts 3. Adds the ADC based Thermistor nodes for Exynos5250 based

[PATCH 1/3] ARM: DTS: use new compatible string for thermistors in trats2

2014-06-26 Thread Naveen Krishna Chatradhi
As Murata Manufactures the NTC based thermistors. The vendor name in the compatibility is preposed to change to murata This patch uses the new compatibility string in exynos4412 based Trats2 board. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Chanwoo Choi

[PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Naveen Krishna Chatradhi
Exynos5250 based Snow board has 4 NTC thermistors to measure temperatures at various points on the board. IIO based ADC becomes the parent and NTC thermistors are the childs, via the HWMON interface. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Posted earlier by Doug

[PATCH 3/3] ARM: DTS: Add common dts file for Peach PIT and PI along with ADC nodes

2014-06-26 Thread Naveen Krishna Chatradhi
DTS files exynos5420-peach-pit.dts and exynos5800-peach-pi.dts have lots of device tree nodes in common. This patch creates a cros-exynos-peach.dts file, which can carry the device tree nodes common across exynos5420-peach-pit.dts and exynos5800-peach-pi.dts. Starting with ADC based Thermistor

Re: [PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Abhilash Kesavan
Hi, On Thu, Jun 26, 2014 at 4:28 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: Setup the mcpm entry address again on system resume as the iRAM contents are lost across an s2r cycle. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- This has been tested after applying the

Re: [PATCH v4 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-26 Thread Javier Martinez Canillas
Hello Yadwinder, Thanks a lot for your feedback. On 06/26/2014 01:51 PM, Yadwinder Singh Brar wrote: Hi Javier, Sorry for jumping in late, but just one concern mentioned inline. [ .. ] + +static unsigned long max_gen_recalc_rate(struct clk_hw *hw, +

Re: [PATCH v4 00/14] Add Maxim 77802 PMIC support

2014-06-26 Thread Naveen Krishna Ch
Hello Javier, On 26 June 2014 00:33, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: MAX77802 is a PMIC that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program

Re: [PATCH v4 00/14] Add Maxim 77802 PMIC support

2014-06-26 Thread Javier Martinez Canillas
Hello Naveen, Thanks a lot for testing! On 06/26/2014 03:32 PM, Naveen Krishna Ch wrote: Hello Javier, On 26 June 2014 00:33, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: MAX77802 is a PMIC that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO)

Re: [PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Lorenzo Pieralisi
On Thu, Jun 26, 2014 at 01:25:30PM +0100, Abhilash Kesavan wrote: Hi, On Thu, Jun 26, 2014 at 4:28 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: Setup the mcpm entry address again on system resume as the iRAM contents are lost across an s2r cycle. Signed-off-by: Abhilash Kesavan

[PATCH V2] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-26 Thread Ajay Kumar
Add the missing setting for DP CLKCON register. This register is present on Exynos5 based FIMD controllers, and needs to be used if we are using DP. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- Changes since V1: - Remove usage of driver_data to configure DP CLKCON register

Re: [PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Lorenzo Pieralisi
On Thu, Jun 26, 2014 at 01:25:30PM +0100, Abhilash Kesavan wrote: Hi, On Thu, Jun 26, 2014 at 4:28 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: Setup the mcpm entry address again on system resume as the iRAM contents are lost across an s2r cycle. Signed-off-by: Abhilash Kesavan

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Kevin Hilman
Hi Tushar, Here is my assessment of the current situation. Thanks for digging into this and the detailed diagnosis. *Bug in the u-boot* Current u-boot for Arndale-octa board has defined NR_BANKS as 12 and the core uses a global structure (gd-bd) to maintain the start and size of individual

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 07:59:19AM -0700, Kevin Hilman wrote: I agree that the u-boot bug needs to be fixed, and FWIW, I updated my u-boot and haven't seen the boot failure yet after several boots with next-20140625. That being said, since it's not always feasible/practical to update

Re: [PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Javier Martinez Canillas
Hello Naveen, On Thu, Jun 26, 2014 at 2:19 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patchset does the following 1. Create a common dtsi file cros-exynos-peach.dtsi for exynos5420-peach-pit.dts and exynos5800-peach-pi.dts There was some previous discussion in this list

Re: [PATCH] ARM: dts: Add mask-tpm-reset to the device tree

2014-06-26 Thread Doug Anderson
Tomasz, On Thu, Jun 26, 2014 at 2:52 AM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, Doug, On 26.06.2014 11:15, Vikas Sajjan wrote: From: Doug Anderson diand...@chromium.org The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being reset across sleep/wake. If we

Re: [PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Doug Anderson
Naveen, On Thu, Jun 26, 2014 at 5:19 AM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Exynos5250 based Snow board has 4 NTC thermistors to measure temperatures at various points on the board. IIO based ADC becomes the parent and NTC thermistors are the childs, via the HWMON

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-26 Thread Kevin Hilman
Tushar Behera trbli...@gmail.com writes: On Thu, Jun 26, 2014 at 4:51 AM, Kevin Hilman khil...@linaro.org wrote: Doug Anderson diand...@google.com writes: Tushar, On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote: Currently CLK_FOUT_EPLL was set as one of the

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Doug Anderson
Javier, On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: + +#ifdef CONFIG_PM_SLEEP +static int max77802_suspend(struct device *dev) +{ +struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); +struct max77802_dev *max77802

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Doug, On 06/26/2014 06:12 PM, Doug Anderson wrote: Javier, On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: + +#ifdef CONFIG_PM_SLEEP +static int max77802_suspend(struct device *dev) +{ +struct i2c_client *i2c = container_of(dev,

Re: [PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-06-26 Thread Doug Anderson
Yuvaraj, On Thu, Jun 26, 2014 at 4:21 AM, Yuvaraj Kumar yuvaraj...@gmail.com wrote: Doug On Tue, Jun 24, 2014 at 11:30 PM, Doug Anderson diand...@chromium.org wrote: Yuvaraj, On Mon, Jun 23, 2014 at 3:45 AM, Yuvaraj Kumar C D yuvaraj...@gmail.com wrote: This patch makes use of

Re: [PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators

2014-06-26 Thread Doug Anderson
Seungwon, On Thu, Jun 26, 2014 at 3:30 AM, Seungwon Jeon tgih@samsung.com wrote: Hi Doug, On Thu, June 26, 2014, Doug Anderson wrote: Seungwon, On Wed, Jun 25, 2014 at 4:18 AM, Seungwon Jeon tgih@samsung.com wrote: + case MMC_POWER_ON: + if

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Doug Anderson
Javier, On Thu, Jun 26, 2014 at 9:18 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Doug, On 06/26/2014 06:12 PM, Doug Anderson wrote: Javier, On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: + +#ifdef

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Doug, On 06/26/2014 06:29 PM, Doug Anderson wrote: Javier, On Thu, Jun 26, 2014 at 9:18 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Doug, On 06/26/2014 06:12 PM, Doug Anderson wrote: Javier, On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas

Re: [PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Naveen Krishna Ch
Hello Javier, On 26 June 2014 20:51, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Naveen, On Thu, Jun 26, 2014 at 2:19 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patchset does the following 1. Create a common dtsi file cros-exynos-peach.dtsi for

Re: [PATCH 3/3] mmc: dw_mmc: Support voltage changes

2014-06-26 Thread Doug Anderson
Seungwon, On Thu, Jun 26, 2014 at 3:41 AM, Seungwon Jeon tgih@samsung.com wrote: On Thu, June 26, 2014, Doug Anderson wrote: Seungwon, On Wed, Jun 25, 2014 at 6:08 AM, Seungwon Jeon tgih@samsung.com wrote: On Mon, June 23, 2014, Yuvaraj Kumar C D wrote: Subject: [PATCH 3/3] mmc:

Re: [PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Naveen Krishna Ch
Hello Doug and Kukjin, On 26 June 2014 21:16, Doug Anderson diand...@chromium.org wrote: Naveen, On Thu, Jun 26, 2014 at 5:19 AM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Exynos5250 based Snow board has 4 NTC thermistors to measure temperatures at various points on the board.

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Andreas Färber
Hi Kevin and Tushar, Am 26.06.2014 16:59, schrieb Kevin Hilman: IMO, the bug is in u-boot and we should fix that. I agree that the u-boot bug needs to be fixed, and FWIW, I updated my u-boot and haven't seen the boot failure yet after several boots with next-20140625. Could you clarify

[PATCH v5 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-26 Thread Javier Martinez Canillas
The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these regulators found on the MAX77802 PMIC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas

[PATCH v5 14/14] ARM: dts: Add max77802 to exynos5420-peach-pit and exynos5800-peach-pi

2014-06-26 Thread Javier Martinez Canillas
Peach pit and pi boards uses a Maxim 77802 power management IC to drive regulators and its Real Time Clock. This patch adds support for this chip. These are the device nodes and pinctrl configuration that are present on the Peach pit DeviceTree source file in the the Chrome OS kernel 3.8 tree.

[PATCH v5 12/14] clk: max77802: Add DT binding documentation

2014-06-26 Thread Javier Martinez Canillas
Add Device Tree binding documentation for the clocks outputs in the Maxim 77802 Power Management IC. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v4: None Changes since v3: - Don't use the same clock driver name in clock-names since it's a consumer

[PATCH v5 11/14] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-26 Thread Javier Martinez Canillas
The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Changes since v4: None Changes

[PATCH v5 13/14] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock

2014-06-26 Thread Javier Martinez Canillas
The MAX7802 PMIC has a Real-Time-Clock (RTC) with two alarms. This patch adds support for the RTC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v4: None Changes since v3:

[PATCH v5 09/14] regmap: Add regmap_reg_copy function

2014-06-26 Thread Javier Martinez Canillas
Some device drivers using the register map API need to copy the value from one register to another. Even though it can be done with a combination of regmap_read() and regmap_write(), it is better to have a function to avoid code duplication and also it sanity check and do it atomically by holding

[PATCH v5 03/14] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-06-26 Thread Javier Martinez Canillas
This patch adds a dt-binding include for Maxim 77686 PMIC clock IDs that can be to be shared between the clk-max77686 clock driver and DeviceTree source files. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com ---

[PATCH v5 01/14] mfd: max77686: Convert to use regmap_irq

2014-06-26 Thread Javier Martinez Canillas
By using the generic IRQ support in the Register map API, it is possible to get rid max77686-irq.c and simplify the code. Suggested-by: Krzysztof Kozlowski k.kozlow...@samsung.com Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Acked-by: Lee Jones lee.jo...@linaro.org

[PATCH v5 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-26 Thread Javier Martinez Canillas
Maxim Integrated Power Management ICs are very similar with regard to their clock outputs. Most of the clock drivers for these chips are duplicating code and are simpler enough that can be converted to use a generic driver to consolidate code and avoid duplication. Signed-off-by: Javier Martinez

[PATCH v5 00/14] Add Maxim 77802 PMIC support

2014-06-26 Thread Javier Martinez Canillas
MAX77802 is a PMIC that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program the individual regulators, clocks and the RTC. This fifth version of the patch-set addresses several

[PATCH v5 08/14] mfd: max77802: Add DT binding documentation

2014-06-26 Thread Javier Martinez Canillas
Add Device Tree binding documentation for Maxim 77802 PMIC. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes since v4: None Changes since v3: None Changes since v2: - Explain better the Dynamic Voltage Scaling (DVS) support in some Buck regulators and the

[PATCH v5 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Maxim MAX77802 is a power management chip that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators used to power up application processors and peripherals, a 2-channel 32kHz clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program the individual regulators,

[PATCH v5 04/14] clk: max77686: Improve Maxim 77686 PMIC clocks binding

2014-06-26 Thread Javier Martinez Canillas
Like most clock drivers, the Maxim 77686 PMIC clock binding follows the convention that the #clock-cells property is used to specify the number of cells in a clock provider. But the binding document is not clear enough that it shall be set to 1 since the PMIC support multiple clocks outputs.

[PATCH v5 02/14] mfd: max77686: Allow the max77686 rtc to wakeup the system

2014-06-26 Thread Javier Martinez Canillas
From: Doug Anderson diand...@chromium.org The max77686 includes an RTC that keeps power during suspend. It's convenient to be able to use it as a wakeup source. NOTE: due to wakeup ordering problems this patch alone doesn't work so well on exynos5250-snow. You also need something that brings

[PATCH v5 06/14] clk: max77686: Convert to the generic max clock driver

2014-06-26 Thread Javier Martinez Canillas
Clocks drivers for Maxim PMIC are very similar so they can be converted to use the generic Maxim clock driver. Also, while being there use module_platform_driver() helper macro to eliminate more boilerplate code. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Laura Abbott
On 6/26/2014 8:17 AM, Russell King - ARM Linux wrote: On Thu, Jun 26, 2014 at 07:59:19AM -0700, Kevin Hilman wrote: I agree that the u-boot bug needs to be fixed, and FWIW, I updated my u-boot and haven't seen the boot failure yet after several boots with next-20140625. That being said,

Re: [PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Nicolas Pitre
On Thu, 26 Jun 2014, Abhilash Kesavan wrote: Hi, On Thu, Jun 26, 2014 at 4:28 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: Setup the mcpm entry address again on system resume as the iRAM contents are lost across an s2r cycle. Signed-off-by: Abhilash Kesavan

Re: [PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Doug Anderson
Naveen, On Thu, Jun 26, 2014 at 9:38 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: Will wait for few more opinions and make a fragment instead of common dtsi. Thank you a lot for the information and the references. Just in case you're waiting for my opinion, I'll say that I'm of the

Re: [PATCH V2] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-26 Thread Jingoo Han
On Thursday, June 26, 2014 11:37 PM, Ajay Kumar wrote: Add the missing setting for DP CLKCON register. This register is present on Exynos5 based FIMD controllers, and needs to be used if we are using DP. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com It looks better than V1 patch.

Re: [PATCH] ARM: EXYNOS: Restore the entry address setup code post-resume

2014-06-26 Thread Abhilash Kesavan
Hi, On Fri, Jun 27, 2014 at 1:36 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Thu, 26 Jun 2014, Abhilash Kesavan wrote: Hi, On Thu, Jun 26, 2014 at 4:28 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: Setup the mcpm entry address again on system resume as the iRAM contents

  1   2   >