[PATCH 4/7] ARM: GIC: move gic_chip_data structure declaration to header

2011-06-20 Thread Changhwan Youn
Since Samsung EXYNOS4210 cannot support register banking in GIC, so needs to update CPU interface base address. The 'gic_chip_data' is used for it, this patch moves gic_chip_data structure declaraton to arch/arm/include/asm/hardware/gic.h to use it. Cc: Russell King rmk+ker...@arm.linux.org.uk

[PATCH 0/7] ARM: EXYNOS4: Adds External GIC

2011-06-20 Thread Changhwan Youn
This patch adds implementation External GIC on EXYNOS4 SoC. Note: need to update timer codes for supporting old type of EXYNOS4 SoCs. [PATCH 1/7] ARM: EXYNOS4: Add external GIC io memory mapping [PATCH 2/7] ARM: EXYNOS4: modify interrupt mappings for external GIC [PATCH 3/7] ARM: EXYNOS4: set

[PATCH 2/7] ARM: EXYNOS4: modify interrupt mappings for external GIC

2011-06-20 Thread Changhwan Youn
To support external GIC needs to update mapping of interrupt number. This patch modifies it for external GIC and accordingly removes the unused code. Signed-off-by: Changhwan Youn chaos.y...@samsung.com --- arch/arm/mach-exynos4/cpu.c |8 --

[PATCH 5/7] ARM: EXYNOS4: Add support external GIC

2011-06-20 Thread Changhwan Youn
For full support of power modes, this patch adds implementation external GIC on EXYNOS4. External GIC of Exynos4 cannot support register banking so several interrupt related code for CPU1 should be different from that of CPU0. Signed-off-by: Changhwan Youn chaos.y...@samsung.com ---

[PATCH 6/7] ARM: EXYNOS4: Remove clock event timers using ARM private timers

2011-06-20 Thread Changhwan Youn
External GIC cannot support PPI (Private Peripheral Interrupt) for ARM private timers. Thus MCT should be selected as clock event timers by default. Signed-off-by: Changhwan Youn chaos.y...@samsung.com --- arch/arm/mach-exynos4/Kconfig|3 +- arch/arm/mach-exynos4/Makefile

[PATCH] mmc: dw_mmc: protect a sequence of request and request-done.

2011-06-20 Thread Seungwon Jeon
Response timeout(RTO), Response crc error(RCRC) and Response error(RE) signals come with command done(CD) and can be raised preceding command done(CD). That is these error interrupts and CD can be handled in separate dw_mci_interrupt(). If mmc_request_done() is called because of response timeout

[PATCH] mmc: dw_mmc: set the card_width bit per card.

2011-06-20 Thread Seungwon Jeon
This patch sets the card_width bit of CTYPE for the corresponding card. CTYPE[31] and CTYPE[16] correspond respectively to card[15] and card[0] for 8-bit mode. And CTYPE[15] and CTYPE[0] correspond respectively to card[15] and CTYPE[0] for 1-bit or 4-bit mode. Signed-off-by: Seungwon Jeon

Re: [PATCH] mmc: dw_mmc: protect a sequence of request and request-done.

2011-06-20 Thread Will Newton
On Mon, Jun 20, 2011 at 9:24 AM, Seungwon Jeon tgih@samsung.com wrote: Response timeout(RTO), Response crc error(RCRC) and Response error(RE) signals come with command done(CD) and can be raised preceding command done(CD). That is these error interrupts and CD can be handled in separate

Re: [PATCH] mmc: dw_mmc: set the card_width bit per card.

2011-06-20 Thread Will Newton
On Mon, Jun 20, 2011 at 9:23 AM, Seungwon Jeon tgih@samsung.com wrote: This patch sets the card_width bit of CTYPE for the corresponding card. CTYPE[31] and CTYPE[16] correspond respectively to card[15] and card[0] for 8-bit mode. And CTYPE[15] and CTYPE[0] correspond respectively to

Re: [PATCH v2 1/5] ARM: EXYNOS4: Change clock name for FIMD

2011-06-20 Thread Sylwester Nawrocki
Hi JinGoo, On 06/20/2011 09:14 AM, JinGoo Han wrote: Hi, Sylwester Nawrocki. I appreciate your review and suggestion. Please, refer to the LCD contoller clock table as follows: ok, thanks for the update. - s3c2440 uses 's3c2410fb.c', not 's3c-fb.c' since LCD controller IP is

Re: [PATCH v2 1/5] ARM: EXYNOS4: Change clock name for FIMD

2011-06-20 Thread daeinki
Hi, Mr. Han and Sylwester. below is my opinion. JinGoo Han 쓴 글: Hi, Sylwester Nawrocki. I appreciate your review and suggestion. Please, refer to the LCD contoller clock table as follows: - s3c2440 uses 's3c2410fb.c', not 's3c-fb.c' since LCD controller IP is different. However,

[PATCH 0/6] Add basic device tree support for Samsung's Exynos4 platform

