Re: [RFC 1/2] clk: Allow overriding generic ops for clocks

2014-11-25 Thread Krzysztof Kozlowski
On pon, 2014-11-24 at 17:34 -0800, Mike Turquette wrote: Quoting Krzysztof Kozlowski (2014-11-24 07:18:31) For clocks depending on some other clock domain one may want to perform specific ops before actual enable/disable of gate clock. Allow such case by accepting supplied ops in new

Re: [PATCH v4 0/5] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-25 Thread amit daniel kachhap
On Mon, Nov 24, 2014 at 6:50 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Monday, November 24, 2014 07:36:10 AM Amit Daniel Kachhap wrote: This patch series [1 - 5] performs, 1) Moves pmu driver to driver/soc/samsung folder. This is needed as exynos7 is an

Re: [PATCH RFC v2 06/12] driver: soc: exynos-pmu: Add exynos7 power domain on/off ops

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:00 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch uses the restructuring done in PD handlers and adds PD on/off/status handlers for exynos7. In this SoC, some extra settings

Re: [PATCH] ARM: exynos_defconfig: disable CONFIG_EXYNOS5420_MCPM; not stable

2014-11-25 Thread Krzysztof Kozlowski
On pon, 2014-11-24 at 19:20 -0800, Kevin Hilman wrote: On Mon, Nov 24, 2014 at 5:50 PM, Kukjin Kim kg...@kernel.org wrote: Olof Johansson wrote: On Mon, Nov 24, 2014 at 5:37 PM, Olof Johansson o...@lixom.net wrote: On Mon, Nov 24, 2014 at 5:35 PM, Kevin Hilman khil...@kernel.org wrote:

Re: [PATCH RFC v2 07/12] PM / Domains: export pm_genpd_lookup_name

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:05 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This API may be needed to set the power domain parent/child relationship in the power domain platform driver. The parent relationship is

