18c2ecf20Sopenharmony_cisysfs interface for analog devices adp5520(01) backlight driver 28c2ecf20Sopenharmony_ci--------------------------------------------------------------- 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe backlight brightness control operates at three different levels for the 58c2ecf20Sopenharmony_ciadp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark 68c2ecf20Sopenharmony_ci(level 3). By default the brightness operates at the daylight brightness level. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/daylight_max 98c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/office_max 108c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/dark_max 118c2ecf20Sopenharmony_ciDate: Sep, 2009 128c2ecf20Sopenharmony_ciKernelVersion: v2.6.32 138c2ecf20Sopenharmony_ciContact: Michael Hennerich <michael.hennerich@analog.com> 148c2ecf20Sopenharmony_ciDescription: 158c2ecf20Sopenharmony_ci (RW) Maximum current setting for the backlight when brightness 168c2ecf20Sopenharmony_ci is at one of the three levels (daylight, office or dark). This 178c2ecf20Sopenharmony_ci is an input code between 0 and 127, which is transformed to a 188c2ecf20Sopenharmony_ci value between 0 mA and 30 mA using linear or non-linear 198c2ecf20Sopenharmony_ci algorithms. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/daylight_dim 228c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/office_dim 238c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/dark_dim 248c2ecf20Sopenharmony_ciDate: Sep, 2009 258c2ecf20Sopenharmony_ciKernelVersion: v2.6.32 268c2ecf20Sopenharmony_ciContact: Michael Hennerich <michael.hennerich@analog.com> 278c2ecf20Sopenharmony_ciDescription: 288c2ecf20Sopenharmony_ci (RW) Dim current setting for the backlight when brightness is at 298c2ecf20Sopenharmony_ci one of the three levels (daylight, office or dark). This is an 308c2ecf20Sopenharmony_ci input code between 0 and 127, which is transformed to a value 318c2ecf20Sopenharmony_ci between 0 mA and 30 mA using linear or non-linear algorithms. 32