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

1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2003-2005 Simtec Electronics
38 #include <asm/mach-types.h>
43 #include <linux/platform_data/i2c-s3c2410.h>
44 #include <linux/platform_data/mmc-s3cmci.h>
45 #include <linux/platform_data/touchscreen-s3c2410.h>
46 #include <linux/platform_data/usb-s3c2410_udc.h>
50 #include <linux/platform_data/fb-s3c2410.h>
52 #include "hardware-s3c24xx.h"
53 #include "regs-clock.h"
54 #include "regs-gpio.h"
55 #include "gpio-samsung.h"
59 #include "gpio-cfg.h"
69 #define H1940_LATCH_BIT(x) (1 << ((x) + 16 - S3C_GPIO_END))
173 .dev_id = "s3c2410-usbgadget",
247 "main-battery",
248 "backup-battery",
265 .name = "pda-power",
266 .id = -1,
276 { .volt = 4070, .cur = 162, .level = 100},
277 { .volt = 4040, .cur = 165, .level = 95},
278 { .volt = 4016, .cur = 164, .level = 90},
279 { .volt = 3996, .cur = 166, .level = 85},
280 { .volt = 3971, .cur = 168, .level = 80},
281 { .volt = 3951, .cur = 168, .level = 75},
282 { .volt = 3931, .cur = 170, .level = 70},
283 { .volt = 3903, .cur = 172, .level = 65},
284 { .volt = 3886, .cur = 172, .level = 60},
285 { .volt = 3858, .cur = 176, .level = 55},
286 { .volt = 3842, .cur = 176, .level = 50},
287 { .volt = 3818, .cur = 176, .level = 45},
288 { .volt = 3789, .cur = 180, .level = 40},
289 { .volt = 3769, .cur = 180, .level = 35},
290 { .volt = 3749, .cur = 184, .level = 30},
291 { .volt = 3732, .cur = 184, .level = 25},
292 { .volt = 3716, .cur = 184, .level = 20},
293 { .volt = 3708, .cur = 184, .level = 15},
294 { .volt = 3716, .cur = 96, .level = 10},
295 { .volt = 3700, .cur = 96, .level = 5},
296 { .volt = 3684, .cur = 96, .level = 0},
300 { .volt = 4130, .cur = 0, .level = 100},
301 { .volt = 3982, .cur = 0, .level = 50},
302 { .volt = 3854, .cur = 0, .level = 10},
303 { .volt = 3841, .cur = 0, .level = 0},
307 .dev_id = "s3c-adc-battery",
310 GPIO_LOOKUP("GPIOF", 3, "charge-status", GPIO_ACTIVE_LOW),
319 ret = gpio_request(H1940_LATCH_SM803_ENABLE, "h1940-charger-enable"); in h1940_bat_init()
365 .name = "s3c-adc-battery",
366 .id = -1,
379 int gpio = desc ? desc_to_gpio(desc) : -EINVAL; in h1940_led_blink_set()
431 .default_trigger = "main-battery-full",
438 = "main-battery-charging-blink-full-solid",
451 .name = "leds-gpio",
452 .id = -1,
459 .name = "h1940-bt",
460 .id = -1,
486 .dev_id = "s3c2410-sdi",
504 .dev_id = "h1940-audio",
507 H1940_LATCH_AUDIO_POWER - H1940_LATCH_GPIO(0),
508 "speaker-power", GPIO_ACTIVE_HIGH),
515 .name = "h1940-audio",
516 .id = -1,
520 PWM_LOOKUP("samsung-pwm", 0, "pwm-backlight", NULL, 36296,
566 .name = "pwm-backlight",
571 .id = -1,
584 } while (value && retries--); in h1940_lcd_power_set()
622 .name = "platform-lcd",
669 .name = "gpio-keys",
670 .id = -1,
787 gpio_request(S3C2410_GPA(1), "Red LED blink"); in h1940_init()
788 gpio_request(S3C2410_GPA(3), "Blue LED blink"); in h1940_init()
789 gpio_request(S3C2410_GPA(7), "Green LED blink"); in h1940_init()
790 gpio_request(H1940_LATCH_LED_FLASH, "LED blink"); in h1940_init()
800 MACHINE_START(H1940, "IPAQ-H1940")
801 /* Maintainer: Ben Dooks <ben-linux@fluff.org> */