-
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-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…abelloni/linux Pull RTC updates from Alexandre Belloni: "There is a new driver for the RTC of the Mstar SSD202D SoC. The rtc7301 driver gains support for byte addresses to support the USRobotics USR8200. Then we have many non user visible changes and typo fixes. Summary: Subsytem: - convert platform drivers to remove_new - prevent modpost warnings for unremovable platform drivers New driver: - Mstar SSD202D Drivers: - brcmstb-waketimer: support level alarm_irq - ep93xx: add DT support - rtc7301: support byte-addressed IO" * tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (28 commits) dt-bindings: rtc: Add Mstar SSD202D RTC rtc: Add support for the SSD202D RTC rtc: at91rm9200: annotate at91_rtc_remove with __exit again dt-bindings: rtc: microcrystal,rv3032: Document wakeup-source property dt-bindings: rtc: pcf8523: Convert to YAML dt-bindings: rtc: mcp795: move to trivial-rtc rtc: ep93xx: add DT support for Cirrus EP93xx dt-bindings: rtc: Add Cirrus EP93xx dt-bindings: rtc: pcf2123: convert to YAML rtc: efi: fixed typo in efi_procfs() rtc: omap: Use device_get_match_data() rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call rtc: rtc7301: Support byte-addressed IO rtc: rtc7301: Rewrite bindings in schema rtc: sh: Convert to platform remove callback returning void rtc: pxa: Convert to platform remove callback returning void rtc: mv: Convert to platform remove callback returning void rtc: imxdi: Convert to platform remove callback returning void rtc: at91rm9200: Convert to platform remove callback returning void rtc: pcap: Drop no-op remove function ...
- Loading branch information
Showing
26 changed files
with
620 additions
and
108 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml
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,42 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Cirrus EP93xx Real Time Clock controller | ||
|
||
maintainers: | ||
- Hartley Sweeten <hsweeten@visionengravers.com> | ||
- Alexander Sverdlin <alexander.sverdlin@gmail.com> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- const: cirrus,ep9301-rtc | ||
- items: | ||
- enum: | ||
- cirrus,ep9302-rtc | ||
- cirrus,ep9307-rtc | ||
- cirrus,ep9312-rtc | ||
- cirrus,ep9315-rtc | ||
- const: cirrus,ep9301-rtc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
rtc@80920000 { | ||
compatible = "cirrus,ep9301-rtc"; | ||
reg = <0x80920000 0x100>; | ||
}; |
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,51 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/epson,rtc7301.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Epson Toyocom RTC-7301SF/DG | ||
|
||
description: | ||
The only difference between the two variants is the packaging. | ||
The DG variant is a DIL package, and the SF variant is a flat | ||
package. | ||
|
||
maintainers: | ||
- Akinobu Mita <akinobu.mita@gmail.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- epson,rtc7301dg | ||
- epson,rtc7301sf | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
reg-io-width: | ||
description: | ||
The size (in bytes) of the IO accesses that should be performed | ||
on the device. | ||
enum: [1, 4] | ||
default: 4 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
rtc: rtc@44a00000 { | ||
compatible = "epson,rtc7301dg"; | ||
reg = <0x44a00000 0x10000>; | ||
reg-io-width = <4>; | ||
interrupt-parent = <&axi_intc_0>; | ||
interrupts = <3 2>; | ||
}; |
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 |
---|---|---|
|
@@ -38,6 +38,8 @@ properties: | |
- 3000 | ||
- 4400 | ||
|
||
wakeup-source: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
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 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Mstar SSD202D Real Time Clock | ||
|
||
maintainers: | ||
- Daniel Palmer <daniel@0x0f.com> | ||
- Romain Perier <romain.perier@gmail.com> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- mstar,ssd202d-rtc | ||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
rtc@6800 { | ||
compatible = "mstar,ssd202d-rtc"; | ||
reg = <0x6800 0x200>; | ||
}; | ||
... |
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,47 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/nxp,pcf2123.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NXP PCF2123 SPI Real Time Clock | ||
|
||
maintainers: | ||
- Javier Carrasco <javier.carrasco.cruz@gmail.com> | ||
|
||
allOf: | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- nxp,pcf2123 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
rtc@3 { | ||
compatible = "nxp,pcf2123"; | ||
reg = <3>; | ||
interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>; | ||
spi-cs-high; | ||
}; | ||
}; | ||
... |
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,45 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/nxp,pcf8523.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NXP PCF8523 Real Time Clock | ||
|
||
maintainers: | ||
- Sam Ravnborg <sam@ravnborg.org> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: nxp,pcf8523 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
quartz-load-femtofarads: | ||
description: | ||
The capacitive load of the crystal, expressed in femto Farad (fF). | ||
enum: [ 7000, 12500 ] | ||
default: 12500 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
rtc@68 { | ||
compatible = "nxp,pcf8523"; | ||
reg = <0x68>; | ||
quartz-load-femtofarads = <7000>; | ||
}; | ||
}; |
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
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.