linux/drivers/rtc
Dmitry Osipenko 454ba154a6 rtc: tps65910: Support wakeup-source property
TPS65910 is a PMIC MFD device and RTC is one of its functions. The
wakeup-source DT property is specified for the parent MFD device and we
need to use this property for the RTC in order to allow to use RTC alarm
for waking up system from suspend by default, instead of requiring user
to enable wakeup manually via sysfs.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210120211603.18555-1-digetx@gmail.com
2021-01-25 23:57:24 +01:00
..
class.c rtc: introduce features bitfield 2021-01-16 23:19:26 +01:00
dev.c
interface.c rtc: introduce features bitfield 2021-01-16 23:19:26 +01:00
Kconfig rtc: remove ste ab3100 driver 2021-01-23 14:57:21 +01:00
lib.c
Makefile rtc: remove ste ab3100 driver 2021-01-23 14:57:21 +01:00
nvmem.c rtc: nvmem: emit an error message when nvmem registration fails 2020-11-19 12:50:12 +01:00
proc.c
rtc-88pm80x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-88pm860x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ab8500.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ab-b5ze-s3.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ab-eoz9.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-abx80x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ac100.c rtc: ac100: use rtc_lock/rtc_unlock 2021-01-25 23:45:37 +01:00
rtc-armada38x.c rtc: armada38x: remove armada38x_rtc_ops_noirq 2021-01-16 23:19:26 +01:00
rtc-as3722.c
rtc-asm9260.c rtc: asm9260: use rtc_lock/rtc_unlock 2021-01-25 23:46:16 +01:00
rtc-aspeed.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-at91rm9200.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-at91sam9.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-au1xxx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-bd70528.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-bq32k.c rtc: Replace HTTP links with HTTPS ones 2020-07-16 11:17:52 +02:00
rtc-bq4802.c
rtc-brcmstb-waketimer.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-cadence.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-cmos.c rtc: cmos: remove cmos_rtc_ops_no_alarm 2021-01-16 23:19:26 +01:00
rtc-core.h
rtc-cpcap.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-cros-ec.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-da9052.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-da9055.c
rtc-da9063.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-davinci.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-digicolor.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-dm355evm.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c
rtc-ds1305.c rtc: ds1305: use rtc_lock/rtc_unlock 2021-01-25 23:46:16 +01:00
rtc-ds1307.c rtc: ds1307: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-ds1343.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1347.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1374.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1390.c
rtc-ds1511.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1553.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1672.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds1685.c rtc: ds1685: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-ds1742.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds2404.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ds3232.c rtc: ds3232: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-efi.c
rtc-em3027.c
rtc-ep93xx.c rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time 2020-12-03 23:49:31 +01:00
rtc-fm3130.c
rtc-fsl-ftm-alarm.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ftrtc010.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-generic.c
rtc-goldfish.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-hid-sensor-time.c
rtc-hym8563.c rtc: hym8563: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-imx-sc.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-imxdi.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-isl1208.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-isl12022.c
rtc-isl12026.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-jz4740.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-lp8788.c
rtc-lpc24xx.c rtc: remove unnecessary error message after platform_get_irq 2020-04-15 09:56:17 +02:00
rtc-lpc32xx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-ls1x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-m41t80.c rtc: m41t80: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-m41t93.c
rtc-m41t94.c
rtc-m48t35.c rtc: m48t35: remove SGI-IP27 kludge 2020-03-16 11:12:11 +01:00
rtc-m48t59.c rtc: m48t59: remove m48t02_rtc_ops 2021-01-16 23:19:26 +01:00
rtc-m48t86.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-max6900.c
rtc-max6902.c
rtc-max6916.c
rtc-max8907.c
rtc-max8925.c
rtc-max8997.c
rtc-max8998.c
rtc-max77686.c rtc: max77686: Fix wake-ups for max77620 2020-08-07 23:29:47 +02:00
rtc-mc13xxx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-mc146818-lib.c rtc: mc146818: Reduce spinlock section in mc146818_set_time() 2020-12-11 10:40:52 +01:00
rtc-mcp795.c rtc: mcp795: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-meson-vrtc.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-meson.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-moxart.c rtc: moxart: Convert to SPDX identifier 2019-12-23 11:23:49 +01:00
rtc-mpc5121.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-mrst.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-msm6242.c
rtc-mt2712.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-mt6397.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-mt7622.c
rtc-mv.c rtc: mv: remove mv_rtc_alarm_ops 2021-01-16 23:19:26 +01:00
rtc-mxc_v2.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-mxc.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-omap.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-opal.c rtc: opal: constify opal_rtc_ops 2021-01-16 23:19:26 +01:00
rtc-palmas.c
rtc-pcap.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-pcf2123.c rtc: pcf2123: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-pcf2127.c rtc: pcf2127: remove pcf2127_rtc_alrm_ops 2021-01-16 23:19:26 +01:00
rtc-pcf8523.c rtc: pcf8523: use BIT 2020-11-19 12:52:25 +01:00
rtc-pcf8563.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-pcf8583.c
rtc-pcf50633.c
rtc-pcf85063.c rtc: pcf85063: remove pcf85063_rtc_ops_alarm 2021-01-16 23:19:26 +01:00
rtc-pcf85363.c rtc: pcf85363: drop a struct rtc_class_ops 2021-01-16 23:19:26 +01:00
rtc-pic32.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-pl030.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-pl031.c rtc: pl031: use RTC_FEATURE_ALARM 2021-01-16 23:19:26 +01:00
rtc-pm8xxx.c rtc: pm8xxx: Read ALARM_EN and update to alarm enabled status 2021-01-12 23:46:46 +01:00
rtc-ps3.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-pxa.c
rtc-r7301.c
rtc-r9701.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-rc5t583.c
rtc-rc5t619.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-rk808.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-rp5c01.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-rs5c313.c rtc: rtc-rs5c313: Convert to module_platform_driver() 2020-08-21 00:13:44 +02:00
rtc-rs5c348.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-rs5c372.c
rtc-rtd119x.c
rtc-rv3028.c rtc: rv3028: constify rv3028_rtc_ops 2021-01-16 23:19:26 +01:00
rtc-rv3029c2.c rtc: rv3029: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-rv3032.c rtc: rv3032: constify rv3032_rtc_ops 2021-01-16 23:19:27 +01:00
rtc-rv8803.c rtc: rv8803: constify rv8803_rtc_ops 2021-01-16 23:19:27 +01:00
rtc-rx4581.c
rtc-rx6110.c rtc: rx6110: fix build against modular I2C 2021-01-12 23:47:46 +01:00
rtc-rx8010.c rtc: rx8010: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-rx8025.c rtc: rx8025: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-rx8581.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-s3c.c rtc: s3c: Remove dead code related to periodic tick handling 2020-12-03 23:51:30 +01:00
rtc-s3c.h
rtc-s5m.c rtc: s5m: check the return value of s5m8767_rtc_init_reg() 2021-01-16 23:19:12 +01:00
rtc-s35390a.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sa1100.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sa1100.h
rtc-sc27xx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sd3078.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sh.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-snvs.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-spear.c
rtc-st-lpc.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-starfire.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-stk17ta8.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-stm32.c rtc: stm32: use rtc_lock/rtc_unlock 2021-01-25 23:46:17 +01:00
rtc-stmp3xxx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sun4v.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sun6i.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-sunxi.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-tegra.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-test.c rtc: test: remove debug message 2020-12-03 23:43:23 +01:00
rtc-tps6586x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-tps65910.c rtc: tps65910: Support wakeup-source property 2021-01-25 23:57:24 +01:00
rtc-tps80031.c
rtc-twl.c
rtc-v3020.c
rtc-vr41xx.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-vt8500.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-wilco-ec.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-wm831x.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-wm8350.c
rtc-x1205.c
rtc-xgene.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
rtc-zynqmp.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00
sysfs.c rtc: rework rtc_register_device() resource management 2020-11-19 12:50:12 +01:00