Re: [PATCH] clk: don't use __initconst for non-const arrays

2014-09-12 Thread Ard Biesheuvel
On 12 September 2014 00:04, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello, On Thu, Sep 11, 2014 at 11:04:31PM +0200, Uwe Kleine-König wrote: /* Mux parent lists. */ -static const char *fin_pll_p[] __initconst = { +static const char *fin_pll_p[] __initdata = { xxti,

Re: [PATCH] clk: don't use __initconst for non-const arrays

2014-09-12 Thread Uwe Kleine-König
Hello Ard, On Fri, Sep 12, 2014 at 09:42:29AM +0200, Ard Biesheuvel wrote: On 12 September 2014 00:04, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello, On Thu, Sep 11, 2014 at 11:04:31PM +0200, Uwe Kleine-König wrote: /* Mux parent lists. */ -static const char

[PATCH RESEND v9 0/5] Add Maxim 77802 RTC support

2014-09-12 Thread Javier Martinez Canillas
Hello Andrew, I posted this series many times in the last few months, it was first meant to be for 3.17 but never got feedback from the maintainer (still on cc) so I reposted about a month ago [0] for 3.18 but didn't get feedback either. Other people have shown interest in the series though so

[PATCH RESEND v9 5/5] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock

2014-09-12 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 Reviewed-by: Krzysztof Kozlowski

[PATCH RESEND v9 4/5] rtc: max77686: Remove unneded info log

2014-09-12 Thread Javier Martinez Canillas
If devm_rtc_device_register() fails a dev_err() is already reported so there is no need to do an additional dev_info(). Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- drivers/rtc/rtc-max77686.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH RESEND v9 1/5] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-12 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 RESEND v9 2/5] rtc: max77686: Remove dead code for SMPL and WTSR.

2014-09-12 Thread Javier Martinez Canillas
The MAX77686 RTC chip has two features called SMPL (Sudden Momentary Power Loss) and WTSR (Watchdog Timeout and Software Resets). Support for these features seems to be implemented in the driver but compilation is disabled using a C pre-processor conditional. This code has been disabled since the

[PATCH RESEND v9 3/5] rtc: max77686: Fail to probe if no RTC regmap irqchip is set

2014-09-12 Thread Javier Martinez Canillas
The max77686 mfd driver adds a regmap IRQ chip which creates an IRQ domain that is used to map the virtual RTC alarm1 interrupt. The RTC driver assumes that this will always be true since the PMIC IRQ is a required property according to the max77686 DT binding doc. If an interrupts property is

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Inki Dae
Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with removing reference to old framebuffer assigned to the plane. This patch removes following warning: [ 95.038017] WARNING: CPU: 1 PID: 3067 at drivers/gpu/drm/drm_crtc.c:5115

Re: [RFC PATCH 2/5] devfreq: event: Add exynos-ppmu devfreq evnet driver

