]> xenbits.xensource.com Git - people/aperard/linux-arndale.git/log
people/aperard/linux-arndale.git
12 years agoadding .config. config
Anthony PERARD [Tue, 26 Feb 2013 17:57:40 +0000 (17:57 +0000)]
adding .config.

12 years agohvc: clear some status flags. xen-arndale xen-arndale
Anthony PERARD [Tue, 26 Feb 2013 17:57:02 +0000 (17:57 +0000)]
hvc: clear some status flags.

without this, the request_irq failed with -22 (hvc_open).

12 years agodts: xen and dom0 bootargs, hypervisor node.
Anthony PERARD [Tue, 26 Feb 2013 16:33:52 +0000 (16:33 +0000)]
dts: xen and dom0 bootargs, hypervisor node.

12 years agodts: add cpus node, with one cpu.
Anthony PERARD [Tue, 26 Feb 2013 16:32:47 +0000 (16:32 +0000)]
dts: add cpus node, with one cpu.

12 years agodisable uart3, just in case.
Anthony PERARD [Tue, 26 Feb 2013 16:32:19 +0000 (16:32 +0000)]
disable uart3, just in case.

12 years agoxen: introduce xen_remap, use it instead of ioremap
Stefano Stabellini [Tue, 19 Feb 2013 13:59:19 +0000 (13:59 +0000)]
xen: introduce xen_remap, use it instead of ioremap

ioremap can't be used to map ring pages on ARM because it uses device
memory caching attributes (MT_DEVICE*).

Introduce a Xen specific abstraction to map ring pages, called
xen_remap, that is defined as ioremap on x86 (no behavioral changes).
On ARM it explicitly calls __arm_ioremap with the right caching
attributes: MT_MEMORY.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
12 years agoxen: arm: implement remap interfaces needed for privcmd mappings.
Ian Campbell [Wed, 3 Oct 2012 15:37:09 +0000 (16:37 +0100)]
xen: arm: implement remap interfaces needed for privcmd mappings.

We use XENMEM_add_to_physmap_range which is the preferred interface
for foreign mappings.

Acked-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
12 years agoxen: correctly use xen_pfn_t in remap_domain_mfn_range.
Ian Campbell [Tue, 16 Oct 2012 16:19:15 +0000 (17:19 +0100)]
xen: correctly use xen_pfn_t in remap_domain_mfn_range.

For Xen on ARM a PFN is 64 bits so we need to use the appropriate
type here.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: include the necessary header,
Reported-by: Fengguang Wu <fengguang.wu@intel.com> ]
12 years agoxen: arm: enable balloon driver
Ian Campbell [Wed, 3 Oct 2012 11:28:26 +0000 (12:28 +0100)]
xen: arm: enable balloon driver

The code is now in a state where can just enable it.

Drop the *_xenballloned_pages duplicates since these are now supplied
by the balloon code.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Conflicts:
arch/arm/xen/enlighten.c
drivers/xen/Makefile

12 years agoxen: balloon: allow PVMMU interfaces to be compiled out
Ian Campbell [Wed, 3 Oct 2012 11:17:50 +0000 (12:17 +0100)]
xen: balloon: allow PVMMU interfaces to be compiled out

The ARM platform has no concept of PVMMU and therefor no
HYPERVISOR_update_va_mapping et al. Allow this code to be compiled out
when not required.

In some similar situations (e.g. P2M) we have defined dummy functions
to avoid this, however I think we can/should draw the line at dummying
out actual hypercalls.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
12 years agoxen: privcmd: support autotranslated physmap guests.
Mukesh Rathor [Thu, 18 Oct 2012 00:11:21 +0000 (17:11 -0700)]
xen: privcmd: support autotranslated physmap guests.

PVH and ARM only support the batch interface. To map a foreign page to
a process, the PFN must be allocated and the autotranslated path uses
ballooning for that purpose.

The returned PFN is then mapped to the foreign page.
xen_unmap_domain_mfn_range() is introduced to unmap these pages via the
privcmd close call.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
[v1: Fix up privcmd_close]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[v2: used for ARM too]

12 years agoxen: add pages parameter to xen_remap_domain_mfn_range
Ian Campbell [Wed, 17 Oct 2012 20:37:49 +0000 (13:37 -0700)]
xen: add pages parameter to xen_remap_domain_mfn_range

Also introduce xen_unmap_domain_mfn_range. These are the parts of
Mukesh's "xen/pvh: Implement MMU changes for PVH" which are also
needed as a baseline for ARM privcmd support.

The original patch was:

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This derivative is also:

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
12 years agoavoid initialazing the uart (zImage).
Anthony PERARD [Tue, 22 Jan 2013 16:53:37 +0000 (16:53 +0000)]
avoid initialazing the uart (zImage).

12 years agodts: exynos-xen: gic for xen.
Anthony PERARD [Tue, 22 Jan 2013 16:52:45 +0000 (16:52 +0000)]
dts: exynos-xen: gic for xen.

