337705 |
13-Aug-2018 |
mmel |
MFC r335249:
Fix handling of enable counter for shared GPIO line in fixed regulator. |
332025 |
04-Apr-2018 |
mmel |
MFC r328201:
Convert extres/phy to kobj model. Similarly as other extres pseudo-drivers, implement phy by using kobj model. This detaches it from provider device, so single device driver can export multiple different phys. Additionally, this allows phy to be subclassed to more specialized drivers, like is USB OTG phy, or PCIe phy with hot-plug capability. |
331974 |
04-Apr-2018 |
mmel |
MFC r330074:
Define meaning of remaining clock rounding flags combinations. |
331175 |
19-Mar-2018 |
eadler |
MFC r328586:
Use more verbose panic messages. |
317009 |
16-Apr-2017 |
mmel |
MFC r309537:
Clock framework fixes: - The clk_test_freq() (aka CLK_SET_DRYRUN) doesn't change frequency, don't cache it result. - Fix busy condition for clk_set_freq(). |
309769 |
09-Dec-2016 |
manu |
MFC r308298, r308440
r308298: Add clk_set_assigned
assigned-clock-parents are DT properties used to configure some default parent clocks on one node.
Reviewed by: mmel
r308440: Do not warn if the 'assigned-clock-parents' property does not exists. |
308328 |
05-Nov-2016 |
mmel |
MFC r307558:
REGULATOR: Move functions for handling with regulator ranges to common file. They can be useful for other PMICs. |
308324 |
05-Nov-2016 |
mmel |
MFC r302523,r302528:
r302523: Add clk_get_by_ofw_node_index, which is like clk_get_by_ofw_index but operates on a specific OF node instead of the pass in device's OF node. r302528: EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions. In some cases, the driver must handle given properties located in specific OF subnode. Instead of creating duplicate set of function, add 'node' as argument to existing functions, defaulting it to device OF node. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
300750 |
26-May-2016 |
ian |
Rename gpiobus_map_pin() to gpiobus_acquire_pin(), to better reflect the fact that the caller is requesting exclusive use of the pin, and also to better match the inverse operation which is named gpiobus_release_pin().
|
299714 |
14-May-2016 |
gonzo |
Use OF_prop_free instead of direct call to free(9)
Reviewed by: mmel@
|
297550 |
04-Apr-2016 |
andrew |
Fix a format string when uint64_t is not unsigned long long by casting through uintmax_t.
|
297350 |
28-Mar-2016 |
jmcneill |
Pass clkdev_if methods through to parent device by default.
Reviewed by: mmel, adrian (mentor) Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5750
|
297328 |
27-Mar-2016 |
kan |
Do nothing if requested clk frequency is already correct.
Reviewed by: mmel
|
297215 |
23-Mar-2016 |
jmcneill |
Fix support for fixed factor clocks. - Use a different device description for fixed and fixed factor clocks. - Fix a bug where the "clock-div" property was stored in the "mult" field of the clock definition. - Get the fixed factor parent clock by index instead of by name, as a clock-names property is not required to be present here.
Reviewed by: mmel, adrian (mentor) Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5703
|
297214 |
23-Mar-2016 |
jmcneill |
clk_parse_ofw_out_names is supposed to return a list of indices when the clock-indices property is present, so change the "uint32_t *indices" parameter to "uint32_t **indices" to allow this.
Reviewed by: mmel, adrian (mentor) Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5702
|
297213 |
23-Mar-2016 |
jmcneill |
Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving platform specific drivers a chance to override the generic driver.
Reviewed by: mmel, adrian (mentor) Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5701
|
296907 |
15-Mar-2016 |
mmel |
Add phy framework, a next part of new 'extended resources' family of support frameworks (i.e. clk/regulators/tsensors/fuses...).
It provides simple unified consumers interface for manipulations with phy (USB/SATA/PCIe) resources.
|
296906 |
15-Mar-2016 |
mmel |
Add regulator framework, a next part of new 'extended resources' family of support frameworks(i.e. clk/reset/phy/tsensors/fuses...).
The framework is still far from perfect and probably doesn't have stable interface yet, but we want to start testing it on more real boards and different architectures.
|
296905 |
15-Mar-2016 |
mmel |
CLK: Add and use explicit locking for access to clock device registers. Implicit locking (for read/write/modify) is not sufficient for complex cases.
|
296904 |
15-Mar-2016 |
mmel |
CLK: Add enumerator for 'clocks' OFW node. Add bus device bindings for clk_fixed class.
|
296903 |
15-Mar-2016 |
mmel |
CLK: Remove forgotten mutex from clk_fixed class.
|
294661 |
24-Jan-2016 |
mmel |
Add reset framework, a second part of new 'extended resources' family of support frameworks (i.e. regulators/phy/tsensors/fuses...).
It provides simple unified consumers interface for manipulations with on-chip resets.
Reviewed by: ian, imp (paritaly)
|
294660 |
24-Jan-2016 |
mmel |
Add clock framework, a first part of new 'extended resources' family of support frameworks(i.e. reset/regulators/phy/tsensors/fuses...).
The clock framework significantly simplifies handling of complex clock structures found in modern SoCs. It provides the unified consumers interface, holds and manages actual clock topology, frequency and gating.
It's tested on three different ARM boards (Nvidia Tegra TK1, Inforce 6410 and Odroid XU2) and on one MIPS board (Creator Ci20) by kan@.
The framework is still far from perfect and probably doesn't have stable interface yet, but we want to start testing it on more real boards and different architectures.
Reviewed by: ian, kan (earlier version)
|