![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 // 0003 // Copyright (c) 2010 Samsung Electronics Co., Ltd. 0004 // http://www.samsung.com/ 0005 // 0006 // Based on S3C24XX setup for i2c device 0007 0008 #include <linux/kernel.h> 0009 #include <linux/gpio.h> 0010 0011 struct platform_device; /* don't need the contents */ 0012 0013 #include <linux/platform_data/touchscreen-s3c2410.h> 0014 0015 #include "gpio-cfg.h" 0016 #include "gpio-samsung.h" 0017 0018 /** 0019 * s3c24xx_ts_cfg_gpio - configure gpio for s3c2410 systems 0020 * @dev: Device to configure GPIO for (ignored) 0021 * 0022 * Configure the GPIO for the S3C2410 system, where we have external FETs 0023 * connected to the device (later systems such as the S3C2440 integrate 0024 * these into the device). 0025 */ 0026 void s3c24xx_ts_cfg_gpio(struct platform_device *dev) 0027 { 0028 s3c_gpio_cfgpin_range(S3C2410_GPG(12), 4, S3C_GPIO_SFN(3)); 0029 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |