Re: [PATCH 3/4] i2c-s3c2410: use exponential back off while polling for bus idle

2012-11-20 Thread Daniel Kurtz
Hi Mark, On Tue, Nov 20, 2012 at 12:49 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Nov 15, 2012 at 05:43:32PM +0530, Naveen Krishna Chatradhi wrote: + iicstat = readl(i2c-regs + S3C2410_IICSTAT); + delay = 1; + while ((iicstat S3C2410_IICSTAT_START)

RE: [PATCH] ARM: dts: exynos4: Use drive strength 3 for SD pins

2012-11-20 Thread Kukjin Kim
Tomasz Figa wrote: This patch modifies pin control groups of SD pins on Exynos4210 and Exynos4x12 to use drive strength 3, which corresponds to S5P_GPIO_DRVSTR_LV4 in legacy non-DT code. Well, the value of drive strength depends on board not SoC. So if required, it should be moved to board

RE: [PATCH] ARM: EXYNOS: Remove unused variables

2012-11-20 Thread Kukjin Kim
Tushar Behera wrote: On 11/20/2012 10:33 AM, Tushar Behera wrote: Fixes following compilation warnings. arch/arm/mach-exynos/common.c: In function 'exynos5_init_irq': arch/arm/mach-exynos/common.c:661:6: warning: unused variable 'irq' [-Wunused-variable]

RE: [PATCH 0/5] ARM: dts: exynos4210-trats: Device tree extension

2012-11-20 Thread Kukjin Kim
Tomasz Figa wrote: This patch series extends device tree support for Trats board. It adds support for pinctrl, GPIO keys and touchscreen to Trats dts file. Tested on Trats board. Depends on: [PATCH] i2c: i2c-s3c2410: Add support for pinctrl [PATCH v2 0/2] mmc: host: sdhci-s3c: Add

Re: [PATCH 119/493] usb: remove use of __devexit_p

2012-11-20 Thread Nicolas Ferre
On 11/19/2012 07:21 PM, Bill Pemberton : CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton wf...@virginia.edu Cc: Peter Korsgaard jac...@sunsite.dk Cc: Alexander Shishkin alexander.shish...@linux.intel.com Cc: Felipe Balbi

Re: [PATCH] mmc: dw_mmc: enable controller interrupt before calling mmc_start_host

2012-11-20 Thread James Hogan
Hi Yuvaraj, On 20/11/12 05:35, Yuvaraj Kumar wrote: Its not sufficient.In my case, sdio_reset command was submitted to dw_mmc controller before interrupts are enabled. By looking at your log,it seems something wrong with frequency set by your U-boot. I'm not using U-boot, I'm booting with

RE: [PATCH] ARM: Exynos5: Remove i2c0 resource information and setting of device names

2012-11-20 Thread Kukjin Kim
Thomas Abraham wrote: All Exynos5 based platforms support only device tree based boot and so the unused non-dt code that sets i2c0 resource information and device names for sdhci and i2c platform devices are removed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---

RE: [PATCH] ARM: dts: exynos4: Use drive strength 3 for SD pins

2012-11-20 Thread Kukjin Kim
Tomasz Figa wrote: Hi Kgene, On Tuesday 20 of November 2012 18:18:44 Kukjin Kim wrote: Tomasz Figa wrote: This patch modifies pin control groups of SD pins on Exynos4210 and Exynos4x12 to use drive strength 3, which corresponds to S5P_GPIO_DRVSTR_LV4 in legacy non-DT code.

RE: [PATCH] ARM: S3C2443: SPI clock channel setup is fixed

2012-11-20 Thread Kukjin Kim
Alexander Varnin wrote: Actually, SPI channel 0 on 2443 is mapped to HS SPI controller, and to enable s3c2410-spi controller, we should power on channel 1 in PCLKCON. There is no channel 0 SPI on s3c2443, so delete its clock. Signed-off-by: Alexander Varnin fenix...@mail.ru Reviewed-by:

RE: [PATCH 00/10] ARM: S3C24XX: rework irq handling for a later dt usage

2012-11-20 Thread Kukjin Kim
Heiko Stübner wrote: All S3C24XX arches share the same interrupt registers and basic handling principles but the individual interrupts differ quite a lot between all the arches. This series therefore tries to unify this a bit by abstracting the irq handling and enabling the arches to

RE: [PATCH] ARM: dts: exynos4210-trats: Remove broken-voltage property from sdhci node

2012-11-20 Thread Kukjin Kim
Tomasz Figa wrote: The broken voltage property has been replaced with auto detection based on voltages available on vmmc voltage regulator, so there is no use for it now. This patch removes the now unused property from Trats Device Tree sources. Signed-off-by: Tomasz Figa

RE: [PATCH 2/4] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC

2012-11-20 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: From: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Subject: [PATCH v2] ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC Commit 8214513 (ARM: EXYNOS: fix address for EXYNOS4 MDMA1) changed EXYNOS specific setup of PL330 DMA engine to use

RE: [PATCH] ARM: SAMSUNG: use devm_ functions for ADC driver

2012-11-20 Thread Kukjin Kim
Eunki Kim wrote: This patch uses devm_* functions for probe function in ADC driver. It reduces code size and simplifies the code. Signed-off-by: Eunki Kim eunki_...@samsung.com --- arch/arm/plat-samsung/adc.c | 48 +++ --- 1 files changed, 13

RE: [PATCH v2 1/6] ARM: EXYNOS5: Clock settings for SATA and SATA PHY

2012-11-20 Thread Kukjin Kim
Kukjin Kim wrote: Vasanth Ananthan wrote: This patch adds neccessary clock entries for SATA, SATA PHY and I2C_SATAPHY Signed-off-by: Vasanth Ananthan vasant...@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c | 21 ++--- 1 files changed, 18 insertions(+),

RE: [PATCH v2 2/6] ARM: EXYNOS5: DT Support for SATA and SATA PHY

2012-11-20 Thread Kukjin Kim
Kukjin Kim wrote: Vasanth Ananthan wrote: This patch adds Device Nodes for SATA and SATA PHY device. [...] @@ -188,6 +188,9 @@ #define EXYNOS4_PA_SATA0x1256 #define EXYNOS4_PA_SATAPHY 0x125D #define EXYNOS4_PA_SATAPHY_CTRL

Re: [PATCH 119/493] usb: remove use of __devexit_p

2012-11-20 Thread Peter Korsgaard
Nicolas == Nicolas Ferre nicolas.fe...@atmel.com writes: Nicolas On 11/19/2012 07:21 PM, Bill Pemberton : CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton wf...@virginia.edu Cc: Peter Korsgaard jac...@sunsite.dk Cc:

[GIT PULL] Samsung fixes-3 for v3.7

2012-11-20 Thread Kukjin Kim
Hi Arnd, Olof Here is Samsung fixes for v3.7 and it is for fixing of mdma1 address for exynos4210 rev0 SoC. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git v3.7-samsung-fixes-3 Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior

[GIT PULL 1/7] Samsung cleanup for v3.8

2012-11-20 Thread Kukjin Kim
Hi Arnd, Olof Please pull Samsung cleanup for v3.8 from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next/cleanup-samsung-2 Most of them are just removing patches, if any problems, please let me know. Thanks. Best regards, Kgene. -- Kukjin Kim

[GIT PULL 2/7] Samsung hdmi for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof, This is for adding support for DT based exynos5250 hdmi and it adds device node for hdmi, mixer, hdmiphy and hdmiddc. Please pull Samsung hdmi for v3.8 from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next/hdmi-samsung Thanks. Best regards, Kgene. --

[GIT PULL 3/7] Samsung gpio for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof, This is for Samsung gpio stuff and got the ack from Linus Walleij. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next/gpio-samsung If any problems, please kindly let me know. Thanks. Best regards, Kgene. -- Kukjin Kim

[GIT PULL 4/7] Samsung pinctrl for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof Here is Samsung pinctrl stuff and most of them are from Linus' pinctrl/samsung which has been dropped in his tree. Because Samsung Exynos4x12 stuff which is in Samsung tree depends on some patches of pinctrl/samsung so I and Linus decided that I handle pinctrl/samsung in Samsung

[GIT PULL 5/7] Samsung DT for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof Here is Samsung DT for v3.8 and this is including DT for EXYNOS4X12 SoC, SMDK4412 board, pinctrl for exynos4x12, TMU, MFC, SATA and SATA PHY. As I commented on [4/7], this branch merged pinctrl/samsung to support pinctrl for exynos4x12 without useless merge conflicts. Please

[GIT PULL 6/7] Samsung devel for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof, Here is for other Samsung devel for v3.8. This includes supporting legacy i2c controller and ARM down clock support for exynos5 and small changes. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next/devel-samsung If any problems, please

[GIT PULL 7/7] Samsung boards update for v3.8

2012-11-20 Thread Kukjin Kim
Arnd, Olof Here is Samsung boards update for v3.8 and most of them are updates for S3C64XX Cragganmore board. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next/board-samsung Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior

Re: [PATCH 270/493] arm: remove use of __devinit

2012-11-20 Thread David Brown
On Mon, Nov 19, 2012 at 01:23:39PM -0500, Bill Pemberton wrote: CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton wf...@virginia.edu --- arch/arm/mach-msm/proc_comm.c| 2 +- arch/arm/mach-msm/smd.c

[PATCH 1/2] ARM: dts: exynos: Move the dwmmc aliases from smdk5250 dts to exynos

2012-11-20 Thread Doug Anderson
The aliases for dwmmc were placed in the SMDK5250 dts file but really should be common for all exynos5250 boards. Move it to the common CPU file. Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 12

[PATCH 2/2] ARM: dts: snow: Add board dts file for Snow board (ARM Chromebook)

2012-11-20 Thread Doug Anderson
This dts file is based on the Snow dts file in the Chromium OS kernel tree with the following changes: * Some details have been updated to match the exynos5250-smdk5250.dts file from linux-next (as of c11068538994430547722dc9fb515a0ceefd5cb9). * This file doesn't include references to hardware

Re: [PATCH 032/493] arm: remove use of __devexit_p

2012-11-20 Thread Tony Lindgren
* Bill Pemberton wf...@virginia.edu [121119 10:29]: CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. For the arch/arm/*omap*/* touching patches: Acked-by: Tony Lindgren t...@atomide.com -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc

Re: [PATCH 2/2] ARM: dts: snow: Add board dts file for Snow board (ARM Chromebook)

2012-11-20 Thread Olof Johansson
On Tue, Nov 20, 2012 at 9:22 AM, Doug Anderson diand...@chromium.org wrote: This dts file is based on the Snow dts file in the Chromium OS kernel tree with the following changes: * Some details have been updated to match the exynos5250-smdk5250.dts file from linux-next (as of

Re: [PATCH 1/2] ARM: dts: exynos: Move the dwmmc aliases from smdk5250 dts to exynos

2012-11-20 Thread Olof Johansson
On Tue, Nov 20, 2012 at 9:22 AM, Doug Anderson diand...@chromium.org wrote: The aliases for dwmmc were placed in the SMDK5250 dts file but really should be common for all exynos5250 boards. Move it to the common CPU file. Signed-off-by: Doug Anderson diand...@chromium.org Acked-by: Olof

Re: [PATCH 159/493] usb: remove use of __devinit

2012-11-20 Thread Alan Stern
On Mon, 19 Nov 2012, Bill Pemberton wrote: CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton wf...@virginia.edu For all the __devinit* annotations and all the EHCI, OHCI, and UHCI drivers: Acked-by: Alan Stern

[PATCH] ARM: exynos: dt: add all i2c busses to auxdata

2012-11-20 Thread Doug Anderson
From: Olof Johansson o...@lixom.net Needed to match device ids for clocks, etc. Signed-off-by: Olof Johansson o...@lixom.net Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/mach-exynos/mach-exynos5-dt.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff

[PATCH 1/2] ARM: EXYNOS: Add aliases for i2c controller for exynos4

2012-11-20 Thread Doug Anderson
This is similar to a recent commit for exynos5250 titled: ARM: EXYNOS: Add aliases for i2c controller Adding aliases will be useful to prevent warnings in a future change. See: i2c: s3c2410: Get the i2c bus number from alias id Signed-off-by: Doug Anderson diand...@chromium.org ---

[PATCH] ARM: exynos: add UART3 to DEBUG_LL ports

2012-11-20 Thread Doug Anderson
From: Olof Johansson o...@lixom.net UART3 is used for debugging on exynos5250-snow. [dianders: cleaned commit message.] Signed-off-by: Olof Johansson o...@lixom.net Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/Kconfig.debug| 11 +++

RE: [PATCH 2/2] ARM: dts: snow: Add board dts file for Snow board (ARM Chromebook)

2012-11-20 Thread Kukjin Kim
Olof Johansson wrote: On Tue, Nov 20, 2012 at 9:22 AM, Doug Anderson diand...@chromium.org wrote: This dts file is based on the Snow dts file in the Chromium OS kernel tree with the following changes: * Some details have been updated to match the exynos5250-smdk5250.dts file from

[PATCH] S3C24XX: Fix console baud rate guessing

2012-11-20 Thread Domenico Andreoli
From: Domenico Andreoli domenico.andre...@linux.com On Wed, Nov 14, 2012 at 05:34:53PM +, Russell King - ARM Linux wrote: On Wed, Nov 14, 2012 at 10:23:55PM +0800, woody wrote: I just built a 3.2.x ARM kernel and tried to have it boot by a boot loader (vivi) on my s3c2410a ARM board.

[RESEND PATCH] S3C24XX: Fix console baud rate guessing

2012-11-20 Thread Domenico Andreoli
From: Domenico Andreoli domenico.andre...@linux.com Between v3.2 and v3.3 my S3C2440 board started to print garbage on the console during boot. I nailed the problem down to the default UCON clock selection, which with this commit has been switched from UCLK to PCLK. commit

Re: [PATCH] mmc: dw_mmc: enable controller interrupt before calling mmc_start_host

2012-11-20 Thread Jaehoon Chung
Hi All, Well, i didn't find the James's error message. But i confused about the clock value. Bus speed : 9984Hz request : 20Hz Div : 250 If bus_speed is divided with div, then actual value should be 399360Hz. But this log is produced 199680Hz. What's wrong? I think this message can

Re: [PATCH 1/1] ARM: S3C24XX: Fix potential NULL pointer dereference error

2012-11-20 Thread Sachin Kamat
Hi Kukjin, You seem to have ignored this patch before sending out your pull request. Can you please check this? Regards Sachin On 20 November 2012 10:28, Sachin Kamat sachin.ka...@linaro.org wrote: ping Kukjin. On 8 November 2012 14:31, Sachin Kamat sachin.ka...@linaro.org wrote: chan-end

Re: [PATCH 2/2] i2c: s3c2410: Get the i2c bus number from alias id

2012-11-20 Thread Mark Brown
On Tue, Nov 20, 2012 at 02:27:04PM -0800, Doug Anderson wrote: From: Padmavathi Venna padm...@samsung.com Get the i2c bus number that the device is connected to using the alias id. This makes debugging / grokking of kernel messages much easier. This doesn't look like a s3c2410 specific

[PATCH v3 01/12] ARM: EXYNOS: remove system mmu initialization from exynos tree

2012-11-20 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. Change-Id: Ie29f587c01c645f28fc0e0b94eb3631a0170ebf5 Signed-off-by: KyongHo Cho pullip@samsung.com --- arch/arm/mach-exynos/Kconfig

[PATCH v3 02/12] ARM: EXYNOS: Add clk_ops for gating clocks of System MMU

2012-11-20 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. Change-Id:

[PATCH v3 03/12] ARM: EXYNOS: add System MMU definition to DT

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

[PATCH v3 04/12] iommu/exynos: support for device tree

2012-11-20 Thread Cho KyongHo
This commit adds device tree support for System MMU. Change-Id: If695448af4bd7829ad1543814281dfa8ce1e7aae Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/Kconfig| 2 +- drivers/iommu/exynos-iommu.c | 289 ++- 2 files changed,

[PATCH v3 05/12] iommu/exynos: pass version information from DT

2012-11-20 Thread Cho KyongHo
System MMUs in some implementation of Exynos core does not include correct version information in the System MMU. If the version information is not correct, exynos-iommu driver cannot take advantages of feature of higher versions of System MMu like prefetching page table entries prior to TLB miss.

[PATCH v3 06/12] iommu/exynos: allocate lv2 page table from own slab

2012-11-20 Thread Cho KyongHo
Since kmalloc() does not guarantee the alignment of 1KB when it allocates 1KB, it is required to allocate lv2 page table from own slab that guarantees alignment of 1KB. Change-Id: Ia25642c7c0143d2c50a8ed5a3d0dd9067f324c4e Signed-off-by: KyongHo Cho pullip@samsung.com ---

[PATCH v3 08/12] iommu/exynos: set System MMU as the parent of client device

2012-11-20 Thread Cho KyongHo
This commit sets System MM as the parent of the client device for power management. If System MMU is the parent of a device, it is guaranteed that System MMU is suspended later than the device and resumed earlier. Runtime suspend/resume on the device is also propagated to the System MMU. If a

[PATCH v3 10/12] iommu/exynos: add support for System MMU 3.2 and 3.3

2012-11-20 Thread Cho KyongHo
Since System MMU 3.2 and 3.3 have more prefetch buffers than 2, the existing function to set prefetch buffers, exynos_sysmmu_set_prefbuf() is not able to support them. This commit removes exynos_sysmmu_set_prefbuf() and introduces new interface, exynos_sysmmu_set_pbuf() that can pass information

[PATCH v3 11/12] iommu/exynos: add literal name of System MMU for debugging

2012-11-20 Thread Cho KyongHo
This commit adds System MMU name to the driver data of each System MMU. It is used by fault information. Change-Id: If6720b69609880873ebaf160188f1e726a67b806 Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 100 --- 1

[PATCH v3 09/12] iommu/exynos: add supoort for runtime pm and suspend/resume

2012-11-20 Thread Cho KyongHo
This change enables the client device drivers not to care about the state of System MMU since the internal state of System MMU is controlled by the runtime PM and suspend/resume callback functions. Change-Id: Ic04c8f259d8b8af2846175dd7b98dbc4e463c96e Signed-off-by: KyongHo Cho

[PATCH v3 12/12] iommu/exynos: add debugfs entries for System MMU

2012-11-20 Thread Cho KyongHo
This commit adds debugfs directory and nodes for inspecting internal state of System MMU. Change-Id: I4afcdd925609d381e7329ec118ffe52e38dc340e Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 204 +-- 1 file changed, 198

Re: [PATCH 1/2] ARM: EXYNOS: Add aliases for i2c controller for exynos4

2012-11-20 Thread Olof Johansson
On Tue, Nov 20, 2012 at 02:27:03PM -0800, Doug Anderson wrote: This is similar to a recent commit for exynos5250 titled: ARM: EXYNOS: Add aliases for i2c controller Adding aliases will be useful to prevent warnings in a future change. See: i2c: s3c2410: Get the i2c bus number from

Re: [PATCH] ARM: exynos: add UART3 to DEBUG_LL ports

2012-11-20 Thread Olof Johansson
On Tue, Nov 20, 2012 at 02:48:58PM -0800, Doug Anderson wrote: From: Olof Johansson o...@lixom.net UART3 is used for debugging on exynos5250-snow. [dianders: cleaned commit message.] Signed-off-by: Olof Johansson o...@lixom.net Signed-off-by: Doug Anderson diand...@chromium.org ---