Lines Matching +full:nand +full:- +full:related
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-ams-delta.c
5 * Modified from board-generic.c
20 #include <linux/mtd/nand-gpio.h>
30 #include <linux/platform_data/gpio-omap.h>
31 #include <linux/soc/ti/omap1-mux.h>
34 #include <asm/mach-types.h>
38 #include <linux/platform_data/keypad-omap.h>
42 #include "ams-delta-fiq.h"
43 #include "board-ams-delta.h"
172 .end = LATCH1_PHYS + (LATCH1_NGPIO - 1) / 8,
181 .base = -1,
186 .name = "basic-mmio-gpio",
210 .end = LATCH2_PHYS + (LATCH2_NGPIO - 1) / 8,
219 .base = -1,
224 .name = "basic-mmio-gpio",
252 REGULATOR_SUPPLY("POR", "cx20442-codec"),
273 .name = "reg-fixed-voltage",
274 .id = -1,
281 .dev_id = "reg-fixed-voltage",
303 { .name = "u-boot",
306 { .name = "u-boot params",
316 .offset = 32 * SZ_1M - 3 * SZ_256K,
326 .name = "ams-delta-nand",
327 .id = -1,
333 #define OMAP_GPIO_LABEL "gpio-0-15"
383 .name = "omap-keypad",
384 .id = -1,
394 .id = -1,
456 .name = "ams-delta-audio",
457 .id = -1,
475 .name = "cx20442-codec",
476 .id = -1,
487 .start = -EINVAL,
488 .end = -EINVAL,
493 .name = "ams-delta-serio",
530 .name = "reg-fixed-voltage",
566 * with GPIO numbers. The same applies to GPIO based IRQ lines - some
577 return !strcmp(label, chip->label); in gpiochip_match_by_label()
590 * number and assign related IRQ number to the MODEM port.
637 * Initialize latch2 pins with values which are safe for dependent on-board
640 * - LATCH2_PIN_LCD_VBLEN = 0
641 * - LATCH2_PIN_LCD_NDISP = 0 Keep LCD device powered off before its
643 * - LATCH2_PIN_NAND_NCE = 0
644 * - LATCH2_PIN_NAND_NWP = 0 Keep NAND device down and write-
647 * - LATCH2_PIN_KEYBRD_PWR = 0 Keep keyboard powered off before serio
649 * - LATCH2_PIN_KEYBRD_DATAOUT = 0 Keep low to avoid corruption of first
654 * - LATCH2_PIN_MODEM_NRESET = 1 Enable voice MODEM device, allowing for
658 * - LATCH2_PIN_MODEM_CODEC = 1 Attach voice MODEM CODEC data port
734 leds_gpio_table.dev_id = dev_name(&leds_pdev->dev); in ams_delta_init()
745 struct modem_private_data *priv = port->private_data; in modem_pm()
751 if (IS_ERR(priv->regulator)) in modem_pm()
758 ret = regulator_enable(priv->regulator); in modem_pm()
760 ret = regulator_disable(priv->regulator); in modem_pm()
765 dev_warn(port->dev, in modem_pm()
810 * - with a descriptor of already functional modem_nreset regulator
812 * - with the regulator not yet controlled by modem_pm function but
814 * - before the modem_nreset regulator is probed, with the pin already
828 return -ENODEV; in ams_delta_modem_init()
833 modem_priv.regulator = ERR_PTR(-ENODEV); in ams_delta_modem_init()