ARM: at91/dt: add LCD to at91sam9x5 and EK boards

Add the SAM9X5-DM LCD support to dtsi/dts files as well as the needed
information that are stored directly in board-dt-sam9.c file.

Signed-off-by: Swapna Gurumani <swapna.gurumani@atmel.com>
[nicolas.ferre@atmel.com: extended to all SoC of the family]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Merge branch 'at91-3.10-trunk/v3.10_lcd' into linux-3.10-at91
Input: atmel_mxt_ts: align the driver with github

Align the atmel_mxt_ts driver with github [1], which is based
on tag maxtouch-v3.0-20140316

[1] https://github.com/atmel-maxtouch/linux

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Input: MT - Add flags to input_mt_init_slots()

Preparing to move more repeated code into the mt core, add a flags
argument to the input_mt_slots_init() function.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
[voice.shen@atmel.com: as align the driver code with github, missing
                       this patch, add it to fix the compile error]
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Input: atmel_mxt_ts: increment reset time

It is more secure to increment the reset time since it may be too short in some
cases as using the PDA 7" display module.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[voice.shen@atmel.com: as align the driver code with github, missing
                       this patch, re-add it]
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Input: atmel_mxt_ts: change zero message to debug level

Signed-off-by: Bo Shen <voice.shen@atmel.com>
ARM: at91: introduce basic SAMA5D4 support

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
ARM: at91/aic: use real number of connected IRQ lines

Instead of relying on the maximum number of IRQ lines that the AIC can handle,
give real number of IRQ lines for each SoC. Note that some AIC doesn't allow to
use a non-connected peripheral ID. It is actually the reason why we implement
this modification.

By using a different compatibility string, we can describe the real hardware
configuration. This variable in the driver is updated in a wrapper function as
we stick to the standard definition of declaring a DT IRQ chip.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
dma: at_xdmac: Atmel eXtended DMA Controller DT bindings marco

Addition of new macros to define XDMA bindings values

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
ARM: at91: SAMA5D4 SoC detection code and low level routines

SoC identification code, kernel uncompress and low level
debugging routines update.
On SAMA5D4, DBGU is at another address AT91_BASE_DBGU2 so another
round of detection is needed. We also had to differentiate with
SAMA5D3 SoC family and rename some variables.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
ARM: at91/PMC: add SAMA5D4 clocks support with call to firmware

The entry point is done via a new at91_alt_dt_clock_init() function.

Call to firmware for SAMA5D4 SoC in case of NWd Linux having SWd PMC:
- reading PLLAR and MCKR
- pmc_periph_mode and pmc_sys_mode
- UTMI clock
- USB configuration (USBR)

Addition of the Matrix 32 clock that can be the half of master clock.
SMD system and peripheral clocks for software modem. Add possibility to
choose SMD parent clock.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
ARM: at91: dt: add device tree files for SAMA5D4 family

Add SoC and reference SAMA5D4-EK platform DT files.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
pinctrl: at91: use gpio_banks index for mux

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
pinctrl: at91: disable Pull-Down or Pull-Up property before enabling Pull-Up or Pull-Down.

Because the pin's Pull-Up and Pull-Down property is mutually exclusive.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
ARM: at91: SAMA5D4: add pm support

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
ARM: at91/pm: sama5d4: add print out peripherals power state

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
ARM: at91: initialize firmware call

Call atmel_firmware_init() that will check in DT if firmware is specified
and initialize the firmware options.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
ARM: at91: only register ram, rst, shdw accesses if no firmware

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
mmc: atmel-mci: add 0x600 IP version

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

Introduction of a new atmel DMA controller known as XDMAC.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>