mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH lora-next 00/11] net: lora: sx130x: Fixes for enabling regcache
@ 2019-01-06  8:37 Andreas Färber
  2019-01-06  8:37 ` [PATCH lora-next 01/11] net: lora: sx125x: Abort on wrong version Andreas Färber
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Andreas Färber @ 2019-01-06  8:37 UTC (permalink / raw)
  To: linux-lpwan
  Cc: netdev, linux-kernel, Andreas Färber, Ben Whitten, Mark Brown

Hello,

This series fixes a number of issues that stood in the way of enabling the
regmap cache for SX130x. It goes on to enable REGCACHE_RBTREE.

1) Soft reset needs special treatment.
2) More registers need to be treated as volatile.
3) Some register field writes need to be forced.

This complements Ben Whitten's regmap conversion patches [1] I already squashed,
mainly [2]. I intend to squash these into my driver commit as well.

In my testing it has not regressed with spi-gpio or cdc-acm, nor with spi-sun6i;
given that we seem no closer to a solution for the clk lock-up, we may need to
revert that commit from [1] again.

Have a lot of fun!

Cheers,
Andreas

[1] https://patchwork.ozlabs.org/cover/983168/
[2] https://patchwork.ozlabs.org/patch/983170/

Cc: Ben Whitten <ben.whitten@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-lpwan@lists.infradead.org
Cc: netdev@vger.kernel.org

Andreas Färber (11):
  net: lora: sx125x: Abort on wrong version
  net: lora: sx130x: Fix error codes
  net: lora: sx130x: Revert drop of sx1301_soft_reset()
  net: lora: sx130x: Fix soft reset
  net: lora: sx130x: Fix regmap field toggles
  net: lora: sx130x: Force regmap field write before sleep
  net: lora: sx130x: Force regmap field writes before function
    boundaries
  net: lora: sx130x: Force regmap field write before reading status
  net: lora: sx130x: Mark AGCSTS register as volatile
  net: lora: sx130x: Mark MCU_CTRL register as volatile
  net: lora: sx130x: Enable regmap caching

 drivers/net/lora/sx125x.c |  6 ++++-
 drivers/net/lora/sx130x.c | 65 +++++++++++++++++++++++++++++++++--------------
 2 files changed, 51 insertions(+), 20 deletions(-)

-- 
2.16.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-01-06  8:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-06  8:37 [PATCH lora-next 00/11] net: lora: sx130x: Fixes for enabling regcache Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 01/11] net: lora: sx125x: Abort on wrong version Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 02/11] net: lora: sx130x: Fix error codes Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 03/11] net: lora: sx130x: Revert drop of sx1301_soft_reset() Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 04/11] net: lora: sx130x: Fix soft reset Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 05/11] net: lora: sx130x: Fix regmap field toggles Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 06/11] net: lora: sx130x: Force regmap field write before sleep Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 07/11] net: lora: sx130x: Force regmap field writes before function boundaries Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 08/11] net: lora: sx130x: Force regmap field write before reading status Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 09/11] net: lora: sx130x: Mark AGCSTS register as volatile Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 10/11] net: lora: sx130x: Mark MCU_CTRL " Andreas Färber
2019-01-06  8:37 ` [PATCH lora-next 11/11] net: lora: sx130x: Enable regmap caching Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®