[PATCH] ARM: samsung: use #include for all device trees

2013-05-07 Thread Padmavathi Venna
Replace /include/ (dtc) with #include (C pre-processor) for all Samsung DT files Signed-off-by: Padmavathi Venna padm...@samsung.com --- This patch is dependent on below patches by Stephen Warren http://www.spinics.net/lists/linux-kbuild/msg07616.html arch/arm/boot/dts/exynos4.dtsi

[PATCH V2 0/3] clk: Samsung: audss: Register audio subsytem clocks using common clk framework

2013-05-07 Thread Padmavathi Venna
Samsung S5PV210 and Exynos SoC has a separate subsystem for audio. This subsystem has a internal clock controller which controls i2s0 and pcm0 clocks. This patch series adds the Samsung audio subsytem clock to the common clock framework and provides the I2S controllers clock information in the

[PATCH V2 1/3] clk: samsung: register audio subsystem clocks using common clock framework

2013-05-07 Thread Padmavathi Venna
Audio subsystem is introduced in s5pv210 and exynos platforms. This has seperate clock controller which can control i2s0 and pcm0 clocks. This patch registers the audio subsystem clocks with the common clock framework. Signed-off-by: Padmavathi Venna padm...@samsung.com ---

[PATCH V2 2/3] ARM: dts: add Exynos audio subsystem clock controller node

2013-05-07 Thread Padmavathi Venna
Audio subsystem introduced in s5pv210 and exynos platforms which has a internal clock controller. This patch adds a node for the same on exynos5250. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 files changed, 6 insertions(+), 0

[PATCH V2 3/3] ARM: dts: add clock provider information for i2s controllers in Exynos5250

2013-05-07 Thread Padmavathi Venna
Add clock lookup information for i2s controllers on exynos5250 SoC. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi

Re: [RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-07 Thread Marc Zyngier
On 07/05/13 06:54, Giridhar Maruthy wrote: This patch is a modification from the Christoffer Dall's u-boot patch. This is required to put the secondary processors in hyp mode during cpu hotplug when u-boot is no longer alive. Marc Zyngier suggested this logic to go into firmware or, u-boot

Re: [PATCH] ASoC: Samsung: i2s: Fix crash in i2s driver

2013-05-07 Thread Mark Brown
On Tue, May 07, 2013 at 09:09:01AM +0530, Padmavathi Venna wrote: This patch fixes a null pointer deference in i2s driver in DT case Signed-off-by: Padmavathi Venna padm...@samsung.com --- This patch is dependent on below patch posted by Thomas Abraham.

Re: [PATCH V2 2/3] ARM: dts: add Exynos audio subsystem clock controller node

2013-05-07 Thread Tomasz Figa
Hi Padmavathi, On Tuesday 07 of May 2013 12:13:35 Padmavathi Venna wrote: Audio subsystem introduced in s5pv210 and exynos platforms which has a internal clock controller. This patch adds a node for the same on exynos5250. Signed-off-by: Padmavathi Venna padm...@samsung.com ---

Re: [PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Tomasz Figa
On Monday 06 of May 2013 23:05:06 Zhang Rui wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor

Re: [PATCH] ASoC: Samsung: i2s: Fix crash in i2s driver

2013-05-07 Thread Padma Venkat
Hi Tomasz, On Tue, May 7, 2013 at 3:20 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Padmavathi, On Tuesday 07 of May 2013 09:09:01 Padmavathi Venna wrote: This patch fixes a null pointer deference in i2s driver in DT case Signed-off-by: Padmavathi Venna padm...@samsung.com --- This

Re: [PATCH V2 2/3] ARM: dts: add Exynos audio subsystem clock controller node

2013-05-07 Thread Padma Venkat
Hi Tomasz, On Tue, May 7, 2013 at 3:24 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Padmavathi, On Tuesday 07 of May 2013 12:13:35 Padmavathi Venna wrote: Audio subsystem introduced in s5pv210 and exynos platforms which has a internal clock controller. This patch adds a node for the same on

[PATCH] usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code in the gpio_to_irq() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/usb/gadget/s3c2410_udc.c | 1 + 1 file changed, 1

Re: [PATCH v8] i2c: exynos5: add High Speed I2C controller driver

2013-05-07 Thread Sachin Kamat
On 7 May 2013 08:20, Naveen Krishna Chatradhi naveenkrishna...@gmail.com wrote: From: Naveen Krishna Chatradhi ch.nav...@samsung.com Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Driver only supports Device Tree method. Changes since v1: 1. Added

[PATCH V3 0/20] thermal: exynos: Add thermal driver for exynos5440

2013-05-07 Thread Amit Daniel Kachhap
Changes in V3: * Added proper dependency of different exynos thermal Kconfig symbols. Basically 3 Kconfig can be enabled now and corresponds to tmu driver. exynos common part and exynos configuration data. This issue was raised by Rui Zhang. Changes in V2: * Separated SOC data from TMU driver.

[PATCH V3 01/21] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Amit Daniel Kachhap
This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor driver and sensor data related parts. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 02/21] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread Amit Daniel Kachhap
This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts with core thermal layer and core cpufreq cooling parts and is independent of SOC specific driver. This change is needed to cleanly add support for new TMU sensors. Acked-by:

[PATCH V3 09/21] thermal: exynos: Move register definitions from driver file to data file

2013-05-07 Thread Amit Daniel Kachhap
This patch migrates the TMU register definition/bitfields to data file. This is needed to support SoC's which use the same TMU controller but register validity, offsets or bitfield may slightly vary across SOC's. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 11/21] thermal: exynos: Add support for instance based register/unregister