12 years agoARM: EXYNOS: Add Generic Arch Timer support
Anthony PERARD [Tue, 22 Jan 2013 15:30:55 +0000 (15:30 +0000)]
ARM: EXYNOS: Add Generic Arch Timer support

https://gerrit.chromium.org/gerrit/#/c/39175

12 years agoxenbus: Missing include for some ARM board.
Anthony PERARD [Wed, 9 Jan 2013 18:16:11 +0000 (18:16 +0000)]
xenbus: Missing include for some ARM board.

- missing on the chromebook (exynos5250)
- same for the arndale board

12 years agoUSB : CORE : changing usb disconnect message from dev_dbg to dev_info
Yuvaraj CD [Tue, 15 Jan 2013 10:29:27 +0000 (15:59 +0530)]
USB : CORE : changing usb disconnect message from dev_dbg to dev_info

12 years agoLinaro HW pack related patch
Rony Nandy [Mon, 14 Jan 2013 11:22:09 +0000 (16:52 +0530)]
Linaro HW pack related patch

12 years agoEnabled bus Freq Opp
Rony Nandy [Wed, 9 Jan 2013 11:24:34 +0000 (16:54 +0530)]
Enabled bus Freq Opp

12 years agoEXYNOS5250: Arndale busfreq-do-not-mainline Signed-off-by: rudrajit <rudra@ubuntu...
rudrajit [Wed, 9 Jan 2013 10:47:32 +0000 (16:17 +0530)]
EXYNOS5250: Arndale busfreq-do-not-mainline Signed-off-by: rudrajit <rudra@ubuntu.(none)>

12 years agoEnabled SATA,NUMA and Huge support in arndale defconfig
Vasanth Ananthan [Tue, 8 Jan 2013 10:12:50 +0000 (15:42 +0530)]
Enabled SATA,NUMA and Huge support in arndale defconfig

12 years agoDRIVERS: ATA: SATA PHY controller driver
Vasanth Ananthan [Thu, 27 Dec 2012 04:22:24 +0000 (09:52 +0530)]
DRIVERS: ATA: SATA PHY controller driver

This patch adds a platform driver and I2C client driver for SATA PHY controller

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoDRIVERS: ATA: SATA controller driver
Vasanth Ananthan [Thu, 3 Jan 2013 13:29:09 +0000 (18:59 +0530)]
DRIVERS: ATA: SATA controller driver

This patch adds a platform driver for SATA controller.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoDRIVERS:I2C: I2C driver polling mode support
Vasanth Ananthan [Tue, 8 Jan 2013 05:26:45 +0000 (10:56 +0530)]
DRIVERS:I2C: I2C driver polling mode support

This patch adds polling mode support for i2c s3c-2410 driver.
The I2C_SATAPHY controller lacks an interrupt line but the s3c-2410 driver
is interrupt driven. Hence this support is required for functioning
of the I2C_SATAPHY controller.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoDRIVERS: ATA: SATA PHY utility framework
Vasanth Ananthan [Tue, 30 Oct 2012 11:29:33 +0000 (12:29 +0100)]
DRIVERS: ATA: SATA PHY utility framework

This patch adds SATA PHY utility framework APIs. The framework acts as an
interface between the SATA device and the PHY device. The SATA PHY device
registers itself with the framework through the APIs provided and the SATA
device finds and requests for an appropriate PHY device.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoARM: EXYNOS5: DT Support for SATA and SATA PHY
Vasanth Ananthan [Wed, 26 Dec 2012 11:22:48 +0000 (16:52 +0530)]
ARM: EXYNOS5: DT Support for SATA and SATA PHY

This patch adds Device Nodes for SATA and SATA PHY device.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoARM: EXYNOS5: Clock settings for SATA and SATA PHY
Vasanth Ananthan [Tue, 30 Oct 2012 08:50:39 +0000 (09:50 +0100)]
ARM: EXYNOS5: Clock settings for SATA and SATA PHY

This patch adds neccessary clock entries for SATA, SATA PHY and
I2C_SATAPHY

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoFix for compiler error
Vasanth Ananthan [Thu, 3 Jan 2013 13:27:32 +0000 (18:57 +0530)]
Fix for compiler error

12 years agoTemp commit for arndale dts file
Amit Daniel Kachhap [Thu, 27 Dec 2012 10:14:07 +0000 (15:44 +0530)]
Temp commit for arndale dts file

12 years agoconfig: Add config for thermal, regulator and DVFS enablement
Amit Daniel Kachhap [Fri, 7 Dec 2012 08:50:20 +0000 (14:20 +0530)]
config: Add config for thermal, regulator and DVFS enablement

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agothermal: exynos: Use the new thermal trend type for quick cooling action.
Amit Daniel Kachhap [Fri, 23 Nov 2012 13:04:26 +0000 (18:34 +0530)]
thermal: exynos: Use the new thermal trend type for quick cooling action.

