| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | sysfs interface for analog devices adp5520(01) backlight driver |
| 2 | --------------------------------------------------------------- |
| 3 | |
| 4 | The backlight brightness control operates at three different levels for the |
| 5 | adp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark |
| 6 | (level 3). By default the brightness operates at the daylight brightness level. |
| 7 | |
| 8 | What: /sys/class/backlight/<backlight>/daylight_max |
| 9 | What: /sys/class/backlight/<backlight>/office_max |
| 10 | What: /sys/class/backlight/<backlight>/dark_max |
| 11 | Date: Sep, 2009 |
| 12 | KernelVersion: v2.6.32 |
| 13 | Contact: Michael Hennerich <michael.hennerich@analog.com> |
| 14 | Description: |
| 15 | (RW) Maximum current setting for the backlight when brightness |
| 16 | is at one of the three levels (daylight, office or dark). This |
| 17 | is an input code between 0 and 127, which is transformed to a |
| 18 | value between 0 mA and 30 mA using linear or non-linear |
| 19 | algorithms. |
| 20 | |
| 21 | What: /sys/class/backlight/<backlight>/daylight_dim |
| 22 | What: /sys/class/backlight/<backlight>/office_dim |
| 23 | What: /sys/class/backlight/<backlight>/dark_dim |
| 24 | Date: Sep, 2009 |
| 25 | KernelVersion: v2.6.32 |
| 26 | Contact: Michael Hennerich <michael.hennerich@analog.com> |
| 27 | Description: |
| 28 | (RW) Dim current setting for the backlight when brightness is at |
| 29 | one of the three levels (daylight, office or dark). This is an |
| 30 | input code between 0 and 127, which is transformed to a value |
| 31 | between 0 mA and 30 mA using linear or non-linear algorithms. |