Re: [PATCH RFC v2 08/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-25 Thread amit daniel kachhap
On Tue, Nov 25, 2014 at 1:29 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 November 2014 at 14:04, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch adds supports for parent power domain. This will ensure invoking of parent/child power domain on/off in a correct sequence. In

Re: [PATCH] ARM: exynos_defconfig: disable CONFIG_EXYNOS5420_MCPM; not stable

2014-11-25 Thread Krzysztof Kozlowski
On wto, 2014-11-25 at 09:47 +0100, Krzysztof Kozlowski wrote: On pon, 2014-11-24 at 19:20 -0800, Kevin Hilman wrote: On Mon, Nov 24, 2014 at 5:50 PM, Kukjin Kim kg...@kernel.org wrote: Olof Johansson wrote: On Mon, Nov 24, 2014 at 5:37 PM, Olof Johansson o...@lixom.net wrote: On

Re: [PATCH RFC v2 08/12] soc: samsung: pm_domain: Add support for parent power domain

2014-11-25 Thread Geert Uytterhoeven
On Tue, Nov 25, 2014 at 9:57 AM, amit daniel kachhap amit.dan...@samsung.com wrote: diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt b/Documentation/devicetree/bindings/arm/exynos/power_domain.txt index 00ebda1..0160bdc 100644 ---

Re: [RFC 0/2] Fix Arndale Octa/Peach Pi boot on Audio subsystem clocks

2014-11-25 Thread Krzysztof Kozlowski
On pon, 2014-11-24 at 18:28 +0100, Javier Martinez Canillas wrote: Hello Krzysztof, On 11/24/2014 04:18 PM, Krzysztof Kozlowski wrote: Hi, This is initial idea to solve dependency between AudioSS clocks and main clock controller on Exynos platform. This solves boot failure of

Re: [PATCH v11 4/6] ARM: Exynos: switch to using generic cpufreq driver for Exynos4210/5250/5420

2014-11-25 Thread Viresh Kumar
On 24 November 2014 at 19:14, Sudeep Holla sudeep.ho...@arm.com wrote: On 20/11/14 03:48, Viresh Kumar wrote: - I believe CPUs boot in the order they are present in DT except for the boot CPU. So, the first node for every cluster should have it. Correct ? Then we can update the fixme. No,

Re: [RFC 2/2] clk: samsung: Fix clock disable failure because domain being gated

2014-11-25 Thread Tomasz Figa
Hi Krzysztof, Please see my comments inline. 2014-11-25 0:18 GMT+09:00 Krzysztof Kozlowski k.kozlow...@samsung.com: +static int audss_clk_gate_enable(struct clk_hw *hw) +{ + int ret; + + if (!IS_ERR(pll_in)) + clk_prepare_enable(pll_in); Calling

Re: [PATCH 00/11] Exynos7: Adding USB 3.0 support

2014-11-25 Thread Vivek Gautam
Hi Sylwester, On Sat, Nov 22, 2014 at 8:42 PM, Kukjin Kim kg...@kernel.org wrote: On 11/22/14 17:40, Kishon Vijay Abraham I wrote: On Friday 21 November 2014 08:41 PM, Felipe Balbi wrote: On Fri, Nov 21, 2014 at 07:05:43PM +0530, Vivek Gautam wrote: The series has dependency on a) [PATCH

Re: [RFC PATCH] drm/exynos: Add DECON driver

2014-11-25 Thread Ajay kumar
ping. On Tue, Nov 11, 2014 at 10:08 PM, Ajay kumar ajayn...@gmail.com wrote: Hi Inki, On Mon, Nov 3, 2014 at 3:31 PM, Inki Dae inki@samsung.com wrote: Hi, Fortunately, I could get the user manual for Exynos7420. Below are my comments. Thanks, Inki Dae On 2014년 10월 23일 01:34, Ajay

Re: [RFC 2/2] clk: samsung: Fix clock disable failure because domain being gated

2014-11-25 Thread Krzysztof Kozlowski
On wto, 2014-11-25 at 20:35 +0900, Tomasz Figa wrote: Hi Krzysztof, Please see my comments inline. 2014-11-25 0:18 GMT+09:00 Krzysztof Kozlowski k.kozlow...@samsung.com: +static int audss_clk_gate_enable(struct clk_hw *hw) +{ + int ret; + + if (!IS_ERR(pll_in)) +

[GIT PULL] exynos-drm-next

2014-11-25 Thread Inki Dae
Hi Dave, Add Exynos4415 SoC support, some fixups and cleanups. Summary: - Resolve kernel lockup issue incurred by probe request in probe context. . For this, it moves all register codes of sub drivers into init function and adds component binding support for vidi driver.

Re: [RFC PATCH] drm/exynos: Add DECON driver

2014-11-25 Thread Inki Dae
On 2014년 11월 25일 21:17, Ajay kumar wrote: ping. You'd need to clean up clocks and fix up binding file. And then let's have review in more details. I wish that other people also give you their reviews. Anyway, below is my answer. Thanks, Inki Dae On Tue, Nov 11, 2014 at 10:08 PM, Ajay

Re: [RFC PATCH] drm/exynos: Add DECON driver

2014-11-25 Thread Ajay kumar
Hi Inki, On Tue, Nov 25, 2014 at 6:30 PM, Inki Dae inki@samsung.com wrote: On 2014년 11월 25일 21:17, Ajay kumar wrote: ping. You'd need to clean up clocks and fix up binding file. And then let's have review in more details. I wish that other people also give you their reviews. Nice to

[PATCH 00/19] Add Support for USB DRD in AM437x

2014-11-25 Thread George Cherian
The series add DRD suport for AM437x. The serires adds - USB DRD Library This Library facilitates in switching roles between HOST and Device. - DWC3 OTG driver. This driver currently suports only the ID based switching

[PATCH 17/19] arm: dts: dra7: Add named interrupt property for dwc3

2014-11-25 Thread George Cherian
Add interrupt names so that the same can be used for OTG easily. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dra7.dtsi

[PATCH 19/19] arm: dts: am43x evms: Make usb1 as OTG

2014-11-25 Thread George Cherian
USB1 of am43x EPOS EVM, am437x GP EVM and am437x SK EVM can be used as OTG. Enable the same. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am437x-gp-evm.dts | 2 +- arch/arm/boot/dts/am437x-sk-evm.dts | 2 +- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- 3 files

[PATCH 16/19] arm: dts: omap5: Add named interrupt property for dwc3

2014-11-25 Thread George Cherian
Add interrupt names so that the same can be used for OTG easily. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[PATCH 13/19] usb: dwc3: core: Add DWC3 OTG specific register defines

2014-11-25 Thread George Cherian
Add OTG reggister defines to DWC3 core.h Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/core.h | 68 + 1 file changed, 68 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 7fbe736..eb2e970

[PATCH 11/19] usb: dwc3: Add seperate dwc3_gadget object to support gadget release

2014-11-25 Thread George Cherian
With the current implementation it's impossible to release the gadget. Add a separate dwc3_gadget object to dwc3 structure so that the same can be freed during the gadget release. This is in prepration to adapt dwc3 gadget driver to drd library. DRD library uses usb_del/add_gadget_udc while

[PATCH 12/19] usb: dwc3: gadget: Adapt gadget to drd library

2014-11-25 Thread George Cherian
Adapt the dwc3 gadget to use drd library functions. In prepration to support DRD on dwc3. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/gadget.c | 128 -- 1 file changed, 100 insertions(+), 28 deletions(-) diff --git

[PATCH 10/19] usb: dwc3: core: Adapt to named interrupts

2014-11-25 Thread George Cherian
From: Felipe Balbi ba...@ti.com Add support to use interrupt names, Following are the interrupt names Peripheral Interrupt - peripheral HOST Interrupt - host OTG Interrupt - otg Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: George Cherian george.cher...@ti.com ---

[PATCH 15/19] arm: dts: am4372: Add named interrupt property for dwc3

2014-11-25 Thread George Cherian
From: Felipe Balbi ba...@ti.com Add interrupt names so that the same can be used for OTG easily. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 18 ++ 1 file changed, 14 insertions(+), 4

[PATCH 18/19] arm: dts: exynos5250: Add named interrupt property for dwc3

2014-11-25 Thread George Cherian
Add interrupt names so that the same can be used for OTG easily. Signed-off-by: George Cherian george.cher...@ti.com --- arch/arm/boot/dts/exynos5250.dtsi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi

[PATCH 14/19] usb: dwc3: otg: Add the initial otg driver for dwc3.

2014-11-25 Thread George Cherian
Add the Initial OTG driver for dwc3. Currently support only * ID based Role switching. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/Makefile | 4 ++ drivers/usb/dwc3/core.c | 10 +--- drivers/usb/dwc3/core.h | 10 drivers/usb/dwc3/otg.c| 126

RE: [1/2] ARM: dts: Fix bootup issue on smdk5250

2014-11-25 Thread Yadwinder Singh Brar
Hi Kukjin, Subject: RE: [1/2] ARM: dts: Fix bootup issue on smdk5250 Pankaj Dubey wrote: Hi, Hi, Yadwinder, please don't miss [PATCH 1/2] in subject, so that my e-mail client can't filter wrong ;) Sure, but I think your mail client had played some trick, as patches were posted

[PATCH 06/19] usb: dwc3: host: Pass the XHCI_DRD_SUPPORT and XHCI_NEEDS_LHC_RESET quirk

2014-11-25 Thread George Cherian
Pass the quir flag XHCI_DRD_SUPPORT from DWC3 host to xhci platform driver. This enables xhci driver to handle deallocation's differently while in DRD mode. Pass the quirk flag XHCI_NEEDS_LHC_RESET from DWC3 host to xhci platform driver. This enables to do LHRESET during xhci_reset().

[PATCH 07/19] usb: host: xhci: Adapt xhci to use usb drd library

2014-11-25 Thread George Cherian
Adapt the xhci-plat driver to use drd library functions. In prepration to support DRD on dwc3. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/host/xhci-plat.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c

[PATCH 09/19] usb: dwc3: dwc3-omap: Make the wrapper interrupt shared

2014-11-25 Thread George Cherian
OTG interrupt and wrapper is shared Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 172d64e..f99e2ca 100644 ---

[PATCH 08/19] usb: dwc3: core: Add dwc3_drd_helper function

2014-11-25 Thread George Cherian
This helper function, facilitates to re-initialize the event buffers. It re-initilizes the event buffers while switching role from HOST to DEVICE mode. The DWC3 IP shares internal RAM for both HOST and Device specific registers. So while switching roles from HOST to Device modes, it's required to

[PATCH 04/19] usb: host xhci: Add XHCI_NEEDS_LHC_RESET quirk

2014-11-25 Thread George Cherian
This adds XHCI_NEEDS_LHC_RESET quirk, to make sure only Light Host Reset is done during xhci_reset(). This is mainly useful when we switch roles HOST to Device mode and viceversa. The DWC3 IP shares internal RAM for both HOST and Device specific registers. So while switching roles between HOST

[PATCH 01/19] usb: common: drd-lib: Add DRD lib for USB.

2014-11-25 Thread George Cherian
Add USB DRD library. This Library facilitates to switch roles between HOST and Device modes. A DRD should be added to the library using usb_drd_add(). Register the HOST and UDC using usb_drd_register_hcd/udc(). Un-Register the HOST and UDC using usb_drd_unregister_hcd/udc(). Depending on the

[PATCH 05/19] usb: host: xhci-plat: Add support to pass XHCI_NEEDS_LHC_RESET quirk

2014-11-25 Thread George Cherian
Extend the platform data to pass XHCI_NEEDS_LHC_RESET quirk to the xhci driver. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/host/xhci-plat.c | 3 +++ include/linux/usb/xhci_pdriver.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c

[PATCH 03/19] usb: host: xhci-plat: Add support to pass XHCI_DRD_SUPPORT quirk

2014-11-25 Thread George Cherian
Extend the platform data to pass XHCI_DRD_SUPPORT quirk to the xhci driver. Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/host/xhci-plat.c | 4 include/linux/usb/xhci_pdriver.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c

[PATCH 02/19] usb: host xhci: fix up deallocation code

2014-11-25 Thread George Cherian
This fixes up the deallocation code in the xhci driver, so that usb_add_hcd()/usb_remove_hcd() can be called repeatedly without crashing. In case of DRD mode, the DRD library calls /usb_remove_hcd() while switching from HOST mode to Device mode, but it doesnot call usb_put_hcd(). We need to

Re: [RFC PATCH] drm/exynos: Add DECON driver

2014-11-25 Thread Inki Dae
On 2014년 11월 25일 22:08, Ajay kumar wrote: Hi Inki, On Tue, Nov 25, 2014 at 6:30 PM, Inki Dae inki@samsung.com wrote: On 2014년 11월 25일 21:17, Ajay kumar wrote: ping. You'd need to clean up clocks and fix up binding file. And then let's have review in more details. I wish that other

Re: [RFC 0/2] Fix Arndale Octa/Peach Pi boot on Audio subsystem clocks

2014-11-25 Thread Javier Martinez Canillas
Hello Krzysztof, On 11/25/2014 10:22 AM, Krzysztof Kozlowski wrote: Hmmm, that's strange. I've looked again at your dmesg and it is little different than mine (when system fails). 1. Does your PMIC come up? In your dmesg: [2.687297] max77802-pmic max77802-pmic: regulator init failed for

Re: [RFC PATCH] drm/exynos: Add DECON driver

2014-11-25 Thread Ajay kumar
On Tue, Nov 25, 2014 at 6:59 PM, Inki Dae inki@samsung.com wrote: On 2014년 11월 25일 22:08, Ajay kumar wrote: Hi Inki, On Tue, Nov 25, 2014 at 6:30 PM, Inki Dae inki@samsung.com wrote: On 2014년 11월 25일 21:17, Ajay kumar wrote: ping. You'd need to clean up clocks and fix up binding

Re: [RFC 0/2] Fix Arndale Octa/Peach Pi boot on Audio subsystem clocks

2014-11-25 Thread Krzysztof Kozlowski
On wto, 2014-11-25 at 14:36 +0100, Javier Martinez Canillas wrote: Hello Krzysztof, On 11/25/2014 10:22 AM, Krzysztof Kozlowski wrote: Hmmm, that's strange. I've looked again at your dmesg and it is little different than mine (when system fails). 1. Does your PMIC come up? In your

Re: [RFC 0/2] Fix Arndale Octa/Peach Pi boot on Audio subsystem clocks

2014-11-25 Thread Javier Martinez Canillas
Hello Krzysztof, On 11/25/2014 03:22 PM, Krzysztof Kozlowski wrote: Any ideas? Yes, I got. On Peach board the i2s0 is enabled in DTS. Probing it could fail because it relies on enabling audss clocks (which cannot be accessed). I reproduced another hang on Arndale Octa after enabling i2s0

Re: [PATCH] media: exynos-gsc: fix build warning

2014-11-25 Thread Mauro Carvalho Chehab
Em Tue, 18 Nov 2014 10:57:48 + Lad, Prabhakar prabhakar.cse...@gmail.com escreveu: this patch fixes following build warning: gsc-core.c:350:17: warning: 'low_plane' may be used uninitialized gsc-core.c:371:31: warning: 'high_plane' may be used uninitialized Signed-off-by: Lad,

Re: [RFC 0/2] Fix Arndale Octa/Peach Pi boot on Audio subsystem clocks

2014-11-25 Thread Javier Martinez Canillas
Hello Krzysztof, On 11/25/2014 03:54 PM, Krzysztof Kozlowski wrote: My patch only fixed the gate clocks but it didn't touched div and mux. I'll prepare a v2 of it (I got some feedback) which I hope will fix both cases: i2s and disabling unused clocks. Perfect, I will gladly test on Peach

Re: [PATCH] media: exynos-gsc: fix build warning

2014-11-25 Thread Prabhakar Lad
Hi, On Tue, Nov 25, 2014 at 3:18 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Mauro, On Tue, Nov 25, 2014 at 3:04 PM, Mauro Carvalho Chehab mche...@osg.samsung.com wrote: Em Tue, 18 Nov 2014 10:57:48 + [Snip] -static u32 get_plane_info(struct gsc_frame *frm, u32 addr, u32

Re: [PATCH] media: exynos-gsc: fix build warning

2014-11-25 Thread Prabhakar Lad
Hi Mauro, On Tue, Nov 25, 2014 at 3:04 PM, Mauro Carvalho Chehab mche...@osg.samsung.com wrote: Em Tue, 18 Nov 2014 10:57:48 + [Snip] -static u32 get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index) +static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32

[PATCH] drm/exynos/fimd: only finish pageflip if START == START_S

2014-11-25 Thread Gustavo Padovan
From: Daniel Kurtz djku...@chromium.org A framebuffer gets committed to FIMD's default window like this: exynos_drm_crtc_update() exynos_plane_commit() fimd_win_commit() fimd_win_commit() programs BUF_START[0]. At each vblank, FIMD hardware copies the value from BUF_START to BUF_START_S

Re: [PATCH v12 0/6] cpufreq: use generic cpufreq drivers for exynos platforms

2014-11-25 Thread Kevin Hilman
Hi Thomas, On Mon, Nov 24, 2014 at 10:58 AM, Kevin Hilman khil...@kernel.org wrote: [...] Second, as with earlier versions of this series, I'm still seeing lots of wait_until_divider_stable: timeout in divider stablization messages coming out when running powertop. I found a simpler way to

Re: [PATCH] ARM: exynos_defconfig: disable CONFIG_EXYNOS5420_MCPM; not stable

2014-11-25 Thread Kevin Hilman
Hi Abhilash, Abhilash Kesavan kesavan.abhil...@gmail.com writes: [...] To be honest, since I don't have the exynos5420 arndale, chromebook...but smdk which has different bootloader, I couldn't test it...I'll try to make a test farm like you guys... Do you have some colleagues with any

Re: [PATCH v2 1/2] Input: add regulator haptic driver

2014-11-25 Thread Pankaj Dubey
Hi Jaewon, On Monday 24 November 2014 08:20 PM, Jaewon Kim wrote: This patch adds support for haptic driver controlled by voltage of regulator. And this driver support for Force Feedback interface from input framework Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Hyunhee

RE: [PATCH v2 0/3] Some cleanup for samsung clock

2014-11-25 Thread Pankaj Dubey
Hi Sylwester, On Thursday, October 23, 2014 10:58 PM, Sylwester Nawrocki Wrote: To: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; tomasz.f...@gmail.com Cc: kgene@samsung.com; mturque...@linaro.org; naus...@samsung.com Subject: Re: [PATCH v2 0/3]

Re: [PATCH 01/19] usb: common: drd-lib: Add DRD lib for USB.

2014-11-25 Thread Peter Chen
On Tue, Nov 25, 2014 at 06:41:37PM +0530, George Cherian wrote: Add USB DRD library. This Library facilitates to switch roles between HOST and Device modes. A DRD should be added to the library using usb_drd_add(). Register the HOST and UDC using usb_drd_register_hcd/udc(). Un-Register the

Re: [PATCH] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

2014-11-25 Thread Pankaj Dubey
Hi Bartilomiej, On Tuesday 08 July 2014 05:33 PM, Bartlomiej Zolnierkiewicz wrote: Values stored in val[] are never bigger than a byte. textdata bss dec hex filename 5264 4 452721498 arch/arm/mach-exynos/pmu.o.before 2992 4 43000