Re: [PATCH v3 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-01-21 Thread Felipe Balbi
Hi, On Mon, Jan 21, 2013 at 12:15:10PM +0530, Vivek Gautam wrote: > Hi Felipe, > > > On Mon, Jan 14, 2013 at 6:29 PM, Vivek Gautam > wrote: > > Changes from v2: > > - Renaming 'samsung-usbphy.c' driver to 'samsung-usb2.c' indicating > >usb 2.0 phy controller's driver for Samsung's SoCs. >

Re: [oselas] Audio support on Mini6410 board

2013-01-21 Thread Andrey Gusakov
Hi. On Mon, Jan 21, 2013 at 12:07 PM, Alexander Nestorov wrote: > Hi, > > I see. Maybe you already saw it, but just in case, I found this[1] I > hope it helps. Thanks. It s looks like code from 2.6.28, I'll take a closer look. > Do you plan sharing your code in GitHub or equivalent? I'm working

[PATCH v4 0/7] ARM: Exynos: Enable device tree support for MCT controller

2013-01-21 Thread Thomas Abraham
Changes since v3: - Based on Stephen Warren's CONFIG_CLKSRC_OF patches (merged from arm-soc 'timer/cleanup' branch). - Moved the mct driver from mach-exynos to drivers/clocksource Changes since v2: - Rebased to linux 3.8-rc1 Changes since v1: - Includes changes suggested by Sylwester Nawrocki

[PATCH v4 1/7] ARM: Exynos: add a register base address variable in mct controller driver

2013-01-21 Thread Thomas Abraham
All the MCT register read/writes use a fixed remapped address S5P_VA_SYSTIMER. With device tree support for MCT controller, it is possible to remove the static remap of the MCT controller address space and do the remap during the initialization of the MCT controller with the physical address obtain

[PATCH v4 2/7] ARM: Exynos: prepare an array of MCT interrupt numbers and use it

2013-01-21 Thread Thomas Abraham
Instead of using soc_is_xxx macro at more than one place in the MCT controller driver to decide the MCT interrpt number to be setup, populate a table of known MCT global and local timer interrupts and use the values in table to setup the MCT interrupts. This also helps in adding device tree suppor

[PATCH v4 3/7] ARM: Exynos: add device tree support for MCT controller driver

2013-01-21 Thread Thomas Abraham
Allow the MCT controller base address and interrupts to be obtained from device tree and remove unused static definitions of these. The non-dt support for Exynos5250 is removed but retained for Exynos4210 based platforms. Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- .../bindings/timer/s

[PATCH v4 4/7] ARM: Exynos: allow dt based discovery of mct controller using clocksource_of_init

2013-01-21 Thread Thomas Abraham
Add entries to __clksrc_of_table so that Exynos MCT controller is discoverable using call to clocksource_of_init. With this change, it would be appropriate to rename the function 'exynos4_timer_init' as 'mct_init' since it aptly describes this function. Additionally, the 'init_time' callback of all

[PATCH v4 5/7] ARM: dts: add mct device tree node for all supported Exynos SoC's

2013-01-21 Thread Thomas Abraham
Add MCT device tree node for Exynos4210, Exynos4212, Exynos4412 and Exynos5250. Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210.dtsi |7 +++ arch/arm/boot/dts/exynos4212.dtsi |9 + arch/arm/boot/dts/exynos4412.dtsi |7 +++ arch/arm/b

[PATCH v4 6/7] ARM: Exynos: remove static io-remapping of mct registers for Exynos5

2013-01-21 Thread Thomas Abraham
With device tree support enabled for MCT controller, the staticio-remapping of the MCT controller address space is removed for Exynos5 platforms (which supports only device tree based boot). Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c |5

[PATCH v4 7/7] ARM: Exynos: move mct driver to drivers/clocksource

2013-01-21 Thread Thomas Abraham
Move the multi core timer (mct) driver from mach-exynos to drivers/clocksource and update the Kconfig and makefiles. Signed-off-by: Thomas Abraham --- arch/arm/Kconfig |2 +- arch/arm/mach-exynos/Kconfig |6 -- arch/arm/mach-exy

Re: [PATCH v7 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-21 Thread Vivek Gautam
Hi Kukjin, On Fri, Jan 18, 2013 at 8:37 PM, Felipe Balbi wrote: > On Fri, Jan 18, 2013 at 07:59:52PM +0530, Vivek Gautam wrote: >> HI Balbi, >> >> >> On Fri, Jan 18, 2013 at 7:52 PM, Felipe Balbi wrote: >> > On Fri, Jan 18, 2013 at 07:51:08PM +0530, Vivek Gautam wrote: >> >> Hi Felipe, >> >> >>

[PATCH] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Chen Gang
the buff size is 256, so need use vsnprintf instead of vsprintf. Signed-off-by: Chen Gang --- arch/arm/plat-samsung/pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 1507028..8d07b45 100644 --- a/arch/arm/

[PATCH] ARM: dts: add mshc controller node for Exynos4x12 SoCs

2013-01-21 Thread Thomas Abraham
Commit cea0f256 ("ARM: dts: Add board dts file for ODROID-X") includes a node to describe the board level properties for mshc controller. But the mshc controller node was not added in the Exynos4x12 dtsi file which resulted in the following warning when compiling the dtb files. Warning (reg_format

Re: [PATCH 0/2] ARM: Exynos5 : Add Power domain device tree support for MFC and GSC

2013-01-21 Thread Prasanna Kumar
Hello , Any comments for this patch set ? > On Wed, Jan 9, 2013 at 5:45 PM, Prasanna Kumar > wrote: >> >> Hello all, >> >> This patch set adds device tree support for power domains (Gscaler and >> MFC) of exynos5 >> >> Prasanna Kumar (2): >> arm: exynos5: Enable PM generic domain support in K

Re: [PATCH] ARM: dts: Add watchdog in exynos5440-ssdk5440 device list

2013-01-21 Thread Tomasz Figa
On Monday 21 of January 2013 12:21:41 Tushar Behera wrote: > On 01/19/2013 04:10 PM, Tomasz Figa wrote: > > Hi Kukjin, > > > > The commit message is a bit confusing, because it says that something > > is being added, while in fact the whole node is being removed. > > > > Shouldn't it rather say s

[PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-21 Thread Naveen Krishna Chatradhi
This patch add an ADC IP found on EXYNOS5 series socs from Samsung. Also adds the Documentation for device tree bindings. Signed-off-by: Naveen Krishna Chatradhi --- .../bindings/arm/samsung/exynos5-adc.txt | 20 + drivers/iio/adc/Kconfig|7 + drivers/

Re: [PATCH v4 3/7] ARM: Exynos: add device tree support for MCT controller driver

2013-01-21 Thread Mark Rutland
On Mon, Jan 21, 2013 at 10:02:18AM +, Thomas Abraham wrote: > Allow the MCT controller base address and interrupts to be obtained from > device tree and remove unused static definitions of these. The non-dt support > for Exynos5250 is removed but retained for Exynos4210 based platforms. > > Cc

[PATCH] usb: phy: samsung: Remove __devinit, __devexit_p and __exit annotations

2013-01-21 Thread Vivek Gautam
Dropping __devinit, __devexit_p, __exit annotations since they are nop and no longer supported. Signed-off-by: Vivek Gautam --- drivers/usb/phy/samsung-usbphy.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy/samsung-usbphy.c b/drivers/usb/phy/samsun

Re: [RESEND PATCH v9 0/2] usb: phy: samsung: Introducing usb phy driver for samsung SoCs

2013-01-21 Thread Tomasz Figa
On Friday 18 of January 2013 14:30:21 Praveen Paneri wrote: > Changes from v8: > Resending this patch series after rebasing to the latest usb-next > branch. Rewording inline comments for better readability. > Removed IS_ENABLED(CONFIG_OF) as pdev->dev.of_node is enough to check > for dt support. Us

Re: [PATCH v5 00/12] clk: exynos4: migrate to common clock framework

2013-01-21 Thread Sylwester Nawrocki
On 12/30/2012 01:33 AM, Thomas Abraham wrote: > Changes since v4: > - Rebased to linux-3.8-rc1. > > Changes since v3: > - Includes changes suggested by Tomasz Figa > > This patch series migrates the Samsung Exynos4 SoC clock code to adopt the > common clock framework. The use of Samsung specific

Re: [PATCH] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Ben Dooks
On Mon, Jan 21, 2013 at 06:25:18PM +0800, Chen Gang wrote: > > the buff size is 256, so need use vsnprintf instead of vsprintf. > > Signed-off-by: Chen Gang > --- > arch/arm/plat-samsung/pm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/plat-samsung/pm

Re: [PATCH] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 06:25:18PM +0800, Chen Gang wrote: > > the buff size is 256, so need use vsnprintf instead of vsprintf. > > Signed-off-by: Chen Gang > --- > arch/arm/plat-samsung/pm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/plat-samsung/pm

Re: [PATCH v5 00/12] clk: exynos4: migrate to common clock framework

2013-01-21 Thread Tomasz Figa
Hi Thomas, Sylwester, On Monday 21 of January 2013 15:29:16 Sylwester Nawrocki wrote: > On 12/30/2012 01:33 AM, Thomas Abraham wrote: > > Changes since v4: > > - Rebased to linux-3.8-rc1. > > > > Changes since v3: > > - Includes changes suggested by Tomasz Figa > > > > This patch series migrate

Re: [PATCH v4 3/7] ARM: Exynos: add device tree support for MCT controller driver

2013-01-21 Thread Thomas Abraham
Hi Marc, On 21 January 2013 05:46, Mark Rutland wrote: > On Mon, Jan 21, 2013 at 10:02:18AM +, Thomas Abraham wrote: >> Allow the MCT controller base address and interrupts to be obtained from >> device tree and remove unused static definitions of these. The non-dt support >> for Exynos5250 i

Re: [PATCH v5 00/12] clk: exynos4: migrate to common clock framework

2013-01-21 Thread Mike Turquette
Quoting Tomasz Figa (2013-01-21 08:22:39) > Hi Thomas, Sylwester, > > On Monday 21 of January 2013 15:29:16 Sylwester Nawrocki wrote: > > On 12/30/2012 01:33 AM, Thomas Abraham wrote: > > > Changes since v4: > > > - Rebased to linux-3.8-rc1. > > > > > > Changes since v3: > > > - Includes changes

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Matt Sealey
On Mon, Jan 21, 2013 at 6:09 PM, Matt Sealey wrote: [LAKML: about lack of SCHED_HRTICK because we don't use kernel/Kconfig.hz on ARM)] > kind of leaves ARM in the doghouse.. who knows what weirdo scheduler > reactions are related to it not being enabled. Maybe when it is, HZ > *would* need to be

Re: [PATCH] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Chen Gang
于 2013年01月21日 21:56, Ben Dooks 写道: > How about: vsnprintf(buff, sizeof(buff), fmt, va); > > It means we do not end up assuming the size of 'buff' and will be correct > if the code is changed to declare 'buff' to be a different size. thank you, I will send patch v2. :-) -- Chen Gang Asianu

Re: [PATCH] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Chen Gang
于 2013年01月22日 00:00, Russell King - ARM Linux 写道: > sizeof(buff) would be better here so that it depends on the actual buffer > size. thank you, I will send patch v2. :-) -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the

[PATCH 0/6] ARM: S3C24XX: Cleanup mach-s3c2410, mach-s3c2412 and mach-s3c2440

2013-01-21 Thread Kukjin Kim
This is for cleanup mach-s3c2410, mach-s3c2412 and mach-s3c2440 directories. Basically, cpufreq driver in there should be implemented into drivers/cpufreq/ but I think, would be better if we could cleanup the mach- directories. arch/arm/Kconfig

[PATCH 1/6] ARM: S3C24XX: Move mach-s3c2410/ cpufreq into mach-s3c24xx/

2013-01-21 Thread Kukjin Kim
Basically, the cpufreq driver for s3c2410 should be implemented into drivers/cpufreq, but we don't need to keep the mach-s3c2410 directory. So this patch moves current cpufreq driver into mach-s3c24xx/. Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/Kconfig

[PATCH 2/6] ARM: S3C24XX: Move mach-s3c2410/ pll into mach-s3c24xx/

2013-01-21 Thread Kukjin Kim
This patch moves mach-s3c2410/pll into mach-s3c24xx/ and removes arch/arm/mach-s3c2410/ directory in kernel. Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/Kconfig | 13 - arch/arm/mach-s3c2410/Makefile| 13

[PATCH 3/6] ARM: S3C2412: Remove useless codes mach-s3c2412/gpio.c

2013-01-21 Thread Kukjin Kim
Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2412/gpio.c | 62 - arch/arm/mach-s3c24xx/include/mach/hardware.h |6 --- 2 files changed, 68 deletions(-) delete mode 100644 arch/arm/mach-s3c2412/gpio.c diff --git a/arch/arm/mach-s3c2412/gpio.c b/ar

[PATCH 4/6] ARM: S3C24XX: Move mach-s3c2412/ cpufreq driver into mach-s3c24xx/

2013-01-21 Thread Kukjin Kim
This patch moves mach-s3c2412/cpufreq driver into mach-s3c24xx/ and removes arch/arm/mach-s3c2412/ directory in kernel. Signed-off-by: Kukjin Kim --- arch/arm/Kconfig |1 - arch/arm/Makefile |2 +- arch/arm/

[PATCH 5/6] ARM: S3C24XX: Move mach-s3c2440/ cpufreq driver into mach-s3c24xx/

2013-01-21 Thread Kukjin Kim
Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2440/Kconfig |8 arch/arm/mach-s3c2440/Makefile |2 -- arch/arm/mach-s3c24xx/Kconfig |8 arch/arm/mach-s3c24xx/Makefile

[PATCH 6/6] ARM: S3C24XX: Move mach-s3c2440/ pll into mach-s3c24xx/

2013-01-21 Thread Kukjin Kim
This patch moves mach-s3c2440/pll into mach-s3c24xx/ and removes arch/arm/mach-s3c2440/ directory in kernel. Signed-off-by: Kukjin Kim --- arch/arm/Kconfig |3 -- arch/arm/Makefile |2 +- arch/arm/mach-s3c2440/Kconfig

RE: [PATCH 1/2] thermal: sysfs: Add a new sysfs node emul_temp

2013-01-21 Thread Kukjin Kim
amit kachhap wrote: > > Hi Rui, > > Thanks for the review comments, > On Tue, Jan 15, 2013 at 11:33 PM, Zhang Rui wrote: > > Hi, Amit, > > > > On Sun, 2013-01-06 at 16:08 -0800, Amit Daniel Kachhap wrote: > >> This patch adds support to set the emulated temperature method in > >> thermal zone (s

RE: [PATCH V2 0/3] thermal: Add support for interrupt based notification to thermal layer

2013-01-21 Thread Kukjin Kim
Amit Daniel Kachhap wrote: > > On Mon, Nov 26, 2012 at 5:47 AM, Amit Daniel Kachhap > > wrote: > >> Changes since V1: Used the new thermal trend type macro > >> > >> The patch submitted by Jonghwa Lee > (https://patchwork.kernel.org/patch/1683441/) > >> adds support for interrupt based notificati

[PATCH] ARM: dts: specify all the per-cpu interrupts of arch timer for exynos5440

2013-01-21 Thread Kukjin Kim
From: Thomas Abraham Need to be changed requirements in the 'cpus' node for exynos5440 to specify all the per-cpu interrupts of arch timer. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/boot/dts/exynos5440.dtsi | 20 1 file changed, 16 insertions(

Re: [PATCH 1/2] thermal: sysfs: Add a new sysfs node emul_temp

2013-01-21 Thread Zhang Rui
On Wed, 2013-01-16 at 11:30 -0800, amit kachhap wrote: > Hi Rui, > > Thanks for the review comments, > On Tue, Jan 15, 2013 at 11:33 PM, Zhang Rui wrote: > > Hi, Amit, > > > > On Sun, 2013-01-06 at 16:08 -0800, Amit Daniel Kachhap wrote: > >> This patch adds support to set the emulated temperatur

[PATCH v2] ARM: plat-samsung: using vsnprintf instead of vsprintf for the limit buffer length 256

2013-01-21 Thread Chen Gang
the buff is 256 limited, so need use vsnprintf instead of vsprintf Signed-off-by: Chen Gang Cc: Ben Dooks --- arch/arm/plat-samsung/pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 1507028..d896add 10064

RE: [PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-01-21 Thread Kukjin Kim
Felipe Balbi wrote: > > On Fri, Jan 18, 2013 at 03:10:13PM +0200, Felipe Balbi wrote: > > Hi, > > > > On Tue, Dec 18, 2012 at 09:09:40PM +0530, Vivek Gautam wrote: > > > This patch-set enables the samsung-usbphy driver on exynos5250, > > > which enables the support for USB2 type and USB3 type phys

RE: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-21 Thread Kukjin Kim
Vivek Gautam wrote: > > Changes from v5: > - Rebased on top of latest patches: > usb: phy: samsung: Introducing usb phy driver for hsotg (v9) > usb: phy: samsung: Add support to set pmu isolation (v6) >As a result adding hostphy enable mask and hostphy register offsets >to

RE: [PATCH 0/2] usb: exynos: Fix compatible strings used for device

2013-01-21 Thread Kukjin Kim
Sylwester Nawrocki wrote: > > On 12/24/2012 09:13 AM, Vivek Gautam wrote: > These two changes look good to me. For both of them: > > Reviewed-by: Doug Anderson > >>> > >>> Well, I have another idea. Yes, I know, specific chip name should be used. > >> But > >>> you know the specifi

Re: [PATCH 0/2] usb: exynos: Fix compatible strings used for device

2013-01-21 Thread Vivek Gautam
Hi Kukjin, On Tue, Jan 22, 2013 at 11:05 AM, Kukjin Kim wrote: > Sylwester Nawrocki wrote: >> >> On 12/24/2012 09:13 AM, Vivek Gautam wrote: >> These two changes look good to me. For both of them: >> >> Reviewed-by: Doug Anderson >> >>> >> >>> Well, I have another idea. Yes, I kn

Re: [PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-01-21 Thread Vivek Gautam
Hi Kukjin, On Tue, Jan 22, 2013 at 10:36 AM, Kukjin Kim wrote: > Felipe Balbi wrote: >> >> On Fri, Jan 18, 2013 at 03:10:13PM +0200, Felipe Balbi wrote: >> > Hi, >> > >> > On Tue, Dec 18, 2012 at 09:09:40PM +0530, Vivek Gautam wrote: >> > > This patch-set enables the samsung-usbphy driver on exy