This patch uses the quick thermal cooling trend type macros. This is needed
as exynos5 and other thermal sensors now supports only interrupt method for
thresold temperature check.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
12 years agothermal: exynos: Miscellaneous fixes to support falling threshold interrupt
Amit Daniel Kachhap [Fri, 23 Nov 2012 13:08:09 +0000 (18:38 +0530)]
thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

Below fixes are done to support falling threshold interrupt,
* Falling interrupt status macro corrected according to exynos5 data sheet.
* The get trend function modified to calculate trip temperature correctly.
* The clearing of interrupt status in the isr is now done after handling
  the event that caused the interrupt.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
12 years agoThermal: exynos: Add support for temperature falling interrupt.
Amit Daniel Kachhap [Thu, 27 Dec 2012 10:00:57 +0000 (15:30 +0530)]
Thermal: exynos: Add support for temperature falling interrupt.

This patch introduces using temperature falling interrupt in exynos
thermal driver. Former patch, it only use polling way to check
whether if system themperature is fallen. However, exynos SOC also
provides temperature falling interrupt way to do same things by hw.
This feature is not supported in exynos4210.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoARM: exynos5: Add devicetree node for TMU driver
Amit Daniel Kachhap [Thu, 27 Dec 2012 09:35:22 +0000 (15:05 +0530)]
ARM: exynos5: Add devicetree node for TMU driver

This patch adds necessary source definations needed for TMU driver and
adds devicetree for exynos5250.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoregulator: add device tree support for s5m8767
Amit Daniel Kachhap [Mon, 7 Jan 2013 05:56:30 +0000 (11:26 +0530)]
regulator: add device tree support for s5m8767

Add device tree based discovery support for s5m8767

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoregulator: s5m8767: Fix the variable type according to return type.
Amit Daniel Kachhap [Fri, 7 Dec 2012 06:21:03 +0000 (11:51 +0530)]
regulator: s5m8767: Fix the variable type according to return type.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
12 years agoregulator: s5m8767: Fix to work even if no DVS gpio present
Amit Daniel Kachhap [Fri, 7 Dec 2012 06:17:12 +0000 (11:47 +0530)]
regulator: s5m8767: Fix to work even if no DVS gpio present

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoregulator: s5m8767: Fix to read the first DVS register.
Amit Daniel Kachhap [Fri, 7 Dec 2012 06:11:43 +0000 (11:41 +0530)]
regulator: s5m8767: Fix to read the first DVS register.

This patch modifies the DVS register read function to select correct DVS1
register. This change is required because the GPIO select pin is 000 in
unintialized state and hence selects the DVS1 register.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoregulator: s5m8767: Fix to work when platform registers less regulators
Amit Daniel Kachhap [Fri, 7 Dec 2012 06:07:26 +0000 (11:37 +0530)]
regulator: s5m8767: Fix to work when platform registers less regulators

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoexynos:exynos5: Change I2C interrupt to low speed mode
Amit Daniel Kachhap [Thu, 3 Jan 2013 12:21:11 +0000 (17:51 +0530)]
exynos:exynos5: Change I2C interrupt to low speed mode

By default the I2C controllers(0,1,2,3) are configured as high speed so resetting
them to low speed during bootup. As and when needed they can reconfigured again
to speed.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
12 years agoARM: dts: add max8997 device node for exynos4210-origen board
Thomas Abraham [Fri, 23 Nov 2012 09:53:32 +0000 (15:23 +0530)]
ARM: dts: add max8997 device node for exynos4210-origen board

Add max8997 regulator device node for exynos4210-origen board and list
all the supported regulators.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
12 years agoregulator: max8997: limit the number of dvs registers programmed in non-dvs mode
Thomas Abraham [Fri, 23 Nov 2012 08:03:14 +0000 (13:33 +0530)]
regulator: max8997: limit the number of dvs registers programmed in non-dvs mode

In case the gpio based volatage selection mode is not used for either of
buck 1/2/5, then only the BUCKxDVS1 register need to be programmed. So
determine whether dvs mode is used and limit the loop count appropriately.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
12 years agoregulator: max8997: reorder buck1/2/5 dvs setup code
Thomas Abraham [Fri, 23 Nov 2012 08:03:13 +0000 (13:33 +0530)]
regulator: max8997: reorder buck1/2/5 dvs setup code

The BUCKxDVSx register programming is now moved prior to setting up of the
gpio based dvs mode. This will ensure that all the BUCKxDVSx registers
are programmed with appropriate voltage values before the gpio based dvs
mode is selected for buck1/2/5.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
12 years agoregulator: remove use of __devexit
Bill Pemberton [Thu, 27 Dec 2012 08:58:06 +0000 (14:28 +0530)]
regulator: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
12 years agocommit
Amit Daniel Kachhap [Thu, 27 Dec 2012 08:49:27 +0000 (14:19 +0530)]
commit

