[PATCH 1/2] i2c: exynos5: add High Speed I2C controller driver

2012-12-25 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Signed-off-by: Taekgyun Ko taeggyun...@samsung.com Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes

[PATCH 2/2] i2c-exynos5: add debugfs support for registers

2012-12-25 Thread Naveen Krishna Chatradhi
This patch replaces the dev_vdbg with debugfs function calls in i2c-exynos5.c driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1: The debugfs implementation is a suggestion by Felipe Balbi. Its not tested, Implemented only for review purpose..

[PATCH v6 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-12-25 Thread Cho KyongHo
notice: v6 patch-set is rebased on next/iommu-exynos branch of linux-samsung.git. This patch-set does not include 2 patches (05 and 06 patches in v5 patch-se) because they alread exist already in the branch. The current exynos-iommu(System MMU) driver does not work autonomously since it is lack

[PATCH v6 01/12] iommu/exynos: add missing cache flush for removed pagetable entries

2012-12-25 Thread Cho KyongHo
This commit adds cache flush for removed small page and large page entries in exynos_iommu_unmap(). Missing cache flush of removed page table entries can cause missing page fault interrupt when a master IP accesses an unmapped area. Signed-off-by: KyongHo Cho pullip@samsung.com ---

[PATCH v6 03/12] iommu/exynos: allocate lv2 page table from own slab

2012-12-25 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. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 24 1 file

[PATCH v6 05/12] iommu/exynos: support for device tree

2012-12-25 Thread Cho KyongHo
This commit adds device tree support for System MMU. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/Kconfig| 2 +- drivers/iommu/exynos-iommu.c | 282 ++- 2 files changed, 174 insertions(+), 110 deletions(-) diff --git

[PATCH v6 08/12] iommu/exynos: add support for runtime pm and suspend/resume

2012-12-25 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. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 176

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

2012-12-25 Thread Cho KyongHo
This commit adds System MMU name to the driver data of each System MMU. It is used by fault information. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 72 1 file changed, 59 insertions(+), 13 deletions(-) diff

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

2012-12-25 Thread Cho KyongHo
This commit adds debugfs directory and nodes for inspecting internal state of System MMU. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 204 +-- 1 file changed, 198 insertions(+), 6 deletions(-) diff --git

[PATCH v6 10/12] iommu/exynos: pass version information from DT

2012-12-25 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 v6 06/12] iommu/exynos: set System MMU as the parent of client device

2012-12-25 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 v6 09/12] iommu/exynos: add support for System MMU 3.2 and 3.3

2012-12-25 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 v6 07/12] ARM: EXYNOS: remove system mmu initialization from exynos tree

2012-12-25 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 |

[PATCH v6 02/12] iommu/exynos: always use iommu fault handler

2012-12-25 Thread Cho KyongHo
This commit removes fault handler definition only for exynos-iommu driver. Instead, always call iommu fault handler when a fault is generated by a System MMU. Every new iommu_domain will have a default fault handler and it can be overridden with iommu_set_fault_handler(). The default fault handler

[PATCH v6 04/12] iommu/exynos: change rwlock to spinlock

2012-12-25 Thread Cho KyongHo
Since acquiring read_lock is not more frequent than write_lock, it is not beneficial to use rwlock, this commit changes rwlock to spinlock. Signed-off-by: KyongHo Cho pullip@samsung.com --- drivers/iommu/exynos-iommu.c | 28 ++-- 1 file changed, 14 insertions(+), 14

[PATCH] video: drm: exynos: mie bypass enable for fimd

2012-12-25 Thread Leela Krishna Amudala
Bypasses the mie for fimd by parsing the register and bit offset values from mie-bypass node, if mie-bypass node is present in the dts file. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 55 1 file

[PATCH RESEND] ARM: EXYNOS: change the name of USB ohci header

2012-12-25 Thread Jingoo Han
This patch changes the name of USB ohci header from 'usb-exynos.h' to 'usb-ohci-exynos.h'. This is because this header file has the platdata for only Exynos ohci. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/mach-exynos/dev-ohci.c|2 +-