kernel: adm6996: add support for ADM6996L and GPIO interface
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 Nov 2013 19:27:27 +0000 (19:27 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 Nov 2013 19:27:27 +0000 (19:27 +0000)
commit6247bd3c5b94d7601d40fb21409c1fbc78c3eb90
tree59575830378cae53e1fe7633de002140f717926c
parent75440aa7d56cceb9641df00afd300277c7b15614
kernel: adm6996: add support for ADM6996L and GPIO interface

This patch makes it possible to use adm6996.c on first generation
BCM47XX devices with ADM switches.
The GPIO bit banging protocol implementation was copied from the old
switch driver and adapted to this driver and changed to the mainline
kernel GPIO interface.
The ADM6996L is different from the ADM6996M which is supported, for
both specs are available in the Internet.

This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for
the device.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38698
target/linux/generic/files/drivers/net/phy/adm6996.c
target/linux/generic/files/drivers/net/phy/adm6996.h
target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h [new file with mode: 0644]