[RFC 0/4] drm: add generic KMS blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
From: Rahul Sharma rahul.sha...@samsung.com Patch set has following proposal. 1) Add writable KMS blob properties patch 1: drm: allow to create blank writable blob properties patch 2: drm: add ioctl to write into binary blob KMS properties 2) Add generic image enhancement

[RFC 1/4] drm: allow to create blank writable blob properties

2014-03-06 Thread Rahul Sharma
There is no provision to create a blob property without providing binary data. This data is needed to fill inside the blob. With subsequent patches, blob properties are modified to receive well defined structures by the user application. DRM creates a blank blob (initialized with all zeros) which

[RFC 4/4] drm: export create and destroy function for blob properties

2014-03-06 Thread Rahul Sharma
Drm drivers can also create and attach private blob properties. This patch exports functions to create and destroy blob properties. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- drivers/gpu/drm/drm_crtc.c |8 +--- include/drm/drm_crtc.h |4 2 files changed, 9

[RFC 2/4] drm: add ioctl to write into binary blob KMS properties

2014-03-06 Thread Rahul Sharma
Add a new ioctl to common drm framework which can be used to set variable length binary data from the user space. 'Blob' is the only KMS property which can hold more than 64 bits. So far, it has been implemented as read only property for user application (only used for EDID data). Signed-off-by:

[RFC 3/4] drm: add generic blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
Add generic KMS blob properties to core drm framework. These are writable blob properties which can be used to set Image Enhancement parameters. The properties which are added here are meant for color reproduction, color saturation and edge enhancement. Signed-off-by: Rahul Sharma

Re: [PATCH 2/2] dt-bindings: clock: Move exynos-audss-clk.h to dt-bindings/clock

2014-03-06 Thread Tushar Behera
On 6 March 2014 12:04, Sachin Kamat sachin.ka...@linaro.org wrote: On 6 March 2014 11:34, Tushar Behera tushar.beh...@linaro.org wrote: Most of the clock related dt-binding header files are located in dt-bindings/clock folder. It would be good to keep all the similar header files at a single

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Anton Tikhomirov
Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to the drivers/phy +directory. Each SoC's configuration is stored in an instance of the +struct samsung_usb2_phy_config. + +struct samsung_usb2_phy_config { + const struct

Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
On Thursday 06 March 2014 01:56 PM, Anton Tikhomirov wrote: Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to the drivers/phy +directory. Each SoC's configuration is stored in an instance of the +struct samsung_usb2_phy_config.

Re: [PATCH v3 5/5] clk/exynos5260: add clock file for exynos5260

