Conversing sx1301 to regmap and regfield
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | net: lora: sx1301: add register, bit-fields, and helpers for regmapdrivers/ drivers/ drivers/ | +439 | 9 replies | |
| 2/10 | net: lora: add methods for devm registrationdrivers/ include/ | +21 | 1 reply | |
| 3/10 | net: lora: sx1301: convert to devm registration of netdevdrivers/ | +31 | 1 reply | |
| 4/10 | net: lora: sx1301: convert probe function to regmap accessdrivers/ drivers/ | +35 | 0 replies | |
| 5/10 | net: lora: sx1301: add device to private data and convert ram readsdrivers/ | +21 | 0 replies | |
| 6/10 | net: lora: sx1301: simplify firmware loading and convertdrivers/ | +37 | 0 replies | |
| 7/10 | net: lora: sx1301: convert read and write burst to take priv datadrivers/ | +10 | 0 replies | |
| 8/10 | net: lora: sx1301: convert read and write to priv pointerdrivers/ | +12 | 0 replies | |
| 9/10 | net: lora: sx1301: convert agc calibrate to regmap functionsdrivers/ | +26 | 0 replies | |
| 10/10 | net: lora: sx1301: convert all firmware to regmapdrivers/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH lora-next 00/10] Conversing sx1301 to regmap and regfield
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
Signature · 1 line
2.7.4