History

mfd: ti-lmu: Remove LM3532 backlight driver references

Remove the LM3532 backlight driver references from the ti-lmu code as dedicated driver support is available.

Dan Murphy committed 7 years ago

Commit e4b3b441 parent 863a0613 files · +0 −56Browse files

Showing the changes to include/linux (2 of 3 files). Show all

Unified · Split

2 files
  1. include/linux/mfd/ti-lmu-register.h +0 −44
  2. include/linux/mfd/ti-lmu.h +0 −1
include/linux/mfd/ti-lmu-register.h+0−44
@@ -15,50 +15,6 @@ · 14 unmodified lines
1515
1616 #include <linux/bitops.h>
1717
18−/* LM3532 */
19−#define LM3532_REG_OUTPUT_CFG 0x10
20−#define LM3532_ILED1_CFG_MASK 0x03
21−#define LM3532_ILED2_CFG_MASK 0x0C
22−#define LM3532_ILED3_CFG_MASK 0x30
23−#define LM3532_ILED1_CFG_SHIFT 0
24−#define LM3532_ILED2_CFG_SHIFT 2
25−#define LM3532_ILED3_CFG_SHIFT 4
26−
27−#define LM3532_REG_RAMPUP 0x12
28−#define LM3532_REG_RAMPDN LM3532_REG_RAMPUP
29−#define LM3532_RAMPUP_MASK 0x07
30−#define LM3532_RAMPUP_SHIFT 0
31−#define LM3532_RAMPDN_MASK 0x38
32−#define LM3532_RAMPDN_SHIFT 3
33−
34−#define LM3532_REG_ENABLE 0x1D
35−
36−#define LM3532_REG_PWM_A_CFG 0x13
37−#define LM3532_PWM_A_MASK 0x05 /* zone 0 */
38−#define LM3532_PWM_ZONE_0 BIT(2)
39−
40−#define LM3532_REG_PWM_B_CFG 0x14
41−#define LM3532_PWM_B_MASK 0x09 /* zone 1 */
42−#define LM3532_PWM_ZONE_1 BIT(3)
43−
44−#define LM3532_REG_PWM_C_CFG 0x15
45−#define LM3532_PWM_C_MASK 0x11 /* zone 2 */
46−#define LM3532_PWM_ZONE_2 BIT(4)
47−
48−#define LM3532_REG_ZONE_CFG_A 0x16
49−#define LM3532_REG_ZONE_CFG_B 0x18
50−#define LM3532_REG_ZONE_CFG_C 0x1A
51−#define LM3532_ZONE_MASK (BIT(2) | BIT(3) | BIT(4))
52−#define LM3532_ZONE_0 0
53−#define LM3532_ZONE_1 BIT(2)
54−#define LM3532_ZONE_2 BIT(3)
55−
56−#define LM3532_REG_BRT_A 0x70 /* zone 0 */
57−#define LM3532_REG_BRT_B 0x76 /* zone 1 */
58−#define LM3532_REG_BRT_C 0x7C /* zone 2 */
59−
60−#define LM3532_MAX_REG 0x7E
61−
6218 /* LM3631 */
6319 #define LM3631_REG_DEVCTRL 0x00
6420 #define LM3631_LCD_EN_MASK BIT(1)
include/linux/mfd/ti-lmu.h+0−1
@@ -22,7 +22,6 @@ · 21 unmodified lines
2222 #define LMU_EVENT_MONITOR_DONE 0x01
2323
2424 enum ti_lmu_id {
25− LM3532,
2625 LM3631,
2726 LM3632,
2827 LM3633,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t