12 years agoregulator: remove use of __devexit_p
Bill Pemberton [Thu, 27 Dec 2012 08:41:12 +0000 (14:11 +0530)]
regulator: remove use of __devexit_p

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
12 years agoFixed compiler Error
Vasanth Ananthan [Wed, 26 Dec 2012 09:34:18 +0000 (15:04 +0530)]
Fixed compiler Error

12 years agomach: exynos: Add dts file for Arndale based on exynos5250
Girish K S [Mon, 8 Oct 2012 04:32:56 +0000 (13:32 +0900)]
mach: exynos: Add dts file for Arndale based on exynos5250

Arndale is a low cost board based on the samsung exynos5250.
This patch adds dt support for the on board devices of arndale

Signed-off-by: Girish K S <ks.giri@samsung.com>
Conflicts:

arch/arm/mach-exynos/Makefile.boot

12 years agoEnabling PERF support
Vasanth Ananthan [Tue, 18 Dec 2012 12:28:17 +0000 (17:58 +0530)]
Enabling PERF support

This patch adds support to use perf

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
12 years agoARM: syscall: wire up sys_migrate_pages.
Steve Capper [Wed, 26 Dec 2012 06:28:58 +0000 (11:58 +0530)]
ARM: syscall: wire up sys_migrate_pages.

For NUMA support, the sys_migrate_pages syscall is required by
userspace. This patch allocates #379 for this syscall and plumbs
it in.

Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoRM: mm: Add NUMA support.
Steve Capper [Wed, 26 Dec 2012 05:42:13 +0000 (11:12 +0530)]
RM: mm: Add NUMA support.

This patch adds support for NUMA (running on either discontiguous
and sparse memory).

At the moment, the number of nodes has to be specified on the
commandline. One can also, optionally, specify the memory size of
each node. (Otherwise the memory range is split roughly equally
between nodes).

CPUs can be striped across nodes (cpu number modulo the number of
nodes), or assigned to a node based on their
topology_physical_package_id. So for instance on a TC2, the A7
cores can be grouped together in one node and the A15s grouped
together in another node.

Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: Add discontiguous memory support.
Steve Capper [Tue, 27 Nov 2012 11:49:22 +0000 (11:49 +0000)]
ARM: mm: Add discontiguous memory support.

This patch adds support for discontiguous memory, with a view to
each discontiguous block being assigned to a NUMA node (in a future
patch).

Discontiguous memory should only be used to back NUMA on systems
where sparse memory is not available.

Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: Consider memblocks in mem_init and show_mem.
Steve Capper [Thu, 29 Nov 2012 15:14:14 +0000 (15:14 +0000)]
ARM: Consider memblocks in mem_init and show_mem.

This is based on Michael Spang's patch [1]; and is my attempt at
applying the feedback from Russell [2].

With discontiguous memory (a requirement for running NUMA on some
systems), membanks may not necessarily be representable as
contiguous blocks of struct page *s. This patch updates the page
scanning code in mem_init and show_mem to consider pages in the
intersection of membanks and memblocks instead.

We can't consider memblocks solely as under sparse memory
configurations, contiguous physical membanks won't necessarily have
a contiguous memory map (but may be merged into the same memblock).

Only memory blocks in the "memory" region were considered as the
"reserved" region was found to always overlap "memory"; all the
memory banks are added with memblock_add (which adds to "memory")
and no instances were found where memory was added to "reserved"
then removed from "memory".

In mem_init we are running on one CPU, and I can't see the
memblocks changing whilst being enumerated.

In show_mem, we can be running on multiple CPUs; whilst the
memblock manipulation functions are annotated as __init, this
doesn't stop memblocks being manipulated during bootup. I can't
see any place where memblocks are removed or merged other than
driver initialisation (memblock_steal) or boot memory
initialisation.

One consequence of using memblocks in show_mem, is that we are
unable to define ARCH_DISCARD_MEMBLOCK.

Any feedback would be welcome.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2012-October/127104.html
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2012-November/135455.html

Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: Transparent huge page support for non-LPAE systems.
Steve Capper [Thu, 19 Jul 2012 11:00:10 +0000 (12:00 +0100)]
ARM: mm: Transparent huge page support for non-LPAE systems.

Much of the required code for THP has been implemented in the earlier non-LPAE
HugeTLB patch.

One more domain bits is used (to store whether or not the THP is splitting).

Some THP helper functions are defined; and we have to re-define pmd_page such
that it distinguishes between page tables and sections.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: Transparent huge page support for LPAE systems.
Catalin Marinas [Wed, 25 Jul 2012 13:39:26 +0000 (14:39 +0100)]
ARM: mm: Transparent huge page support for LPAE systems.

The patch adds support for THP (transparent huge pages) to LPAE systems. When
this feature is enabled, the kernel tries to map anonymous pages as 2MB
sections where possible.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[steve.capper@arm.com: symbolic constants used, value of PMD_SECT_SPLITTING
adjusted, tlbflush.h included in pgtable.h]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: HugeTLB support for non-LPAE systems.
Steve Capper [Thu, 19 Jul 2012 10:57:45 +0000 (11:57 +0100)]
ARM: mm: HugeTLB support for non-LPAE systems.