2013-05-07 Thread Amit Daniel Kachhap
This code modifies the thermal driver to have multiple thermal zone support by replacing the global thermal zone variable with device data member of thermal_zone_device. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com ---

[PATCH V3 13/21] thermal: exynos: Return success even if no cooling data supplied

2013-05-07 Thread Amit Daniel Kachhap
This patch removes the error return in the bind/unbind routine as the platform may not register any cpufreq cooling data. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c |4 ++-- 1 files

[PATCH V3 20/21] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-07 Thread Amit Daniel Kachhap
TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without this regulator defined. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel

[PATCH V3 21/21] ARM: dts: Add device tree node for exynos5440 TMU controller

2013-05-07 Thread Amit Daniel Kachhap
This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/boot/dts/exynos5440.dtsi | 30 ++ 1

[PATCH V3 10/21] thermal: exynos: Fix to clear only the generated interrupts

2013-05-07 Thread Amit Daniel Kachhap
This patch uses the TMU status register to know the generated interrupts and only clear them in the interrupt handler. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 10 --

[PATCH V3 12/21] thermal: exynos: Modify private_data to appropriate name driver_data

2013-05-07 Thread Amit Daniel Kachhap
This patch renames member private_data to driver_data of the thermal zone registration structure as this item stores the driver related data and uses it to call the driver related callbacks. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com ---

[PATCH V3 14/21] thermal: exynos: Make the zone handling dependent on trip count

2013-05-07 Thread Amit Daniel Kachhap
This code simplifies the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c | 55

[PATCH V3 17/21] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-05-07 Thread Amit Daniel Kachhap
From: Lukasz Majewski l.majew...@samsung.com Proper description for Exynos4 bindings added to Documentation/devicetree/ bindings Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |

[PATCH V3 19/21] Documentation: thermal: Explain the exynos thermal driver model

2013-05-07 Thread Amit Daniel Kachhap
This patch updates the documentation to explain the driver model and file layout. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- Documentation/thermal/exynos_thermal | 43 ++--- 1 files changed, 34

[PATCH V3 03/21] thermal: exynos: Rename exynos_thermal.c to exynos_tmu.c

2013-05-07 Thread Amit Daniel Kachhap
This patch renames exynos_thermal.c to exynos_tmu.c. This change is needed as this file now just contains exynos tmu driver related codes and thermal zone or cpufreq cooling registration related changes are not there anymore. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel

[PATCH V3 05/21] thermal: exynos: Bifurcate exynos tmu driver and configuration data

2013-05-07 Thread Amit Daniel Kachhap
This code splits the exynos tmu driver code into SOC specific data parts. This will simplify adding new SOC specific data to the same TMU controller. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/Kconfig

[PATCH V3 06/21] thermal: exynos: Add missing definations and code cleanup

2013-05-07 Thread Amit Daniel Kachhap
This patch adds some extra register bitfield definations and cleans up the code to prepare for moving register macros and definations inside the TMU data section. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com ---

[RESEND PATCH V3 01/21] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Amit Daniel Kachhap
This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating exynos common, sensor driver and sensor data related parts. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

Re: [PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread amit daniel kachhap
Hi Rui, On Mon, May 6, 2013 at 8:35 PM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This movement of files is done for easy maintenance and adding more new sensor's support for exynos platform easily . This will also help in bifurcating

Re: [PATCH V2 02/20] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread amit daniel kachhap
Hi Rui, On Mon, May 6, 2013 at 8:46 PM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts with core thermal layer and

Re: [PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Tomasz Figa
On Tuesday 07 of May 2013 18:48:46 amit daniel kachhap wrote: Hi Tomasz Figa, On Tue, May 7, 2013 at 3:51 PM, Tomasz Figa t.f...@samsung.com wrote: On Monday 06 of May 2013 23:05:06 Zhang Rui wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This movement of files is

Re: [PATCH V3 02/21] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread Zhang Rui
On Tue, 2013-05-07 at 18:30 +0530, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts with core thermal layer and core cpufreq cooling parts and is independent of SOC specific driver. This

[PATCH v9 2/3] of/pci: mips: convert to common of_pci_range_parser

2013-05-07 Thread Andrew Murray
This patch converts the pci_load_of_ranges function to use the new common of_pci_range_parser. Signed-off-by: Andrew Murray andrew.mur...@arm.com Signed-off-by: Liviu Dudau liviu.du...@arm.com Signed-off-by: Gabor Juhos juh...@openwrt.org Reviewed-by: Rob Herring rob.herr...@calxeda.com

[PATCH v9 3/3] of/pci: microblaze: convert to common of_pci_range_parser

2013-05-07 Thread Andrew Murray
This patch converts the pci_load_of_ranges function to use the new common of_pci_range_parser. Signed-off-by: Andrew Murray andrew.mur...@arm.com Signed-off-by: Liviu Dudau liviu.du...@arm.com --- arch/microblaze/pci/pci-common.c | 106 ++ 1 files changed, 38

[PATCH v9 0/3] of/pci: Provide common support for PCI DT parsing

2013-05-07 Thread Andrew Murray
This patchset factors out duplicated code associated with parsing PCI DT ranges properties across the architectures and introduces a ranges parser. This parser of_pci_range_parser can be used directly by ARM host bridge drivers enabling them to obtain ranges from device trees. I've included the

[PATCH v9 1/3] of/pci: Provide support for parsing PCI DT ranges property

2013-05-07 Thread Andrew Murray
This patch factors out common implementation patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture specific DT handling. This will make it easier to write archiecture

Re: [PATCH] usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe()

2013-05-07 Thread Jingoo Han
On Tuesday, May 07, 2013 8:48 PM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code in the gpio_to_irq() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn