^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/leds/<led>/flash_brightness
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: read/write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Set the brightness of this LED in the flash strobe mode, in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) microamperes. The file is created only for the flash LED devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) that support setting flash brightness.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) The value is between 0 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /sys/class/leds/<led>/max_flash_brightness.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) What: /sys/class/leds/<led>/max_flash_brightness
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Description: read only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Maximum brightness level for this LED in the flash strobe mode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) in microamperes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) What: /sys/class/leds/<led>/flash_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Description: read/write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Hardware timeout for flash, in microseconds. The flash strobe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) is stopped after this period of time has passed from the start
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) of the strobe. The file is created only for the flash LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) devices that support setting flash timeout.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) What: /sys/class/leds/<led>/max_flash_timeout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description: read only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Maximum flash timeout for this LED, in microseconds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) What: /sys/class/leds/<led>/flash_strobe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Description: read/write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Flash strobe state. When written with 1 it triggers flash strobe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) and when written with 0 it turns the flash off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) On read 1 means that flash is currently strobing and 0 means
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) that flash is off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) What: /sys/class/leds/<led>/flash_fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Date: March 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) KernelVersion: 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Description: read only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Space separated list of flash faults that may have occurred.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Flash faults are re-read after strobing the flash. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) flash faults:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) * led-over-voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) flash controller voltage to the flash LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) has exceeded the limit specific to the flash controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) * flash-timeout-exceeded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) the flash strobe was still on when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) the timeout set by the user has expired; not all flash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) controllers may set this in all such conditions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) * controller-over-temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) the flash controller has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) overheated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) * controller-short-circuit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) the short circuit protection
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) of the flash controller has been triggered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) * led-power-supply-over-current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) current in the LED power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) supply has exceeded the limit specific to the flash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) * indicator-led-fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) the flash controller has detected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) a short or open circuit condition on the indicator LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) * led-under-voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) flash controller voltage to the flash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) LED has been below the minimum limit specific to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) the flash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) * controller-under-voltage
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) the input voltage of the flash
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) controller is below the limit under which strobing the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) flash at full current will not be possible;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) the condition persists until this flag is no longer set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) * led-over-temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) the temperature of the LED has exceeded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) its allowed upper limit