2011-06-20 Thread Thomas Abraham
This patch series adds a basic device tree based boot for Samsung's Exynos4 platforms and specifically for smdkv310 board. Device tree based driver probe is added for uart, sdhci and watchdog drivers. These patches enable booting to console on smdkv310 board with some of the devices initialized

[PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data

2011-06-20 Thread Thomas Abraham
The driver depends on pdev-dev.platform_data to retrive information about the platform data even after the initialization. To add device tree support, this has to be changed in way that the platform data is avialable from driver's private data. This patch adds support for keeping a copy of the

[PATCH 4/6] mmc: sdhci-s3c: Add support for device tree based probe

2011-06-20 Thread Thomas Abraham
Add of_match_table to enable sdhci-s3c driver to be probed when a compatible sdhci device node is found in device tree. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- This is temporary patch. sdhci-s3c driver has to be moved to sdhci-pltfm based driver. drivers/mmc/host/sdhci-s3c.c

[PATCH 5/6] arm: dts: Add nodes in smdkv310 device tree source file

2011-06-20 Thread Thomas Abraham
Include device tree nodes for watchdog timer, sdhci instance 0 and 1, and uart instances 0 to 3. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4-smdkv310.dts | 135 +++- 1 files changed, 133 insertions(+), 2 deletions(-) diff

[PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine

2011-06-20 Thread Thomas Abraham
Basic Exynos4 machine with device tree support that can boot on a Exynos4 based smdkv310 board and bring up the console. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- Documentation/devicetree/bindings/arm/samsung.txt |3 +- arch/arm/mach-exynos4/Kconfig |

[PATCH 1/3] ARM: S5P64X0: Add HSMMC setup for host Controller

2011-06-20 Thread Rajeshwari Shinde
From: rajeshwari.s rajeshwar...@samsung.com Adds support for HSMMC for S5P64X0 platform, performs setup for host controller and related GPIO. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari.S rajeshwar...@samsung.com --- arch/arm/mach-s5p64x0/Kconfig|

[PATCH 3/3] ARM: S5P64X0: Enable SDHCI support

2011-06-20 Thread Rajeshwari Shinde
From: rajeshwari.s rajeshwar...@samsung.com Enables SDHCI supports for S5P6440 and S5P6450. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari.S rajeshwar...@samsung.com --- arch/arm/mach-s5p64x0/mach-smdk6440.c | 27 +++

[PATCH 2/3] ARM: S5P64X0: Initialize default SDHCI devices and platform data

2011-06-20 Thread Rajeshwari Shinde
From: rajeshwari.s rajeshwar...@samsung.com Adds initialization of the default sdhci devices and platform data for S5P6440 and S5P6450. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari.S rajeshwar...@samsung.com --- arch/arm/mach-s5p64x0/cpu.c|

Re: [PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data

2011-06-20 Thread Grant Likely
On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham thomas.abra...@linaro.org wrote: The driver depends on pdev-dev.platform_data to retrive information about the platform data even after the initialization. To add device tree support, this has to be changed in way that the platform data is

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-20 Thread Grant Likely
On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham thomas.abra...@linaro.org wrote: For device tree based probe, the dependecy on pdev-id to attach a corresponding default port info to the driver's private data is removed. The fifosize parameter is obtained from the device tree node and the next

Re: [PATCH 4/6] mmc: sdhci-s3c: Add support for device tree based probe

2011-06-20 Thread Grant Likely
On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Add of_match_table to enable sdhci-s3c driver to be probed when a compatible sdhci device node is found in device tree. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- This is temporary patch.

Re: [PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine

2011-06-20 Thread Grant Likely
On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Basic Exynos4 machine with device tree support that can boot on a Exynos4 based smdkv310 board and bring up the console. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  

Re: [PATCH] mmc: dw_mmc: protect a sequence of request and request-done.

2011-06-20 Thread Chris Ball
Hi, On Mon, Jun 20 2011, Will Newton wrote: On Mon, Jun 20, 2011 at 9:24 AM, Seungwon Jeon tgih@samsung.com wrote: Response timeout(RTO), Response crc error(RCRC) and Response error(RE) signals come with command done(CD) and can be raised preceding command done(CD). That is these error

Re: [PATCH v2 1/5] ARM: EXYNOS4: Change clock name for FIMD

2011-06-20 Thread Sylwester Nawrocki
Hi Inki On 06/20/2011 12:09 PM, daeinki wrote: Hi, Mr. Han and Sylwester. below is my opinion. JinGoo Han 쓴 글: ... Please, refer to the LCD contoller clock table as follows: - s3c2440 uses 's3c2410fb.c', not 's3c-fb.c' since LCD controller IP is different. However, s3c2443 uses

Re: [PATCH 0/7] ARM: EXYNOS4: Adds External GIC

2011-06-20 Thread Kyungmin Park
Hi, There are some boards which use the EVT0 chip. some SMDKV310 and Universal-C210. With this changes, it can't use these boards. Do you want to remove EVT0 based boards? Thank you, Kyungmin Park On Mon, Jun 20, 2011 at 4:34 PM, Changhwan Youn chaos.y...@samsung.com wrote: This patch adds

Re: [PATCH v2 1/5] ARM: EXYNOS4: Change clock name for FIMD

2011-06-20 Thread daeinki
Hi Sylwester You are right, no problem if clkdev is used instead of plat-samsung/clock.c. I didn't aware of recently trend.(I couldn't afford to having interest in open source) and I will look over clkdev feature Thomas introduced. Thank you. Sylwester Nawrocki 쓴 글: Hi Inki On 06/20/2011

[PATCH v2 2/5] Samsung SoC ADC: Channel selection for S5PV210, S5PC110, and Exynos4

2011-06-20 Thread MyungJoo Ham
In S5PV210/S5PC110/Exynos4, ADCMUX channel selection uses ADCMUX register, not ADCCON register. This patch corrects the behavior of Samsung-ADC for such cpus. Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com -- v2: No changes from v1.

[PATCH v2 0/5] Update Samsung-SoC ADC (regulator / recent CPU support)

2011-06-20 Thread MyungJoo Ham
Patch 1/5: Add regulator support in ADC driver. If CONFIG_REGULATOR is enabled, vdd regulator for the ADC driver (e.g., s5p-adc) should exist for the adc driver. Patch 2/5: Channel selection method for S5PC110 and Exynos4 Recent Samsung SoCs have different register

[PATCH v2 3/5] ARM: Exynos4: Support ADC

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com -- v2: No changes from v1. Resubmitted as a series of patches --- arch/arm/mach-exynos4/Kconfig |1 + arch/arm/mach-exynos4/cpu.c |4

[PATCH v2 4/5] ARM: S5PC110/S5PV210: Support ADC

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com -- v2: No changes from v1. Resubmitted as a series of patches --- arch/arm/mach-s5pv210/cpu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2 5/5] Samsung SoC: header file revised to prevent declaring duplicated.

2011-06-20 Thread MyungJoo Ham
There has been no #ifndef - #define - #endif protection for this header file. To compile EXYNOS4 with adc support without compiler errors, this patch is essential. Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com -- v2: No changes from

[PATCH v2 1/5] Samsung SoC ADC: use regulator (VDD for ADC).

2011-06-20 Thread MyungJoo Ham
This patch allows the Samsung ADC driver to enable VDD regulator at probe and resume and to disable at exit and suspend. In a platform where ADC's VDD regulator is not always-on, this control is required although this patch does not provide fine-grained power control (turning on the regulator only

[PATCH v2 1/4] Exynos4 NURI: configure regulators and PMIC

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com -- Changes from v1. Thanks so much for your valuable comments, Mark. - Removed unnecessary initialization data - Add __initdata where necessary - Corrected a regulator name for ADC ---

[PATCH v2 4/4] Exynos4 NURI: support for NTC thermistor

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com --- arch/arm/mach-exynos4/mach-nuri.c | 46 + 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-nuri.c b/arch/arm/mach-exynos4/mach-nuri.c index 51f55b4..dc6fc36

[PATCH v2 3/4] Exynos4 NURI: configure ADC.

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/mach-nuri.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-nuri.c b/arch/arm/mach-exynos4/mach-nuri.c index

[PATCH v2 2/4] Exynos4 NURI: configure MAX17042 fuel gauge

2011-06-20 Thread MyungJoo Ham
Signed-off-by: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/mach-nuri.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-nuri.c

Re: Re: [PATCH v2 5/5] ARM: EXYNOS4: Add platform data for EXYNOS4 FIMD and LTE480WV platform-lcd

2011-06-20 Thread JinGoo Han
Hi, Tushar Behera. -Original Message- From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- ow...@vger.kernel.org] On Behalf Of Tushar Behera Sent: Tuesday, June 21, 2011 12:47 PM To: Jingoo Han Cc: Kukjin Kim; Paul Mundt; linux-samsung-soc@vger.kernel.org;

Re: Re: [PATCH v2 1/5] ARM: EXYNOS4: Change clock name for FIMD

2011-06-20 Thread JinGoo Han
-Original Message- From: Sylwester Nawrocki [mailto:s.nawro...@samsung.com] Sent: Monday, June 20, 2011 6:48 PM To: jg1@samsung.com Cc: Sylwester Nawrocki; Kukjin Kim; Paul Mundt; linux-samsung- s...@vger.kernel.org; Jong-Hun Han; ANAND KUMAR N; THOMAS P ABRAHAM; Marek

[PATCH] ARM: EXYNOS4: Fix secondary CPU boot after wake-up

2011-06-20 Thread Inderpal Singh
1. After wake-up, the system-wide flags register loses its value. Hence, write the address of secondary startup function to successfully boot the secondary CPU. 2. Changes SGI1 to SGI0 for secondary CPU boot up Signed-off-by: Inderpal Singh inderpa...@samsung.com --- 1. The below patch is