History log of /openbsd-current/sys/dev/ofw/ofw_clock.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 05-Aug-2018 kettenis

Fix typo that caused us to misassign parents.

ok patrick@


# 1.10 03-Jun-2018 kettenis

Change the set_parent() interface to pass the full parent specification
(including the phandle).

ok patrick@


# 1.9 03-May-2018 patrick

Add an API to configure clocks to specific pre-assigned values. These
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.8 12-Mar-2017 kettenis

Introduce OF_getindex() API and use it to replace multiple instances of
pretty much identical code.

ok visa@


# 1.7 27-Aug-2016 kettenis

Return -1 if we try to set the frequency of a clock but couldn't find it.


# 1.6 23-Aug-2016 kettenis

Add functions to assert/deassert all reset signals for a device.


# 1.5 22-Aug-2016 kettenis

Fix two small bugs in the new reset API code.


# 1.4 22-Aug-2016 kettenis

Add an API to set the clock frequency.


# 1.3 22-Aug-2016 kettenis

Add a reset signal API alongside the clock API.


# 1.2 22-Aug-2016 kettenis

Implement interfaces to disable clocks and add interfaces that enable or
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).


# 1.1 21-Aug-2016 kettenis

Add a minimal clock "framework". Build it on armv7.

ok patrick@


# 1.10 03-Jun-2018 kettenis

Change the set_parent() interface to pass the full parent specification
(including the phandle).

ok patrick@


# 1.9 03-May-2018 patrick

Add an API to configure clocks to specific pre-assigned values. These
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.8 12-Mar-2017 kettenis

Introduce OF_getindex() API and use it to replace multiple instances of
pretty much identical code.

ok visa@


# 1.7 27-Aug-2016 kettenis

Return -1 if we try to set the frequency of a clock but couldn't find it.


# 1.6 23-Aug-2016 kettenis

Add functions to assert/deassert all reset signals for a device.


# 1.5 22-Aug-2016 kettenis

Fix two small bugs in the new reset API code.


# 1.4 22-Aug-2016 kettenis

Add an API to set the clock frequency.


# 1.3 22-Aug-2016 kettenis

Add a reset signal API alongside the clock API.


# 1.2 22-Aug-2016 kettenis

Implement interfaces to disable clocks and add interfaces that enable or
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).


# 1.1 21-Aug-2016 kettenis

Add a minimal clock "framework". Build it on armv7.

ok patrick@


# 1.9 03-May-2018 patrick

Add an API to configure clocks to specific pre-assigned values. These
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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.8 12-Mar-2017 kettenis

Introduce OF_getindex() API and use it to replace multiple instances of
pretty much identical code.

ok visa@


# 1.7 27-Aug-2016 kettenis

Return -1 if we try to set the frequency of a clock but couldn't find it.


# 1.6 23-Aug-2016 kettenis

Add functions to assert/deassert all reset signals for a device.


# 1.5 22-Aug-2016 kettenis

Fix two small bugs in the new reset API code.


# 1.4 22-Aug-2016 kettenis

Add an API to set the clock frequency.


# 1.3 22-Aug-2016 kettenis

Add a reset signal API alongside the clock API.


# 1.2 22-Aug-2016 kettenis

Implement interfaces to disable clocks and add interfaces that enable or
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).


# 1.1 21-Aug-2016 kettenis

Add a minimal clock "framework". Build it on armv7.

ok patrick@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 12-Mar-2017 kettenis

Introduce OF_getindex() API and use it to replace multiple instances of
pretty much identical code.

ok visa@


# 1.7 27-Aug-2016 kettenis

Return -1 if we try to set the frequency of a clock but couldn't find it.


# 1.6 23-Aug-2016 kettenis

Add functions to assert/deassert all reset signals for a device.


# 1.5 22-Aug-2016 kettenis

Fix two small bugs in the new reset API code.


# 1.4 22-Aug-2016 kettenis

Add an API to set the clock frequency.


# 1.3 22-Aug-2016 kettenis

Add a reset signal API alongside the clock API.


# 1.2 22-Aug-2016 kettenis

Implement interfaces to disable clocks and add interfaces that enable or
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).


# 1.1 21-Aug-2016 kettenis

Add a minimal clock "framework". Build it on armv7.

ok patrick@