Based on Bill Carson's HugeTLB patch, with the big difference being in the way
PTEs are passed back to the memory manager. Rather than store a "Linux Huge
PTE" separately; we make one up on the fly in huge_ptep_get. Also rather than
consider 16M supersections, we focus solely on 2x1M sections.

To construct a huge PTE on the fly we need additional information (such as the
accessed flag and dirty bit) which we choose to store in the domain bits of the
short section descriptor. In order to use these domain bits for storage, we need
to make ourselves a client for all 16 domains and this is done in head.S.

Storing extra information in the domain bits also makes it a lot easier to
implement Transparent Huge Pages, and some of the code in pgtable-2level.h is
arranged to facilitate THP support in a later patch.

Non-LPAE HugeTLB pages are incompatible with the huge page migration code
(enabled when CONFIG_MEMORY_FAILURE is selected) as that code dereferences PTEs
directly, rather than calling huge_ptep_get and set_huge_pte_at.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: HugeTLB support for LPAE systems.
Catalin Marinas [Wed, 25 Jul 2012 13:32:38 +0000 (14:32 +0100)]
ARM: mm: HugeTLB support for LPAE systems.

This patch adds support for hugetlbfs based on the x86 implementation.
It allows mapping of 2MB sections (see Documentation/vm/hugetlbpage.txt
for usage). The 64K pages configuration is not supported (section size
is 512MB in this case).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[steve.capper@arm.com: symbolic constants replace numbers in places.
Split up into multiple files, to simplify future non-LPAE support].
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: Add support for flushing HugeTLB pages.
Steve Capper [Thu, 19 Jul 2012 10:51:50 +0000 (11:51 +0100)]
ARM: mm: Add support for flushing HugeTLB pages.

On ARM we use the __flush_dcache_page function to flush the dcache of pages
when needed; usually when the PG_dcache_clean bit is unset and we are setting a
PTE.

A HugeTLB page is represented as a compound page consisting of an array of
pages. Thus to flush the dcache of a HugeTLB page, one must flush more than a
single page.

This patch modifies __flush_dcache_page such that all constituent pages of a
HugeTLB page are flushed.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: correct pte_same behaviour for LPAE.
Steve Capper [Fri, 10 Aug 2012 16:59:21 +0000 (17:59 +0100)]
ARM: mm: correct pte_same behaviour for LPAE.

For 3 levels of paging the PTE_EXT_NG bit will be set for user address ptes
that are written to a page table but not for ptes created with mk_pte.

This can cause some comparison tests made by pte_same to fail spuriously and
lead to other problems.

To correct this behaviour, we mask off PTE_EXT_NG for any pte that is
present before running the comparison.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: mm: introduce L_PTE_VALID for page table entries
Will Deacon [Thu, 19 Jul 2012 10:51:05 +0000 (11:51 +0100)]
ARM: mm: introduce L_PTE_VALID for page table entries

For long-descriptor translation table formats, the ARMv7 architecture
defines the last two bits of the second- and third-level descriptors to
be:

x0b - Invalid
01b - Block (second-level), Reserved (third-level)
11b - Table (second-level), Page (third-level)

This allows us to define L_PTE_PRESENT as (3 << 0) and use this value to
create ptes directly. However, when determining whether a given pte
value is present in the low-level page table accessors, we only need to
check the least significant bit of the descriptor, allowing us to write
faulting, present entries which are required for PROT_NONE mappings.

This patch introduces L_PTE_VALID, which can be used to test whether a
pte should fault, and updates the low-level page table accessors
accordingly.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agomm: thp: Set the accessed flag for old pages on access fault.
Will Deacon [Tue, 2 Oct 2012 10:18:52 +0000 (11:18 +0100)]
mm: thp: Set the accessed flag for old pages on access fault.

On x86 memory accesses to pages without the ACCESSED flag set result in the
ACCESSED flag being set automatically. With the ARM architecture a page access
fault is raised instead (and it will continue to be raised until the ACCESSED
flag is set for the appropriate PTE/PMD).

For normal memory pages, handle_pte_fault will call pte_mkyoung (effectively
setting the ACCESSED flag). For transparent huge pages, pmd_mkyoung will only
be called for a write fault.

This patch ensures that faults on transparent hugepages which do not result
in a CoW update the access flags for the faulting pmd.

Cc: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
12 years agoARM: OF: update coherent_dma_mask
Subash Patel [Mon, 10 Dec 2012 11:50:45 +0000 (17:20 +0530)]
ARM: OF: update coherent_dma_mask

This patch is tested in ARM:exynos5250 with LPAE enabled. The coherent_dma_mask
needs to be defined to DMA_BIT_MASK(64) as dma-mapping API's check it against
64-bit mask.

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: add coherent dma mask
Subash Patel [Wed, 5 Dec 2012 05:07:49 +0000 (10:37 +0530)]
ARM: exynos: add coherent dma mask

