forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'rtc-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/abelloni/linux Pull RTC updates from Alexandre Belloni: "Here is the pull-request for the RTC subsystem for 4.13. Subsystem: - expose non volatile RAM using nvmem instead of open coding in many drivers. Unfortunately, this option has to be enabled by default to not break existing users. - rtctest can now test for cutoff dates, showing when an RTC will start failing to properly save time and date. - new RTC registration functions to remove race conditions in drivers Newly supported RTCs: - Broadcom STB wake-timer - Epson RX8130CE - Maxim IC DS1308 - STMicroelectronics STM32H7 Drivers: - ds1307: use regmap, use nvmem, more cleanups - ds3232: temperature reading support - gemini: renamed to ftrtc010 - m41t80: use CCF to expose the clock - rv8803: use nvmem - s3c: many cleanups - st-lpc: fix y2106 bug" * tag 'rtc-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (51 commits) rtc: Remove wrong deprecation comment nvmem: include linux/err.h from header rtc: st-lpc: make it robust against y2038/2106 bug rtc: rtctest: add check for problematic dates tools: timer: add rtctest_setdate rtc: ds1307: remove ds1307_remove rtc: ds1307: use generic nvmem rtc: ds1307: switch to rtc_register_device rtc: rv8803: remove rv8803_remove rtc: rv8803: use generic nvmem support rtc: rv8803: switch to rtc_register_device rtc: add generic nvmem support rtc: at91rm9200: remove race condition rtc: introduce new registration method rtc: class separate id allocation from registration rtc: class separate device allocation from registration rtc: stm32: add STM32H7 RTC support dt-bindings: rtc: stm32: add support for STM32H7 rtc: ds1307: add ds1308 variant rtc: ds3232: add temperature support ...
- Loading branch information
Showing
33 changed files
with
2,027 additions
and
892 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Broadcom STB wake-up Timer | ||
|
||
The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the | ||
ability to wake up the system from low-power suspend/standby modes. | ||
|
||
Required properties: | ||
- compatible : should contain "brcm,brcmstb-waketimer" | ||
- reg : the register start and length for the WKTMR block | ||
- interrupts : The TIMER interrupt | ||
- interrupt-parent: The phandle to the Always-On (AON) Power Management (PM) L2 | ||
interrupt controller node | ||
- clocks : The phandle to the UPG fixed clock (27Mhz domain) | ||
|
||
Example: | ||
|
||
waketimer@f0411580 { | ||
compatible = "brcm,brcmstb-waketimer"; | ||
reg = <0xf0411580 0x14>; | ||
interrupts = <0x3>; | ||
interrupt-parent = <&aon_pm_l2_intc>; | ||
clocks = <&upg_fixed>; | ||
}; |
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
* Faraday Technology FTRTC010 Real Time Clock | ||
|
||
This RTC appears in for example the Storlink Gemini family of | ||
SoCs. | ||
|
||
Required properties: | ||
- compatible : Should be one of: | ||
"faraday,ftrtc010" | ||
"cortina,gemini-rtc", "faraday,ftrtc010" | ||
|
||
Optional properties: | ||
- clocks: when present should contain clock references to the | ||
PCLK and EXTCLK clocks. Faraday calls the later CLK1HZ and | ||
says the clock should be 1 Hz, but implementers actually seem | ||
to choose different clocks here, like Cortina who chose | ||
32768 Hz (a typical low-power clock). | ||
- clock-names: should name the clocks "PCLK" and "EXTCLK" | ||
respectively. | ||
|
||
Examples: | ||
|
||
rtc@45000000 { | ||
compatible = "cortina,gemini-rtc"; | ||
reg = <0x45000000 0x100>; | ||
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&foo 0>, <&foo 1>; | ||
clock-names = "PCLK", "EXTCLK"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1255,7 +1255,7 @@ L: [email protected] (moderated for non-subscribers) | |
T: git git://github.com/ulli-kroll/linux.git | ||
S: Maintained | ||
F: arch/arm/mach-gemini/ | ||
F: drivers/rtc/rtc-gemini.c | ||
F: drivers/rtc/rtc-ftrtc010.c | ||
|
||
ARM/CSR SIRFPRIMA2 MACHINE SUPPORT | ||
M: Barry Song <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.