lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM8FrKKEXUwV6=cMzqi0Le7eadb2XWkrjSQ+jm=QBUJMGPKztQ@mail.gmail.com>
Date:	Wed, 14 Sep 2011 20:54:47 +0200
From:	Marcus Folkesson <marcus.folkesson@...il.com>
To:	linux-kernel@...r.kernel.org,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Regulator constraints and userspace consumer

Hello there,

I'm currently working with a custom made board based on a OMAP-l138 processor.
I've a few questions about the regulator interface.
The regulators is registered and loaded correctly with well-defined constraints.
I have also registered userspace consumers for each regulator.

* One regulator constraint is set to 1000mV as min and max in the
boardfile. The default voltage for that regulator is 1125mV (the
regulator has this output when powered up).
  What is the most accurate way to set the voltage for these
limitations when the system starts up? There is apparently no check if
the default configuration is within limits as the regulator stays on
1125mV.
  When I'm looking in the userspace consumer (/sys/class/regulator/),
the "max_microvolts" and "min_microvolts" is set to 1000000 but the
"microvolts" is set to 1125000.

* I want to change the output voltage from userspace on demand. What
is the most proper way to do this? If I have understand correctly, the
userspace consumer just exports interface for switching on/off the
regulator, is that correct?


Thanks in advance!

Med vänliga hälsningar / Best regards
Marcus Folkesson
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