Lines Matching +full:pwm +full:- +full:off +full:- +full:delay +full:- +full:ms
1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/delay.h>
15 #include <linux/pwm.h>
31 #include <linux/platform_data/i2c-pxa.h>
33 #include <asm/mach-types.h>
37 #include "regs-rtc.h"
38 #include <linux/platform_data/keypad-pxa27x.h>
39 #include <linux/platform_data/video-pxafb.h>
40 #include <linux/platform_data/mmc-pxamci.h>
42 #include "pxa27x-udc.h"
43 #include <linux/platform_data/media/camera-pxa.h>
44 #include <linux/platform_data/asoc-pxa.h>
60 /* Backlight PWM 0 */
171 PWM_LOOKUP("pxa27x-pwm.0", 0, "pwm-backlight", NULL, 4000 * 1024,
185 * - the LTM0305A776C datasheet,
186 * - and the PXA27x Programmers' manual
279 * - init : GPIO24_GSM_MOD_RESET_CMD = 0, GPIO114_GSM_nMOD_DTE_UART_STATE = 1
281 * - reset : GPIO24_GSM_MOD_RESET_CMD = 1, msleep(100),
283 * - turn on : GPIO88_GSM_nMOD_ON_CMD = 0, msleep(1000),
285 * - turn off : GPIO90_GSM_nMOD_OFF_CMD = 0, msleep(1000),
299 is_gsm_on() ? "on" : "off"); in gsm_on_irq()
342 * - turn on : GPIO83_BT_ON = 1
343 * - turn off : GPIO83_BT_ON = 0
350 * - init : GPIO23_GPS_UNKNOWN1 = 1, GPIO26_GPS_ON = 0, GPIO27_GPS_RESET = 0
352 * - turn on : GPIO27_GPS_RESET = 1, GPIO26_GPS_ON = 1
353 * - turn off : GPIO26_GPS_ON = 0, GPIO27_GPS_RESET = 0
370 .dev_id = "gpio-vbus",
372 GPIO_LOOKUP("gpio-pxa", GPIO13_nUSB_DETECT,
382 * The card detect interrupt isn't debounced so we delay it by 250ms
391 .dev_id = "pxa2xx-mci.0",
394 GPIO_LOOKUP("gpio-pxa", GPIO15_SDIO_INSERT,
397 GPIO_LOOKUP("gpio-pxa", GPIO78_SDIO_RO,
400 GPIO_LOOKUP("gpio-pxa", GPIO91_SDIO_EN,
409 .end = PXA_CS0_PHYS + SZ_8K - 1,
415 .id = -1,
428 * - disables interrupts
429 * - initialize SDRAM (self refresh RAM into active RAM)
430 * - initialize GPIOs (depends on value at 0xa020b020)
431 * - initialize coprossessors
432 * - if edge detect on PWR_SCL(GPIO3), then proceed to cold start
433 * - or if value at 0xa020b000 not equal to 0x0f0f0f0f, proceed to cold start
434 * - else do a resume, ie. jump to addr 0xa0100000
510 return -ENOMEM; in bootstrap_init()
568 .name = "pda-power",
569 .id = -1,
579 .temp_aux = -1,
664 .id = -1, \
673 MIO_SIMPLE_DEV(mioa701_gpio_keys, "gpio-keys", &mioa701_gpio_keys_data)
674 MIO_PARENT_DEV(mioa701_backlight, "pwm-backlight", &pxa27x_device_pwm0.dev,
676 MIO_SIMPLE_DEV(mioa701_led, "leds-gpio", &gpio_led_info)
677 MIO_SIMPLE_DEV(pxa2xx_pcm, "pxa2xx-pcm", NULL)
678 MIO_SIMPLE_DEV(mioa701_sound, "mioa701-wm9713", NULL)
679 MIO_SIMPLE_DEV(mioa701_board, "mioa701-board", NULL)
680 MIO_SIMPLE_DEV(gpio_vbus, "gpio-vbus", NULL);
710 { GPIO18_POWEROFF, GPIOF_OUT_INIT_LOW, "Power Off" },
716 REGULATOR_SUPPLY("power", "pwm-backlight"),
723 PSLR = 0xff100000; /* SYSDEL=125ms, PWRDEL=125ms, PSLR_SL_ROD=1 */ in mioa701_machine_init()
725 RTTR = 32768 - 1; /* Reset crazy WinCE value */ in mioa701_machine_init()
763 regulator_register_always_on(0, "fixed-5.0V", fixed_5v0_consumers, in mioa701_machine_init()