18c2ecf20Sopenharmony_cisysfs interface for analog devices adp8860 backlight driver 28c2ecf20Sopenharmony_ci----------------------------------------------------------- 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe backlight brightness control operates at three different levels for the 58c2ecf20Sopenharmony_ciadp8860, adp8861 and adp8863 devices: daylight (level 1), office (level 2) and 68c2ecf20Sopenharmony_cidark (level 3). By default the brightness operates at the daylight brightness 78c2ecf20Sopenharmony_cilevel. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciSee also /sys/class/backlight/<backlight>/ambient_light_level and 108c2ecf20Sopenharmony_ci/sys/class/backlight/<backlight>/ambient_light_zone. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l1_daylight_max 148c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l2_office_max 158c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l3_dark_max 168c2ecf20Sopenharmony_ciDate: Apr, 2010 178c2ecf20Sopenharmony_ciKernelVersion: v2.6.35 188c2ecf20Sopenharmony_ciContact: Michael Hennerich <michael.hennerich@analog.com> 198c2ecf20Sopenharmony_ciDescription: 208c2ecf20Sopenharmony_ci (RW) Maximum current setting for the backlight when brightness 218c2ecf20Sopenharmony_ci is at one of the three levels (daylight, office or dark). This 228c2ecf20Sopenharmony_ci is an input code between 0 and 127, which is transformed to a 238c2ecf20Sopenharmony_ci value between 0 mA and 30 mA using linear or non-linear 248c2ecf20Sopenharmony_ci algorithms. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l1_daylight_dim 288c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l2_office_dim 298c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/l3_dark_dim 308c2ecf20Sopenharmony_ciDate: Apr, 2010 318c2ecf20Sopenharmony_ciKernelVersion: v2.6.35 328c2ecf20Sopenharmony_ciContact: Michael Hennerich <michael.hennerich@analog.com> 338c2ecf20Sopenharmony_ciDescription: 348c2ecf20Sopenharmony_ci (RW) Dim current setting for the backlight when brightness is at 358c2ecf20Sopenharmony_ci one of the three levels (daylight, office or dark). This is an 368c2ecf20Sopenharmony_ci input code between 0 and 127, which is transformed to a value 378c2ecf20Sopenharmony_ci between 0 mA and 30 mA using linear or non-linear algorithms. 38