-
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.13' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/abelloni/linux Pull RTC updates from Alexandre Belloni: "New drivers: - Amlogic A4 and A5 RTC - Marvell 88PM886 PMIC RTC - Renesas RTCA-3 for Renesas RZ/G3S Driver updates: - ab-eoz9: fix temperature and alarm support - cmos: improve locking behaviour - isl12022: add alarm support - m48t59: improve epoch handling - mt6359: add range - rzn1: fix BCD conversions and simplify driver" * tag 'rtc-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (38 commits) rtc: ab-eoz9: don't fail temperature reads on undervoltage notification rtc: rzn1: reduce register access rtc: rzn1: drop superfluous wday calculation m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly rtc: m48t59: Use platform_data struct for year offset value rtc: ab-eoz9: fix abeoz9_rtc_read_alarm rtc: rv3028: fix RV3028_TS_COUNT type rtc: rzn1: update Michel's email rtc: rzn1: fix BCD to rtc_time conversion errors rtc: amlogic-a4: fix compile error rtc: amlogic-a4: drop error messages MAINTAINERS: Add an entry for Amlogic RTC driver rtc: support for the Amlogic on-chip RTC dt-bindings: rtc: Add Amlogic A4 and A5 RTC rtc: add driver for Marvell 88PM886 PMIC RTC rtc: check if __rtc_read_time was successful in rtc_timer_do_work() rtc: pcf8563: Switch to regmap rtc: pcf8563: Sort headers alphabetically rtc: abx80x: Fix WDT bit position of the status register ...
- Loading branch information
Showing
81 changed files
with
2,221 additions
and
599 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
# Copyright (C) 2024 Amlogic, Inc. All rights reserved | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/amlogic,a4-rtc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Amlogic A4 and A5 RTC | ||
|
||
maintainers: | ||
- Yiting Deng <yiting.deng@amlogic.com> | ||
- Xianwei Zhao <xianwei.zhao@amlogic.com> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- amlogic,a4-rtc | ||
- amlogic,a5-rtc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: RTC clock source, available 24M or 32K crystal | ||
oscillator source. when using 24M, need to divide 24M into 32K. | ||
- description: RTC module accesses the clock of the apb bus. | ||
|
||
clock-names: | ||
items: | ||
- const: osc | ||
- const: sys | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- interrupts | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
apb { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
rtc@8e600 { | ||
compatible = "amlogic,a4-rtc"; | ||
reg = <0x0 0x8e600 0x0 0x38>; | ||
clocks = <&xtal_32k>, <&clkc_periphs 1>; | ||
clock-names = "osc", "sys"; | ||
interrupts = <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>; | ||
}; | ||
}; |
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
84 changes: 84 additions & 0 deletions
84
Documentation/devicetree/bindings/rtc/renesas,rz-rtca3.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,84 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/renesas,rz-rtca3.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Renesas RTCA-3 Real Time Clock | ||
|
||
maintainers: | ||
- Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- renesas,r9a08g045-rtca3 # RZ/G3S | ||
- const: renesas,rz-rtca3 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
items: | ||
- description: Alarm interrupt | ||
- description: Periodic interrupt | ||
- description: Carry interrupt | ||
|
||
interrupt-names: | ||
items: | ||
- const: alarm | ||
- const: period | ||
- const: carry | ||
|
||
clocks: | ||
items: | ||
- description: RTC bus clock | ||
- description: RTC counter clock | ||
|
||
clock-names: | ||
items: | ||
- const: bus | ||
- const: counter | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
resets: | ||
items: | ||
- description: VBATTB module reset | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-names | ||
- clocks | ||
- clock-names | ||
- power-domains | ||
- resets | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/r9a08g045-cpg.h> | ||
#include <dt-bindings/clock/renesas,r9a08g045-vbattb.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
rtc@1004ec00 { | ||
compatible = "renesas,r9a08g045-rtca3", "renesas,rz-rtca3"; | ||
reg = <0x1004ec00 0x400>; | ||
interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "alarm", "period", "carry"; | ||
clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattclk VBATTB_VBATTCLK>; | ||
clock-names = "bus", "counter"; | ||
power-domains = <&cpg>; | ||
resets = <&cpg R9A08G045_VBAT_BRESETN>; | ||
}; |
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
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
# Makefile for Linux arch/m68k/mvme16x source directory | ||
# | ||
|
||
obj-y := config.o rtc.o | ||
obj-y := config.o |
Oops, something went wrong.