Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Dong Aisheng
On Fri, Sep 19, 2014 at 01:20:18PM +0800, Xiubo Li-B47053 wrote: [...] create child: /dcsr@2000/dcsr-atbrepl@3a8000 create child: /dcsr@2000/dcsr-tsgen-ctrl@3a9000 create child: /dcsr@2000/dcsr-tsgen-read@3aa000 create child: /regulators/regulator@0 ...

Re: [PATCH 0/3 v3] Fix Exynos USB on kernels with USB Gadget support

2014-09-19 Thread Sjoerd Simons
Hey Kukjin, It's been almost a month since I posted the first iteration of this patchset on the list, with only trivial cosmetic changes and an addition of a similar fix for Arndale Octa boards. Do you feel it needs more review from specific folks before pulling it in or ? Seems a bit of a shame

[PATCH 0/2 v2] Add OF match tables for the ChromeOs EC subdevices

2014-09-19 Thread Sjoerd Simons
[ This is essentially a resend, adding Javiers reviewed-by and fixing some small identation issues in the second patch. Also added Wolfgang and Dimitry in the to, as i missed them last time ] The ChromeOS EC MFD driver registers its sub-devices with both a (platform) name and an OF compatibility

[PATCH 2/2] input: cros_ec_keyb: Add of match table

2014-09-19 Thread Sjoerd Simons
To enable the cros_ec_keyb driver to be auto-loaded when build as module add an of match table (and export it) to match the modalias information passed on to userspace as the Cros EC MFD driver registers the MFD subdevices with an of_compatibility string. Signed-off-by: Sjoerd Simons

[PATCH 1/2 v2] i2c: cros-ec-tunnel: Add of match table

2014-09-19 Thread Sjoerd Simons
To enable the cros-ec-tunnel driver to be auto-loaded when build as a module add an of match table (and export it) to match the modalias information passed on to userspace as the Cros EC MFD driver registers the MFD subdevices with an of_compatibility string. Signed-off-by: Sjoerd Simons

[PATCH] clk: s5pv210: add missing call to samsung_clk_of_add_provider()

2014-09-19 Thread Marek Szyprowski
Commit d5e136a21b2028fb1f45143ea7112d5869bfc6c7 (clk: samsung: Register clk provider only after registering its all clocks, merged to v3.17-rc1) modified a way that driver registers registers to core framework. This change has not been applied to s5pv210 clocks driver, which has been merged in

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Pankaj Dubey
Hi Dong and Xiubo, On Friday, September 19, 2014, Dong Aisheng wrote, On Fri, Sep 19, 2014 at 01:20:18PM +0800, Xiubo Li-B47053 wrote: [...] create child: /dcsr@2000/dcsr-atbrepl@3a8000 create child: /dcsr@2000/dcsr-tsgen-ctrl@3a9000 create child:

Re: [PATCH v4 4/7] ARM: l2c: Add support for overriding prefetch settings

2014-09-19 Thread Alexandre Belloni
On 26/08/2014 at 16:17:57 +0200, Tomasz Figa wrote : Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch settings configured in registers leading to crashes if L2C is enabled without overriding them. This patch introduces bindings to enable prefetch settings to be

[PATCH v10 0/6] Add Maxim 77802 RTC support

2014-09-19 Thread Javier Martinez Canillas
(max77802) machines and applies cleanly to both 3.17-rc1 and today's linux-next (20140919). NOTE: The patches from the previous version [1] were already present in the -mm tree [2] so I didn't know if I should had sent this as a delta or as a new revision. I decided to do the later but please let me

[PATCH v10 6/6] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock

2014-09-19 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 v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Javier Martinez Canillas
The function max77686_rtc_calculate_wday() is used to calculate the day of the week to be filled in struct rtc_time but that function only calculates the number of bits shifted. So the ffs() function can be used to find the first bit set instead of a special function. Signed-off-by: Javier

[PATCH v10 2/6] rtc: max77686: Remove dead code for SMPL and WTSR.

2014-09-19 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 v10 4/6] rtc: max77686: Remove unneded info log

2014-09-19 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 Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/rtc/rtc-max77686.c | 2 -- 1 file

[PATCH v10 3/6] rtc: max77686: Fail to probe if no RTC regmap irqchip is set

2014-09-19 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

[PATCH v10 1/6] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-09-19 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. Signed-off-by: Doug Anderson diand...@chromium.org Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by:

Re: [PATCH] drm/exynos: switch to universal plane API

