Skip to content

add devicetree bindings for rtc-m48t86

Alexander Clouter linux-arm-kernel linux-devicetree 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rtc: rtc-m48t86: move m48t86.h to platform_dataarch/arm/mach-ep93xx/ts72xx.c arch/arm/mach-orion5x/ts78xx-setup.c drivers/rtc/rtc-m48t86.c +1 more+3 -30 replies
2/6rtc: rtc-m48t86: add hooks to support driver side memory mappingdrivers/rtc/rtc-m48t86.c+173 -573 replies
2/6rtc: rtc-m48t86: add hooks to support driver side memory mapping+0 -01 reply
2/6rtc: rtc-m48t86: add hooks to support driver side memory mappingdrivers/rtc/rtc-m48t86.c+173 -570 replies
3/6rtc: rtc-m48t86: add detect method for RTCdrivers/rtc/rtc-m48t86.c+43 -00 replies
4/6arm: orion5x: move ts78xx to use rtc-m48t86 driver side memory interfacearch/arm/mach-orion5x/ts78xx-setup.c+17 -611 reply
5/6arm: ep93xx: move ts72xx to use rtc-m48t86 driver side memory interfacearch/arm/mach-ep93xx/ts72xx.c+7 -310 replies
6/6rtc: rtc-m48t86: add devicetree bindingsDocumentation/devicetree/bindings/rtc/rtc-m48t86.txt drivers/rtc/rtc-m48t86.c+27 -20 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchJason Cooper
1/6
2/6
2/6
2/6
3/6
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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