[Bug 206] New: Disallow setting of overvoltage via pcf50606 sysctl interface

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Fri Feb 23 17:29:26 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=206

           Summary: Disallow setting of overvoltage via pcf50606 sysctl
                    interface
           Product: OpenMoko
           Version: current svn head
          Platform: Neo1973
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: kernel
        AssignedTo: laforge at openmoko.org
        ReportedBy: laforge at openmoko.org
                CC: werner at openmoko.org


currently there are no kernel-enforced limits for the voltage regulator
settings. This means that [root] user can set overvoltages on various parts of
the system.

We need something like a table of maximum voltages (for each system revision).

Ideally this should become part of a platform_device private data structure,
something like (per-regulator):

struct {
     u_int16_t max_voltage;
     u_int16_t min_voltage;
     unsigned int flags;      /* such as F_DEFAULT_ON */
     char *name;
};

the voltage setting functions should then not only respect the limits by
pcf50606 hardware, but the limits present in that structure.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You reported the bug, or are watching the reporter.




More information about the buglog mailing list