2014-09-12 Thread Paul Bolle
On Fri, 2014-09-05 at 13:30 +0900, Chanwoo Choi wrote: This patch add exynos-ppmu devfreq event driver to provider raw data about the utilization of each IP in Exynos SoC series. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Daniel Vetter
On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with removing reference to old framebuffer assigned to the plane. This patch removes following warning: [

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Inki Dae
On 2014년 09월 12일 17:57, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with removing reference to old framebuffer assigned to the plane. This patch

RE: [PATCH] clk: samsung: exynos5260: fix typo in clock name

2014-09-12 Thread Pankaj Dubey
Hi Tomasz, -Original Message- From: Tomasz Figa [mailto:tomasz.f...@gmail.com] Sent: Friday, September 12, 2014 4:30 AM To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; linux-ker...@vger.kernel.org Cc: kgene@samsung.com;

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Andrzej Hajda
On 09/12/2014 10:57 AM, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with removing reference to old framebuffer assigned to the plane. This patch

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Inki Dae
On 2014년 09월 12일 18:27, Andrzej Hajda wrote: On 09/12/2014 10:57 AM, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with removing reference to old

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Andrzej Hajda
On 09/12/2014 12:45 PM, Inki Dae wrote: On 2014년 09월 12일 18:27, Andrzej Hajda wrote: On 09/12/2014 10:57 AM, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Inki Dae
On 2014년 09월 12일 20:04, Andrzej Hajda wrote: On 09/12/2014 12:45 PM, Inki Dae wrote: On 2014년 09월 12일 18:27, Andrzej Hajda wrote: On 09/12/2014 10:57 AM, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote:

[PATCH] ARM: dts: Add Maxim 77693 PMIC to the Trats2 board

2014-09-12 Thread Krzysztof Kozlowski
The MAX77693 is a companion power management IC for smart phones and tablets. The MAX77693 contains input over-voltage protection (OVP), a fully-integrated 2.5A switching charger for Lithium Ion battery with integrated battery disconnect, OTG/accessory 5V output power, a high-current white LED

[PATCH] ARM: exynos_defconfig: Enable Maxim 77693 and I2C GPIO drivers

2014-09-12 Thread Krzysztof Kozlowski
The Exynos System-on-Chips have ~7 distinctive I2C IO ports (exact number depends on chip). However some integrated circuits on board, also using I2C protocol for communication, can be connected to the SoC by other GPIO. Enabling the I2C GPIO driver allows using such additional integrated

RE: [PATCH v3 0/7] Add max77802 support for Peach boards

2014-09-12 Thread kgene
Javier Martinez Canillas wrote: Hello Kukjin, Hi Javier, This is a third version of th series that adds max77802 support for the Peach Pit and Pi boards. The series also have all the pending patches that were posted but depended on this support. I've picked all the patches I found and

Re: [PATCH v3 0/7] Add max77802 support for Peach boards

2014-09-12 Thread Javier Martinez Canillas
Hello Kukjin, On 09/12/2014 02:26 PM, kg...@kernel.org wrote: This is a third version of th series that adds max77802 support for the Peach Pit and Pi boards. The series also have all the pending patches that were posted but depended on this support. I've picked all the patches I found and

Re: [PATCH 5/9] drm/exynos/crtc: fix framebuffer reference sequence

2014-09-12 Thread Daniel Vetter
On Fri, Sep 12, 2014 at 11:27:41AM +0200, Andrzej Hajda wrote: On 09/12/2014 10:57 AM, Daniel Vetter wrote: On Fri, Sep 12, 2014 at 05:34:50PM +0900, Inki Dae wrote: Hi Andrzej, On 2014년 09월 09일 22:16, Andrzej Hajda wrote: Adding reference to framebuffer should be accompanied with

Re: [PATCH RESEND v9 1/5] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-12 Thread Doug Anderson
Hi, On Fri, Sep 12, 2014 at 1:17 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk 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

[PATCH v4 0/8] arch: arm64: enable support for Samsung Exynos7 SoC

2014-09-12 Thread Naveen Krishna Chatradhi
Changes since v3: - Removed aliases for serial controllers from dtsi file and moved it into board specific dts file as suggested by Arnd. - Based this series on Robert Richter's patches for adding vendor device tree sub-directories for arm64.

[PATCH v4 1/8] clk: samsung: add support for 145xx and 1460x PLLs

2014-09-12 Thread Naveen Krishna Chatradhi
PLL145xx is similar to PLL35xx and PLL1460x is almost similar to PLL46xx with minor differences in bit positions. Hence, reuse the functions defined for pll_35xx and pll_46xx to support 145xx and 1460x PLLs respectively. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz

[PATCH v4 2/8] clk: samsung: Factor out the common code to clk.c

2014-09-12 Thread Naveen Krishna Chatradhi
While adding clock support for Exynos5260, the infrastructure to register multiple clock controllers was introduced. Factor out the support for registering multiple clock controller from Exynos5260 clock code to common samsung clock code so that it can be used by other Exynos SoC which have

[PATCH v4 3/8] clk: samsung: Add fixed_factor_clocks field to struct exynos_cmu_info

2014-09-12 Thread Naveen Krishna Chatradhi
Add the fields fixed_factor_clks and nr_fixed_factor_clks to struct exynos_cmu_info to allow registering of fixed factor clocks as well with exynos_cmu_register_one(). Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Mike Turquette

[PATCH v4 4/8] clk: samsung: add initial clock support for Exynos7 SoC

2014-09-12 Thread Naveen Krishna Chatradhi
Add initial clock support for Exynos7 SoC which is required to bring up platforms based on Exynos7. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Cc: Mike Turquette mturque...@linaro.org --- .../devicetree/bindings/clock/exynos7-clock.txt

[PATCH v4 5/8] arm64: dts: Add initial device tree support for EXYNOS7

2014-09-12 Thread Naveen Krishna Chatradhi
Add initial device tree nodes for EXYNOS7 SoC and board dts file to support Espresso board based on Exynos7 SoC. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com --- arch/arm64/boot/dts/Makefile

[PATCH v4 8/8] arm64: dts: add dt-bindings/ symlink

2014-09-12 Thread Naveen Krishna Chatradhi
From: Pankaj Dubey pankaj.du...@samsung.com Add symlink to include/dt-bindings from arch/arm64/boot/dts/include/ to match the ones in ARM architectures so that preprocessed device tree files can include various useful constant definitions. See commit c58299aa8754 (kbuild: create an include

[PATCH v4 6/8] arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support

2014-09-12 Thread Naveen Krishna Chatradhi
From: Alim Akhtar alim.akh...@samsung.com This patch adds the necessary Kconfig entries to enable support for the ARMv8 based Exynos7 SoC. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Cc: Rob Herring r...@kernel.org Cc: Catalin

[PATCH v4 0/8] arch: arm64: enable support for Samsung Exynos7 SoC

2014-09-12 Thread Naveen Krishna Chatradhi
Changes since v3: - Removed aliases for serial controllers from dtsi file and moved it into board specific dts file as suggested by Arnd. - Based this series on Robert Richter's patches for adding vendor device tree sub-directories for arm64.

Re: [PATCH RESEND v9 1/5] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-12 Thread Javier Martinez Canillas
Hello Doug, On 09/12/2014 05:12 PM, Doug Anderson wrote: Hi, On Fri, Sep 12, 2014 at 1:17 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: From: Doug Anderson diand...@chromium.org The max77686 includes an RTC that keeps power during suspend. It's convenient to be

Re: [PATCH RESEND v9 1/5] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-12 Thread Doug Anderson
Hi, On Fri, Sep 12, 2014 at 8:54 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: You are right, I completely forgot to check if that actually landed and to remove the note in that case... Maybe when the set is applied the note can be removed from this patch or do you

Re: [PATCH RESEND v9 1/5] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-12 Thread Andrew Morton
On Fri, 12 Sep 2014 10:17:39 +0200 Javier Martinez Canillas javier.marti...@collabora.co.uk 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

Re: [PATCH v4 0/8] arch: arm64: enable support for Samsung Exynos7 SoC

2014-09-12 Thread Thomas Abraham
On Fri, Sep 12, 2014 at 8:56 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Changes since v3: - Removed aliases for serial controllers from dtsi file and moved it into board specific dts file as suggested by Arnd. - Based this series on Robert Richter's patches for adding vendor