2014-09-19 Thread Andrzej Hajda
On 09/19/2014 03:02 AM, Joonyoung Shim wrote: Hi Andrzej, On 09/18/2014 10:17 PM, Andrzej Hajda wrote: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary plane with the

Re: [PATCH] drm/exynos: switch to universal plane API

2014-09-19 Thread Joonyoung Shim
Hi, On 09/19/2014 07:54 PM, Andrzej Hajda wrote: On 09/19/2014 03:02 AM, Joonyoung Shim wrote: Hi Andrzej, On 09/18/2014 10:17 PM, Andrzej Hajda wrote: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes().

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

2014-09-19 Thread Kukjin Kim
Naveen Krishna Chatradhi wrote: 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 Looks

Re: [PATCH] drm/exynos: switch to universal plane API

2014-09-19 Thread Joonyoung Shim
Hi, On 09/19/2014 08:11 PM, Joonyoung Shim wrote: Hi, On 09/19/2014 07:54 PM, Andrzej Hajda wrote: On 09/19/2014 03:02 AM, Joonyoung Shim wrote: Hi Andrzej, On 09/18/2014 10:17 PM, Andrzej Hajda wrote: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with

Re: [PATCH] drm/exynos: switch to universal plane API

2014-09-19 Thread Andrzej Hajda
On 09/19/2014 01:11 PM, Joonyoung Shim wrote: Hi, On 09/19/2014 07:54 PM, Andrzej Hajda wrote: On 09/19/2014 03:02 AM, Joonyoung Shim wrote: Hi Andrzej, On 09/18/2014 10:17 PM, Andrzej Hajda wrote: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-09-19 Thread Tomi Valkeinen
On 18/09/14 08:50, Ajay kumar wrote: Why do we need a complex graph when it can be handled using a simple phandle? Maybe in your case you can handle it with simple phandle. Can you guarantee that it's enough for everyone, on all platforms? Yes, as of now exynos5420-peach-pit and

[PATCH] drm/exynos: init vblank with real number of crtcs

2014-09-19 Thread Andrzej Hajda
Initialization of vblank with MAX_CRTC caused attempts to disabling vblanks for non-existing crtcs in case drm used fewer crtcs. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 18 +- 1 file changed, 9

Re: [PATCH v7 00/11] kernel: Add support for restart handler call chain

2014-09-19 Thread Pramod Gurav
Hello Guenter, Thanks for the patches. Tested patches 1,2 4 from this series on qcom apq8064 based IFC6410 with Josh's patches which replace arm restart with restart notifier for this target. Tested-by: pramod.gu...@smartplayin.com On Wednesday 20 August 2014 06:15 AM, Guenter Roeck wrote:

[PATCH v4] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Pankaj Dubey
Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For example, certain SoCs (e.g. Exynos) contain system

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-09-19 Thread Ajay kumar
On Fri, Sep 19, 2014 at 6:24 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 18/09/14 08:50, Ajay kumar wrote: Why do we need a complex graph when it can be handled using a simple phandle? Maybe in your case you can handle it with simple phandle. Can you guarantee that it's enough for

Re: [PATCH v4] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Javier Martinez Canillas
Hello Pankaj, On Fri, Sep 19, 2014 at 3:06 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-09-19 Thread Tomi Valkeinen
On 19/09/14 16:59, Ajay kumar wrote: I am not really able to understand, what's stopping us from using this bridge on a board with complex display connections. To use ps8622 driver, one needs to attach it to the DRM framework. For this, the DRM driver Remember that when we talk about DT

RE: ASoC: samsung: MACH_SMDKC100

