linux/Documentation/devicetree/bindings/rtc
Bastian Krause 965fe1ceea dt-bindings: rtc: let aux-voltage-chargeable supersede trickle-diode-disable
Some RTCs can be equipped with a chargeable battery or supercap.
Every RTC allowing this whose driver's implement it are charged by
default. To disable this the trickle-diode-disable flag exists.

If a driver did not support charging and some time later one wants to
add that feature, there is currently no way to do it without breaking
dt backwards compatibility. RTCs on boards without the
trickle-diode-disable flag in their device tree would suddenly charge
their battery/supercap which is a change in behavior.

Change that by introducing aux-voltage-chargeable, not as a flag but as
a uint32 enum allowing to set "do not charge" (0) or "charge" (1). This
dt property is optional, so we can now distinguish these cases.

Care must be taken to support the old behavior for device trees without
aux-voltage-chargeable nonetheless to stay compatible.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200917183246.19446-2-bst@pengutronix.de
2020-09-24 09:56:03 +02:00
..
abracon,abx80x.txt dt-bindings: rtc: Add RV1805 to abracon,abx80x bindings 2019-01-30 16:07:54 +01:00
allwinner,sun4i-a10-rtc.yaml dt-bindings: Change maintainer address 2019-12-12 18:38:10 -06:00
allwinner,sun6i-a31-rtc.yaml dt-bindings: Change maintainer address 2019-12-12 18:38:10 -06:00
alphascale,asm9260-rtc.txt doc: dt: add documentation for alphascale,asm9260-rtc 2016-03-14 17:08:14 +01:00
armada-380-rtc.txt rtc: armada38x: Add support for Armada 7K/8K 2017-02-21 23:21:30 +01:00
atmel,at91rm9200-rtc.yaml dt-bindings: rtc: at91rm9200: document clocks property 2020-01-28 22:48:34 +01:00
atmel,at91sam9-rtc.txt dt-bindings: rtc: add microchip,sam9x60-rtt 2020-06-26 22:40:22 +02:00
brcm,brcmstb-waketimer.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
cdns,rtc.txt dt-bindings: rtc: Add bindings for Cadence RTC 2019-01-22 19:18:25 +01:00
cpcap-rtc.txt rtc: cpcap: new rtc driver 2017-03-09 01:32:35 +01:00
dallas,ds1390.txt rtc: ds1390: Fix the SPI chip select number 2016-08-31 18:21:34 +02:00
digicolor-rtc.txt rtc: digicolor: document device tree binding 2015-04-17 09:04:01 -04:00
epson,rtc7301.txt rtc: add support for EPSON TOYOCOM RTC-7301SF/DG 2016-12-19 00:59:21 +01:00
epson,rx6110.txt Documentation: devicetree: add epson rx6110 binding 2016-03-14 17:08:09 +01:00
epson,rx8900.txt dt/bindings: Add bindings for Micro Crystal rv8803 2016-10-12 13:24:34 +02:00
faraday,ftrtc010.txt rtc: gemini: Augment DT bindings for Faraday 2017-07-06 22:37:15 +02:00
google,goldfish-rtc.txt dt-bindings: Add device tree binding for Goldfish RTC driver 2017-09-01 01:10:18 +02:00
haoyu,hym8563.txt rtc: hym8563: make the irq optional 2015-06-25 01:13:45 +02:00
imxdi-rtc.yaml dt-bindings: rtc: Convert imxdi rtc to json-schema 2020-06-15 10:20:31 -06:00
ingenic,rtc.yaml dt-bindings: Whitespace clean-ups in schema files 2020-08-14 08:55:58 -06:00
isil,isl1208.txt dt-bindings: rtc: Update for new chip in isl1208 series 2019-02-17 21:29:10 +01:00
isil,isl12026.txt rtc: isl12026: new driver. 2018-03-17 14:20:51 +01:00
isil,isl12057.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
lpc32xx-rtc.txt
maxim-ds1302.txt rtc: ds1302: rewrite using SPI 2016-05-20 12:33:51 +02:00
maxim,ds1742.txt
maxim,ds3231.txt bindings: rtc: correct wrong reference in required properties 2017-02-12 00:34:42 +01:00
maxim,mcp795.txt rtc: mcp795: add devicetree support 2016-03-21 22:55:29 +01:00
microchip,pic32-rtc.txt dt/bindings: Add bindings for the PIC32 real time clock 2016-03-14 17:08:21 +01:00
moxa,moxart-rtc.txt
nvidia,tegra20-rtc.txt
nxp,lpc1788-rtc.txt doc: dt: add documentation for nxp,lpc1788-rtc 2015-09-05 13:19:06 +02:00
nxp,pcf8523.txt dt-binding: pcf8523: add xtal load capacitance 2019-01-22 18:56:52 +01:00
nxp,pcf85063.txt rtc: pcf85063: add Micro Crystal RV8263 support 2019-04-04 10:07:11 +02:00
nxp,rtc-2123.txt rtc: pcf2123: add proper compatible string 2019-08-20 21:42:19 +02:00
olpc-xo1-rtc.txt
orion-rtc.txt
pcf8563.txt rtc: pcf8563: add Microcrystal RV8564 compatible 2019-09-01 09:18:42 +02:00
pcf85363.txt dt-bindings: rtc: pcf85363: Document pcf85263 real-time clock 2018-12-11 00:48:16 +01:00
pxa-rtc.txt
realtek,rtd119x.txt dt-bindings: rtc: Add Realtek RTD1295 2017-09-05 09:31:32 +02:00
renesas,sh-rtc.yaml dt-bindings: rtc: rtc-sh: Add missing power-domains property 2020-05-28 15:07:09 -06:00
rtc-aspeed.txt dt-bindings: rtc: Add on-chip ASPEED RTC documentation 2019-04-04 10:07:10 +02:00
rtc-cmos.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
rtc-ds1307.txt dt-bindings: rtc: ds1307: add rx8130 compatible 2019-09-01 11:05:43 +02:00
rtc-fsl-ftm-alarm.txt dt-bindings: rtc: add bindings for FlexTimer Module 2019-08-23 16:20:31 +02:00
rtc-m41t80.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
rtc-meson-vrtc.txt dt-bindings: rtc: new binding for Amlogic VRTC 2019-08-22 23:08:30 +02:00
rtc-meson.txt dt-bindings: rtc: add device-tree bindings for the Amlogic Meson RTC 2019-02-11 09:41:21 +01:00
rtc-mt2712.txt dt-bindings: rtc: add bindings for MT2712 RTC 2020-03-16 11:13:47 +01:00
rtc-mt6397.txt dt-bindings: rtc: mediatek: add missing mt6397 rtc 2019-10-24 09:03:36 +01:00
rtc-mt7622.txt dt-bindings: rtc: mediatek: add bindings for MediaTek SoC based RTC 2017-10-25 23:05:53 +02:00
rtc-mxc_v2.yaml dt-bindings: rtc: Convert MXC RTC V2 to json-schema 2020-05-27 20:44:58 -06:00
rtc-mxc.yaml dt-bindings: rtc: Convert MXC RTC to json-schema 2020-05-27 20:44:36 -06:00
rtc-omap.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
rtc-opal.txt powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
rtc-palmas.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
rtc-st-lpc.txt rtc: bindings: Supply knowledge of a third supported device - clocksource 2015-07-23 17:07:35 +01:00
rtc.txt dt-bindings: rtc: Move trivial RTC over to a schemas of their own 2019-06-06 12:00:45 +02:00
rtc.yaml dt-bindings: rtc: let aux-voltage-chargeable supersede trickle-diode-disable 2020-09-24 09:56:03 +02:00
s3c-rtc.yaml dt-bindings: rtc: s3c: Include generic dt-schema bindings 2019-10-15 12:29:35 -05:00
sa1100-rtc.yaml dt-bindings: rtc: Convert sa1100-rtc to json-schema 2020-07-13 12:49:44 -06:00
sirf,prima2-sysrtc.txt dt-bindings: rtc: Add sirf,prima2-sysrtc bindings 2017-10-05 17:26:52 -05:00
snvs-rtc.txt
spear-rtc.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
sprd,sc27xx-rtc.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
st,stm32-rtc.yaml dt-bindings: Remove cases of 'allOf' containing a '$ref' 2020-05-03 11:10:41 -05:00
stericsson,coh901331.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
stmp3xxx-rtc.txt rtc: stmp3xxx: use optional crystal in low power states 2015-04-17 09:03:59 -04:00
ti,bq32k.txt rtc: bq32k: move binding docs to proper place 2015-08-10 08:37:37 +02:00
trivial-rtc.yaml rtc: pcf2127: add pca2129 device id 2020-08-12 11:37:37 +02:00
twl-rtc.txt Documentation: bindings: fix twl-rtc documentation 2016-11-05 00:07:43 +01:00
via,vt8500-rtc.txt
xgene-rtc.txt
xlnx-rtc.txt devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc 2015-09-05 19:37:19 +02:00