diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-10-10 10:33:20 -0400 |
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2008-10-13 16:51:53 -0400 |
| commit | bc558a60b58f638ee0188affb627d4894a97b1c7 (patch) | |
| tree | cbcf03b7f599dd182565be04b5f3d706f5de1c88 /Documentation | |
| parent | 42fad570b666256a3fd009e23e74cbb365a29ca8 (diff) | |
regulator: Export regulator name via sysfs
Provide a new file 'name' in the regulator sysfs class with a human
readable name for the regulator for use in applications.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-class-regulator | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-regulator b/Documentation/ABI/testing/sysfs-class-regulator index 84e66fdad028..3731f6f29bcb 100644 --- a/Documentation/ABI/testing/sysfs-class-regulator +++ b/Documentation/ABI/testing/sysfs-class-regulator | |||
| @@ -157,6 +157,19 @@ Description: | |||
| 157 | platform code. | 157 | platform code. |
| 158 | 158 | ||
| 159 | 159 | ||
| 160 | What: /sys/class/regulator/.../name | ||
| 161 | Date: October 2008 | ||
| 162 | KernelVersion: 2.6.28 | ||
| 163 | Contact: Liam Girdwood <lrg@slimlogic.co.uk> | ||
| 164 | Description: | ||
| 165 | Each regulator directory will contain a field called | ||
| 166 | name. This holds a string identifying the regulator for | ||
| 167 | display purposes. | ||
| 168 | |||
| 169 | NOTE: this will be empty if no suitable name is provided | ||
| 170 | by platform or regulator drivers. | ||
| 171 | |||
| 172 | |||
| 160 | What: /sys/class/regulator/.../num_users | 173 | What: /sys/class/regulator/.../num_users |
| 161 | Date: April 2008 | 174 | Date: April 2008 |
| 162 | KernelVersion: 2.6.26 | 175 | KernelVersion: 2.6.26 |
