Re: [oselas] Mini2440 boot failure on kernel 3.7-rc1

2012-11-14 Thread Brian Norris
On 11/13/2012 01:29 PM, Sylwester Nawrocki wrote: On 11/13/2012 08:54 AM, Brian Norris wrote: On Mon, Nov 12, 2012 at 3:18 PM, Sylwester Nawrocki Can you please list a full 8-byte string of id_data[]? This will be very helpful. I know of at least one solution that will fix your problem, but

[PATCH 3/4] ARM: EXYNOS: add System MMU definition to DT

2012-11-14 Thread Cho KyongHo
This commit adds System MMU nodes to DT of Exynos SoCs. Signed-off-by: KyongHo Cho pullip@samsung.com --- .../devicetree/bindings/arm/samsung/system-mmu.txt | 42 ++ arch/arm/boot/dts/exynos4210.dtsi | 96 ++ arch/arm/boot/dts/exynos4x12.dtsi

[PATCH 2/4] ARM: EXYNOS: Add clk_ops for gating clocks of System MMU

2012-11-14 Thread Cho KyongHo
Touching some System MMU needs its master devices' clock to be enabled before. This commit adds clk_ops.set_parent of gating clocks of System MMU to ensure gating clocks of System MMU's mater devices are enabled when enabling gating clocks of System MMU. Signed-off-by: KyongHo Cho

[PATCH 0/4] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-11-14 Thread Cho KyongHo
The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate IOTLB in the System MMU when I/O

[PATCH 4/4] iommu/exynos: enhancements of System MMU driver with DT

2012-11-14 Thread Cho KyongHo
This commit enhances power management of System MMU and its client devices with the following changes: - Each System MMU device becomes the parent device of its client device while probe(). Thus, exynos-iommu driver must be initialized before client devices. - System MMU driver does not

[PATCH 1/4] ARM: EXYNOS: remove system mmu initialization from arch/arm/ tree

2012-11-14 Thread Cho KyongHo
This removes System MMU initialization from arch/arm/mach-exynos/ to move them to DT and the exynos-iommu driver except gating clock definitions. Signed-off-by: KyongHo Cho pullip@samsung.com --- arch/arm/mach-exynos/Kconfig | 5 - arch/arm/mach-exynos/Makefile |

Re: [PATCH] sound: use PTR_ERR to fix the value of the return

2012-11-14 Thread Tushar Behera
On 11/14/2012 12:26 PM, Wang Jing wrote: On 2012年11月14日 12:58, Tushar Behera wrote: On 11/13/2012 05:49 PM, Wang Jing wrote: From: wangjing wangjing@wangjing.(none) This patch use the macro PTR_ERR to modify the value of the return Signed-off-by: wangjing wangjing@wangjing.(none) Also

[PATCH v8 0/2] usb: phy: samsung: Introducing usb phy driver for samsung SoCs

2012-11-14 Thread Praveen Paneri
Changes from v7: Rebased to the latest usb-next branch. Separating arch patches from these driver patches. Changes from v6: Modified register definitions according to the existing ones. Changed default PHY clk selection for SoCs. Improved binding text and rebased to the latest usb-next. Changes

[PATCH v8 1/2] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-11-14 Thread Praveen Paneri
This driver uses usb_phy interface to interact with s3c-hsotg. Supports phy_init and phy_shutdown functions to enable/disable usb phy. Support will be extended to host controllers and more Samsung SoCs. Signed-off-by: Praveen Paneri p.pan...@samsung.com Acked-by: Heiko Stuebner he...@sntech.de

[PATCH v8 2/2] usb: s3c-hsotg: Adding phy driver support

2012-11-14 Thread Praveen Paneri
Adding the transceiver to hsotg driver. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Praveen Paneri p.pan...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/usb/gadget/s3c-hsotg.c | 37

[PATCH v8 0/3] ARM: Exynos/S3C64XX: usb phy driver support for S3C64XX and EXYNOS4210

