linux icon indicating copy to clipboard operation
linux copied to clipboard

max8998 RTC/interrupt issues

Open xc-racer99 opened this issue 6 years ago • 2 comments

There are multiple issues:

  1. The GPH0(7) pin needs to be set to PULL_NONE in order for the interrupt to trigger
  2. The wakeup-source property should be added to the DTS and parsed in drivers/mfd/max8998 (https://github.com/xc-racer99/linux/commit/80eb21426d1ff448cbf92407dcaff5116b21b28c)
  3. RTC should be conditionally set to enable wakeup (https://github.com/xc-racer99/linux/commit/6bece195d0ecad82bd4c85889854beb6745ce2e5)

xc-racer99 avatar Aug 03 '19 02:08 xc-racer99

Branch created at https://github.com/PabloPL/linux/tree/for-upstream/max8998-interrupt-fixes

@PabloPL if you could test (with using hwclock program in Linux) and submit upstream if it works for you that would be great.

xc-racer99 avatar Aug 03 '19 03:08 xc-racer99

Alright, IRQ fix is now pending upstream (in krzk's for-next branch). RTC patches/wakeup-source haven't been submitted anywhere.

xc-racer99 avatar May 04 '20 17:05 xc-racer99