From: Alexander Aring
Date: Wed, 12 Mar 2014 08:21:24 +0100
> This patch fix a lockdep in the at86rf230 driver, otherwise we get:
...
> Signed-off-by: Alexander Aring
Applied, thank you.
--
Learn Graph Databases - Dow
Hi all,
this patch series is v2 of my lastest at86rf230 patch serie. If all seems
fine I will send it to netdev later.
I already sent the lockdep splats fix to net which is a bugfix for stable.
- Alex
changes since v2:
- change state change to STATE_TX_ON.
- add change reset timings patch.
-
This patch make the reset pin optionally. Some devices like the atben
from qi-hardware don't have a reset pin externally. The usually way is
to turn power off/on for the atben device to initiate a device reset.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 34 ++
There is no need to lock the clearing of IRQ_TRX_END in status.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 0edd795..fca997
This patch adds devicetree support for the at86rf230 driver.
Possible gpios to configure are "reset-gpio" and "sleep-gpio".
Also add support to configure the "irq-type" for the irq polarity
register.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 48
While checkpatch another patch I got a:
"WARNING: msleep < 20ms can sleep for up to 20ms"
The datasheet of at86rf231 and at86rf212 says a minimum delay for reset
pulse width and spi access latency after reset is 625 nanoseconds.
This patch removes the 1 milliseconds sleep and replace it with a 1
This patch fix a unexpected state change for the at86rf231 chip.
We can't change into STATE_FORCE_TX_ON while the chip is in one of
SLEEP, P_ON, RESET, TRX_OFF, and all *_NOCLK states.
In this case we are in the TRX_OFF state. See datasheet [1] page 71 for
more information.
Without this patch you