This patch adds the coherent_dma_mask to usb/dwc3 node. This is
needed as check is performed before allocating any coherent buffer
in the dma-mapping framework.

Note: Find a better place to add this change

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: add coherent dma mask
Subash Patel [Wed, 5 Dec 2012 05:06:03 +0000 (10:36 +0530)]
ARM: exynos: add coherent dma mask

This patch adds the coherent_dma_mask for dw_mci_pltfm node.
This is needed as the check is done during the coherent buffer
allocation.

Note: Find a better place to add this

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: add coherent_dma_mask
Subash Patel [Wed, 5 Dec 2012 05:04:19 +0000 (10:34 +0530)]
ARM: exynos: add coherent_dma_mask

This patch adds the coherent_dma_mask for the dw_mmc device.
This is needed as check is now done in dma-mapping framework before
allocating the buffers.

Note: Find a better place to add this

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARm: exynos: update coherent dma mask
Subash Patel [Wed, 5 Dec 2012 05:03:16 +0000 (10:33 +0530)]
ARm: exynos: update coherent dma mask

This patch updates the coherent_dma_mask for dev-ohci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: update coherent dma mask
Subash Patel [Wed, 5 Dec 2012 05:02:14 +0000 (10:32 +0530)]
ARM: exynos: update coherent dma mask

This patch updates the coherent dma mask for dev-ehci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: update coherent dma mask
Subash Patel [Wed, 5 Dec 2012 05:00:48 +0000 (10:30 +0530)]
ARM: exynos: update coherent dma mask

This patch updates the coherent_dma_mask for dev-ohci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: update dma bit mask to 64 bits
Subash Patel [Wed, 5 Dec 2012 04:58:03 +0000 (10:28 +0530)]
ARM: exynos: update dma bit mask to 64 bits

This patch changes the dma_mask for dev-dwmci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: exynos: update dma_bit_mask to 64-bits
Subash Patel [Tue, 4 Dec 2012 12:38:34 +0000 (18:08 +0530)]
ARM: exynos: update dma_bit_mask to 64-bits

This patch changes the dma_mask and coherent_dma_mask to
64-bit mask value for dev-ahci

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoNET: eth: ax88796: fixup for LPAE
Subash Patel [Tue, 4 Dec 2012 12:35:18 +0000 (18:05 +0530)]
NET: eth: ax88796: fixup for LPAE

This patch adds condition for variables declared of type
resource_size_t. When LPAE is enabled, these will be 64-bit,
but the linker will throw error for missing __aeabi_uldivmod
support in lib1funcs.s. This patch may be safetly reverted
when this is added.

Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: LPAE: accomodate >32-bit addresses for page table base
Subash Patel [Mon, 3 Dec 2012 09:21:55 +0000 (14:51 +0530)]
ARM: LPAE: accomodate >32-bit addresses for page table base

This patch redefines the early boot time use of the R4 register to steal a few
low order bits (ARCH_PGD_SHIFT bits) on LPAE systems.  This allows for up to
38-bit physical addresses.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Hand-edited as this patch in eml format doesnt apply due to missing blob data
for arch/arm/include/asm/memory.h
Signed-off-by: Subash Patel <subash.rp@samsung.com>
12 years agoARM: mm: clean up membank size limit checks
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:15 +0000 (11:56 -0400)]
ARM: mm: clean up membank size limit checks

This patch cleans up the highmem sanity check code by simplifying the range
checks with a pre-calculated size_limit.  This patch should otherwise have no
functional impact on behavior.

This patch also removes a redundant (bank->start < vmalloc_limit) check, since
this is already covered by the !highmem condition.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
12 years agoARM: mm: cleanup checks for membank overlap with vmalloc area
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:14 +0000 (11:56 -0400)]
ARM: mm: cleanup checks for membank overlap with vmalloc area

On Keystone platforms, physical memory is entirely outside the 32-bit
addressible range.  Therefore, the (bank->start > ULONG_MAX) check below marks
the entire system memory as highmem, and this causes unpleasentness all over.

This patch eliminates the extra bank start check (against ULONG_MAX) by
checking bank->start against the physical address corresponding to vmalloc_min
instead.

In the process, this patch also cleans up parts of the highmem sanity check
code by removing what has now become a redundant check for banks that entirely
overlap with the vmalloc range.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: mm: use physical addresses in highmem sanity checks
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:13 +0000 (11:56 -0400)]
ARM: mm: use physical addresses in highmem sanity checks

This patch modifies the highmem sanity checking code to use physical addresses
instead.  This change eliminates the wrap-around problems associated with the
original virtual address based checks, and this simplifies the code a bit.

The one constraint imposed here is that low physical memory must be mapped in
a monotonically increasing fashion if there are multiple banks of memory,
i.e., x < y must => pa(x) < pa(y).

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: factor out T1SZ and TTBR1 computations
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:11 +0000 (11:56 -0400)]
ARM: LPAE: factor out T1SZ and TTBR1 computations

