Initial support for APQ8060A Intrinsyc Dragonboard

Added new board as Intrinsyc APQ8060A is different
Snapdragon S4 processor

Change-Id: I53c303350089571de005f120f3cb3f65a21c429d
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
HSIC port support for APQ8060A Dragonboard

1. Added GPIO mux for Dragonboard
2. Added HSIC platform data for Dragonboard

Change-Id: I0cfc8a611be9b51f3af1bddc2c9539080420c2a8
Signed-off-by: Tony Tang <ttang@intrinsyc.com>
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
Provide spi msg actual_length for processed message

This patch enables the use of other SPI slave drivers
to use standard interface.
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: I8d0e37a6d371a9de3491fffe3c0075af142c70e7
ST Micro M45PE40 4Mbit NOR Flash chip support

The memory is organized as:
- 2048 pages (256 bytes each).
- 524288 bytes (8 bits each)
- 8 sectors (512 Kbits, 65536 bytes each)
Each page can be individually:
- Programmed (bits are programmed from 1 to 0)
- erased (bits are erased from 0 to 1)
- written (bits are changed to either 0 or 1)

Provides standard MTD inteface to write / read / erase
Block write / read not tested.(/dev/mtdblkockX)

Change-Id: I69cbec23d3b9820d846de9cf7e6653a2f8c9ae58
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
Support for display and touch screen.

Added touchscreen and wintek MIPI LCD driver
FIXME:
1) Brightness control
2) checkpatch.pl is not applicable to touch driver
Change-Id: Icc66285c938707a6e3907303ece8522f6ea809c9
Signed-off-by: Evgeni <ediment@intrinsyc.com>
Allow user to choose camera driver debugging options

This patch enables of using CONFIG_MSM_CAMERA_DEBUG using
kernel config.
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: Ie84b943f5efe4621156098943eaa1135aad6a151
SAMSUNG S5K3H2 8MPix CMOS Liteon Module support

Enables using S5K3H2 CMOS with VCM Actuator

FIXME:
1) Camera Flash integration
2) Camera Recording mode fails at user space applcation
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: I0e04fc99eddbe86f874640000b8ee6517cd05b06
Workaround to silent the SMD and PIL threads for APQ8060A dragonboard

This patch will silent the pil_get error temporary.
FIXME: Need to findout better way to do, workaround for now
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: Ibc97147b0325a1d0c79acb59393aa446440cc0c9
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
SATA Programming through APQ8060A Education Connector

Note:
This needs costomized cable to carrier board education
connector to NOR Flash interface.

Change-Id: Ie6d6df4c3d15a7ac73111bf48d4f4de8d71e35d6
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
Updated msm8960-perf_defconfig

Added support for APQ8060A Snapdragon S4 dev board

Change-Id: I7c4796bc29317a669abb974802c6b6873d64e9e4
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
Swap for audio volume keys

Note: Fixes SW bug for VOLUME UP<->DOWN buttons

Signed-off-by: Tony Tang <ttang@intrinsyc.com>
Added ST Micro Sensor drivers 1. L3GD20 - 3 Axis Gyroscope 2. LPS331AP - Pressure sensor 3. LSM303DLHC - Accelerometer 4. LSM303DLHC - Magnetometer

FIXME :
1) Basline enable sysfs for LSM303DLHC
2) Move Sensor_core to standard iio subsystem
3) LSM303DLHC - Open call calls enable function
move that to enable attribute to save power
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: I298894a278b6e9d36d01c3d3fe1a5863b331b652
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>
Removed DSPS and enabled sensors Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: If88caa15b9d341cbb23dd082aa7096da039afbbc
Magnetometer and Gyro functional Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: If4e2cca66ebc9b7c2009f855dc034e9b31eb0666
Support for splash screen. Keep display backlight gpio ON

Change-Id: Ia030dc4f33a87cb6ce7e5af5d756e9f585d0d7f9
Signed-off-by: Evgeni <ediment@intrinsyc.com>
Fixed Debug macro compilation error

"videobuf2-msm-mem.c" file had mismatch in structure members
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: Iecef33f4ea2c5db95c38330d3ca3150aff48cf17
drivers: leds: New driver for ADP1650 Flash LED Controller

Added support for ADP1650 Flash LED Controller
allows existing LED class architecture of the kernel to work
with other platforms.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Fix for Auto focus and camera crash issue

1) We use 0xDEAD hw_mask as magic number to indicate for NON DAC type
actuators
2) This needs Qualcomm mm-camera libchromatix libraries update

FIXME : Actuator driver needs re-design but workaround to fit existing
design
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: I9f2564bbd367e493b8d2f0be2bb9752c71779ae7
Merged ADP1650 led driver to kernel

1) Added macro for disabling frequency bias
2) Removed module init / module exit to support our
runtime loading / removing module
3) Added default trigger name for easy platform
coupling and triggering LED

Change-Id: I3fe29b3bf4aa5fde6f12ca60863c7b54332cb6eb
Added support of ADP1650 LED for camera module

FIXME :
1) Autodump for the GPIO
2) Schedule timeout kernel dump for atomic ioctl
operations
Signed-off-by: Harshesh Valera <hvalera@intrinsyc.com>

Change-Id: I81b1ee135ce682ca885fff584b64ba1643737828