Revert "Revert "OMAP4: clock: re-enable previous clockdomain enable/disable sequence""

This reverts commit 0865877820964faa32f295676f683e4cb7940bdf.
Weed out OMAP4460_SEVM_PALMAS option

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
OMAP: PMIC: Register only the map relevant to chip

Since the omap_pmic_map no more has omap_chip, we need to register
only elements that are relevant to the current SoC.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
UBUNTU: add include guards to iomap.h

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Revert "ASoC: dapm: Remove SND_SOC_DAPM_MICBIAS_E()"

This reverts commit 5fc9aced13ae4bca67408816908be75684c1e7ba.
UBUNTU: export function vb2_get_vma

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: HACK: clock54xx_data.c - remove hsi_fclk_div

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: HACK: no omap_pm_set_max_dev_wakeup_lat API available

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Initial Debianization

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
KBuild: Allow scripts/* to be cross compiled

Cross compiling the binaries in scripts/* is not possible
because various makefiles assume that $(obj)/whatever is
executable on the build host.

This patch introduces a new variable called KBUILD_SCRIPTROOT
that points to script/binaries to use while cross compiling.

Usage:

Build scripts for the build host:
	make O=path/to/buildhost/buildscripts \
		silentoldconfig prepare scripts
Then cross build script for target:
	make O=path/to/target/buildscripts \
		HOSTCC=$CROSS_COMPILE \
		KBUILD_SCRIPTROOT=path/to/buildhost/buildscripts
		silentoldconfig prepare scripts

This patch does not use KBUILD_SCRIPTROOT for all script invocations
it only redefines the following if KBUILD_SCRIPTROOT is defined.

scripts/Makefile.build
	scripts/basic/fixdep --> $(KBUILD_SCRIPTROOT)/scripts/basic/fixdep

scripts/kconfig/Makefile
	$(obj)/conf --> $(KBUILD_SCRIPTROOT)/scripts/kconfig/conf

scripts/mod/Makefile
	$(obj)mk_elfconfig --> $(KBUILD_SCRIPTROOT)/scripts/mod/mk_elfconfig

Signed-off-by: John Rigby <john.rigby@linaro.org>
LINARO: Use KBUILD_SCRIPTROOT to cross build scripts

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: add omap_drv.h and omap_drm.h to linux-headers-<abi>-omap4

Add sym link for omap_drm.h and omap_drv.h in include/linux
Force delivery of the 2 files into drivers/staging/omapdrm

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: SAUCE: [arm] fixup __aeabi_uldivmod undefined build error

When building on arm we run into the following build error due to
gcc-4.6 optimizing do_div into a uldivmod call:

ERROR: "__aeabi_uldivmod" [drivers/scsi/megaraid/megaraid_sas.ko] undefined!

Inline some assembly to prevent the compiler optimization.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
UBUNTU: exclude crypto-modules and sata-modules from udeb

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config update

* K3.4
* Enable RPMSG
* Enable VIRTIO
* Config update vs 3.3.0-1482.3

Signed-off-by: Xavier Boudet <x-boudet@ti.com>

Config updates

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: disable EETI touchscreen

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable EZX_PCAP

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable SENSORS_AK8975

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable LIS3L02DQ

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: config add STM

Signed-off-by: Xavier Boudet <x-boudet@ti.com>