input: vt8500: Add power button keypad driver

This patch adds support for the Power Button keypad found on
Wondermedia netbooks/tablets.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
input: vt8500: Add support for devicetree to i8042 driver

This patch adds basic devicetree support for the i8042 controller driver.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
mtd: vt8500: Add support for Wondermedia Serial Flash Controller

This patch adds read-only support of the Wondermedia SFC found
on WM8505, WM8650 and WM8850 SoCs. The driver does not currently
support write or erase operations.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
MAINTAINERS: vt8500: Update maintained files list

This patch updates the MAINTAINERS file to show the current list
of files maintained under ARM/VT8500 ARM ARCHITECTURE.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
serial: vt8500: Add missing binding document for arch-vt8500 serial driver.

The binding document for the vt8500/wm8xxx SoC UART driver is missing.
This patch adds the binding document.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
pinctrl: vt8500: Add VGA pins for WM8750

Add an additional 8 pins for enabling the internal VGA output of the
WM8750 SoC.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
mtd: vt8500: Repair serial flash driver after pinctrl/gpio changes

With the removal of the GPIO driver, the serial flash driver now fails
to initialize because it can't find a wm,wm8650-gpio node.

Remove this test as we don't need to detect the bootstrap mode - all
Wondermedia SoCs in production have used a serial flash boot rom so
only 'mode 0' is required.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
arm: vt8500: Fix gpio mux setup in vt8500_init()

With the switch to a pinctrl driver, and the dropping of the gpio driver,
the code in vt8500_init now always fails, and drops back to LEGACY mode.

Update the gpio mux init code, and removing the #ifdef's and the LEGACY
mode fallback.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
dts: vt8500: Devicetree updates for VT8500 and WonderMedia SoCs

Various DT updates for the WonderMedia and VIA SoCs.
This is the result of combining several (15) patches into one as there
were fixes for fixes and errors during merging.

This patch will not be submitted upstream as is. It is here to keep
the commit history tidy and provide one patch for all DTS changes.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
mtd: vt8500: Add support for WonderMedia WM8xxx-series NAND Flash controller

This patch adds initial support for the NAND flash controller found on
WonderMedia WM8xxx-series (PRIZM) SoCs.

Supports reading partitioning info from devicetree board files.

Tested on VIA APC8750.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
fb: vt8500: Add support for VGA output on WM8750

This is a 'hacky' patch to enable video output via the VGA connector
found on the APC8750. All the new code is #ifdef'd to make it identifiable.

A new Kconfig option is added to "Enable VGA" which has the side-effect of
breaking the LCD panel output.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
vt8500: pinctrl: Change devicetree data parsing

Due to an assumption in the VT8500 pinctrl driver, the value passed
from devicetree for 'wm,pull' was not explicitly translated before
being passed to pinconf.

With changes to 'enum pin_config_param', PIN_CONFIG_BIAS_PULL_(UP/DOWN)
no longer map 1-to-1 with the expected values in devicetree.

This patch adds a small translation between the devicetree values (0..2)
and the enum pin_config_param equivalent values.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Helmut Stengele <lautriv@coldplug.net>

Correct offset on GPIO Bank #10 on newer chips.

The 8750 and 8850 has register dout for bank 10
set to the offset from bank 7, patch will correct this.

	modified:   drivers/pinctrl/vt8500/pinctrl-wm8750.c
	modified:   drivers/pinctrl/vt8500/pinctrl-wm8850.c
input: vt8500: Add power button keypad driver

This patch adds support for the Power Button keypad found on
Wondermedia netbooks/tablets.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
input: vt8500: Add support for devicetree to i8042 driver

This patch adds basic devicetree support for the i8042 controller driver.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
mtd: vt8500: Add support for Wondermedia Serial Flash Controller

This patch adds read-only support of the Wondermedia SFC found
on WM8505, WM8650 and WM8850 SoCs. The driver does not currently
support write or erase operations.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
MAINTAINERS: vt8500: Update maintained files list

This patch updates the MAINTAINERS file to show the current list
of files maintained under ARM/VT8500 ARM ARCHITECTURE.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
pinctrl: vt8500: Add VGA pins for WM8750

Add an additional 8 pins for enabling the internal VGA output of the
WM8750 SoC.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
mtd: vt8500: Repair serial flash driver after pinctrl/gpio changes

With the removal of the GPIO driver, the serial flash driver now fails
to initialize because it can't find a wm,wm8650-gpio node.

Remove this test as we don't need to detect the bootstrap mode - all
Wondermedia SoCs in production have used a serial flash boot rom so
only 'mode 0' is required.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
arm: vt8500: Fix gpio mux setup in vt8500_init()

With the switch to a pinctrl driver, and the dropping of the gpio driver,
the code in vt8500_init now always fails, and drops back to LEGACY mode.

Update the gpio mux init code, and removing the #ifdef's and the LEGACY
mode fallback.

Signed-off-by: Tony Prisk <linux@prisktech.co.nz>