CGT000015 QMX6: Code formating using scripts/Lindent

Code formated according Linux kernel code style recommendation

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000016 QMX6: Allow compilation without HDMI

Don't require CONFIG_MFD_MXC_HDMI for proper compilation

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000017 QMX6: Correct and simplify SPI initialization

Simplify SPI initialization

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000018 QMX6: Remove unused includes

Remove unused includes

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000019 QMX6: Add defines for GPIOs on X4 and X5

This commit adds defines for the GPIOs connected to X4 (the QSEVEN
connector) and X5 (the android button connector).

Also the indentation of the existing IO defines are corrected.

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000020 QMX6: Drop imx6q_add_device_buttons if KEYBOARD_GPIO is not used.

drops imx6q_add_device_buttons if KEYBOARD_GPIO is not configured in kernel configuration

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000021 QMX6: Fix initialization of M41T62

The IRQ was assigned to the wrong entry in mxc_i2c2_board_info. Also if
gpio_request or gpio_direction_input fail there is something seriously
wrong so it makes sense to bug.

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000022 QMX6: Simplify pFUZe initialization

If gpio_request or gpio_direction_input fail there is something seriously
wrong so it makes sense to bug.

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000023 QMX6: Move and rename kernel config entry for QMX6

changes kernel configuration entry order of conga-QMX6 board

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000024 QMX6: Export LCD and backlight enable GPIOs

If gpio_request or gpio_direction_output fail there is something seriously
wrong so it makes sense to bug. Also gpio_direction_output already sets the
output value, so a call to gpio_set_value is not necessary.

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000025 QMX6: Change comment about SD ordering 

Change comment about SD ordering

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000026 QMX6: Move initialization of CLKO2 into separate function

Code cleanup: moves initialization of CLKO2 into separate function

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000027 QMX6: Fix detection of KSZ9021 and KSZ9031

The PHY ID register contains the chip revision in the lowest four bits. This
patch uses the correct PHY ID mask and sets the lower four bits to zero in the
PHY ID defines (PHY_ID_KSZ9021 and PHY_ID_KSZ9031).

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000028 QMX6: Reorder mx6q_qmx6_i2c_data.

Code cleanup: reorders mx6q_qmx6_i2c_data

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
CGT000029 QMX6: Fix compile error.

If CONFIG_CLK_DEBUG is not enabled struct clk does not have the name entry.

Signed-off-by: Michael Schanz <michael.schanz@congatec.com>
Merge branch 'cgt_imx_3.0.35_4.1.0' of https://git.congatec.com/arm/qmx6_kernel into cgt_imx_3.0.35_4.1.0