2012-11-14 Thread Praveen Paneri
This patch series enables usb phy driver for S3C64XX and EXYNOS4210. The phy driver patches are already sent to linux-usb. Changes From v7: Resolved build errors with s3c6400_defconfig, s5pv210_defconfig and exynos_defconfig. Tested with all other samsung configs as well. Reformed PATCH 3 (PATCH

[PATCH v8 1/3] ARM: S3C64XX: Removing old phy setup code

2012-11-14 Thread Praveen Paneri
This patch removes old phy code from platform side. 'setup-usb-phy.c' will be used for providing transceiver platform data in next patch. Not all of the platform data code is removed as there are others making use of platform_data defined for hsotg. That can be removed once all the SoCs start

[PATCH v8 2/3] ARM: S3C64XX: Enabling samsung-usbphy driver

2012-11-14 Thread Praveen Paneri
Adding platform device for samsung-usbphy driver. Enabling it for s3c64xx based machines using s3c-hsotg. Signed-off-by: Praveen Paneri p.pan...@samsung.com --- arch/arm/mach-s3c64xx/include/mach/map.h |2 + arch/arm/mach-s3c64xx/mach-crag6410.c|7 ++

[PATCH v8 3/3] ARM: EXYNOS: Enabling samsung-usbphy driver for EXYNOS4210

2012-11-14 Thread Praveen Paneri
Adding usbphy node for Exynos4210 along with the platform data. Signed-off-by: Praveen Paneri p.pan...@samsung.com --- arch/arm/boot/dts/exynos4210-smdkv310.dts |5 + arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/include/mach/map.h |1 +

[RFC PATCH] ASoC: Samsung: Register the audio dma platform device

2012-11-14 Thread Padmavathi Venna
Audio dma device is not a hardware peripherial. So this device can't be added in the dt devices list. So expanded the module_platform_driver and registered this device using platform_device_register_simple. Signed-off-by: Padmavathi Venna padm...@samsung.com --- sound/soc/samsung/dma.c | 30

[RFC PATCH] ASoC: Samsung: Register the audio platform device

2012-11-14 Thread Padmavathi Venna
Audio platform device is not a hardware peripherial. So this device can't be added in the dt devices list. So expanded the module_platform_driver and registered this device using platform_device_register_simple. Also added the soc-core pm ops structure in the audio platform driver.

[PATCH v3 00/11] clk: exynos4: migrate to common clock framework

2012-11-14 Thread Thomas Abraham
This patch series migrates the Samsung Exynos4 SoC clock code to adopt the common clock framework. The use of Samsung specific clock structures has been removed and all board support code has been updated. imx-style of clock registration and lookup has been adopted for device tree based exynos4

[PATCH v3 01/11] clk: samsung: add common clock framework helper functions for Samsung platforms

2012-11-14 Thread Thomas Abraham
All Samsung platforms include different types of clock including fixed-rate, mux, divider and gate clock types. There are typically hundreds of such clocks on each of the Samsung platforms. To enable Samsung platforms to register these clocks using the common clock framework, a bunch of utility

[PATCH v3 02/11] clk: samsung: add pll clock registration helper functions

2012-11-14 Thread Thomas Abraham
There are several types of pll clocks used in Samsung SoC's and these pll clocks can be represented as Samsung specific pll clock types and registered with the common clock framework. Add support for pll35xx, pll36xx, pll45xx and pll46xx clock types and helper functions to register them. Cc: Mike

[PATCH v3 03/11] clk: exynos4: register clocks using common clock framework

2012-11-14 Thread Thomas Abraham
The Exynos4 clocks are statically listed and registered using the Samsung specific common clock helper functions. Both device tree based clock lookup and clkdev based clock lookups are supported. Cc: Mike Turquette mturque...@linaro.org Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas

[PATCH v3 05/11] ARM: dts: add exynos4 clock controller nodes

2012-11-14 Thread Thomas Abraham
Add clock controller nodes for Exynos4210 and Exynos4x12 SoC's. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi |6 ++ arch/arm/boot/dts/exynos4x12.dtsi |6 ++ 2 files changed, 12 insertions(+), 0

[PATCH v3 06/11] ARM: dts: add xxti and xusbxti fixed rate clock nodes for exynos4 based platforms

2012-11-14 Thread Thomas Abraham
The clock frequency of xxti and xusbxti clocks is dependent on the frequency of the on-board oscillator that is used to generate these clocks. So allow the frequency of these clocks to be specfied from device tree. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham

[PATCH v3 07/11] ARM: Exynos4: allow legacy board support to specify xxti and xusbxti clock speed

2012-11-14 Thread Thomas Abraham
The clock speed of xxti and xusbxti clocks depends on the oscillator used on the board to generate these clocks. For non-dt platforms, allow the board support for those platforms to set the clock frequency of xxti and xusbxti clocks. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas

[PATCH v3 08/11] ARM: dts: add clock provider information for all controllers in Exynos4 SoC

2012-11-14 Thread Thomas Abraham
For all supported peripheral controllers on Exynos4, add clock lookup information. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4.dtsi | 48 1 files changed, 48 insertions(+), 0

[PATCH v3 09/11] ARM: Exynos4: remove auxdata table from machine file

2012-11-14 Thread Thomas Abraham
With support for device tree based clock lookup now available, remove the auxdata table from exynos4 dt-enabled machine file. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/mach-exynos4-dt.c | 68

[PATCH v3 10/11] ARM: Exynos: use fin_pll clock as the tick clock source for mct

2012-11-14 Thread Thomas Abraham
With the migration of Exynos4 clocks to use common clock framework, the old styled 'xtal' clock is not used anymore. Instead, the clock 'fin_pll' is used as the tick clock for mct controller. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---

[PATCH v3 11/11] ARM: Exynos: add support for mct clock setup

2012-11-14 Thread Thomas Abraham
Add support for mct clock lookup and setup to ensure that the mct clock is has been turned on. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/mct.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v3 01/11] clk: samsung: add common clock framework helper functions for Samsung platforms