This patch moves the TTBR1 offset calculation and the T1SZ calculation out
of the TTB setup assembly code.  This should not affect functionality in
any way, but improves code readability as well as readability of subsequent
patches in this series.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:10 +0000 (11:56 -0400)]
ARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem

This patch adds an architecture defined override for ARCH_LOW_ADDRESS_LIMIT.
On PAE systems, the absence of this override causes bootmem to incorrectly
limit itself to 32-bit addressable physical memory.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
12 years agoARM: LPAE: use 64-bit accessors for TTBR registers
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:09 +0000 (11:56 -0400)]
ARM: LPAE: use 64-bit accessors for TTBR registers

This patch adds TTBR accessor macros, and modifies cpu_get_pgd() and
the LPAE version of cpu_set_reserved_ttbr0() to use these instead.

In the process, we also fix these functions to correctly handle cases
where the physical address lies beyond the 4G limit of 32-bit addressing.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: use phys_addr_t in switch_mm()
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:08 +0000 (11:56 -0400)]
ARM: LPAE: use phys_addr_t in switch_mm()

This patch modifies the switch_mm() processor functions to use phys_addr_t.
On LPAE systems, we now honor the upper 32-bits of the physical address that
is being passed in, and program these into TTBR as expected.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
12 years agoARM: LPAE: use phys_addr_t for initrd location and size
Vitaly Andrianov [Fri, 21 Sep 2012 15:56:07 +0000 (11:56 -0400)]
ARM: LPAE: use phys_addr_t for initrd location and size

This patch fixes the initrd setup code to use phys_addr_t instead of assuming
32-bit addressing.  Without this we cannot boot on systems where initrd is
located above the 4G physical address limit.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: use phys_addr_t in free_memmap()
Vitaly Andrianov [Fri, 21 Sep 2012 15:56:06 +0000 (11:56 -0400)]
ARM: LPAE: use phys_addr_t in free_memmap()

The free_memmap() was mistakenly using unsigned long type to represent
physical addresses.  This breaks on PAE systems where memory could be placed
above the 32-bit addressible limit.

This patch fixes this function to properly use phys_addr_t instead.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: use phys_addr_t in alloc_init_pud()
Vitaly Andrianov [Fri, 21 Sep 2012 15:56:05 +0000 (11:56 -0400)]
ARM: LPAE: use phys_addr_t in alloc_init_pud()

This patch fixes the alloc_init_pud() function to use phys_addr_t instead of
unsigned long when passing in the phys argument.

This is an extension to commit 97092e0c56830457af0639f6bd904537a150ea4a (ARM:
pgtable: use phys_addr_t for physical addresses), which applied similar changes
elsewhere in the ARM memory management code.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: use signed arithmetic for mask definitions
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:04 +0000 (11:56 -0400)]
ARM: LPAE: use signed arithmetic for mask definitions

This patch applies to PAGE_MASK, PMD_MASK, and PGDIR_MASK, where forcing
unsigned long math truncates the mask at the 32-bits.  This clearly does bad
things on PAE systems.

This patch fixes this problem by defining these masks as signed quantities.
We then rely on sign extension to do the right thing.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: LPAE: support 64-bit virt_to_phys patching
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:03 +0000 (11:56 -0400)]
ARM: LPAE: support 64-bit virt_to_phys patching

This patch adds support for 64-bit physical addresses in virt_to_phys()
patching.  This does not do real 64-bit add/sub, but instead patches in the
upper 32-bits of the phys_offset directly into the output of virt_to_phys.

There is no corresponding change on the phys_to_virt() side, because
computations on the upper 32-bits would be discarded anyway.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
12 years agoARM: LPAE: use phys_addr_t on virt <--> phys conversion
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:02 +0000 (11:56 -0400)]
ARM: LPAE: use phys_addr_t on virt <--> phys conversion

This patch fixes up the types used when converting back and forth between
physical and virtual addresses.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
12 years agoARM: use late patch framework for phys-virt patching
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:01 +0000 (11:56 -0400)]
ARM: use late patch framework for phys-virt patching

This patch replaces the original physical offset patching implementation
with one that uses the newly added patching framework.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
12 years agoARM: add self test for runtime patch mechanism
Cyril Chemparathy [Fri, 21 Sep 2012 15:56:00 +0000 (11:56 -0400)]
ARM: add self test for runtime patch mechanism

This patch adds basic sanity tests to ensure that the instruction patching
results in valid instruction encodings.  This is done by verifying the output
of the patch process against a vector of assembler generated instructions at
init time.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
12 years agoARM: add mechanism for late code patching
Cyril Chemparathy [Fri, 21 Sep 2012 15:55:59 +0000 (11:55 -0400)]
ARM: add mechanism for late code patching

The original phys_to_virt/virt_to_phys patching implementation relied on early
patching prior to MMU initialization.  On PAE systems running out of >4G
address space, this would have entailed an additional round of patching after
switching over to the high address space.

