pia335x: enable usb device and host ports

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
drivers/leds: add driver for PCA9633 I2C chip

Driver for the PCA9633 I2C chip supporting four LEDs and 255 brightness
levels.

[akpm@linux-foundation.org: fix kcalloc() call]
[axel.lin@gmail.com: fix kcalloc parameters swapped]
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-pca9633.c: remove unused 'adapter' variable

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Peter Meerwald <p.meerwald@bct-electronic.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
leds: add output driver configuration for pca9633 led driver

the pca9633 leds driver can be used in open-drain or totem pole (a.k.a.
push/pull) output driver mode; default is the later

the patch allows to set the output driver mode using platform data (similar to
configuration inferface provided by the tca6507 led driver)

v2: move leds-pca9633.h to include/linux/platform_data/ (Bryan Wu)

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
leds: pca9633: add support for 8 port PCA9634 device

- PCA963x devices are almost identical, varying just in number of
  registers and their address offsets
- also set output driver configuration explicitly to push-pull/open-drain
- backport module to 3.2.x

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: enable on board LEDs for KM E2 board

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: enable RS485 support for KM E2 board

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: code cleanup and comments

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: enable FRAM support for KM E2 board

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
hwmon: tmp421: HACK add support for TMP442

- just tell the driver that the 442 chip is a 422 one, the devices are
  almost identical register wise

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add support for TMP442 temperature monitor

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add support for special GPIOs configuration

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: am33xx: add missing pin mux signals for can

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add support for PMIC interrupt and gpios

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add missing gpios to board config

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add sys_clkout2 support for ls7366

- enable 12 MHz clock on sys_clkout2

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add board support for CAN0 and CAN1 interfaces

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: fix clkout2 initialization

- clocks are named differently on AM33xx than on AM335x, fix naming
- 12 MHz clock is based on 192 MHz peripheral clock. This clock is also
  the base clock for UARTs. Reconfiguring the clocks will oops the kernel,
  when clkout2 is enabled after UARTs have been configured.
- move clkout2 to beginning of init.

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: enable support for SPI0 and SPI1 bussed

- SPI1.0 is a third can device MCP2515
- SPI1.1, SPI0.0 and SPI0.1 are connected externally or handled by
  userspace => provide the interface via spidev

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>