-
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.13' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/abelloni/linux Pull RTC updates from Alexandre Belloni: "Mostly small fixes and two drivers gaining alarm support. Summary: Subsystem: - UIE emulation has been reworked to avoid calling driver callbacks when it is known it will not work Drivers: - ab-eoz9: add alarm support - pcf8523: add alarm support" * tag 'rtc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (27 commits) rtc: sysfs: check features instead of ops rtc: omap: use rtc_write to access OMAP_RTC_OSC_REG rtc: s5m: Remove reference to parent's device pdata rtc: ds1307: Fix wday settings for rx8130 rtc: pcf8523: report oscillator failures rtc: pcf8523: add alarm support rtc: pcf8523: remove useless define rtc: rtc_update_irq_enable: rework UIE emulation rtc: ds1307: remove flags rtc: ds1307: replace HAS_ALARM by RTC_FEATURE_ALARM rtc: imx-sc: remove .read_alarm rtc: ds1511: remove unused function rtc: fsl-ftm-alarm: add MODULE_TABLE() rtc: rtc-spear: replace spin_lock_irqsave by spin_lock in hard IRQ dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings rtc: pm8xxx: Add RTC support for PMIC PMK8350 rtc: ab-eoz9: make use of RTC_FEATURE_ALARM rtc: ab-eoz9: add alarm support rtc: ab-eoz9: set regmap max_register rtc: pcf85063: fallback to parent of_node ...
- Loading branch information
Showing
21 changed files
with
450 additions
and
111 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
Documentation/devicetree/bindings/rtc/qcom-pm8xxx-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,62 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm PM8xxx PMIC RTC device | ||
|
||
maintainers: | ||
- Satya Priya <skakit@codeaurora.org> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,pm8058-rtc | ||
- qcom,pm8921-rtc | ||
- qcom,pm8941-rtc | ||
- qcom,pm8018-rtc | ||
- qcom,pmk8350-rtc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
allow-set-time: | ||
$ref: /schemas/types.yaml#/definitions/flag | ||
description: | ||
Indicates that the setting of RTC time is allowed by the host CPU. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/spmi/spmi.h> | ||
spmi_bus: spmi@c440000 { | ||
reg = <0x0c440000 0x1100>; | ||
#address-cells = <2>; | ||
#size-cells = <0>; | ||
pmicintc: pmic@0 { | ||
reg = <0x0 SPMI_USID>; | ||
compatible = "qcom,pm8921"; | ||
interrupts = <104 8>; | ||
#interrupt-cells = <2>; | ||
interrupt-controller; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
pm8921_rtc: rtc@11d { | ||
compatible = "qcom,pm8921-rtc"; | ||
reg = <0x11d>; | ||
interrupts = <0x27 0>; | ||
}; | ||
}; | ||
}; | ||
... |
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.