[PATCH 1/1] Add support for GPIOs for SMSC LAN95xx chips.

2014-05-11 Thread Evgeny Boger
presumably from SMSC original driver. https://github.com/olerem/barebox/blob/master/drivers/net/usb/smsc95xx.c Signed-off-by: Evgeny Boger --- drivers/net/usb/smsc95xx.c | 266 + 1 file changed, 266 insertions(+) diff --git a/drivers/net/usb/smsc95xx.c b

[PATCH v3] Add support for GPIOs for SMSC LAN95xx chips.

2014-10-08 Thread Evgeny Boger
is the same as the corresponding offset, i.e. offsets 0-10 are for "GPIO0"-"GPIO10". Signed-off-by: Evgeny Boger --- Changes: v3: Remove more unnecessary newlines and return statement. Fix typo in commit message (max offset 10, was: 11) Add note on GPIO nu

Re: [PATCH 1/1] Add support for GPIOs for SMSC LAN95xx chips.

2014-06-23 Thread Evgeny Boger
p Updated patch is as follows: Signed-off-by: Evgeny Boger --- drivers/net/usb/smsc95xx.c | 290 +++-- drivers/net/usb/smsc95xx.h | 1 + 2 files changed, 282 insertions(+), 9 deletions(-) diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/

[PATCH v2] Add support for GPIOs for SMSC LAN95xx chips.

2014-06-24 Thread Evgeny Boger
There might be 11 GPIOs in total. Last three GPIOs (offsets 8-11, 0-based) are shared with FDX, LNKA, SPD LEDs respectively. The LEDs are driven by chip by default at startup time. Once the corresponding GPIO is requested, the chip LED drive logic is disabled. Signed-off-by: Evgeny Boger

Re: [PATCH v2] Add support for GPIOs for SMSC LAN95xx chips.

2014-06-25 Thread Evgeny Boger
06/25/2014 02:34 PM, Daniele Forsi пишет: 2014-06-25 6:46 GMT+02:00 Evgeny Boger: There might be 11 GPIOs in total. do you mean "12 GPIOs"? You say later they are 0-based and the last one is "11" Last three GPIOs (offsets 8-11, 0-based) are shared with FDX, LNKA, S