kernel: adm6996: add support for ADM6996L and GPIO interface
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Nov 2013 19:27:27 +0000 (19:27 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Nov 2013 19:27:27 +0000 (19:27 +0000)
commit2018611a6921e62436b0bdcc5b1766edf06db80c
tree59575830378cae53e1fe7633de002140f717926c
parentb116b35345063dd8e5c2ca616c62293e6295c35c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38698 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]