OF-overlay: Add depth option for device creation.

Add a depth option for device creation. Normally all nodes that
represent devices are created, but some devices like gpmc for instance,
perform their own device creation.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
gpevnt: Remove __devinit

__devinit is gone now; remove it.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
capes: Add BB-BONE-GPEVT cape

Add a virtual cape for the GPEVT dma test driver.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
mtd: omap-nand: pass device_node in platform data

Pass an optional device_node pointer in the platform data, which in turn
will be put into a mtd_part_parser_data. This way, code that sets up the
platform devices can pass along the node from DT so that the partitions
can be parsed.

For non-DT boards, this change has no effect.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Artem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
ARM: OMAP: gpmc-nand: drop __init annotation

gpmc_nand_init() will be called from another driver's probe() function,
so the easiest way to prevent section mismatches is to drop the
annotation here.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs

The am33xx is capable of handling bch error correction modes, so
enable that feature in the driver.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
ARM: OMAP: gpmc: don't create devices from initcall on DT

On DT driven boards, the gpmc node will match the driver. Hence, there's
no need to do that unconditionally from the initcall.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Tony Lindgren <tony@atomide.com>
ARM: OMAP2+: gpmc-onenand: drop __init annotation

gpmc_onenand_init() will be called from another driver's probe() function,
so drop the __init annotation, in order to prevent section mismatches.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
mtd: omap-onenand: pass device_node in platform data

Pass an optional device_node pointer in the platform data,
which in turn will be put into a mtd_part_parser_data.
This way, code that sets up the platform devices can pass
along the node from DT so that the partitions can be parsed.

For non-DT boards, this change has no effect.

Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
ARM: OMAP2+: Convert ONENAND to use gpmc_cs_program_settings()

Convert the OMAP2+ ONENAND code to use the gpmc_cs_program_settings()
function for configuring the various GPMC options instead of directly
programming the CONFIG1 register.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Conflicts:
	arch/arm/mach-omap2/gpmc-onenand.c
ARM: OMAP: gpmc: Add missing gpmc includes.

Add missing includes so that it compiles.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
clock: Export __clock_set_parent

We need this exported for the manipulation of the clkout2 external
clock. As part of clock rate selection, the parent must change.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
omap-clk: Add adjustable clkout2

The way clkout2 work is no good for external devices needing the clock.
A way to select rate, that translates to selecting a parent clock is
required for drivers to work.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
omap: gpmc: Various driver fixes

Various fixes:

* clk_activation option added
* pinctrl support add
* Add camera device
* Fix child node handling

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
am33xx: Update DTS EDMA

Update EDMA bindings to work the same way as on the 3.2 kernel

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
gpmc: Add DT node for gpmc on am33xx

Add am33xx gpmc device.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
soc_camera: QL/mt9l112 camera driver for the beaglebone

Driver for the Quicklogic camera cape.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
capes: Add BB-BONE-CAM3 cape

Add the cape definition for the CAM3 cape

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>