linux-yocto/drivers/rtc
Wolfram Sang 8d858a5af4 rtc: sh: assign correct interrupts with DT
[ Upstream commit 8f2efdbc30 ]

The DT bindings for this driver define the interrupts in the order as
they are numbered in the interrupt controller. The old platform_data,
however, listed them in a different order. So, for DT based platforms,
they are mixed up. Assign them specifically for DT, so we can keep the
bindings stable. After the fix, 'rtctest' passes again on the Renesas
Genmai board (RZ-A1 / R7S72100).

Fixes: dab5aec64b ("rtc: sh: add support for rza series")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250227134256.9167-11-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:07:15 +01:00
..
class.c rtc: Fix offset calculation for .start_secs < 0 2025-06-27 11:07:05 +01:00
dev.c rtc: Remove unused rtc_dev_exit(). 2022-06-24 21:24:02 +02:00
interface.c rtc: check if __rtc_read_time was successful in rtc_timer_do_work() 2024-12-14 19:54:07 +01:00
Kconfig rtc: mt6397: select IRQ_DOMAIN instead of depending on it 2024-03-26 18:20:58 -04:00
lib_test.c rtc: test: Fix invalid format specifier. 2024-03-26 18:20:29 -04:00
lib.c rtc: Make rtc_time64_to_tm() support dates before 1970 2025-06-27 11:07:05 +01:00
Makefile rtc: Add NCT3018Y real time clock driver 2022-07-26 17:07:04 +02:00
nvmem.c
proc.c
rtc-88pm80x.c
rtc-88pm860x.c
rtc-ab-b5ze-s3.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-ab-eoz9.c rtc: ab-eoz9: don't fail temperature reads on undervoltage notification 2024-12-14 19:54:09 +01:00
rtc-ab8500.c
rtc-abx80x.c rtc: abx80x: Fix WDT bit position of the status register 2024-12-14 19:54:07 +01:00
rtc-ac100.c
rtc-armada38x.c
rtc-as3722.c
rtc-asm9260.c
rtc-aspeed.c
rtc-at91rm9200.c
rtc-at91sam9.c rtc: at91sam9: fix OF node leak in probe() error path 2024-10-17 15:22:01 +02:00
rtc-au1xxx.c
rtc-bd70528.c
rtc-bq32k.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-bq4802.c
rtc-brcmstb-waketimer.c
rtc-cadence.c
rtc-cmos.c rtc: cmos: avoid taking rtc_lock for extended period of time 2024-12-14 19:54:49 +01:00
rtc-core.h rtc: Remove unused rtc_dev_exit(). 2022-06-24 21:24:02 +02:00
rtc-cpcap.c
rtc-cros-ec.c rtc: cros-ec: Only warn once in .remove() about notifier_chain problems 2022-07-26 16:43:46 +02:00
rtc-da9052.c
rtc-da9055.c
rtc-da9063.c
rtc-davinci.c
rtc-digicolor.c
rtc-dm355evm.c
rtc-ds1216.c
rtc-ds1286.c
rtc-ds1302.c
rtc-ds1305.c
rtc-ds1307.c rtc: ds1307: stop disabling alarms on probe 2025-06-04 14:40:08 +02:00
rtc-ds1343.c
rtc-ds1347.c rtc: ds1347: fix value written to century register 2023-01-07 11:11:50 +01:00
rtc-ds1374.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-ds1390.c
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-ds1685.c rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff 2023-09-06 21:27:00 +01:00
rtc-ds1742.c
rtc-ds2404.c
rtc-ds3232.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-efi.c rtc: efi: Enable SET/GET WAKEUP services as optional 2023-02-09 11:28:17 +01:00
rtc-em3027.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-ep93xx.c
rtc-fm3130.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-fsl-ftm-alarm.c
rtc-ftrtc010.c
rtc-gamecube.c rtc: gamecube: Always reset HW_SRNPROT after read 2022-08-23 22:27:58 +02:00
rtc-generic.c
rtc-goldfish.c
rtc-hid-sensor-time.c
rtc-hym8563.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-imx-sc.c
rtc-imxdi.c
rtc-isl1208.c rtc: isl1208: Fix return value of nvmem callbacks 2024-08-03 08:49:42 +02:00
rtc-isl12022.c rtc: isl12022: switch to using regmap API 2022-10-13 00:17:22 +02:00
rtc-isl12026.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-jz4740.c rtc: jz4740: Use devm_clk_get_enabled() helper 2022-10-13 00:31:37 +02:00
rtc-lp8788.c
rtc-lpc24xx.c
rtc-lpc32xx.c
rtc-ls1x.c
rtc-m41t80.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-m41t93.c
rtc-m41t94.c
rtc-m48t35.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-max6902.c
rtc-max6916.c
rtc-max8907.c
rtc-max8925.c
rtc-max8997.c
rtc-max8998.c
rtc-max77686.c
rtc-mc13xxx.c
rtc-mc146818-lib.c rtc: Extend timeout for waiting for UIP to clear to 1s 2024-01-31 16:17:01 -08:00
rtc-mcp795.c
rtc-meson-vrtc.c rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time 2023-05-11 23:03:33 +09:00
rtc-meson.c
rtc-moxart.c
rtc-mpc5121.c
rtc-mpfs.c rtc: mpfs: Use devm_clk_get_enabled() helper 2022-10-13 00:31:18 +02:00
rtc-msc313.c rtc: msc313: Fix function prototype mismatch in msc313_rtc_probe() 2023-01-04 11:28:58 +01:00
rtc-msm6242.c
rtc-mt2712.c
rtc-mt6397.c
rtc-mt7622.c
rtc-mv.c
rtc-mxc_v2.c rtc: mxc_v2: Add missing clk_disable_unprepare() 2022-12-31 13:32:55 +01:00
rtc-mxc.c rtc: mxc: Use devm_clk_get_enabled() helper 2022-08-23 22:33:38 +02:00
rtc-nct3018y.c rtc: nct3018y: fix possible NULL dereference 2024-08-29 17:30:39 +02:00
rtc-ntxec.c
rtc-omap.c rtc: omap: include header for omap_rtc_power_off_program prototype 2023-05-11 23:03:33 +09:00
rtc-opal.c
rtc-optee.c
rtc-palmas.c
rtc-pcap.c
rtc-pcf2123.c
rtc-pcf2127.c rtc: pcf2127: Convert to .probe_new() 2022-12-31 13:32:49 +01:00
rtc-pcf8523.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-pcf8563.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-pcf8583.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-pcf50633.c
rtc-pcf85063.c rtc: pcf85063: do a SW reset if POR failed 2025-05-02 07:47:04 +02:00
rtc-pcf85363.c rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call 2023-11-20 11:52:13 +01:00
rtc-pic32.c rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe() 2022-12-31 13:32:53 +01:00
rtc-pl030.c
rtc-pl031.c
rtc-pm8xxx.c rtc: pm8xxx: fix set-alarm race 2023-03-10 09:34:02 +01:00
rtc-ps3.c
rtc-pxa.c
rtc-r7301.c
rtc-r9701.c
rtc-rc5t583.c
rtc-rc5t619.c
rtc-rk808.c
rtc-rp5c01.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-rtd119x.c
rtc-rv3028.c rtc: rv3028: Fix codestyle errors 2022-10-13 23:36:52 +02:00
rtc-rv3029c2.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-rv3032.c rtc: rv3032: fix EERD location 2025-06-04 14:40:06 +02:00
rtc-rv8803.c rtc: rv8803: fix missing unlock on error in rv8803_set_time() 2022-07-26 11:29:05 +02:00
rtc-rx4581.c
rtc-rx6110.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-rx8010.c
rtc-rx8025.c rtc: rx8025: fix 12/24 hour mode detection on RX-8035 2022-07-26 16:49:45 +02:00
rtc-rx8581.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-rzn1.c rtc: rzn1: fix BCD to rtc_time conversion errors 2024-12-14 19:54:08 +01:00
rtc-s3c.c
rtc-s3c.h
rtc-s5m.c
rtc-s35390a.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-sa1100.c
rtc-sa1100.h
rtc-sc27xx.c
rtc-sd3078.c rtc: use simple i2c probe 2022-06-24 21:24:02 +02:00
rtc-sh.c rtc: sh: assign correct interrupts with DT 2025-06-27 11:07:15 +01:00
rtc-snvs.c rtc: snvs: Allow a time difference on clock register read 2022-12-31 13:32:49 +01:00
rtc-spear.c rtc: spear: set range max 2022-08-09 00:56:41 +02:00
rtc-st-lpc.c rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-14 19:54:07 +01:00
rtc-starfire.c
rtc-stk17ta8.c
rtc-stm32.c
rtc-stmp3xxx.c rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register() 2022-10-13 00:03:11 +02:00
rtc-sun4v.c
rtc-sun6i.c rtc: sun6i: Always export the internal oscillator 2023-03-11 13:55:29 +01:00
rtc-sunplus.c rtc: sunplus: fix format string for printing resource 2023-02-09 11:28:11 +01:00
rtc-sunxi.c
rtc-tegra.c
rtc-test.c
rtc-ti-k3.c rtc: k3: handle errors while enabling wake irq 2023-05-11 23:03:33 +09:00
rtc-tps6586x.c
rtc-tps65910.c
rtc-twl.c
rtc-v3020.c
rtc-vt8500.c
rtc-wilco-ec.c
rtc-wm831x.c
rtc-wm8350.c
rtc-x1205.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rtc-xgene.c
rtc-zynqmp.c rtc: zynqmp: Fix optional clock name property 2025-02-21 13:49:53 +01:00
sysfs.c