2014-09-19 Thread Kukjin Kim
Paul Bolle wrote: Hi Kukjin, Hi, On Sat, 2014-07-19 at 04:03 +0900, Kukjin Kim wrote: On 07/18/14 17:55, Paul Bolle wrote: On Wed, 2014-07-02 at 10:01 +0200, Paul Bolle wrote: Your commit 52ad6582ceb2 (ARM: S5PC100: no more support S5PC100 SoC landed in next-20140702. It removed

Re: [PATCH v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Joe Perches
On Fri, 2014-09-19 at 12:26 +0200, Javier Martinez Canillas wrote: The function max77686_rtc_calculate_wday() is used to calculate the day of the week to be filled in struct rtc_time but that function only calculates the number of bits shifted. So the ffs() function can be used to find the

Re: [PATCH v4] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Tomasz Figa
Hi Pankaj, Please see my comments inline. On 19.09.2014 15:06, Pankaj Dubey wrote: Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with another

Re: [PATCH] drm/exynos: init vblank with real number of crtcs

2014-09-19 Thread Daniel Vetter
On Fri, Sep 19, 2014 at 02:57:20PM +0200, Andrzej Hajda wrote: Initialization of vblank with MAX_CRTC caused attempts to disabling vblanks for non-existing crtcs in case drm used fewer crtcs. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com ---

Re: [PATCH v2] drm/exynos: switch to universal plane API

2014-09-19 Thread Inki Dae
2014-09-19 21:58 GMT+09:00 Andrzej Hajda a.ha...@samsung.com: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary plane with the real one. Additionally the patch leaves

Re: [PATCH v2] drm/exynos: switch to universal plane API

2014-09-19 Thread Inki Dae
2014-09-20 1:04 GMT+09:00 Inki Dae inki@samsung.com: 2014-09-19 21:58 GMT+09:00 Andrzej Hajda a.ha...@samsung.com: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary

Re: [PATCH v4 4/7] ARM: l2c: Add support for overriding prefetch settings

2014-09-19 Thread Russell King - ARM Linux
On Fri, Sep 19, 2014 at 11:50:01AM +0200, Alexandre Belloni wrote: On 26/08/2014 at 16:17:57 +0200, Tomasz Figa wrote : Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch settings configured in registers leading to crashes if L2C is enabled without overriding them.

Re: [PATCH v4] mfd: syscon: Decouple syscon interface from platform devices

2014-09-19 Thread Tomasz Figa
On 19.09.2014 17:11, Tomasz Figa wrote: + +if (!of_device_is_available(np) || Wouldn't it be enough to simply call of_find_device_by_node(np) and if it fails then instead create a dummy device? +of_node_test_and_set_flag(np, OF_POPULATED)) { One more thing I

[PATCH v5 10/11] ARM: exynos: Move to generic PM domain DT bindings

2014-09-19 Thread Ulf Hansson
From: Tomasz Figa tomasz.f...@gmail.com This patch moves Exynos PM domain code to use the new generic PM domain look-up framework introduced in previous patches, thus also allowing the new code to be compiled with CONFIG_ARCH_EXYNOS. This patch was originally submitted by Tomasz Figa when he was

Re: [PATCH v4 4/7] ARM: l2c: Add support for overriding prefetch settings

2014-09-19 Thread Alexandre Belloni
On 19/09/2014 at 17:39:32 +0100, Russell King - ARM Linux wrote : On Fri, Sep 19, 2014 at 11:50:01AM +0200, Alexandre Belloni wrote: On 26/08/2014 at 16:17:57 +0200, Tomasz Figa wrote : Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch settings configured in

Re: [PATCH v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Javier Martinez Canillas
Hello Joe, On 09/19/2014 04:39 PM, Joe Perches wrote: On Fri, 2014-09-19 at 12:26 +0200, Javier Martinez Canillas wrote: The function max77686_rtc_calculate_wday() is used to calculate the day of the week to be filled in struct rtc_time but that function only calculates the number of bits

Re: [PATCH v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Joe Perches
On Fri, 2014-09-19 at 21:27 +0200, Javier Martinez Canillas wrote: Hello Joe, Hello Javier. On 09/19/2014 04:39 PM, Joe Perches wrote: On Fri, 2014-09-19 at 12:26 +0200, Javier Martinez Canillas wrote: The function max77686_rtc_calculate_wday() is used to calculate the day of the week to

Re: [PATCH v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Javier Martinez Canillas
Hello Joe, On 09/19/2014 09:52 PM, Joe Perches wrote: On Fri, 2014-09-19 at 21:27 +0200, Javier Martinez Canillas wrote: On 09/19/2014 04:39 PM, Joe Perches wrote: On Fri, 2014-09-19 at 12:26 +0200, Javier Martinez Canillas wrote: The function max77686_rtc_calculate_wday() is used to

Re: [PATCH v2] drm/exynos: switch to universal plane API

2014-09-19 Thread Daniel Drake
On Fri, Sep 19, 2014 at 6:58 AM, Andrzej Hajda a.ha...@samsung.com wrote: The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary plane with the real one. Additionally the patch

Re: [PATCH v10 0/6] Add Maxim 77802 RTC support

2014-09-19 Thread Doug Anderson
on each patch when is applicable. The series were tested on an Exynos5250 Snow (max77686) and Exynos5420 Peach Pit (max77802) machines and applies cleanly to both 3.17-rc1 and today's linux-next (20140919). NOTE: The patches from the previous version [1] were already present in the -mm tree