Input: add HX8520-C touchscreen driver

Add HX8520-C touchscreen driver.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add missing linux/err.h

cm-fx6 uses macros defined in linux/err.h.
Add include for linux/err.h.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: prepare for HX8520_C support

Rename any ADS7846 specific data to be ADS7846 specific.
This is in preparation for the second touchscreen controller.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add support for HX8520 touch

Add support for HX8520_C dual-touch touchscreen.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: remove LDB backlight GPIO

cm-fx6 does not use the LDB backlight GPIO, so remove it.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add support for PCIE

sb-fx6 features PCIE muxer and Realtek Ethernet controller.
Add support for the muxer and the Ethernet reset lines.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: move GPU and ASRC pdata

Move GPU and ASRC pdata closer to its use.
No functional changes.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
video: mxc: lcd: fix DataImage SCF0403 LCD timings

The .pixclock value should be in picoseconds, not in KHz.
The FB_SYNC_CLK_LAT_FALL flag is not applicable for the SCF0403 LCD.
Fix both above issues.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: remove incorrect HDMI muxing

Remove HDMI mux leftovers from mx6_arm2 board.
Those are incorrect for cm-fx6.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: refactor SATA support code

Refactor SATA support code for cm-fx6.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add SanDisk iSSD support

Add support for the on-board cm-fx6 SanDisk iSSD.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: fix the sb-fx6 EEPROM address

The sb-fx6 EEPROM is located at address 0x50 of the I2C1 bus.
Fix the EEPROM I2C address.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: remove unused HDMI code

cm-fx6 does not use HDCP, so remove HDCP related code.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: switch HDMI display interface

cm-fx6 supports the parallel LCD interface only on
display interface 0 (DI0).
On dual or more head configurations, this restricts the HDMI interface
to display interface 1 (DI1).
Switch the HDMI interface to use the display interface 1 (DI1) to enable
the dual head configuration.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: condition the HDMI code

Use the CONFIG_FB_MXC_HDMI define to condition the HDMI code
compilation.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add default HDMI FB config

Add default frame buffer configuration for the HDMI.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: condition the display support

Use the CONFIG_FB_MXC_SYNC_PANEL define to condition the compilation of
the display support for cm-fx6.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: refactor HDMI audio

Create a separate function for HDMI audio initialization and make the
compilation dependant on CONFIG_SND_SOC_IMX_HDMI.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
ARM: i.MX6: cm-fx6: add support for the DVI driver

Add support for the DVI driver for cm-fx6.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>