Phil Elwell
Phil Elwell
If it's more than a page you could put it in a gist (see the + Create New button at the top of the page).
How is wakealarm working on 6.1? The i2c-rtc overlay doesn't configure an IRQ for it, and without one RTC_FEATURE_ALARM is cleared.
How do you think it works without an IRQ? Is the kernel polling for the alarm status on a timer? That doesn't sound like it would work well as a...
If an IRQ is claimed then it should show up in /proc/interrupts somewhere.
The dependency on a configured IRQ was introduced with this commit: https://github.com/raspberrypi/linux/commit/60cfac17d0a1c28cd41959e95ba1e0ecc47165e7 I can't currently see why it was not present in rpi-6.1.y, since it seems to have been introduced...
Yours is a fairly unusual use case, with the IRQ not being wired to the SPI, but it isn't invalid. Obviously it is possible for us to revert it in...
You'll have to patch the overlay as well so it knows that the wakeup-source property makes sense for the pcf8563 (we can add this in our tree once you've got...
(that goes in arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi)
Thank you, Alexandre. Can I assume that your patch will be submitted at some point?