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)
commit7a82667372af7eb372133fd6bb0e3322c8c02df1
treec5abe17c0a150f119deb3f624de5eb081a260e77
parente75584e2898d34ff319a5ac55bef2dd469321d8f
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]