i2c: omap: disable adapter class

There is no easy way to disable automatic detection mechanism for
device drivers when a matching class is set for the adapter.

Most embedded devices use a fixed configuration anyway, specifying I²C
addresses in board-...

Automatic detection slows down the boot process and breaks devices if the
detection erroneously "detects" the wrong device, e.g. on piA-AM3517 there
is a LM75 at 0x48 and a 3G sensor (without in kernel driver) at 0x4C. The
3G gets detected as an LM75 and is unusable in this state. Also, this
non-LM75 device introduces other problems when accessed and evaluated as
LM75.

NOTE: This patch should NOT be used for other OMAP devices without
checking that the class based detection mechanism is not used.


Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Initial implementation of st7586s framebuffer
Add bounds checking, implement fillrect
Glamourize st7586s code
Add memory buffer, deferred IO
Nanofixes
Fix few errors
Explicitly export GPIOs used for hardware buttons
Switch buttons to pullup
Fix broken uart4
i2c: pca953x: match setup & teardown parameter types with gpiolib

- gpio_chip.base is an int not unsigned
- allow the same setup function to be used for different IO expanders

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am35x: add support for revision 1.0 of the EMS expansion

- change first IO expander to a PCA9538
- make 1.0 == 4 the new default revision of the EMS board
- remove unused code

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am35x: run init on EMS Rev 1.0 boards

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Merge remote-tracking branch 'lokisa/master' into lokisa

* lokisa/master:
  Fix broken uart4
  Switch buttons to pullup
  Explicitly export GPIOs used for hardware buttons
  Fix few errors
  Nanofixes
  Add memory buffer, deferred IO
  Glamourize st7586s code
  Add bounds checking, implement fillrect
  Initial implementation of st7586s framebuffer
Merge branch 'lokisa' into pia35x-3.2-dev

* lokisa:
  arm: pia-am35x: run init on EMS Rev 1.0 boards
  arm: pia-am35x: add support for revision 1.0 of the EMS expansion
  i2c: pca953x: match setup & teardown parameter types with gpiolib
  Fix broken uart4
  Switch buttons to pullup
  Explicitly export GPIOs used for hardware buttons
  Fix few errors
  Nanofixes
  Add memory buffer, deferred IO
  Glamourize st7586s code
  Add bounds checking, implement fillrect
  Initial implementation of st7586s framebuffer