aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw
Commit message (Expand)AuthorAgeFilesLines
* Limit ofw_cpu_early_foreach() to CPUs onlyZbigniew Bodek2015-07-281-2/+18
* OF_getencprop_alloc shouldn't be used to get string value. If stringOleksandr Tymoshenko2015-07-251-2/+2
* Fix an infinite loop when a node doesn't have an interrupt-parent property.Andrew Turner2015-07-151-1/+1
* Also accept "ok" to enable a device, some vendor device trees use this whenAndrew Turner2015-07-141-1/+2
* Add ofw_bus_find_child_by_phandle, a helper routine to find a device_tWarner Losh2015-06-202-0/+44
* Rename fdt_find_child to ofw_bus_find_child. There is nothing FDT-specificOleksandr Tymoshenko2015-05-242-0/+25
* Provide the number of interrupt resources added to the listRuslan Bukin2015-05-153-3/+7
* Use the correct node wen reading the compatible property.Andrew Turner2015-05-131-1/+1
* Add the ofw_bus_subr.h change missed in r282770.Andrew Turner2015-05-111-0/+3
* Add ofw_bus_find_compatible to find a compatible ofw node. This will beAndrew Turner2015-05-111-15/+54
* Remove unnecessary code and make use of generic implementations forLuiz Otavio O Souza2015-05-101-12/+0
* Handle IRQ resources on iicbus and ofw_iicbus.Luiz Otavio O Souza2015-05-091-1/+16
* Move the point we attach the ofw driver on arm64 to nexus.c. This willAndrew Turner2015-05-051-0/+11
* Fix bug in xrefinfo_find() for 64-bit platformsZbigniew Bodek2015-03-301-4/+4
* Make simplebus a base class of ofwbus. This allows the elimination ofIan Lepore2015-03-271-230/+18
* Adda function to iterate over the cpu nodes in the OFW or FDT data. ThisAndrew Turner2015-02-192-0/+86
* Add support to get the cpu ID from its device driver in a generic way.Andrew Turner2015-02-191-0/+11
* Do not leak the OFW memory when the result does not satisfy our alignmentLuiz Otavio O Souza2015-01-301-2/+7
* Update the parsing of the cpu node. We are unable to use the reg propertyAndrew Turner2015-01-211-7/+41
* Make the clock-frequency property optional as it may not be present on FDTAndrew Turner2015-01-191-6/+14
* Return an appropriate error code in the case of a missing property ratherNathan Whitehorn2015-01-171-0/+3
* Add two fake properties ("fdtbootcpu" and "fdtmemreserv") to the deviceNathan Whitehorn2015-01-161-0/+20
* Introduce ofw_bus_reg_to_rl() to replace part of common bus codeZbigniew Bodek2015-01-133-31/+51
* Restore use of ofw_bus_intr_to_rl() in the pseries vdevice driver after fixingNathan Whitehorn2015-01-051-3/+12
* The path entry for a device tree node and its name property are usually,Nathan Whitehorn2015-01-011-6/+7
* Don't assume required FDT properties are present.Ian Lepore2014-12-241-3/+11
* Use standard BSD license disclaimer textEd Maste2014-12-151-10/+11
* Move ofw_cpu.c to sys/dev/ofw so that it can be used by otherRui Paulo2014-12-141-0/+214
* Allow i2c bus speed to be configured via hints, FDT data, and sysctl.Ian Lepore2014-11-181-4/+15
* Avoid panic in ofwbus caused by not released resource list entryZbigniew Bodek2014-11-071-1/+7
* Replace multiple nearly-identical copies of code to walk through an FDTIan Lepore2014-09-253-32/+68
* When registering an association between a device and an xref phandle, createIan Lepore2014-09-061-10/+45
* Revert rr271190, it was based on a misunderstanding. The problem ofIan Lepore2014-09-062-21/+5
* Add OF_xref_from_node_strict() which returns -1 if there is no xref handleIan Lepore2014-09-062-5/+21
* Use callout(9) instead of timeout(9).John Baldwin2014-09-021-8/+6
* Fix typo.Ian Lepore2014-09-021-1/+1
* Add OF_xref_from_device() so that there's no need to have an intermediateIan Lepore2014-09-022-0/+17
* Create a mechanism for looking up a device_t associated with an ofw/fdtIan Lepore2014-09-012-4/+124
* Rename OF_xref_phandle() to OF_node_from_xref() and add a new functionIan Lepore2014-09-015-5/+20
* Handle various ways that interrupt config data can be malformed byIan Lepore2014-08-101-8/+22
* Use a separate variable for resource id, because 'i' may increment at aIan Lepore2014-08-101-5/+5
* Adjust ofwbus and simplebus to attach at BUS_PASS_ORDER_MIDDLE, so thatIan Lepore2014-08-051-1/+1
* Set ofwbus and simplebus to attach during BUS_PASS_BUS.Ian Lepore2014-08-051-1/+2
* OF_peer() in IEEE 1275 returns 0 if no peer exists, not -1.Nathan Whitehorn2014-05-111-1/+1
* Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with busLuiz Otavio O Souza2014-05-042-38/+0
* Fix the gpio-specifier decoding by respecting the GPIO controller'sLuiz Otavio O Souza2014-04-272-1/+37
* Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems.Luiz Otavio O Souza2014-02-131-0/+1
* Move Open Firmware device root on PowerPC, ARM, and MIPS systems toNathan Whitehorn2014-02-052-124/+109
* Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) toNathan Whitehorn2014-02-023-0/+32
* Open Firmware interrupt specifiers can consist of arbitrary-length byteNathan Whitehorn2014-02-013-37/+11