Lines Matching +full:output +full:- +full:range +full:- +full:microvolts
1 // SPDX-License-Identifier: GPL-2.0-only
4 * i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110
5 * and T-Mobile MDA Compact.
7 * Copyright (c) 2006-2007 Philipp Zabel
20 #include <linux/mfd/htc-pasic3.h>
23 #include <linux/platform_data/gpio-htc-egpio.h>
28 #include <linux/regulator/gpio-regulator.h>
30 #include <linux/platform_data/i2c-pxa.h>
32 #include <asm/mach-types.h>
37 #include "addr-map.h"
39 #include <linux/platform_data/video-pxafb.h>
40 #include <linux/platform_data/mmc-pxamci.h>
41 #include <linux/platform_data/irda-pxaficp.h>
42 #include <linux/platform_data/usb-ohci-pxa27x.h>
49 #include "pxa27x-udc.h"
73 /* PWM 0 - LCD backlight */
174 .name = "gpio-keys",
178 .id = -1,
184 * 32-bit aligned 8-bit registers
186 * 3x output, 1x irq, 3x input
192 .end = PXA_CS3_PHYS + 0x20 - 1,
232 .name = "htc-egpio",
233 .id = -1,
242 * PXAFB LCD - Toppoly TD028STEB1 or Samsung LTP280QV
314 mdelay(6); /* Avdd -> Voff >5ms */ in samsung_lcd_power()
316 mdelay(16); /* Voff -> Von >(5+10)ms */ in samsung_lcd_power()
354 PWM_LOOKUP("pxa27x-pwm.0", 0, "pwm-backlight", NULL, 30923,
383 return brightness - 72; in magician_backlight_notify()
399 * 100-400 Hz = 2 .5*10^6 - 10 *10^6 ns
411 .name = "pwm-backlight",
412 .id = -1,
442 .name = "leds-gpio",
443 .id = -1,
473 .id = -1,
509 .dev_id = "gpio-vbus",
516 GPIO_LOOKUP("htc-egpio-1", 1,
518 GPIO_LOOKUP("gpio-pxa", GPIO27_MAGICIAN_USBC_PUEN,
525 .name = "gpio-vbus",
526 .id = -1,
537 int ret = -1; in magician_supply_init()
592 "ds2760-battery.0", "backup-battery"
623 .name = "pda-power",
624 .id = -1,
675 .name = "gpio-regulator",
676 .id = -1,
683 .dev_id = "gpio-regulator",
685 GPIO_LOOKUP("htc-egpio-0", EGPIO_MAGICIAN_BQ24022_ISET2 - MAGICIAN_EGPIO_BASE,
687 GPIO_LOOKUP("gpio-pxa", GPIO30_MAGICIAN_BQ24022_nCHARGE_EN,
710 .microvolts = 3300000, /* probably */
716 .name = "reg-fixed-voltage",
717 .id = -1,
733 .name = "vcc_core range",
805 .dev_id = "pxa2xx-mci.0",
807 GPIO_LOOKUP("htc-egpio-1", EGPIO_MAGICIAN_nSD_READONLY_OFFSET,
809 GPIO_LOOKUP("htc-egpio-0", EGPIO_MAGICIAN_nSD_POWER_OFFSET,
861 .end = PXA_CS0_PHYS + SZ_64M - 1,
880 * physmap-flash driver
893 .name = "physmap-flash",
894 .id = -1,
919 .dev_id = "magician-audio",
921 GPIO_LOOKUP("htc-egpio-0",
922 EGPIO_MAGICIAN_SPK_POWER - MAGICIAN_EGPIO_BASE,
924 GPIO_LOOKUP("htc-egpio-0",
925 EGPIO_MAGICIAN_EP_POWER - MAGICIAN_EGPIO_BASE,
927 GPIO_LOOKUP("htc-egpio-0",
928 EGPIO_MAGICIAN_MIC_POWER - MAGICIAN_EGPIO_BASE,
930 GPIO_LOOKUP("htc-egpio-0",
931 EGPIO_MAGICIAN_IN_SEL0 - MAGICIAN_EGPIO_BASE,
933 GPIO_LOOKUP("htc-egpio-0",
934 EGPIO_MAGICIAN_IN_SEL1 - MAGICIAN_EGPIO_BASE,
946 platform_device_register_simple("magician-audio", -1, NULL, 0); in magician_audio_init()
1000 GPIO_LOOKUP_IDX("gpio-pxa", GPIO14_MAGICIAN_TSC2046_CS, "cs", 0, GPIO_ACTIVE_LOW),