-
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.14' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/abelloni/linux Pull RTC updates from Alexandre Belloni: "Mostly documentation/comment changes and non urgent fixes. - add or fix SPDX identifiers - NXP pcf*: fix datasheet URLs - imxdi: add wakeup support - pcf2127: handle timestamp interrupts, this fixes a possible interrupt storm - bd70528: Drop BD70528 support" * tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (33 commits) rtc: pcf8523: rename register and bit defines rtc: pcf2127: handle timestamp interrupts rtc: at91sam9: Remove unnecessary offset variable checks rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt() rtc: spear: convert to SPDX identifier rtc: tps6586x: convert to SPDX identifier rtc: tps80031: convert to SPDX identifier rtc: rtd119x: Fix format of SPDX identifier rtc: sc27xx: Fix format of SPDX identifier rtc: palmas: convert to SPDX identifier rtc: max6900: convert to SPDX identifier rtc: ds1374: convert to SPDX identifier rtc: au1xxx: convert to SPDX identifier rtc: pcf85063: Update the PCF85063A datasheet revision dt-bindings: rtc: ti,bq32k: take maintainership rtc: pcf8563: Fix the datasheet URL rtc: pcf85063: Fix the datasheet URL rtc: pcf2127: Fix the datasheet URL dt-bindings: rtc: ti,bq32k: Convert to json-schema dt-bindings: rtc: rx8900: Convert to YAML schema ...
- Loading branch information
Showing
33 changed files
with
440 additions
and
601 deletions.
There are no files selected for viewing
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,49 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/epson,rx8900.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: EPSON RX8900 / Microcrystal RV8803 Real-Time Clock DT bindings | ||
|
||
maintainers: | ||
- Marek Vasut <marex@denx.de> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- epson,rx8900 | ||
- microcrystal,rv8803 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
epson,vdet-disable: | ||
type: boolean | ||
description: | | ||
Disable voltage detector. Should be set if no backup battery is used. | ||
trickle-diode-disable: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
rtc@32 { | ||
compatible = "epson,rx8900"; | ||
reg = <0x32>; | ||
epson,vdet-disable; | ||
trickle-diode-disable; | ||
}; | ||
}; |
28 changes: 0 additions & 28 deletions
28
Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
Documentation/devicetree/bindings/rtc/faraday,ftrtc010.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,59 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/faraday,ftrtc010.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Faraday Technology FTRTC010 Real Time Clock | ||
|
||
maintainers: | ||
- Linus Walleij <linus.walleij@linaro.org> | ||
|
||
description: | | ||
This RTC appears in for example the Storlink Gemini family of SoCs. | ||
properties: | ||
compatible: | ||
oneOf: | ||
- const: faraday,ftrtc010 | ||
- items: | ||
- const: cortina,gemini-rtc | ||
- const: faraday,ftrtc010 | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 2 | ||
items: | ||
- description: PCLK clocks | ||
- description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock | ||
should be 1 Hz, but implementers actually seem to choose different | ||
clocks here, like Cortina who chose 32768 Hz (a typical low-power clock). | ||
|
||
clock-names: | ||
items: | ||
- const: "PCLK" | ||
- const: "EXTCLK" | ||
|
||
required: | ||
- compatible | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
rtc@45000000 { | ||
compatible = "cortina,gemini-rtc", "faraday,ftrtc010"; | ||
reg = <0x45000000 0x100>; | ||
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&foo 0>, <&foo 1>; | ||
clock-names = "PCLK", "EXTCLK"; | ||
}; |
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,49 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: TI BQ32000 I2C Serial Real-Time Clock | ||
|
||
maintainers: | ||
- Alexandre Belloni <alexandre.belloni@bootlin.com> | ||
|
||
allOf: | ||
- $ref: rtc.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: ti,bq32000 | ||
|
||
reg: | ||
const: 0x68 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
start-year: true | ||
|
||
trickle-resistor-ohms: | ||
enum: [ 1120, 20180 ] | ||
|
||
trickle-diode-disable: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
bq32000: rtc@68 { | ||
compatible = "ti,bq32000"; | ||
reg = <0x68>; | ||
trickle-resistor-ohms = <1120>; | ||
}; | ||
}; |
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.