[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190106083754.6004-1-afaerber@suse.de>
Date: Sun, 6 Jan 2019 09:37:43 +0100
From: Andreas Färber <afaerber@...e.de>
To: linux-lpwan@...ts.infradead.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Andreas Färber <afaerber@...e.de>,
Ben Whitten <ben.whitten@...il.com>,
Mark Brown <broonie@...nel.org>
Subject: [PATCH lora-next 00/11] net: lora: sx130x: Fixes for enabling regcache
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@...il.com>
Cc: Mark Brown <broonie@...nel.org>
Cc: linux-lpwan@...ts.infradead.org
Cc: netdev@...r.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
Powered by blists - more mailing lists