The approach implemented here conceptually extends the original PHYS_OFFSET
patching implementation with the introduction of "early" patch stubs.  Early
patch code is required to be functional out of the box, even before the patch
is applied.  This is implemented by inserting functional (but inefficient)
load code into the .runtime.patch.code init section.  Having functional code
out of the box then allows us to defer the init time patch application until
later in the init sequence.

In addition to fitting better with our need for physical address-space
switch-over, this implementation should be somewhat more extensible by virtue
of its more readable (and hackable) C implementation.  This should prove
useful for other similar init time specialization needs, especially in light
of our multi-platform kernel initiative.

This code has been boot tested in both ARM and Thumb-2 modes on an ARMv7
(Cortex-A8) device.

Note: the obtuse use of stringified symbols in patch_stub() and
early_patch_stub() is intentional.  Theoretically this should have been
accomplished with formal operands passed into the asm block, but this requires
the use of the 'c' modifier for instantiating the long (e.g. .long %c0).
However, the 'c' modifier has been found to ICE certain versions of GCC, and
therefore we resort to stringified symbols here.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
12 years agoConfig for USB changed
Rony Nandy [Mon, 3 Dec 2012 10:47:38 +0000 (16:17 +0530)]
Config for USB changed

12 years agoUSBPHY: Removed printk debug statements Signed-off-by: Yuvaraj C D <yuvaraj.cd@samsun...
Yuvaraj CD [Mon, 3 Dec 2012 06:31:58 +0000 (12:01 +0530)]
USBPHY: Removed printk debug statements Signed-off-by: Yuvaraj C D <yuvaraj.cd@samsung.com>

12 years agoUSB3.0: Migration of Samsung USBPHY changes
Yuvaraj CD [Wed, 26 Dec 2012 05:18:11 +0000 (10:48 +0530)]
USB3.0: Migration of Samsung USBPHY changes

12 years agoUSB3.0:dwc3:Enabling DT support for USB3.0 DWC3
Yuvaraj CD [Mon, 24 Dec 2012 11:36:49 +0000 (17:06 +0530)]
USB3.0:dwc3:Enabling DT support for USB3.0 DWC3

For internal use only.Made out of patches from Vivek Gautam
Signed-off-by: Yuvaraj C D <yuvaraj.cd@samsung.com>
12 years agoConfig chnaged for Highmem support
Rony Nandy [Thu, 15 Nov 2012 13:17:13 +0000 (18:47 +0530)]
Config chnaged for Highmem support

12 years agoConfig spec for Arndale Signed-off-by: Rony Nandy <rony.nandy@linaro.org>
Rony Nandy [Fri, 12 Oct 2012 10:58:31 +0000 (16:28 +0530)]
Config spec for Arndale Signed-off-by: Rony Nandy <rony.nandy@linaro.org>

12 years agodrivers: usb: add the HSIC port initialization
Girish K S [Mon, 8 Oct 2012 05:06:33 +0000 (14:06 +0900)]
drivers: usb: add the HSIC port initialization

The hub-reset and hub-connect pins should be pulled
low before phy init and need to be pulled high after
completion of phy init.

Signed-off-by: Girish K S <ks.giri@samsung.com>
12 years agoARM: EXYNOS5: Add PHY initialization code for usb 2.0
Vivek Gautam [Mon, 24 Dec 2012 10:24:53 +0000 (15:54 +0530)]
ARM: EXYNOS5: Add PHY initialization code for usb 2.0

This patch adds PHY setup functions usb 2.0 support on exynos5

Signed-off-by: Yulgon Kim <yulgon.kim@samsung.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
12 years agoARM: EXYNOS5: Add EHCI device from device tree
Vivek Gautam [Sat, 21 Jul 2012 10:32:05 +0000 (10:32 +0000)]
ARM: EXYNOS5: Add EHCI device from device tree

This patch adds EHCI device from device tree for exynos5
and adds platform data.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Conflicts:

arch/arm/boot/dts/exynos5250-smdk5250.dts

12 years agoARM: EXYNOS5: Add OHCI device from device tree
Ajay Kumar [Sat, 21 Jul 2012 10:32:04 +0000 (10:32 +0000)]
ARM: EXYNOS5: Add OHCI device from device tree

This patch adds OHCI device from device tree for exynos5
and adds platform data.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Conflicts:

arch/arm/mach-exynos/mach-exynos5-dt.c

12 years agoARM: EXYNOS5: Add machine data for USB 2.0
Ajay Kumar [Sat, 21 Jul 2012 10:32:03 +0000 (10:32 +0000)]
ARM: EXYNOS5: Add machine data for USB 2.0

This patch adds address mapping of USB 2.0 PHY for exynos5

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
12 years agoEXYNOS4: USB: Generalising setup-usb-phy driver for exynos
Vivek Gautam [Sat, 21 Jul 2012 10:32:02 +0000 (10:32 +0000)]
EXYNOS4: USB: Generalising setup-usb-phy driver for exynos

This patch updates the setup-usb-phy in order to accomodate
exynos5 support later.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>