#
130ea1ec |
| 18-Aug-2024 |
deraadt <deraadt@openbsd.org> |
don't need to put config_activate_children inside cfattach, because NULL means the same ok kettenis
|
#
e3ee5e84 |
| 12-Mar-2022 |
mpi <mpi@openbsd.org> |
Constify struct cfattach.
ok patrick@
|
#
85fcfc35 |
| 26-Aug-2020 |
visa <visa@openbsd.org> |
Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>.
OK deraadt@, mpi@
|
#
37084e1e |
| 29-Apr-2020 |
kettenis <kettenis@openbsd.org> |
Let the armv7 bus_dma layer and simplebus(4) implementation deal with DMA remapping in the same way as arm64. This relies on the dma-ranges property in the device tree and allows us to get rid of th
Let the armv7 bus_dma layer and simplebus(4) implementation deal with DMA remapping in the same way as arm64. This relies on the dma-ranges property in the device tree and allows us to get rid of the hack for the Raspberry Pi in the dwctwo(4) driver.
Note that this does not include the hack in simplebus(4) that we have on arm64 since firmware that has the dma-ranges is in widespread use now.
ok patrick@
show more ...
|
#
aaf7ae02 |
| 23-Oct-2019 |
patrick <patrick@openbsd.org> |
Provide hw.serialno using the root node's serial-number property.
ok kettenis@
|
#
20584b0d |
| 21-Sep-2019 |
kettenis <kettenis@openbsd.org> |
Enable thermal zone handling code.
|
#
ff2bba5c |
| 11-Sep-2017 |
jsg <jsg@openbsd.org> |
Remove whitespace in inline assembly output constraint strings. While gcc is documented as ignoring whitespace in any position but the first clang gives "error: invalid output constraint '=r ' in as
Remove whitespace in inline assembly output constraint strings. While gcc is documented as ignoring whitespace in any position but the first clang gives "error: invalid output constraint '=r ' in asm".
show more ...
|
#
55d928d5 |
| 02-May-2017 |
kettenis <kettenis@openbsd.org> |
Remove check for compatible property. Turns out sunxi relied on the broken check we had before rev 1.16.
Suggested by jmatthew@
|
#
b70d681b |
| 30-Apr-2017 |
kettenis <kettenis@openbsd.org> |
Make early attrbute work here as well. Remove unreachable panic while there.
ok visa@, patrick@, drahn@
|
#
88a615db |
| 27-Apr-2017 |
kettenis <kettenis@openbsd.org> |
Bring over the changes to mainbus(4) and simplebus(4) from arm64.
|
#
04e4a795 |
| 06-Jan-2017 |
jsg <jsg@openbsd.org> |
unifdef CPU_ARMv7 and ARM_ARCH_7 ok kettenis@ patrick@
|
#
6fd46d03 |
| 03-Jan-2017 |
kettenis <kettenis@openbsd.org> |
Add simplefb(4), a driver to support the framebuffer set up by the firmware on some platforms that use device trees. Works on Allwinner (sunxi) and should also work on Raspberry Pi (broadcom) armv7
Add simplefb(4), a driver to support the framebuffer set up by the firmware on some platforms that use device trees. Works on Allwinner (sunxi) and should also work on Raspberry Pi (broadcom) armv7 platforms.
ok jsg@, visa@
show more ...
|
#
df9226ec |
| 06-Aug-2016 |
jsg <jsg@openbsd.org> |
Set up the fdt attach args for devices that attach directly to mainbus the same way as for those that attach to simplebus.
ok kettenis@ patrick@
|
#
3a2a51e5 |
| 04-Aug-2016 |
kettenis <kettenis@openbsd.org> |
Add support for pre-registering interrupts. This allows device drivers to establish interrupts before their interrupt controller attaches, solving dependency problems in various device trees.
Also
Add support for pre-registering interrupts. This allows device drivers to establish interrupts before their interrupt controller attaches, solving dependency problems in various device trees.
Also add support for handing interrupt handlers over to parent interrupt controllers.
ok jsg@ patrick@ (on an earlier diff)
show more ...
|
#
5586125e |
| 13-Jul-2016 |
patrick <patrick@openbsd.org> |
The "#address-cells" and "#size-cells" properties define the size of the memory address and length information. The root node passes this information down to the children and it can be overwritten b
The "#address-cells" and "#size-cells" properties define the size of the memory address and length information. The root node passes this information down to the children and it can be overwritten by other nodes inbetween. Pass these properties as part of the fdt attach args, so that we can grab that information quickly inside the drivers.
ok kettenis@
show more ...
|
#
3dfd0072 |
| 29-May-2016 |
jsg <jsg@openbsd.org> |
use fdt "model" string for hw.product ok kettenis@
|
#
4a91dee8 |
| 18-May-2016 |
kettenis <kettenis@openbsd.org> |
Introduce a per-platform init_mainbus() hook that can be used to attach platform-specific devices to mainbus before we start walking the FDT.
ok patrick@
|
#
79645871 |
| 02-May-2016 |
patrick <patrick@openbsd.org> |
Rework mainbus and implement simplebus to be able to span a tree-like topology based on device tree information. Introduce a common attach args structure to be used for all fdt-capable bus devices.
Rework mainbus and implement simplebus to be able to span a tree-like topology based on device tree information. Introduce a common attach args structure to be used for all fdt-capable bus devices.
ok jsg@ kettenis@
show more ...
|
#
c06fda6d |
| 30-May-2013 |
deraadt <deraadt@openbsd.org> |
Enforce ca_activate tree-walks over the entire heirarchy for all events, cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request
Enforce ca_activate tree-walks over the entire heirarchy for all events, cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
show more ...
|
#
afed0fbf |
| 22-Sep-2011 |
miod <miod@openbsd.org> |
None of the mainbus child devices care about getting a bus_space_tag_t from its parent, because they know better; so don't bother providing one, which allows more unused code to go to the Attic.
Whi
None of the mainbus child devices care about getting a bus_space_tag_t from its parent, because they know better; so don't bother providing one, which allows more unused code to go to the Attic.
While there, redo the config machinery for mainbus child devices, to bring it to our current standards. This also allows them to be disabled in UKC, should there be a need for this in the future.
show more ...
|
#
abe3ac4e |
| 30-Aug-2010 |
deraadt <deraadt@openbsd.org> |
Convert all powerhooks to activate functions, and provide powerhook stubs. Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and
Convert all powerhooks to activate functions, and provide powerhook stubs. Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and jakemsr; proof reading by oga
show more ...
|
#
44244d84 |
| 27-Apr-2010 |
drahn <drahn@openbsd.org> |
arm32 define isn't used on any arm platforms, and machine/io.h doesn't exist, delete the check. ok deraadt
|
#
cc7b0317 |
| 31-Dec-2005 |
drahn <drahn@openbsd.org> |
Search for the devices to attach to mainbus, not hardcoded. ok miod@
|
#
38b77b7a |
| 19-May-2004 |
drahn <drahn@openbsd.org> |
de __P of sys/arch/arm.
|
#
e1e4f5b1 |
| 01-Feb-2004 |
drahn <drahn@openbsd.org> |
Arm port, NetBSD codebase stripped down, 32bit only support.
|