netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH lora-next 00/10] Conversing sx1301 to regmap and regfield
@ 2018-08-07 17:32 Ben Whitten
  2018-08-07 17:32 ` [PATCH lora-next 01/10] net: lora: sx1301: add register, bit-fields, and helpers for regmap Ben Whitten
                   ` (10 more replies)
  0 siblings, 11 replies; 25+ messages in thread
From: Ben Whitten @ 2018-08-07 17:32 UTC (permalink / raw)
  To: afaerber, starnight, hasnain.virk; +Cc: netdev, Ben Whitten

This series converts the majority of sx1301 code to using regmap and regfield
system.
The SPI subsystem is as yet untouched but will be converted to a regmap_bus
in a future series with sx1257 conversions.

Interestingly the initial state did not work for me as I was getting kernel
oopses somewhere todo with sx1301_page_read on my hardware.
Since conversion to regmap the sx1301 initialises properly, sx1257 still oopses
because of the SPI bus read but presumably will go away with regmap_bus.

Ben Whitten (10):
  net: lora: sx1301: add register, bit-fields, and helpers for regmap
  net: lora: add methods for devm registration
  net: lora: sx1301: convert to devm registration of netdev
  net: lora: sx1301: convert probe function to regmap access
  net: lora: sx1301: add device to private data and convert ram reads
  net: lora: sx1301: simplify firmware loading and convert
  net: lora: sx1301: convert read and write burst to take priv data
  net: lora: sx1301: convert read and write to priv pointer
  net: lora: sx1301: convert agc calibrate to regmap functions
  net: lora: sx1301: convert all firmware to regmap

 drivers/net/lora/Kconfig  |   1 +
 drivers/net/lora/dev.c    |  20 ++
 drivers/net/lora/sx1301.c | 803 ++++++++++++++++++++++++----------------------
 drivers/net/lora/sx1301.h | 176 ++++++++++
 include/linux/lora/dev.h  |   1 +
 5 files changed, 623 insertions(+), 378 deletions(-)
 create mode 100644 drivers/net/lora/sx1301.h

-- 
2.7.4

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

end of thread, other threads:[~2018-08-10 14:07 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-07 17:32 [PATCH lora-next 00/10] Conversing sx1301 to regmap and regfield Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 01/10] net: lora: sx1301: add register, bit-fields, and helpers for regmap Ben Whitten
2018-08-08  8:57   ` Andreas Färber
2018-08-08 12:32     ` Ben Whitten
2018-08-08 12:51       ` Andreas Färber
2018-08-08 15:52         ` Ben Whitten
2018-08-08 23:37           ` Andreas Färber
2018-08-09 13:23             ` Ben Whitten
2018-08-10 11:37               ` Andreas Färber
2018-08-08  9:07   ` Andreas Färber
2018-08-08 12:24     ` Ben Whitten
2018-08-07 17:32 ` [RFC] spi: add spi multiplexing functions for dt Ben Whitten
2018-08-07 21:17   ` Andreas Färber
2018-08-07 22:03     ` Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 02/10] net: lora: add methods for devm registration Ben Whitten
2018-08-07 21:25   ` Andreas Färber
2018-08-07 17:32 ` [PATCH lora-next 03/10] net: lora: sx1301: convert to devm registration of netdev Ben Whitten
2018-08-08  9:00   ` Andreas Färber
2018-08-07 17:32 ` [PATCH lora-next 04/10] net: lora: sx1301: convert probe function to regmap access Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 05/10] net: lora: sx1301: add device to private data and convert ram reads Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 06/10] net: lora: sx1301: simplify firmware loading and convert Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 07/10] net: lora: sx1301: convert read and write burst to take priv data Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 08/10] net: lora: sx1301: convert read and write to priv pointer Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 09/10] net: lora: sx1301: convert agc calibrate to regmap functions Ben Whitten
2018-08-07 17:32 ` [PATCH lora-next 10/10] net: lora: sx1301: convert all firmware to regmap Ben Whitten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).