Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-03 | Since device tree trip points might not be sorted, but our code | Patrick Wildt | |
expected a sorted list, do the sorting ourselves upon parsing the trip points. ok kurt@ | |||
2019-09-30 | Add a PWM framework. | Mark Kettenis | |
ok patrick@ | |||
2019-09-29 | Reserve a few GPIO_CONFIG bits for machine-dependent use. | Visa Hankala | |
No objection from kettenis@ | |||
2019-09-07 | Add an SFP framework which allows SFP providers to provide a | Patrick Wildt | |
method to access its pages. ok kettenis@ | |||
2019-09-07 | Add an I2C framework, so that nodes that need to use I2C but | Patrick Wildt | |
are not children of the I2C controller are able to use it. ok kettenis@ | |||
2019-09-04 | Add comment. | Mark Kettenis | |
2019-08-28 | This code calls task_add(9) from a timeout, so create the taskq with | Mark Kettenis | |
IPL_SOFTCLOCK instead of IPL_NONE. ok mpi@, deraadt@, patrick@ | |||
2019-08-28 | Add a PHY "framework". | Mark Kettenis | |
ok patrick@ | |||
2019-08-26 | Implement GPIO hogging. | Mark Kettenis | |
ok patrick@ | |||
2019-08-10 | Make sure fdt_get_reg() looks beyond its parent to establish the correct | Mark Kettenis | |
#address-cells and #size-cells for the bus it sits on. This makes sure the glass console works since the framebuffer shows up as a child of /chosen which typically doesn't have these properties. This makes us look at the root node instead. ok patrick@ | |||
2019-07-03 | Skip thermal zones without "trips" or "cooling-maps" nodes. | Mark Kettenis | |
2019-07-03 | OF_finddevice(9) returns -1 if the node in question couldn't be found. | Mark Kettenis | |
2019-07-02 | Add thermal zone handling code. This provides support for thermal zones | Mark Kettenis | |
defined in device trees that link together thermal sensors and cooling devices to actively or passively cool devices when certain trip points are reached. ok mlarkin@ patrick@ | |||
2019-04-30 | We are allowed to enable regulators with the "regulator-always-on" | Patrick Wildt | |
property. The definition is that a regulator with this property should never be disabled. ok kettenis@ | |||
2019-02-20 | Add support for current limit regulators in addition to the voltage | Patrick Wildt | |
regulators we already support. The GPIO-based regulators are rather independent of the type, we only need to know the type to check the upper and lower limits. With feedback from kettenis@ | |||
2019-02-18 | In the voltage regulator getter we need to actually check the GPIO | Patrick Wildt | |
pin before setting the "pin is high" bit in the index for the states. Otherwise the index always has all possible bits sets. ok kettenis@ | |||
2019-01-02 | Setting a fixed voltage regulator to the voltage it is fixed to | Patrick Wildt | |
should not throw an error. ok kettenis@ | |||
2019-01-02 | A fixed regulator's minimum voltage attribute is called regulator-min-microvolt | Patrick Wildt | |
instead of regulator-min-voltage. ok kettenis@ | |||
2018-10-23 | Fix OFW GPIO regulator by breaking out of the loop once the correct | Patrick Wildt | |
match has been found. Otherwise the error condition will always be true. ok kettenis@ | |||
2018-08-28 | avoid uninitialised variable use | Jonathan Gray | |
ok patrick@ kettenis@ | |||
2018-08-13 | Support GPIO-based voltage regulators. | Patrick Wildt | |
ok kettenis@ | |||
2018-08-05 | Fix typo that caused us to misassign parents. | Mark Kettenis | |
ok patrick@ | |||
2018-08-02 | Add delay when increasing the voltage of a regulator that has a | Mark Kettenis | |
"regulator-ramp-delay" property to guerantee that the target voltage has been reached when regulator_set_voltage(9) returns. ok patrick@ | |||
2018-06-03 | Change the set_parent() interface to pass the full parent specification | Mark Kettenis | |
(including the phandle). ok patrick@ | |||
2018-05-04 | Add a common rules file for ofw sources to help keep the configurations | Visa Hankala | |
of fdt-enabled platforms in sync. OK deraadt@ | |||
2018-05-03 | Add an API to configure clocks to specific pre-assigned values. These | Patrick Wildt | |
values are defined in the device tree and make sure that all clocks needed for controller and driver operation are configured as expected. This allows modifying a clock's rate and parent. For now expect that a parent clock is on the same controller as the muxed one. ok kettenis@ | |||
2018-05-02 | Implement a power domain framework to turn on/off so-called power | Patrick Wildt | |
domains. This mechanism is used by the newer i.MX8M SoCs so that drivers can call into ATF to supply power to e.g. a USB port. ok kettenis@ | |||
2018-04-02 | Implement a regmap lookup by compatible since unfortunately not all | Patrick Wildt | |
regmaps are referenced by nodes or phandles. ok kettenis@ | |||
2018-03-21 | Register regmap regardless of whether the node has a "phandle" property. | Mark Kettenis | |
ok patrick@, visa@ | |||
2018-01-03 | Add remap_bynode() since I use it in the rkpcie(4) implementation. | Mark Kettenis | |
2017-12-27 | Implement OF_getpropint64(). | Mark Kettenis | |
ok jca@, tom@, patrick@, visa@ | |||
2017-12-18 | Add support for enabling registered regulators. Make sure that we leave | Mark Kettenis | |
regulators with a "regulator-always-on" property alone. ok patrick@ | |||
2017-12-16 | Enforce voltage limits from the device tree. Enforcing the limits also | Mark Kettenis | |
happens when regulators are registered. As a consequence they will be properly initialized even when the firmware doesn't do that. ok patrick@ | |||
2017-11-18 | Extend regulator "framework" with functions to get/set voltages. | Mark Kettenis | |
ok jsg@ | |||
2017-11-18 | Extend regulator "framework" with functions to get/set voltages. | Mark Kettenis | |
ok jsg@ | |||
2017-11-17 | Make OF_getnodebyname() scan its child nodes instead of its peer nodes. | Mark Kettenis | |
This still deviates from the implementation we have on macppc, but we only ever use OF_getnodebyname() to find child nodes in our tree. ok tom@, visa@ | |||
2017-05-05 | Include <dev/ofw/ofw_misc.h> instead of <dev/ofw/ofw_pinctrl.h>. | Mark Kettenis | |
2017-03-12 | Introduce OF_getindex() API and use it to replace multiple instances of | Mark Kettenis | |
pretty much identical code. ok visa@ | |||
2017-03-09 | Add a "regmap" interface that allows devices to provide access to their | Mark Kettenis | |
registers to devices that live elsewhere in the device tree. ok patrick@ | |||
2016-08-27 | Return -1 if we try to set the frequency of a clock but couldn't find it. | Mark Kettenis | |
2016-08-23 | Add functions to assert/deassert all reset signals for a device. | Mark Kettenis | |
2016-08-23 | Actually make fdt_find_node() return NULL if the node couldn't be found. | Mark Kettenis | |
ok tom@ | |||
2016-08-22 | Fix two small bugs in the new reset API code. | Mark Kettenis | |
2016-08-22 | Add an API to set the clock frequency. | Mark Kettenis | |
2016-08-22 | Add a reset signal API alongside the clock API. | Mark Kettenis | |
2016-08-22 | Implement interfaces to disable clocks and add interfaces that enable or | Mark Kettenis | |
disable all clocks for a device. The latter interfaces are useful for devices that have multiple clocks that don't have specific names/purposes such as sxiahci(4). | |||
2016-08-21 | Add a minimal clock "framework". Build it on armv7. | Mark Kettenis | |
ok patrick@ | |||
2016-08-21 | Fix a pasto in a comment. | Mark Kettenis | |
2016-08-13 | Add a minimal regulator "framework". | Mark Kettenis | |
ok jsg@, patrick@ | |||
2016-08-06 | Add a generic pinctrl "framework". | Mark Kettenis | |
ok patrick@ |