1 .. SPDX-License-Identifier: GPL-2.0 2 3 =========================================================== 4 Kernel driver for Intel Cherry Trail Whiskey Cove PMIC LEDs 5 =========================================================== 6 7 /sys/class/leds/<led>/hw_pattern 8 -------------------------------- 9 10 Specify a hardware pattern for the Whiskey Cove PMIC LEDs. 11 12 The only supported pattern is hardware breathing mode:: 13 14 "0 2000 1 2000" 15 16 ^ 17 | 18 Max-| --- 19 | / \ 20 | / \ 21 | / \ / 22 | / \ / 23 Min-|- --- 24 | 25 0------2------4--> time (sec) 26 27 The rise and fall times must be the same value. 28 Supported values are 2000, 1000, 500 and 250 for 29 breathing frequencies of 1/4, 1/2, 1 and 2 Hz. 30 31 The set pattern only controls the timing. For max brightness the last 32 set brightness is used and the max brightness can be changed 33 while breathing by writing the brightness attribute. 34 35 This is just like how blinking works in the LED subsystem, 36 for both sw and hw blinking the brightness can also be changed 37 while blinking. Breathing on this hw really is just a variant 38 mode of blinking.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.