Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Sachin Kamat
Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig. Uncompressing Linux... done, booting the kernel. [0.00] Booting Linux on physical CPU 0x900 [0.00] Linux version 3.14.0-rc3-next

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-20 Thread Olof Johansson
On Tue, Feb 18, 2014 at 12:06 PM, John Stultz john.stu...@linaro.org wrote: On Tue, Feb 18, 2014 at 12:00 PM, Olof Johansson o...@lixom.net wrote: On Tue, Feb 18, 2014 at 11:52 AM, John Stultz john.stu...@linaro.org wrote: On Tue, Feb 18, 2014 at 10:13 AM, Arnd Bergmann a...@arndb.de wrote: On

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Kevin Hao
On Thu, Feb 20, 2014 at 02:09:08PM +0530, Sachin Kamat wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig. Does this help? diff --git a/drivers/of/base.c b/drivers/of/base.c index

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Sachin Kamat
Hi Kevin, On 20 February 2014 15:42, Kevin Hao haoke...@gmail.com wrote: On Thu, Feb 20, 2014 at 02:09:08PM +0530, Sachin Kamat wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig. Does

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Kevin Hao
On Thu, Feb 20, 2014 at 03:57:07PM +0530, Sachin Kamat wrote: Hi Kevin, On 20 February 2014 15:42, Kevin Hao haoke...@gmail.com wrote: On Thu, Feb 20, 2014 at 02:09:08PM +0530, Sachin Kamat wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Sachin Kamat
the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig. Does this help? The below patch works for me. Thanks for the fix. Thanks Sachin. Hi Grant, I assume you would fold this change into the original patch

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-20 Thread Catalin Marinas
On Thu, Feb 20, 2014 at 09:03:30AM +, Olof Johansson wrote: So, after giving this some more thought (and getting my hands dirty in some of this code), I think I'm going to change my mind on this. For mobile platforms I think it might make sense to bring over the toplevel platform Kconfig

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Grant Likely
On Thu, Feb 20, 2014 at 8:39 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig. Ugh, nested locking. that is not good. Kevin's patch looks correct

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Grant Likely
On Thu, 20 Feb 2014 18:12:40 +0800, Kevin Hao haoke...@gmail.com wrote: On Thu, Feb 20, 2014 at 02:09:08PM +0530, Sachin Kamat wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default exynos_defconfig

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-20 Thread Arnd Bergmann
On Thursday 20 February 2014 11:22:48 Catalin Marinas wrote: I'm fine with this. Do we still need something for ARMv8 server platforms like ARCH_ARM_SBSA? The only advantage would be to make it easier for mobile targeted kernel builds to disable server features but I'm not sure there are so

Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string

2014-02-20 Thread Tomasz Figa
[adding DT ML and DT maintainers on Cc for some discussion] On 20.02.2014 05:14, Sachin Kamat wrote: Hi Tomasz, On 19 February 2014 18:15, Tomasz Figa t.f...@samsung.com wrote: Hi Sachin, [adding linux-arm-kernel ML to CC list] On 19.02.2014 12:34, Sachin Kamat wrote: To avoid modifying

Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string

2014-02-20 Thread Arnd Bergmann
On Thursday 20 February 2014, Tomasz Figa wrote: On 20.02.2014 05:14, Sachin Kamat wrote: Hi Tomasz, On 19 February 2014 18:15, Tomasz Figa t.f...@samsung.com wrote: Hi Sachin, [adding linux-arm-kernel ML to CC list] On 19.02.2014 12:34, Sachin Kamat wrote: To avoid

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-20 Thread Olof Johansson
On Thu, Feb 20, 2014 at 3:22 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Feb 20, 2014 at 09:03:30AM +, Olof Johansson wrote: So, after giving this some more thought (and getting my hands dirty in some of this code), I think I'm going to change my mind on this. For mobile

Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string

2014-02-20 Thread Tomasz Figa
On 20.02.2014 18:00, Arnd Bergmann wrote: On Thursday 20 February 2014, Tomasz Figa wrote: On 20.02.2014 05:14, Sachin Kamat wrote: Hi Tomasz, On 19 February 2014 18:15, Tomasz Figa t.f...@samsung.com wrote: Hi Sachin, [adding linux-arm-kernel ML to CC list] On 19.02.2014 12:34, Sachin

Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string

2014-02-20 Thread Arnd Bergmann
On Thursday 20 February 2014 18:34:23 Tomasz Figa wrote: On 20.02.2014 18:00, Arnd Bergmann wrote: Of course nothing stops you from retaining more specific compatible strings. In fact, this is probably the most appropriate solution, because in future you might find out that certain SoCs

Re: [PATCH] V4L: s5k6a3: Add DT binding documentation

2014-02-20 Thread Sylwester Nawrocki
On 19/02/14 18:47, Mark Rutland wrote: On Tue, Feb 18, 2014 at 03:43:11PM +, Sylwester Nawrocki wrote: On 22/12/13 22:27, Sylwester Nawrocki wrote: This patch adds DT binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-20 Thread Catalin Marinas
On Thu, Feb 20, 2014 at 05:09:59PM +, Olof Johansson wrote: On Thu, Feb 20, 2014 at 3:22 AM, Catalin Marinas Two additional points: 1. Single arm64 defconfig file covering everything 2. Modules rather than built-in by default where possible (especially for server platforms)

