Lines Matching +full:ac +full:- +full:detect +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0-only
28 #include <linux/platform_data/i2c-pxa.h>
30 #include <linux/apm-emulation.h>
34 #include <asm/mach-types.h>
42 #include <mach/regs-uart.h>
43 #include <linux/platform_data/usb-ohci-pxa27x.h>
44 #include <linux/platform_data/mmc-pxamci.h>
45 #include "pxa27x-udc.h"
47 #include <linux/platform_data/video-pxafb.h>
50 #include <linux/platform_data/pcmcia-pxa2xx_viper.h>
80 return zeus_isa_irq_map[irq - PXA_ISA_IRQ(0)]; in zeus_irq_to_bitmask()
90 __raw_writew(zeus_irq_to_bitmask(d->irq), ZEUS_CPLD_ISA_IRQ); in zeus_ack_irq()
95 zeus_irq_enabled_mask &= ~(zeus_irq_to_bitmask(d->irq)); in zeus_mask_irq()
100 zeus_irq_enabled_mask |= zeus_irq_to_bitmask(d->irq); in zeus_unmask_irq()
117 desc->irq_data.chip->irq_ack(&desc->irq_data); in zeus_irq_handler()
171 .end = ZEUS_FLASH_PHYS + SZ_64M - 1,
176 .end = ZEUS_SRAM_PHYS + SZ_512K - 1,
191 .name = "physmap-flash",
237 /* FIXME: Shared IRQs on COM1-COM4 will not work properly on v1i1 hardware. */
379 .end = ZEUS_SRAM_PHYS + ZEUS_SRAM_SIZE * 2 - 1,
384 .name = "pxa2xx-8bit-sram",
415 .name = "reg-fixed-voltage",
423 .dev_id = "reg-fixed-voltage.0",
425 GPIO_LOOKUP("gpio-pxa", ZEUS_CAN_SHDN_GPIO,
432 PROPERTY_ENTRY_U32("clock-frequency", 16000000),
458 .default_trigger = "default-on",
464 .default_trigger = "default-on",
476 .name = "leds-gpio",
477 .id = -1,
503 .name = "zeus-pcmcia",
504 .id = -1,
518 .id = -1,
523 /* AC'97 */
534 REGULATOR_SUPPLY("vbus2", "pxa27x-ohci"),
553 .name = "reg-fixed-voltage",
561 .dev_id = "reg-fixed-voltage.0",
563 GPIO_LOOKUP("gpio-pxa", ZEUS_USB2_PWREN_GPIO,
656 * The card detect interrupt isn't debounced so we delay it by 250ms
667 .dev_id = "pxa2xx-mci.0",
669 GPIO_LOOKUP("gpio-pxa", ZEUS_MMC_CD_GPIO,
671 GPIO_LOOKUP("gpio-pxa", ZEUS_MMC_WP_GPIO,
726 info->ac_line_status = APM_AC_ONLINE; in zeus_get_power_status()
727 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in zeus_get_power_status()
728 info->battery_flag = APM_BATTERY_FLAG_NOT_PRESENT; in zeus_get_power_status()
751 dev_err(&client->dev, "Can't request pcb info %d\n", i); in zeus_get_pcb_info()
756 dev_err(&client->dev, "Can't read pcb info %d\n", i); in zeus_get_pcb_info()
766 dev_info(&client->dev, "Zeus PCB version %d issue %d\n", in zeus_get_pcb_info()
887 pr_err("Failed to setup fb gpios\n"); in zeus_init()
936 /* Clear PSPR to ensure a full restart on wake-up. */ in zeus_map_io()