RTC: nvmem improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest45 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/45 | rtc: documentation: correct nvmem date and versionDocumentation/ | +2 | 0 replies | |
| 2/45 | rtc: nvmem: pass nvmem_config to rtc_nvmem_register()drivers/ drivers/ drivers/ | +14 | 0 replies | |
| 3/45 | rtc: nvmem: return error valuesdrivers/ drivers/ | +13 | 0 replies | |
| 4/45 | rtc: nvmem: disallow registering nvmem more than oncedrivers/ | +3 | 0 replies | |
| 5/45 | rtc: export rtc_nvmem_register() to driversdrivers/ drivers/ include/ | +14 | 0 replies | |
| 6/45 | rtc: ds1305: call rtc_nvmem_register()drivers/ | +2 | 0 replies | |
| 7/45 | rtc: ds1305: put ds1305_nvmem_cfg on the stackdrivers/ | +8 | 0 replies | |
| 8/45 | rtc: ds1307: call rtc_nvmem_register()drivers/ | +6 | 0 replies | |
| 9/45 | rtc: ds1307: put struct nvmem_config on the stackdrivers/ | +10 | 0 replies | |
| 10/45 | rtc: ds1511: call rtc_nvmem_register()drivers/ | +2 | 0 replies | |
| 11/45 | rtc: ds1511: put ds1511_nvmem_cfg on the stackdrivers/ | +9 | 0 replies | |
| 12/45 | rtc: m48t86: call rtc_nvmem_register()drivers/ | +2 | 0 replies | |
| 13/45 | rtc: m48t86: put m48t86_nvmem_cfg on the stackdrivers/ | +9 | 0 replies | |
| 14/45 | rtc: omap: call rtc_nvmem_register()drivers/ | +2 | 0 replies | |
| 15/45 | rtc: pcf85363: call rtc_nvmem_register()drivers/ | +6 | 0 replies | |
| 16/45 | rtc: pcf85363: put struct nvmem_config on the stackdrivers/ | +10 | 0 replies | |
| 17/45 | rtc: rv8803: call rtc_nvmem_register()drivers/ | +2 | 0 replies | |
| 18/45 | rtc: rv8803: put struct nvmem_config on the stackdrivers/ | +10 | 0 replies | |
| 19/45 | rtc: rv8803: fix possible race conditiondrivers/ | +8 | 0 replies | |
| 20/45 | rtc: remove nvmem_configdrivers/ include/ | +0 | 0 replies | |
| 21/45 | rtc: ds1343: simplify regmap initializationdrivers/ | +2 | 0 replies | |
| 22/45 | rtc: ds1343: switch to rtc_register_devicedrivers/ | +8 | 0 replies | |
| 23/45 | rtc: ds1343: remove undocumented and useless sysfs filesdrivers/ | +1 | 0 replies | |
| 24/45 | rtc: ds1343: use generic nvmemdrivers/ | +20 | 0 replies | |
| 25/45 | rtc: m48t59: switch to rtc_register_devicedrivers/ | +7 | 0 replies | |
| 26/45 | rtc: m48t59: use generic nvmemdrivers/ | +23 | 0 replies | |
| 27/45 | rtc: sirfsoc: remove useless sirfsoc_rtc_ioctldrivers/ | +0 | 0 replies | |
| 28/45 | rtc: ds1553: switch to rtc_register_devicedrivers/ | +7 | 0 replies | |
| 29/45 | rtc: ds1553: use generic nvmemdrivers/ | +24 | 0 replies | |
| 30/45 | rtc: ds1553: make alarms usefuldrivers/ | +0 | 0 replies | |
| 31/45 | rtc: cmos: fix possible race conditiondrivers/ | +8 | 0 replies | |
| 32/45 | rtc: cmos: use generic nvmemdrivers/ | +30 | 0 replies | |
| 33/45 | rtc: ds1742: switch to rtc_register_devicedrivers/ | +8 | 0 replies | |
| 34/45 | rtc: ds1742: use generic nvmemdrivers/ | +26 | 0 replies | |
| 35/45 | rtc: rp5c01: fix possible race conditiondrivers/ | +10 | 0 replies | |
| 36/45 | rtc: rp5c01: use generic nvmemdrivers/ | +24 | 0 replies | |
| 37/45 | rtc: stk17ta8: make alarms usefuldrivers/ | +1 | 0 replies | |
| 38/45 | rtc: stk17ta8: switch to rtc_register_devicedrivers/ | +7 | 0 replies | |
| 39/45 | rtc: stk17ta8: fix possible race conditiondrivers/ | +2 | 0 replies | |
| 40/45 | rtc: stk17ta8: use generic nvmemdrivers/ | +24 | 0 replies | |
| 41/45 | rtc: tx4939: remove arch/mips dependencydrivers/ | +24 | 0 replies | |
| 42/45 | rtc: tx4939: extend test coveragedrivers/ | +1 | 0 replies | |
| 43/45 | rtc: tx4939: switch to rtc_register_devicedrivers/ | +8 | 0 replies | |
| 44/45 | rtc: tx4939: fix possible race conditiondrivers/ | +3 | 0 replies | |
| 45/45 | rtc: tx4939: use generic nvmemdrivers/ | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/45] RTC: nvmem improvements
This series makes some change to the RTC nvmem API to simplify drivers and clean the way the nvmem_config is used.
The main issue was the different lifecycle of the struct nvmem_config (only needed at probe time) and rtc_device (needed for the lifetime of the driver).
Then, it converts the remaining drivers (except ds1685) to the API. A few other improvements are also made along the way.
Alexandre Belloni (45):
rtc: documentation: correct nvmem date and version
rtc: nvmem: pass nvmem_config to rtc_nvmem_register()
rtc: nvmem: return error values
rtc: nvmem: disallow registering nvmem more than once
rtc: export rtc_nvmem_register() to drivers
rtc: ds1305: call rtc_nvmem_register()
rtc: ds1305: put ds1305_nvmem_cfg on the stack
rtc: ds1307: call rtc_nvmem_register()
rtc: ds1307: put struct nvmem_config on the stack
rtc: ds1511: call rtc_nvmem_register()
rtc: ds1511: put ds1511_nvmem_cfg on the stack
rtc: m48t86: call rtc_nvmem_register()
rtc: m48t86: put m48t86_nvmem_cfg on the stack
rtc: omap: call rtc_nvmem_register()
rtc: pcf85363: call rtc_nvmem_register()
rtc: pcf85363: put struct nvmem_config on the stack
rtc: rv8803: call rtc_nvmem_register()
rtc: rv8803: put struct nvmem_config on the stack
rtc: rv8803: fix possible race condition
rtc: remove nvmem_config
rtc: ds1343: simplify regmap initialization
rtc: ds1343: switch to rtc_register_device
rtc: ds1343: remove undocumented and useless sysfs files
rtc: ds1343: use generic nvmem
rtc: m48t59: switch to rtc_register_device
rtc: m48t59: use generic nvmem
rtc: sirfsoc: remove useless sirfsoc_rtc_ioctl
rtc: ds1553: switch to rtc_register_device
rtc: ds1553: use generic nvmem
rtc: ds1553: make alarms useful
rtc: cmos: fix possible race condition
rtc: cmos: use generic nvmem
rtc: ds1742: switch to rtc_register_device
rtc: ds1742: use generic nvmem
rtc: rp5c01: fix possible race condition
rtc: rp5c01: use generic nvmem
rtc: stk17ta8: make alarms useful
rtc: stk17ta8: switch to rtc_register_device
rtc: stk17ta8: fix possible race condition
rtc: stk17ta8: use generic nvmem
rtc: tx4939: remove arch/mips dependency
rtc: tx4939: extend test coverage
rtc: tx4939: switch to rtc_register_device
rtc: tx4939: fix possible race condition
rtc: tx4939: use generic nvmem
Documentation/ABI/testing/sysfs-class-rtc | 4 +- drivers/rtc/Kconfig | 2 +- drivers/rtc/class.c | 2 - drivers/rtc/nvmem.c | 29 +++-- drivers/rtc/rtc-cmos.c | 75 ++++++------ drivers/rtc/rtc-core.h | 8 -- drivers/rtc/rtc-ds1305.c | 21 ++-- drivers/rtc/rtc-ds1307.c | 29 ++--- drivers/rtc/rtc-ds1343.c | 183 +++++------------------------- drivers/rtc/rtc-ds1511.c | 22 ++-- drivers/rtc/rtc-ds1553.c | 74 +++++------- drivers/rtc/rtc-ds1742.c | 73 ++++++------ drivers/rtc/rtc-m48t59.c | 57 +++++----- drivers/rtc/rtc-m48t86.c | 23 ++-- drivers/rtc/rtc-omap.c | 3 +- drivers/rtc/rtc-pcf85363.c | 25 ++-- drivers/rtc/rtc-rp5c01.c | 63 +++++----- drivers/rtc/rtc-rv8803.c | 33 +++--- drivers/rtc/rtc-sirfsoc.c | 18 --- drivers/rtc/rtc-stk17ta8.c | 70 +++++------- drivers/rtc/rtc-tx4939.c | 87 +++++++++----- include/linux/rtc.h | 14 ++- 22 files changed, 380 insertions(+), 535 deletions(-)
Signature · 1 line
2.16.1