add devicetree bindings for rtc-m48t86
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- v10 of 3 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | rtc: rtc-m48t86: move m48t86.h to platform_dataarch/ arch/ drivers/ +1 more | +3 | 0 replies | |
| 2/6 | rtc: rtc-m48t86: add hooks to support driver side memory mappingdrivers/ | +173 | 3 replies | |
| 2/6 | rtc: rtc-m48t86: add hooks to support driver side memory mapping | +0 | 1 reply | |
| 2/6 | rtc: rtc-m48t86: add hooks to support driver side memory mappingdrivers/ | +173 | 0 replies | |
| 3/6 | rtc: rtc-m48t86: add detect method for RTCdrivers/ | +43 | 0 replies | |
| 4/6 | arm: orion5x: move ts78xx to use rtc-m48t86 driver side memory interfacearch/ | +17 | 1 reply | |
| 5/6 | arm: ep93xx: move ts72xx to use rtc-m48t86 driver side memory interfacearch/ | +7 | 0 replies | |
| 6/6 | rtc: rtc-m48t86: add devicetree bindingsDocumentation/ drivers/ | +27 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Jason Cooper |
|---|---|
| 1/6 | |
| 2/6 | |
| 2/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | A-b |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/6] add devicetree bindings for rtc-m48t86
Currently there are two users of rtc-m48t86 (mach-ep93xx/ts72xx.c and mach-orion5x/ts78xx-setup.c) and both just use {read,write}b against a memory mapped region. As I am devicetree'ing the TS-7800, this driver needs converting and thats what this patchset does.
The patch does the following:
* moves m48t86.h to include/linux/platform_data/rtc-m48t86.h
* adds a new additional interface to rtc-m48t86 via named resources that move the ioremap and {read,write}byte functionality into the driver (usable by ts7[28]xx)
* moves the RTC detection routine from ts78xx-setup.c into rtc-m48t86.c
* converts both ts7[28]xx to use the new interface
* enable devicetree hooks and include documentation
Alexander Clouter (6):
rtc: rtc-m48t86: move m48t86.h to platform_data
rtc: rtc-m48t86: add hooks to support driver side memory mapping
rtc: rtc-m48t86: add detect method for RTC
arm: orion5x: move ts78xx to use rtc-m48t86 driver side memory
interface
arm: ep93xx: move ts72xx to use rtc-m48t86 driver side memory
interface
rtc: rtc-m48t86: add devicetree bindings
.../devicetree/bindings/rtc/rtc-m48t86.txt | 17 ++
arch/arm/mach-ep93xx/ts72xx.c | 38 +--
arch/arm/mach-orion5x/ts78xx-setup.c | 78 ++----
drivers/rtc/rtc-m48t86.c | 285 ++++++++++++++++----
.../linux/{m48t86.h => platform_data/rtc-m48t86.h} | 0
5 files changed, 267 insertions(+), 151 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-m48t86.txt
rename include/linux/{m48t86.h => platform_data/rtc-m48t86.h} (100%)Signature · 1 line
1.7.10.4