2014-03-06 Thread Rahul Sharma
Hi Tomasz, On 4 March 2014 17:40, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Rahul, On 04.03.2014 05:14, Rahul Sharma wrote: On 23 February 2014 07:49, Tomasz Figa tomasz.f...@gmail.com wrote: On 18.02.2014 12:56, Rahul Sharma wrote: +/* + * List of parent clocks for muses in CMU_DISP

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Anton Tikhomirov
Hello, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver On Thursday 06 March 2014 01:56 PM, Anton Tikhomirov wrote: Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to the drivers/phy

Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 02:22 PM, Anton Tikhomirov wrote: Hello, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver On Thursday 06 March 2014 01:56 PM, Anton Tikhomirov wrote: Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Anton Tikhomirov
Hi, Subject: RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, On Thursday 06 March 2014 02:22 PM, Anton Tikhomirov wrote: Hello, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY

Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 02:49 PM, Anton Tikhomirov wrote: Hi, Subject: RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, On Thursday 06 March 2014 02:22 PM, Anton Tikhomirov wrote: Hello, Subject:

Re: [PATCH v2 1/6] ARM: dts: tegra: add PCIe interrupt mapping properties

2014-03-06 Thread Lucas Stach
Am Mittwoch, den 05.03.2014, 14:55 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: Those are defined by the common PCI binding. It sounds like there's no dependency between pathces 1/6 and 2/6, so I should apply 1/6 to the Tegra tree, and Bjorn apply 2/6 to the PCI

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Mark Brown
On Wed, Mar 05, 2014 at 10:22:52AM +0100, Krzysztof Kozlowski wrote: + ret = regmap_read(rdev-regmap, rdev-desc-enable_reg, data); + if (ret 0) + return ret; + + /* + * Don't enable suspend mode if regulator is already disabled because + * this would

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Krzysztof Kozlowski
On Thu, 2014-03-06 at 17:38 +0800, Mark Brown wrote: On Wed, Mar 05, 2014 at 10:22:52AM +0100, Krzysztof Kozlowski wrote: + ret = regmap_read(rdev-regmap, rdev-desc-enable_reg, data); + if (ret 0) + return ret; + + /* +* Don't enable suspend mode if regulator is

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi Anton, Kishon, From: Anton Tikhomirov [mailto:av.tikhomi...@samsung.com] Sent: Thursday, March 06, 2014 9:26 AM Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to the drivers/phy +directory. Each SoC's

RE: [PATCH v9 0/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi Tobias, From: Tobias Jakobi [mailto:tjak...@math.uni-bielefeld.de] Sent: Thursday, March 06, 2014 12:08 AM Hello Kamil, this looks very good. I just tested the patchset on my ODROID-X2 (Exynos4412-based board) and the USB stability issues I mentioned to you before (with the older

Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 03:54 PM, Kamil Debski wrote: Hi Anton, Kishon, From: Anton Tikhomirov [mailto:av.tikhomi...@samsung.com] Sent: Thursday, March 06, 2014 9:26 AM Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to

Re: [PATCH 1/2] ARM: dts: Disable MDMA1 node for Arndale-octa board

2014-03-06 Thread Javi Merino
Tushar Behera tushar.behera at linaro.org writes: MDMA1 can support both secure and non-secure AXI transactions. When this is enabled in the kernel for boards that run in secure mode, we get imprecise external aborts causing the kernel to oops. Unhandled fault: imprecise external abort

[PATCH v10 1/4] phy: core: Add an exported of_phy_get function

2014-03-06 Thread Kamil Debski
Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to _of_phy_get and was left for internal use. of_phy_get function was

[PATCH v10 0/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi, This is the tenth version of this patchset. The only difference since v9 is correction in the documentation. Best wishes, Kamil Debski -- Changes from v9: 1) phy: core: Add an exported of_phy_get function - No changes since v9. 2) phy: core: Add devm_of_phy_get to phy-core

[PATCH v10 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4x10 and 4x12 SoC families. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt| 53

[PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-06 Thread Kamil Debski
Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31 +++ include/linux/phy/phy.h |8 2 files changed,

[PATCH v10 4/4] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com --- .../devicetree/bindings/phy/samsung-phy.txt|1 + drivers/phy/Kconfig| 11 + drivers/phy/Makefile

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Krzysztof Kozlowski
On Thu, 2014-03-06 at 17:38 +0800, Mark Brown wrote: On Wed, Mar 05, 2014 at 10:22:52AM +0100, Krzysztof Kozlowski wrote: + ret = regmap_read(rdev-regmap, rdev-desc-enable_reg, data); + if (ret 0) + return ret; + + /* +* Don't enable suspend mode if regulator is

Re: [PATCH v2 6/6] PCI: designware: use new OF interrupt mapping when possible

2014-03-06 Thread Marek Vasut
On Thursday, March 06, 2014 at 03:47:03 AM, Jingoo Han wrote: On Wednesday, March 05, 2014 10:26 PM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Signed-off-by: Lucas Stach l.st...@pengutronix.de

[PATCH v6 00/10] Add device tree support for Exynos4 camera interface

2014-03-06 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. This iteration includes three small fixes,

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

2014-03-06 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 v6 01/10] Documentation: dt: Add binding documentation for S5K6A3 image sensor

2014-03-06 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 v5: - none. Changes since v2: - rephrased

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

2014-03-06 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 v6 02/10] Documentation: dt: Add binding documentation for S5C73M3 camera

2014-03-06 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 Acked-by: Mark Rutland mark.rutl...@arm.com --- Changes since v5: - none. Changes since v4: -

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

2014-03-06 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 v6 04/10] V4L: Add driver for s5k6a3 image sensor

2014-03-06 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 v6 10/10] ARM: dts: exynos4: Update camera clk provider and s5k6a3 sensor node

2014-03-06 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. Also add required clock related changes to s5k6a3 device node and afvdd regulator supply. Signed-off-by: Sylwester

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

2014-03-06 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 booting from DT. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes since v5: - removed

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

2014-03-06 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 v5: - added a missing check if clocks

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

2014-03-06 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

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-06 Thread Stephen Warren
On 03/05/2014 06:25 AM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Tested-by: Stephen Warren swar...@nvidia.com I tested both with and without patch 1/6, and the PCIe-based NIC on Beaver worked fine

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-06 Thread Lucas Stach
Am Donnerstag, den 06.03.2014, 10:36 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice. Tested-by: Stephen Warren swar...@nvidia.com I tested both

Re: [PATCH v2 1/6] ARM: dts: tegra: add PCIe interrupt mapping properties

2014-03-06 Thread Stephen Warren
On 03/05/2014 06:25 AM, Lucas Stach wrote: Those are defined by the common PCI binding. I've applied this to Tegra's for-3.15/dt branch. -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at

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

2014-03-06 Thread Philipp Zabel
Hi Sylwester, On Thu, Mar 6, 2014 at 5:20 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: 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

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

2014-03-06 Thread Sylwester Nawrocki
Hi Phillip, On 03/06/2014 07:08 PM, Philipp Zabel wrote: +++ b/Documentation/devicetree/bindings/media/samsung-s5k6a3.txt @@ -0,0 +1,33 @@ +Samsung S5K6A3(YX) raw image sensor +- + +S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-06 Thread Arnd Bergmann
On Thursday 06 March 2014, Lucas Stach wrote: Am Donnerstag, den 06.03.2014, 10:36 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old devicetrees we fall back to the previous practice.

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Mark Brown
On Thu, Mar 06, 2014 at 10:48:54AM +0100, Krzysztof Kozlowski wrote: Anyway can you look at other two patches and apply them if they are OK? They don't depend on this. There appears to be some external dependency for the definition of macros like S2MPS14X? signature.asc Description: Digital

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Mark Brown
On Thu, Mar 06, 2014 at 03:42:22PM +0100, Krzysztof Kozlowski wrote: However in that case the driver won't be able later to change that value back to normal enable (enable_mask). Consider such flow: 1. System is going to suspend. 2. Some regulator has rstate-disabled so set_suspend_disable()

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-03-06 Thread Jingoo Han
On Friday, March 07, 2014 9:25 AM, Arnd Bergmann wrote: On Thursday 06 March 2014, Lucas Stach wrote: Am Donnerstag, den 06.03.2014, 10:36 -0700 schrieb Stephen Warren: On 03/05/2014 06:25 AM, Lucas Stach wrote: This is the recommended method of doing the IRQ mapping. For old

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Anton Tikhomirov
Hi, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, On Thursday 06 March 2014 02:49 PM, Anton Tikhomirov wrote: Hi, Subject: RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver Hi, Subject: Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

Re: [RFT][PATCH 1/2] spi: s3c24xx: Add missing spi_master_{resume,suspend} calls to PM callbacks

2014-03-06 Thread Mark Brown
On Wed, Mar 05, 2014 at 03:17:23PM +0800, Axel Lin wrote: This is required since commit 2025172e3280 spi/bitbang: Use core message pump. spi-bitbang now uses core message pump, so it needs to call spi_master_suspend/ spi_master_resume to start/stop the queue while suspend/resume. Applied,

Re: [PATCH 2/3] regulator: s2mps11: Add set_suspend_disable for S2MPS14

2014-03-06 Thread Krzysztof Kozlowski
On Fri, 2014-03-07 at 09:51 +0800, Mark Brown wrote: On Thu, Mar 06, 2014 at 10:48:54AM +0100, Krzysztof Kozlowski wrote: Anyway can you look at other two patches and apply them if they are OK? They don't depend on this. There appears to be some external dependency for the definition of