samsung_battery: Define missing macros.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery: Change deprecated set_irq functions.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery: Add get_average_adc_value()

EXPORT_SYMBOL because it is used by Plsensor too and may be needed in future.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery: Add omap3-gptimer12 interface.

Required for the battery driver.
Apparently, it is not a part of the original OMAP3 code.
Was added by Samsung in 2.6.35 too.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery: Add omap3-gptimer12 interface (part 2)

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
prm2xxx_3xxx: Helper functions for gptimer12.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery: charger_max8845: Comment out omap_set_gpio_dataout_in_sleep()

FIXME: Fix it for later.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
latona: Add battery driver platform data and latona_battery_init()

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	arch/arm/mach-omap2/board-latona-peripherals.c

Signed-off-by: David Rodero <david@codiguiel.net>
latona: Add Fuelgauge I2C info to bus3_info.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
gptimer12: Request battery_timer with omap_dm_timer_request()

Since omap_dm_timer_request_specific(12) returns NULL and causes Kernel panic.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
i2c: Add GPIO I2C Bit bang Protocol

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
samsung_battery, i2c-omap-gpio: Fix header paths.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
[1/3] twl4030-madc: copy the device pointer

Fixes: (NULL device *): conversion timeout!

Original Patch: https://patchwork.kernel.org/patch/1055672/

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	drivers/mfd/twl4030-madc.c
zeus_powerbutton: Fix debug flags.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>
drivers:samsung_battery: increase wave delay to fix ack timeout issues

Signed-off-by: David Rodero <david@codiguiel.net>
latona: add support for ce147 and s5ka3dfx cameras

Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	drivers/media/video/Kconfig
	drivers/media/video/Makefile
	drivers/media/video/isp/isp.h
	include/linux/videodev2.h
	include/media/v4l2-int-device.h
drivers:media: include support for latona zeus camera

Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	drivers/media/video/isp/isp.c
	drivers/media/video/isp/ispccdc.c
	drivers/media/video/isp/ispccdc.h
	drivers/media/video/isp/ispdss.c
	drivers/media/video/isp/isppreview.c
	drivers/media/video/isp/isppreview.h
	drivers/media/video/isp/ispreg.h
	drivers/media/video/isp/omap_prev2resz.c
	drivers/media/video/omap34xxcam.c
	include/media/v4l2-int-device.h
	include/media/v4l2-ioctl.h
mach:latona: register the fuelgauge device to 2nd i2c bus

Signed-off-by: David Rodero <david@codiguiel.net>
sensors: Add orientation sensor driver

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	arch/arm/configs/latona_release_defconfig

Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	arch/arm/configs/latona_defconfig
	drivers/misc/Makefile
orientation: Fix deprecated code.

Signed-off-by: AdiPat <adithemagnificent@gmail.com>
Signed-off-by: David Rodero <david@codiguiel.net>