On 27/04/11(Wed) 14:21, Martin Pieuchot wrote:
> On 27/04/11(Wed) 12:41, Martin Pieuchot wrote:
> > On 26/04/11(Tue) 18:29, Martin Pieuchot wrote:
> > > The following diff adds support for dfs. It requires my precedent patch
> > > about GPIOs. I don't have a machine with a MPC7448 so it's only tested
> > > with a MPC7447A.
> > > 
> > > I'm also interested in various device-tree dumps for further development.
> > > If you can send me yours, contact me off list.
> > 
> > Updated diff, correct the voltage offset in case the value of the reg
> > property is relative to the gpio controller offset.

Here is a manpage as required by jasper@, I'm not sure what to write or
not to, feel free to comment/correct.

Index: dfs.4
===================================================================
RCS file: dfs.4
diff -N dfs.4
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dfs.4       1 May 2011 07:03:47 -0000
@@ -0,0 +1,54 @@
+.\"    $OpenBSD$
+.\"
+.\" Copyright (c) 2011 Martin Pieuchot <m...@nolizard.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: April 30 2011 $
+.Dt DFS 4 macppc
+.Os
+.Sh NAME
+.Nm dfs
+.Nd Dynamic Frequence Switching
+.Sh SYNOPSIS
+.Cd "dfs* at macgpio?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Va "Dynamic Frequence Switching"
+feature found on some PowerPC microprocessors.
+.Pp
+It allows to conserve power by lowering processor operating frequency.
+Depending on the processor model, the processor-to-system bus ratio can
+be either divided by two or four.
+.Sh HARDWARE
+Processors supported by the
+.Nm
+driver are part of the PowerPC G4 family and are found on various iBook
+and PowerBook machines:
+.Bd -literal -offset indent
+MPC7447A       PowerPC 7447 "Apollo 7"
+MPC7448                PowerPC 7448 "Apollo 8"
+.Ed
+.Sh SEE ALSO
+.Xr macgpio 4 ,
+.Xr sysctl 8 ,
+.Rs
+.%T MPC7450 RISC Microprocessor Family Reference Manual
+.Re
+.Sh HISTORY
+Support for the
+.Nm
+driver first appeared in
+.Ox 5.0 .

Reply via email to