Lines Matching +full:fn +full:- +full:keymap

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for Sharp SL-Cxx00 Series of PDAs
4 * Models: SL-C3000 (Spitz), SL-C1000 (Akita) and SL-C3100 (Borzoi)
20 #include <linux/platform_data/i2c-pxa.h>
35 #include <asm/mach-types.h>
41 #include "pxa27x-udc.h"
43 #include <linux/platform_data/irda-pxaficp.h>
44 #include <linux/platform_data/mmc-pxamci.h>
45 #include <linux/platform_data/usb-ohci-pxa27x.h>
46 #include <linux/platform_data/video-pxafb.h>
63 /* LCD - 16bpp Active TFT */
155 .name = "sharp-scoop",
182 .name = "sharp-scoop",
258 .cd_irq = -1,
355 KEY(5, 10, SPITZ_KEY_FN), /* FN */
368 .keymap = spitz_keymap,
389 .name = "matrix-keypad",
390 .id = -1,
437 .name = "gpio-keys",
438 .id = -1,
459 .default_trigger = "sharpsl-charge",
464 .default_trigger = "disk-activity",
475 .name = "leds-gpio",
476 .id = -1,
531 GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_BACKLIGHT_CONT,
533 GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_BACKLIGHT_ON,
542 GPIO_LOOKUP("gpio-pxa", AKITA_GPIO_BACKLIGHT_CONT,
544 GPIO_LOOKUP("gpio-pxa", AKITA_GPIO_BACKLIGHT_ON,
576 .modalias = "corgi-lcd",
619 struct pxamci_platform_data* p_d = dev->platform_data; in spitz_mci_setpower()
621 if ((1 << vdd) & p_d->ocr_mask) in spitz_mci_setpower()
636 .dev_id = "pxa2xx-mci.0",
638 GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_nSD_DETECT,
640 GPIO_LOOKUP("gpio-pxa", SPITZ_GPIO_nSD_WP,
779 return -ERANGE; in akita_ooblayout_ecc()
783 oobregion->offset = 5; in akita_ooblayout_ecc()
784 oobregion->length = 1; in akita_ooblayout_ecc()
788 oobregion->offset = 1; in akita_ooblayout_ecc()
789 oobregion->length = 3; in akita_ooblayout_ecc()
793 oobregion->offset = 6; in akita_ooblayout_ecc()
794 oobregion->length = 2; in akita_ooblayout_ecc()
798 oobregion->offset += (section / 3) * 0x10; in akita_ooblayout_ecc()
807 return -ERANGE; in akita_ooblayout_free()
809 oobregion->offset = 8; in akita_ooblayout_free()
810 oobregion->length = 9; in akita_ooblayout_free()
835 .end = PXA_CS3_PHYS + SZ_4K - 1,
841 .name = "sharpsl-nand",
842 .id = -1,
884 .end = PXA_CS0_PHYS + SZ_8M - 1,
890 .name = "physmap-flash",
891 .id = -1,
958 size--; in spitz_i2c_init()
974 platform_device_register_simple("spitz-audio", -1, NULL, 0); in spitz_audio_init()