2012-11-14 Thread Tomasz Figa
Hi Thomas, Looks mostly good, but I have some minor comments inline. On Thursday 15 of November 2012 03:37:23 Thomas Abraham wrote: All Samsung platforms include different types of clock including fixed-rate, mux, divider and gate clock types. There are typically hundreds of such clocks on

Re: [PATCH v3 03/11] clk: exynos4: register clocks using common clock framework

2012-11-14 Thread Tomasz Figa
Hi Thomas, Looks mostly good, but I have some minor comments inline. On Thursday 15 of November 2012 03:37:25 Thomas Abraham wrote: The Exynos4 clocks are statically listed and registered using the Samsung specific common clock helper functions. Both device tree based clock lookup and clkdev

Re: [PATCH v3 05/11] ARM: dts: add exynos4 clock controller nodes

2012-11-14 Thread Tomasz Figa
On Thursday 15 of November 2012 03:37:27 Thomas Abraham wrote: Add clock controller nodes for Exynos4210 and Exynos4x12 SoC's. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi |6 ++

Re: [PATCH v3 04/11] ARM: Exynos4: Migrate clock support to common clock framework

2012-11-14 Thread Tomasz Figa
On Thursday 15 of November 2012 03:37:26 Thomas Abraham wrote: Remove Samsung specific clock support in Exynos4 and migrate to use common clock framework. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/Kconfig

Re: [PATCH v3 07/11] ARM: Exynos4: allow legacy board support to specify xxti and xusbxti clock speed

2012-11-14 Thread Tomasz Figa
On Thursday 15 of November 2012 03:37:29 Thomas Abraham wrote: The clock speed of xxti and xusbxti clocks depends on the oscillator used on the board to generate these clocks. For non-dt platforms, allow the board support for those platforms to set the clock frequency of xxti and xusbxti

Re: [PATCH-Resend] thermal: Exynos: Add missing dependency

2012-11-14 Thread Amit Kachhap
On 15 November 2012 12:09, Sachin Kamat sachin.ka...@linaro.org wrote: CPU_FREQ_TABLE depends on CPU_FREQ. Selecting CPU_FREQ_TABLE without checking for dependencies gives the following compilation warnings: warning: (ARCH_TEGRA_2x_SOC ARCH_TEGRA_3x_SOC UX500_SOC_DB8500 CPU_THERMAL

Re: [PATCH-Resend] thermal: Exynos: Add missing dependency

2012-11-14 Thread Zhang Rui
On Thu, 2012-11-15 at 12:31 +0530, Amit Kachhap wrote: On 15 November 2012 12:09, Sachin Kamat sachin.ka...@linaro.org wrote: CPU_FREQ_TABLE depends on CPU_FREQ. Selecting CPU_FREQ_TABLE without checking for dependencies gives the following compilation warnings: warning:

Re: [PATCH-Resend] thermal: Exynos: Add missing dependency

2012-11-14 Thread Amit Kachhap
On 15 November 2012 12:34, Zhang Rui rui.zh...@intel.com wrote: On Thu, 2012-11-15 at 12:31 +0530, Amit Kachhap wrote: On 15 November 2012 12:09, Sachin Kamat sachin.ka...@linaro.org wrote: CPU_FREQ_TABLE depends on CPU_FREQ. Selecting CPU_FREQ_TABLE without checking for dependencies