Message ID | 20231220235459.2965548-1-markhas@chromium.org (mailing list archive) |
---|---|
Headers | show |
Series | Improve IRQ wake capability reporting and update the cros_ec driver to use it | expand |
On Wed, Dec 20, 2023 at 04:54:14PM -0700, Mark Hasemeyer wrote: > Currently the cros_ec driver assumes that its associated interrupt is > wake capable. This is an incorrect assumption as some Chromebooks use a > separate wake pin, while others overload the interrupt for wake and IO. > This patch train updates the driver to query the underlying ACPI/DT data > to determine whether or not the IRQ should be enabled for wake. > > Both the device tree and ACPI systems have methods for reporting IRQ > wake capability. In device tree based systems, a node can advertise > itself as a 'wakeup-source'. In ACPI based systems, GpioInt and > Interrupt resource descriptors can use the 'SharedAndWake' or > 'ExclusiveAndWake' share types. > > Some logic is added to the platform, ACPI, and DT subsystems to more > easily pipe wakeirq information up to the driver. Just wondering if you used --histogram diff algo when preparing patches.
> Just wondering if you used --histogram diff algo when preparing patches.
Not knowingly. I use patman which uses 'git format-patch' under the
covers with some added options:
https://github.com/siemens/u-boot/blob/master/tools/patman/gitutil.py#L308
On Fri, Dec 22, 2023 at 03:30:43PM -0700, Mark Hasemeyer wrote: > > Just wondering if you used --histogram diff algo when preparing patches. > > Not knowingly. I use patman which uses 'git format-patch' under the > covers with some added options: > https://github.com/siemens/u-boot/blob/master/tools/patman/gitutil.py#L308 Add a configuration into your ~/.gitconfig (or local for the project), it really makes the difference.