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-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…abelloni/linux Pull RTC updates from Alexandre Belloni: "There is an unusual amount of new drivers this cycle, and this explains the number of insertions. Other than that, the changes are the usual fixes and feature addition. Subsystem updates: - new quartz-load-femtofarads DT property for quartz load capacitance - remove rtc_class_ops.read_callback New drivers: - Abracon AB-RTCMC-32.768kHz-EOZ9 - Amlogic Meson RTC - Cadence RTC IP - Microcrystal RV3028 - Whwave sd3078 Driver updates: - cmos: ignore bogus century byte - ds1307: rework rx8130 support - isl1208: add isl1209 support, nvmem support - rs5C372: report invalid time when the oscillator stopped - rx8581: add rx8571 support" * tag 'rtc-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (66 commits) rtc: pic32: convert to SPDX identifier rtc: pic32: let the core handle range rtc: pic32: convert to devm_rtc_allocate_device rtc: update my email address rtc: rv8803: convert to SPDX identifier rtc: rv8803: let the core handle range rtc: tx4939: convert to SPDX identifier rtc: tx4939: use .set_time rtc: tx4939: switch to rtc_time64_to_tm/rtc_tm_to_time64 rtc: tx4939: set range rtc: tx4939: remove useless test rtc: zynqmp: let the core handle range rtc: zynqmp: fix possible race condition rtc: imx-sc: use rtc_time64_to_tm rtc: rx8581: Add support for Epson rx8571 RTC dt-bindings: rtc: add rx8571 compatible rtc: pcf85063: remove dead code rtc: remove rtc_class_ops.read_callback rtc: add AB-RTCMC-32.768kHz-EOZ9 RTC support dt-bindings: rtc: add ABEOZ9 ...
- Loading branch information
Showing
42 changed files
with
3,585 additions
and
811 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Cadence Real Time Clock | ||
|
||
The Cadence RTC controller with date, time and alarm capabilities. | ||
The alarm may wake the system from low-power state. | ||
|
||
Required properties: | ||
- compatible: Should be "cdns,rtc-r109v3" | ||
- reg: Specifies base physical address and size of the register area. | ||
- interrupts: A single interrupt specifier. | ||
- clocks: Must contain two entries: | ||
- pclk: APB registers clock | ||
- ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration | ||
See ../clocks/clock-bindings.txt for details. | ||
|
||
Example: | ||
rtc0: rtc@fd080000 { | ||
compatible = "cdns,rtc-r109v3"; | ||
reg = <0xfd080000 0x1000>; | ||
|
||
clock-names = "pclk", "ref_clk"; | ||
clocks = <&sysclock>, <&refclock>; | ||
|
||
interrupt-parent = <&gic>; | ||
interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; | ||
}; |
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,38 @@ | ||
Intersil ISL1209/19 I2C RTC/Alarm chip with event in | ||
|
||
ISL12X9 have additional pins EVIN and #EVDET for tamper detection, while the | ||
ISL1208 and ISL1218 do not. They are all use the same driver with the bindings | ||
described here, with chip specific properties as noted. | ||
|
||
Required properties supported by the device: | ||
- "compatible": Should be one of the following: | ||
- "isil,isl1208" | ||
- "isil,isl1209" | ||
- "isil,isl1218" | ||
- "isil,isl1219" | ||
- "reg": I2C bus address of the device | ||
|
||
Optional properties: | ||
- "interrupt-names": list which may contains "irq" and "evdet" | ||
evdet applies to isl1209 and isl1219 only | ||
- "interrupts": list of interrupts for "irq" and "evdet" | ||
evdet applies to isl1209 and isl1219 only | ||
- "isil,ev-evienb": Enable or disable internal pull on EVIN pin | ||
Applies to isl1209 and isl1219 only | ||
Possible values are 0 and 1 | ||
Value 0 enables internal pull-up on evin pin, 1 disables it. | ||
Default will leave the non-volatile configuration of the pullup | ||
as is. | ||
|
||
Example isl1219 node with #IRQ pin connected to SoC gpio1 pin12 and #EVDET pin | ||
connected to SoC gpio2 pin 24 and internal pull-up enabled in EVIN pin. | ||
|
||
isl1219: rtc@68 { | ||
compatible = "isil,isl1219"; | ||
reg = <0x68>; | ||
interrupt-names = "irq", "evdet"; | ||
interrupts-extended = <&gpio1 12 IRQ_TYPE_EDGE_FALLING>, | ||
<&gpio2 24 IRQ_TYPE_EDGE_FALLING>; | ||
isil,ev-evienb = <1>; | ||
}; | ||
|
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
* NXP PCF85063 Real Time Clock | ||
|
||
Required properties: | ||
- compatible: Should contain "nxp,pcf85063". | ||
- reg: I2C address for chip. | ||
|
||
Optional property: | ||
- quartz-load-femtofarads: The capacitive load of the quartz(x-tal), | ||
expressed in femto Farad (fF). Valid values are 7000 and 12500. | ||
Default value (if no value is specified) is 7000fF. | ||
|
||
Example: | ||
|
||
pcf85063: rtc@51 { | ||
compatible = "nxp,pcf85063"; | ||
reg = <0x51>; | ||
quartz-load-femtofarads = <12500>; | ||
}; |
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,18 @@ | ||
* NXP PCF8523 Real Time Clock | ||
|
||
Required properties: | ||
- compatible: Should contain "nxp,pcf8523". | ||
- reg: I2C address for chip. | ||
|
||
Optional property: | ||
- quartz-load-femtofarads: The capacitive load of the quartz(x-tal), | ||
expressed in femto Farad (fF). Valid values are 7000 and 12500. | ||
Default value (if no value is specified) is 12500fF. | ||
|
||
Example: | ||
|
||
pcf8523: rtc@68 { | ||
compatible = "nxp,pcf8523"; | ||
reg = <0x68>; | ||
quartz-load-femtofarads = <7000>; | ||
}; |
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,35 @@ | ||
* Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC | ||
|
||
Required properties: | ||
- compatible: should be one of the following describing the hardware: | ||
* "amlogic,meson6-rtc" | ||
* "amlogic,meson8-rtc" | ||
* "amlogic,meson8b-rtc" | ||
* "amlogic,meson8m2-rtc" | ||
|
||
- reg: physical register space for the controller's memory mapped registers. | ||
- interrupts: the interrupt line of the RTC block. | ||
- clocks: reference to the external 32.768kHz crystal oscillator. | ||
- vdd-supply: reference to the power supply of the RTC block. | ||
- resets: reset controller reference to allow reset of the controller | ||
|
||
Optional properties for the battery-backed non-volatile memory: | ||
- #address-cells: should be 1 to address the battery-backed non-volatile memory | ||
- #size-cells: should be 1 to reference the battery-backed non-volatile memory | ||
|
||
Optional child nodes: | ||
- see ../nvmem/nvmem.txt | ||
|
||
Example: | ||
|
||
rtc: rtc@740 { | ||
compatible = "amlogic,meson6-rtc"; | ||
reg = <0x740 0x14>; | ||
interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>; | ||
clocks = <&rtc32k_xtal>; | ||
vdd-supply = <&rtc_vdd>; | ||
resets = <&reset RESET_RTC>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
}; |
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 |
---|---|---|
|
@@ -16697,6 +16697,12 @@ L: [email protected] | |
S: Maintained | ||
F: drivers/gpio/gpio-wcove.c | ||
|
||
WHWAVE RTC DRIVER | ||
M: Dianlong Li <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/rtc/rtc-sd3078.c | ||
|
||
WIIMOTE HID DRIVER | ||
M: David Herrmann <[email protected]> | ||
L: [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
Oops, something went wrong.