Go to the documentation of this file.
15 #define BL_CTL_SHFT (0)
16 #define BRT_MODE_SHFT (1)
17 #define BRT_MODE_MASK (0x06)
21 #define DISABLE_BL (0)
23 #define I2C_CONFIG(id) id ## _I2C_CONFIG
24 #define PWM_CONFIG(id) id ## _PWM_CONFIG
27 #define LP8550_PWM_CONFIG (LP8550_PWM_ONLY << BRT_MODE_SHFT)
28 #define LP8550_I2C_CONFIG ((ENABLE_BL << BL_CTL_SHFT) | \
29 (LP8550_I2C_ONLY << BRT_MODE_SHFT))
32 #define LP8551_PWM_CONFIG LP8550_PWM_CONFIG
33 #define LP8551_I2C_CONFIG LP8550_I2C_CONFIG
36 #define LP8552_PWM_CONFIG LP8550_PWM_CONFIG
37 #define LP8552_I2C_CONFIG LP8550_I2C_CONFIG
40 #define LP8553_PWM_CONFIG LP8550_PWM_CONFIG
41 #define LP8553_I2C_CONFIG LP8550_I2C_CONFIG
44 #define LP8556_PWM_CONFIG (LP8556_PWM_ONLY << BRT_MODE_SHFT)
45 #define LP8556_COMB1_CONFIG (LP8556_COMBINED1 << BRT_MODE_SHFT)
46 #define LP8556_I2C_CONFIG ((ENABLE_BL << BL_CTL_SHFT) | \
47 (LP8556_I2C_ONLY << BRT_MODE_SHFT))
48 #define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT)
49 #define LP8556_FAST_CONFIG BIT(7)