Lines Matching +full:gpk1 +full:- +full:3
1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/platform_data/s3c-hsotg.h>
18 #include <asm/mach-types.h>
22 #include "regs-gpio.h"
23 #include "gpio-samsung.h"
27 #include <linux/platform_data/i2c-s3c2410.h>
28 #include "gpio-cfg.h"
29 #include <linux/platform_data/hwmon-s3c.h>
30 #include <linux/platform_data/usb-ohci-s3c2410.h>
32 #include <linux/platform_data/touchscreen-s3c2410.h>
37 #include "mach-smartq.h"
38 #include "regs-modem-s3c64xx.h"
83 pr_debug("%s: over-current irq (oc detected)\n", __func__); in smartq_usb_host_ocirq()
84 s3c2410_usb_report_oc(info, 3); in smartq_usb_host_ocirq()
86 pr_debug("%s: over-current irq (oc cleared)\n", __func__); in smartq_usb_host_ocirq()
126 .dev_id = "gpio-vbus",
134 .name = "gpio-vbus",
138 PWM_LOOKUP("samsung-pwm", 1, "pwm-backlight.0", NULL,
156 .name = "pwm-backlight",
175 /* Battery voltage (?-4.2V) */
177 .name = "smartq:battery-voltage",
183 .name = "smartq:reference-voltage",
195 ret = gpio_request(S3C64XX_GPM(3), "LCD power"); in smartq_lcd_setup_gpio()
200 gpio_direction_output(S3C64XX_GPM(3), 0); in smartq_lcd_setup_gpio()
205 /* GPM0 -> CS */
223 GPIO_LOOKUP("GPIOM", 3,
233 gpio_direction_output(S3C64XX_GPM(3), power); in smartq_lcd_power_set()
241 .name = "platform-lcd",
356 pr_err("%s: failed to get GPK1\n", __func__); in smartq_wifi_init()
392 .dev_id = "smartq-audio",
423 platform_device_register_simple("smartq-audio", -1, NULL, 0); in smartq_machine_init()