| #
6540ac11
|
| 31-Oct-2024 |
Colin Percival <cperciva@FreeBSD.org> |
modules: gpioaei only on ACPI-supporting archs
Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support") Pointy-hat to: cperciva Sponsored by: Amazon
|
| #
9709bda0
|
| 22-Oct-2024 |
Colin Percival <cperciva@FreeBSD.org> |
GPIO: Add ACPI _AEI support
Changes to acpi_gpiobus.c handle discovering and parsing the _AEI objects and storing necessary data in device ivars. A new gpioaei.c file implements the device, which s
GPIO: Add ACPI _AEI support
Changes to acpi_gpiobus.c handle discovering and parsing the _AEI objects and storing necessary data in device ivars. A new gpioaei.c file implements the device, which simply requests an interrupt when the pin is triggered and invokes the appropriate _Exx or _Lxx ACPI method.
This makes the GPIO "power button" work on arm64 Graviton systems, allowing EC2 "Stop"/"Reboot" instance calls to be handled cleanly. (Prior to this change, those requests would time out after 4 minutes and the instance would be forcibly killed.)
Reviwed by: imp, andrew, Ahmad Khalifa MFC after: 3 days Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D47253 Co-authored-by: Andrew Turner <andrew@FreeBSD.org>
show more ...
|
| #
031beb4e
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
624e87b6
|
| 07-Dec-2019 |
Ian Lepore <ian@FreeBSD.org> |
Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.
|
| #
6540ac11
|
| 31-Oct-2024 |
Colin Percival <cperciva@FreeBSD.org> |
modules: gpioaei only on ACPI-supporting archs
Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support") Pointy-hat to: cperciva Sponsored by: Amazon
|
| #
9709bda0
|
| 22-Oct-2024 |
Colin Percival <cperciva@FreeBSD.org> |
GPIO: Add ACPI _AEI support
Changes to acpi_gpiobus.c handle discovering and parsing the _AEI objects and storing necessary data in device ivars. A new gpioaei.c file implements the device, which s
GPIO: Add ACPI _AEI support
Changes to acpi_gpiobus.c handle discovering and parsing the _AEI objects and storing necessary data in device ivars. A new gpioaei.c file implements the device, which simply requests an interrupt when the pin is triggered and invokes the appropriate _Exx or _Lxx ACPI method.
This makes the GPIO "power button" work on arm64 Graviton systems, allowing EC2 "Stop"/"Reboot" instance calls to be handled cleanly. (Prior to this change, those requests would time out after 4 minutes and the instance would be forcibly killed.)
Reviwed by: imp, andrew, Ahmad Khalifa MFC after: 3 days Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D47253 Co-authored-by: Andrew Turner <andrew@FreeBSD.org>
show more ...
|
| #
031beb4e
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
624e87b6
|
| 07-Dec-2019 |
Ian Lepore <ian@FreeBSD.org> |
Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.
|
| #
12889df7
|
| 28-May-2016 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Add gpiokeys to the list of GPIO modules built only if FDT is enabled
|
| #
99819ca0
|
| 27-May-2016 |
Ian Lepore <ian@FreeBSD.org> |
When building modules, define make variable OPT_FDT if the kernel config includes the FDT option. Use OPT_FDT to conditionally compile modules that require FDT support.
In the past we've gotten awa
When building modules, define make variable OPT_FDT if the kernel config includes the FDT option. Use OPT_FDT to conditionally compile modules that require FDT support.
In the past we've gotten away with using the arch name as a proxy for FDT support in makefile conditional logic, but now mips has some platforms with fdt support and some without and we need a more direct test.
show more ...
|
| #
b4c5dea6
|
| 27-May-2016 |
Adrian Chadd <adrian@FreeBSD.org> |
[gpio] add gpiospi to the gpio module.
|
| #
128e3872
|
| 26-May-2016 |
Ian Lepore <ian@FreeBSD.org> |
Add a PPS driver that takes the timing pulse from a gpio pin. Currently supports only ofw/fdt systems. Some day, hinted attachment for non-fdt systems should be possible too.
|
| #
9e1252ae
|
| 14-May-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Revert r299739. That did not make it better. Instead disconnect gpiokeys from the build until it's fixed and buildable; the SUBDIR list was not ordered properly anyway ;-)
|
| #
81d3ea9f
|
| 12-May-2016 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Add loadable module for gpiokeys
|
| #
38f1b189
|
| 26-Apr-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r234692
sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c
- Add API to allow vmm FPU state init/save/restore.
FP stuff discussed with: kib
|
| #
8fa0b743
|
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
| #
12889df7
|
| 28-May-2016 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Add gpiokeys to the list of GPIO modules built only if FDT is enabled
|
| #
99819ca0
|
| 27-May-2016 |
Ian Lepore <ian@FreeBSD.org> |
When building modules, define make variable OPT_FDT if the kernel config includes the FDT option. Use OPT_FDT to conditionally compile modules that require FDT support.
In the past we've gotten awa
When building modules, define make variable OPT_FDT if the kernel config includes the FDT option. Use OPT_FDT to conditionally compile modules that require FDT support.
In the past we've gotten away with using the arch name as a proxy for FDT support in makefile conditional logic, but now mips has some platforms with fdt support and some without and we need a more direct test.
show more ...
|
| #
b4c5dea6
|
| 27-May-2016 |
Adrian Chadd <adrian@FreeBSD.org> |
[gpio] add gpiospi to the gpio module.
|
| #
128e3872
|
| 26-May-2016 |
Ian Lepore <ian@FreeBSD.org> |
Add a PPS driver that takes the timing pulse from a gpio pin. Currently supports only ofw/fdt systems. Some day, hinted attachment for non-fdt systems should be possible too.
|
| #
9e1252ae
|
| 14-May-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Revert r299739. That did not make it better. Instead disconnect gpiokeys from the build until it's fixed and buildable; the SUBDIR list was not ordered properly anyway ;-)
|
| #
81d3ea9f
|
| 12-May-2016 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Add loadable module for gpiokeys
|
| #
38f1b189
|
| 26-Apr-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r234692
sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c
- Add API to allow vmm FPU state init/save/restore.
FP stuff discussed with: kib
|
| #
8fa0b743
|
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
| #
3cf391a1
|
| 15-Jan-2012 |
Adrian Chadd <adrian@FreeBSD.org> |
Allow building the GPIO bus and associated bits as modules.
This is primarily done to save a few bytes here and there on embedded systems with limited flash space for kernels - a very limited (sub-1
Allow building the GPIO bus and associated bits as modules.
This is primarily done to save a few bytes here and there on embedded systems with limited flash space for kernels - a very limited (sub-1MB) space may be available for the kernel and may only support gzip encoding. The rootfs can be LZMA compressed.
show more ...
|