diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/leds/leds-lp5521.txt | 19 | ||||
-rw-r--r-- | Documentation/leds/leds-lp5562.txt | 15 |
2 files changed, 0 insertions, 34 deletions
diff --git a/Documentation/leds/leds-lp5521.txt b/Documentation/leds/leds-lp5521.txt index 270f57196339..79e4c2e6e5e8 100644 --- a/Documentation/leds/leds-lp5521.txt +++ b/Documentation/leds/leds-lp5521.txt | |||
@@ -81,22 +81,3 @@ static struct lp55xx_platform_data lp5521_platform_data = { | |||
81 | 81 | ||
82 | If the current is set to 0 in the platform data, that channel is | 82 | If the current is set to 0 in the platform data, that channel is |
83 | disabled and it is not visible in the sysfs. | 83 | disabled and it is not visible in the sysfs. |
84 | |||
85 | The 'update_config' : CONFIG register (ADDR 08h) | ||
86 | This value is platform-specific data. | ||
87 | If update_config is not defined, the CONFIG register is set with | ||
88 | 'LP5521_PWRSAVE_EN | LP5521_CP_MODE_AUTO | LP5521_R_TO_BATT'. | ||
89 | (Enable auto-powersave, set charge pump to auto, red to battery) | ||
90 | |||
91 | example of update_config : | ||
92 | |||
93 | #define LP5521_CONFIGS (LP5521_PWM_HF | LP5521_PWRSAVE_EN | \ | ||
94 | LP5521_CP_MODE_AUTO | LP5521_R_TO_BATT | \ | ||
95 | LP5521_CLK_INT) | ||
96 | |||
97 | static struct lp55xx_platform_data lp5521_pdata = { | ||
98 | .led_config = lp5521_led_config, | ||
99 | .num_channels = ARRAY_SIZE(lp5521_led_config), | ||
100 | .clock_mode = LP55XX_CLOCK_INT, | ||
101 | .update_config = LP5521_CONFIGS, | ||
102 | }; | ||
diff --git a/Documentation/leds/leds-lp5562.txt b/Documentation/leds/leds-lp5562.txt index 96061000dd93..5a823ff6b393 100644 --- a/Documentation/leds/leds-lp5562.txt +++ b/Documentation/leds/leds-lp5562.txt | |||
@@ -118,18 +118,3 @@ static struct lp55xx_platform_data lp5562_platform_data = { | |||
118 | 118 | ||
119 | If the current is set to 0 in the platform data, that channel is | 119 | If the current is set to 0 in the platform data, that channel is |
120 | disabled and it is not visible in the sysfs. | 120 | disabled and it is not visible in the sysfs. |
121 | |||
122 | The 'update_config' : CONFIG register (ADDR 08h) | ||
123 | This value is platform-specific data. | ||
124 | If update_config is not defined, the CONFIG register is set with | ||
125 | 'LP5562_PWRSAVE_EN | LP5562_CLK_AUTO'. | ||
126 | (Enable auto-powersave, set automatic clock source selection) | ||
127 | |||
128 | #define LP5562_CONFIGS (LP5562_PWM_HF | LP5562_PWRSAVE_EN | \ | ||
129 | LP5562_CLK_SRC_EXT) | ||
130 | |||
131 | static struct lp55xx_platform_data lp5562_pdata = { | ||
132 | .led_config = lp5562_led_config, | ||
133 | .num_channels = ARRAY_SIZE(lp5562_led_config), | ||
134 | .update_config = LP5562_CONFIGS, | ||
135 | }; | ||