• Home
  • Raw
  • Download

Lines Matching +full:led +full:- +full:cur

1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2006-2009 Victor Chukhantsev, Denis Grigoriev,
4 // Copyright (c) 2007-2010 Vasily Khoruzhick
36 #include <asm/mach-types.h>
40 #include <linux/platform_data/i2c-s3c2410.h>
41 #include <linux/platform_data/mmc-s3cmci.h>
42 #include <linux/platform_data/mtd-nand-s3c2410.h>
43 #include <linux/platform_data/touchscreen-s3c2410.h>
44 #include <linux/platform_data/usb-s3c2410_udc.h>
45 #include <linux/platform_data/fb-s3c2410.h>
49 #include "hardware-s3c24xx.h"
50 #include "regs-gpio.h"
51 #include "gpio-samsung.h"
56 #include "gpio-cfg.h"
137 "main-battery"
154 .name = "pda-power",
155 .id = -1,
165 { .volt = 4100, .cur = 156, .level = 100},
166 { .volt = 4050, .cur = 156, .level = 95},
167 { .volt = 4025, .cur = 141, .level = 90},
168 { .volt = 3995, .cur = 144, .level = 85},
169 { .volt = 3957, .cur = 162, .level = 80},
170 { .volt = 3931, .cur = 147, .level = 75},
171 { .volt = 3902, .cur = 147, .level = 70},
172 { .volt = 3863, .cur = 153, .level = 65},
173 { .volt = 3838, .cur = 150, .level = 60},
174 { .volt = 3800, .cur = 153, .level = 55},
175 { .volt = 3765, .cur = 153, .level = 50},
176 { .volt = 3748, .cur = 172, .level = 45},
177 { .volt = 3740, .cur = 153, .level = 40},
178 { .volt = 3714, .cur = 175, .level = 35},
179 { .volt = 3710, .cur = 156, .level = 30},
180 { .volt = 3963, .cur = 156, .level = 25},
181 { .volt = 3672, .cur = 178, .level = 20},
182 { .volt = 3651, .cur = 178, .level = 15},
183 { .volt = 3629, .cur = 178, .level = 10},
184 { .volt = 3612, .cur = 162, .level = 5},
185 { .volt = 3605, .cur = 162, .level = 0},
189 { .volt = 4200, .cur = 0, .level = 100},
190 { .volt = 4190, .cur = 0, .level = 99},
191 { .volt = 4178, .cur = 0, .level = 95},
192 { .volt = 4110, .cur = 0, .level = 70},
193 { .volt = 4076, .cur = 0, .level = 65},
194 { .volt = 4046, .cur = 0, .level = 60},
195 { .volt = 4021, .cur = 0, .level = 55},
196 { .volt = 3999, .cur = 0, .level = 50},
197 { .volt = 3982, .cur = 0, .level = 45},
198 { .volt = 3965, .cur = 0, .level = 40},
199 { .volt = 3957, .cur = 0, .level = 35},
200 { .volt = 3948, .cur = 0, .level = 30},
201 { .volt = 3936, .cur = 0, .level = 25},
202 { .volt = 3927, .cur = 0, .level = 20},
203 { .volt = 3906, .cur = 0, .level = 15},
204 { .volt = 3880, .cur = 0, .level = 10},
205 { .volt = 3829, .cur = 0, .level = 5},
206 { .volt = 3820, .cur = 0, .level = 0},
213 ret = gpio_request(S3C2410_GPJ(2), "rx1950-charger-enable-1"); in rx1950_bat_init()
216 ret = gpio_request(S3C2410_GPJ(3), "rx1950-charger-enable-2"); in rx1950_bat_init()
264 return -EINVAL; in rx1950_led_blink_set()
296 .default_trigger = "main-battery-full",
303 = "main-battery-charging-blink-full-solid",
309 .default_trigger = "rx1950-acx-mem",
322 .name = "leds-gpio",
323 .id = -1,
347 .name = "s3c-adc-battery",
348 .id = -1,
377 PWM_LOOKUP("samsung-pwm", 0, "pwm-backlight.0", NULL, 48000,
392 /* GPC11-GPC15->OUTPUT */ in rx1950_lcd_power()
399 /* GPD2-GPD7->OUTPUT */ in rx1950_lcd_power()
400 /* GPD11-GPD15->OUTPUT */ in rx1950_lcd_power()
401 /* GPD2-GPD7->1, GPD11-GPD15->1 */ in rx1950_lcd_power()
410 /* GPB0->OUTPUT, GPB0->0 */ in rx1950_lcd_power()
413 /* GPC1-GPC4->OUTPUT, GPC1-4->0 */ in rx1950_lcd_power()
417 /* GPC15-GPC11->0 */ in rx1950_lcd_power()
421 /* GPD15-GPD11->0, GPD2->GPD7->0 */ in rx1950_lcd_power()
428 /* GPC6->0, GPC7->0, GPC5->0 */ in rx1950_lcd_power()
433 /* GPB1->OUTPUT, GPB1->0 */ in rx1950_lcd_power()
439 /* GPC0->0, GPC10->0 */ in rx1950_lcd_power()
478 /* LED driver need a "push" to power on */ in rx1950_bl_power()
545 .name = "pwm-backlight",
575 .dev_id = "s3c2410-sdi",
725 .name = "gpio-keys",
743 .dev_id = "rx1950-audio",
745 GPIO_LOOKUP("GPIOG", 12, "hp-gpio", GPIO_ACTIVE_HIGH),
746 GPIO_LOOKUP("GPIOA", 1, "speaker-power", GPIO_ACTIVE_HIGH),
752 .name = "rx1950-audio",
753 .id = -1,
836 WARN_ON(gpio_request(S3C2410_GPJ(6), "LED blink")); in rx1950_init_machine()