summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Expand)Author
2022-06-11Bring back PL011 UART FIFO support to pluart(4). This time with workingAnton Lindqvist
2022-05-29pwr_action isn't used in this file, zap pointless decl.Jeremie Courreges-Anglas
2022-04-06constify struct cfattachChristian Weisgerber
2022-04-04As a hack, use CD_SKIPHIBERNATE. For 2.0, our TPM lifecycle managementTheo de Raadt
2022-03-21Update hw.power whenever we refresh the AC state. This makes sure the stateMark Kettenis
2022-03-13Revert previous commit. It breaks the serial console on my rpi4.Mark Kettenis
2022-03-11Enable PL011 UART FIF0 support in pluart(4). The FIFO depth depends onAnton Lindqvist
2022-03-10Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.hastings
2022-03-06oops, typo, spotted by MikhailTheo de Raadt
2022-03-05Improve wording for trying S5 instead of S4Theo de Raadt
2022-02-17If S4 is not available, use S5 for the ACPI-transitions in hibernate support.Theo de Raadt
2022-02-17remove unused definesJonathan Gray
2022-02-17reduce includesJonathan Gray
2022-02-17reduce includesJonathan Gray
2022-02-16rev 1.4 was wrong to put potential IO operations after _GTS.Theo de Raadt
2022-02-16if the lids indicate we are not supposed to wakeup, return EAGAIN ratherTheo de Raadt
2022-02-16change MD gosleep() and sleep_finish() to return int, the MI code will beTheo de Raadt
2022-02-15Since acpitoshiba brightness button processing no longer plays gamesTheo de Raadt
2022-02-15Defer the actual setting of the display brightness to the acpi thread.Mark Kettenis
2022-02-15when the MI suspend code encounters problems, we need a way toTheo de Raadt
2022-02-15com at acpi like com at isa needs com_active() for suspend/resume support.Claudio Jeker
2022-02-15MI disable_lid_wakeups() is not needed, x86 systems can do thisTheo de Raadt
2022-02-15The DVACT_POWERDOWN step was accidentally moved in relation to some MDTheo de Raadt
2022-02-14Make sure we call acpi_resume_cpu() with the right ACPI state. This wasMark Kettenis
2022-02-14acpi_indicator() can take the softc*, instead of void*Theo de Raadt
2022-02-14test the correct pointer for acpi_intr_establish() resultJonathan Gray
2022-02-10Embed klist head in acpi_softc to avoid explicit malloc.Visa Hankala
2022-02-09Move x86-only stubs used by kern/subr_suspend.c into dev/acpi/acpi_x86.cTheo de Raadt
2022-02-09add Surface Go 3 hid to acpibat(4)Dave Voutila
2022-02-09add newline to acpitz(4) attach conditionDave Voutila
2022-02-08The suspend/resume code is a sticky mess of MI, MD, and ACPI sequencing.Theo de Raadt
2022-02-04set the APM_BATT_CHARGING state if the battery is being charged and tryRobert Nagy
2022-02-02acpi_addtask() calls malloc() w/ M_NOWAIT (because some calls come fromTheo de Raadt
2022-02-01GPE_DIRECT is calling the AML parser from interrupt context, which isTheo de Raadt
2022-01-26An ACPI device needs to be both present and enabled for it to function.Mark Kettenis
2022-01-18Improve how quirks are handled on sdhc(4)-compatible drivers. So farPatrick Wildt
2022-01-12Make acpi_getpropint() return uint64_t, as ACPI integers are in fact thatPatrick Wildt
2022-01-09spellingJonathan Gray
2022-01-04acpi_getprop() needs to actually make sure that we're looking at thePatrick Wildt
2022-01-02preferense -> preferenceJonathan Gray
2021-12-29Allow ohci(4) and ehci(4) to attach to acpi(4).Patrick Wildt
2021-12-29acpi_intr_disestablish() is available on all our ACPI platforms whichPatrick Wildt
2021-12-26Add address locators for the ACPI "bus" and use these to fix the order ofMark Kettenis
2021-12-21Move checks on attach arguments from attach into match.Mark Kettenis
2021-12-21Rename local variable intrfn to intr, matches what dev/fdt/com_fdt.cAnton Lindqvist
2021-12-21Do not attach com at acpi when there's no address or irq present. FixesAnton Lindqvist
2021-12-16Attach com over acpi on amd64. Some hardware uses a different interruptAnton Lindqvist
2021-12-09Broken ACPI tables containing scopes that are larger than their outer shellPatrick Wildt
2021-12-07Fix typo in Tiger Lake H configuration.Mark Kettenis
2021-12-07print the failed method numberTheo de Raadt