-
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.10' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/abelloni/linux Pull RTC updates from Alexandre Belloni: "Subsystem: - non-modular drivers are now explicitly non-modular New driver: - Epson Toyocom rtc-7301sf/dg Drivers: - cmos: reject unsupported alarm values wrt the RTC capabilities - ds1307: ACPI support - jz4740: DT support, jz4780 handling, can now be used as a system power controller - mcp795: many fixes, in particular proper month handling - twl: driver is now DT only" * tag 'rtc-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (31 commits) rtc: mcp795: Fix whitespace and indentation. rtc: mcp795: Prefer using the BIT() macro. rtc: mcp795: fix month write resetting date to 1. rtc: mcp795: fix time range difference between linux and RTC chip. rtc: mcp795: fix bitmask value for leap year (LP). rtc: mcp795: use bcd2bin/bin2bcd. rtc: add support for EPSON TOYOCOM RTC-7301SF/DG rtc: ds1307: Add ACPI support rtc: imxdi: (trivial) fix a typo rtc: ds1374: Merge conditional + WARN_ON() rtc: twl: make driver DT only rtc: twl: kill static variables rtc: fix typos in Kconfig rtc: jz4740: make the driver builtin only rtc: jz4740: remove unused EXPORT_SYMBOL Documentation: bindings: fix twl-rtc documentation rtc: Enable compile testing for Maxim and Samsung drivers MIPS: jz4740: Remove obsolete code MIPS: qi_lb60: Probe RTC driver from DT and use it as power controller MIPS: jz4740: DTS: Probe the jz4740-rtc driver from devicetree ...
- Loading branch information
Showing
24 changed files
with
1,055 additions
and
257 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
EPSON TOYOCOM RTC-7301SF/DG | ||
|
||
Required properties: | ||
|
||
- compatible: Should be "epson,rtc7301sf" or "epson,rtc7301dg" | ||
- reg: Specifies base physical address and size of the registers. | ||
- interrupts: A single interrupt specifier. | ||
|
||
Example: | ||
|
||
rtc: rtc@44a00000 { | ||
compatible = "epson,rtc7301dg"; | ||
reg = <0x44a00000 0x10000>; | ||
interrupt-parent = <&axi_intc_0>; | ||
interrupts = <3 2>; | ||
}; |
37 changes: 37 additions & 0 deletions
37
Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.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,37 @@ | ||
JZ4740 and similar SoCs real-time clock driver | ||
|
||
Required properties: | ||
|
||
- compatible: One of: | ||
- "ingenic,jz4740-rtc" - for use with the JZ4740 SoC | ||
- "ingenic,jz4780-rtc" - for use with the JZ4780 SoC | ||
- reg: Address range of rtc register set | ||
- interrupts: IRQ number for the alarm interrupt | ||
- clocks: phandle to the "rtc" clock | ||
- clock-names: must be "rtc" | ||
|
||
Optional properties: | ||
- system-power-controller: To use this component as the | ||
system power controller | ||
- reset-pin-assert-time-ms: Reset pin low-level assertion | ||
time after wakeup (default 60ms; range 0-125ms if RTC clock | ||
at 32 kHz) | ||
- min-wakeup-pin-assert-time-ms: Minimum wakeup pin assertion | ||
time (default 100ms; range 0-2s if RTC clock at 32 kHz) | ||
|
||
Example: | ||
|
||
rtc@10003000 { | ||
compatible = "ingenic,jz4740-rtc"; | ||
reg = <0x10003000 0x40>; | ||
|
||
interrupt-parent = <&intc>; | ||
interrupts = <32>; | ||
|
||
clocks = <&rtc_clock>; | ||
clock-names = "rtc"; | ||
|
||
system-power-controller; | ||
reset-pin-assert-time-ms = <60>; | ||
min-wakeup-pin-assert-time-ms = <100>; | ||
}; |
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
* TI twl RTC | ||
|
||
The TWL family (twl4030/6030) contains a RTC. | ||
* Texas Instruments TWL4030/6030 RTC | ||
|
||
Required properties: | ||
- compatible : Should be twl4030-rtc | ||
|
||
Examples: | ||
|
||
rtc@0 { | ||
compatible = "ti,twl4030-rtc"; | ||
}; | ||
- compatible : Should be "ti,twl4030-rtc" | ||
- interrupts : Should be the interrupt number. | ||
|
||
Example: | ||
rtc { | ||
compatible = "ti,twl4030-rtc"; | ||
interrupts = <11>; | ||
}; |
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 |
---|---|---|
|
@@ -13,3 +13,7 @@ | |
&ext { | ||
clock-frequency = <12000000>; | ||
}; | ||
|
||
&rtc_dev { | ||
system-power-controller; | ||
}; |
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
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
Oops, something went wrong.