Re: [PATCH 0/6] mmc: sdhci-s3c: Fix base clock source management

2014-02-20 Thread Tomasz Figa
Hi Chris, On 07.02.2014 10:58, Tomasz Figa wrote: Hi Chris, On 11.01.2014 22:39, Tomasz Figa wrote: On platforms prior to Exynos the SDHCI block used internal clock divider controlled by SELFREQ field of CLKCON register to divide base clock selected from several external clocks fed to the

[PATCH v4 00/10] Add device tree support for Exynos4 SoC camera subsystem

2014-02-20 Thread Sylwester Nawrocki
This series adds devicetree support for the front and rear camera of the Exynos4412 SoC Trats2 board. It converts related drivers to use the v4l2-async API. The SoC output clocks are provided to external image image sensors through the common clock API. I'd appreciate a DT binding maintainer

[PATCH v4 01/10] Documentation: dt: Add DT binding documentation for S5K6A3 image sensor

2014-02-20 Thread Sylwester Nawrocki
This patch adds binding documentation for the Samsung S5K6A3(YX) raw image sensor. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Mark Rutland mark.rutl...@arm.com --- Changes since v3: -none. Changes since v2: - rephrased

[PATCH v4 09/10] ARM: dts: Add rear camera nodes for Exynos4412 TRATS2 board

2014-02-20 Thread Sylwester Nawrocki
This patch enables the rear facing camera (s5c73m3) on TRATS2 board by adding the I2C0 bus controller, s5c73m3 sensor, MIPI CSI-2 receiver and the sensor's voltage regulator supply nodes. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH v4 00/10] Add device tree support for Exynos4 SoC camera subsystem

2014-02-20 Thread Sylwester Nawrocki
This series adds devicetree support for the front and rear camera of the Exynos4412 SoC Trats2 board. It converts related drivers to use the v4l2-async API. The SoC output clocks are provided to external image image sensors through the common clock API. I'd appreciate a DT binding maintainer

[PATCH v4 03/10] Documentation: devicetree: Update Samsung FIMC DT binding

2014-02-20 Thread Sylwester Nawrocki
This patch documents following updates of the Exynos4 SoC camera subsystem devicetree binding: - addition of #clock-cells property to 'camera' node - the #clock-cells property is needed when the sensor sub-devices use clock provided by the camera host interface; - addition of an optional

[PATCH v4 06/10] exynos4-is: Use external s5k6a3 sensor driver

2014-02-20 Thread Sylwester Nawrocki
This patch removes the common fimc-is-sensor driver for image sensors that are normally controlled by the FIMC-IS firmware. The FIMC-IS driver now contains only a table of properties specific to each sensor. The sensor properties required for the ISP's firmware are parsed from device tree and

[PATCH v4 10/10] ARM: dts: exynos4: Update clk provider part of the camera subsystem

2014-02-20 Thread Sylwester Nawrocki
Remove unused /camera/clock-controller node and required clock properties to the camera node. This is required for a clock provider that will be referenced by image sensor devices. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH v4 02/10] Documentation: dt: Add DT binding documentation for S5C73M3 camera

2014-02-20 Thread Sylwester Nawrocki
This adds DT binding documentation for Samsung S5C73M3 camera sensor with an embedded ISP. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes since v3: - DT binding documentation separated into this patch; Changes since v2: -

[PATCH v4 05/10] V4L: s5c73m3: Add device tree support

2014-02-20 Thread Sylwester Nawrocki
This patch adds the V4L2 asynchronous subdev registration and device tree support. Common clock API is used to control the sensor master clock from within the subdev. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park

[PATCH v4 04/10] V4L: Add driver for s5k6a3 image sensor

2014-02-20 Thread Sylwester Nawrocki
This patch adds subdev driver for Samsung S5K6A3 raw image sensor. As it is intended at the moment to be used only with the Exynos FIMC-IS (camera ISP) subsystem it is pretty minimal subdev driver. It doesn't do any I2C communication since the sensor is controlled by the ISP and its own firmware.

[PATCH v4 07/10] exynos4-is: Add clock provider for the SCLK_CAM clock outputs

2014-02-20 Thread Sylwester Nawrocki
This patch adds clock provider so the the SCLK_CAM0/1 output clocks can be accessed by image sensor devices through the clk API. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes since v3: - use clock-output-names DT property

[PATCH v4 08/10] exynos4-is: Add support for asynchronous subdevices registration

2014-02-20 Thread Sylwester Nawrocki
Add support for registering external sensor subdevs using v4l2-async API. The async API is used only for sensor subdevs and only for DT platforms. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH v4 0/4] Bugfix for of_match_node ordering

2014-02-20 Thread Sören Brinkmann
Hi Grant, On Thu, 2014-02-20 at 11:29AM +, Grant Likely wrote: On Thu, Feb 20, 2014 at 8:39 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Grant, I observe the following boot failure with today's (next-20140220) linux-next tree on Exynos based boards with the default

Re: [PATCH 1/1] ARM: Exynos: Add generic compatible string

2014-02-20 Thread Sachin Kamat
On 20 February 2014 23:18, Arnd Bergmann a...@arndb.de wrote: On Thursday 20 February 2014 18:34:23 Tomasz Figa wrote: On 20.02.2014 18:00, Arnd Bergmann wrote: Of course nothing stops you from retaining more specific compatible strings. In fact, this is probably the most appropriate