| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Multiple Makefile miss opt_*.h and *_if.h header file. We fix it by
running make in sys/modules to build all modules.
Approved by: lwhsu (mentor), markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52062
|
|
|
|
|
|
| |
'acpi_if.h' was accidentally omitted from the module Makefile; add it.
Fixes: 9709bda03cd0
|
|
|
|
|
|
| |
Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support")
Pointy-hat to: cperciva
Sponsored by: Amazon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
This currently only implements the address space handler and attempts to
configure pins with flags obtained from ACPI.
Reviewed by: wulf
MFC after: 1 month
Pull Request: https://github.com/freebsd/freebsd-src/pull/1359
|
|
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
|
|
|
|
|
|
|
| |
and remove non-present symbols that are now reported by kmod_syms.awk.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32878
|
|
|
|
| |
Notes:
svn path=/head/; revision=355499
|
|
|
|
|
|
|
|
|
| |
ofw_gpiobus.c is needed when FDT is used.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=327681
|
|
|
|
|
|
|
|
|
|
|
| |
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314651
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Split driver in two parts: FDT and non-FDT
- Instead of reattach gpioled nodes to GPIO bus use
gpio_pin_get_by_ofw_idx and add ofwbus and simplebus as parrent buses
Reviewed by: loos
Differential Revision: https://reviews.freebsd.org/D8233
Notes:
svn path=/head/; revision=308428
|
|
|
|
|
|
|
|
| |
Reviewed by: imp, loos
Differential Revision: https://reviews.freebsd.org/D7815
Notes:
svn path=/head/; revision=307698
|
|
|
|
| |
Notes:
svn path=/head/; revision=300894
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=300855
|
|
|
|
|
|
|
|
| |
Submitted by: manu
Pointy hat: ian
Notes:
svn path=/head/; revision=300823
|
|
|
|
| |
Notes:
svn path=/head/; revision=300818
|
|
|
|
|
|
|
|
| |
supports only ofw/fdt systems. Some day, hinted attachment for non-fdt
systems should be possible too.
Notes:
svn path=/head/; revision=300811
|
|
|
|
|
|
|
|
| |
Submitted by: ray
Obtained from: zrouter
Notes:
svn path=/head/; revision=300715
|
|
|
|
|
|
|
|
| |
Instead disconnect gpiokeys from the build until it's fixed and buildable;
the SUBDIR list was not ordered properly anyway ;-)
Notes:
svn path=/head/; revision=299740
|
|
|
|
|
|
|
| |
make the remaining MIPS kernels compile which set MODULES_OVERRIDE="gpio..."
Notes:
svn path=/head/; revision=299739
|
|
|
|
| |
Notes:
svn path=/head/; revision=299568
|
|
|
|
|
|
|
|
|
|
| |
Add the missing newbus interfaces and gpioc, which is part of basic gpiobus
framework.
Sponsored by: Rubicon Communications (Netgate)
Notes:
svn path=/head/; revision=286846
|
|
|
|
|
|
|
| |
Approved by: adrian (mentor)
Notes:
svn path=/head/; revision=262559
|
|
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.
Notes:
svn path=/head/; revision=230150
|