1 // SPDX-License-Identifier: GPL-2.0 2 // 3 // Copyright 2008 Openmoko, Inc. 4 // Copyright 2008 Simtec Electronics 5 // Ben Dooks <ben@simtec.co.uk> 6 // http://armlinux.simtec.co.uk/ 7 // 8 // Base S3C64XX I2C bus 1 gpio configuration 9 10 #include <linux/kernel.h> 11 #include <linux/types.h> 12 #include <linux/gpio.h> 13 14 struct platform_device; /* don't need the contents */ 15 16 #include <linux/platform_data/i2c-s3c2410.h> 17 #include "gpio-cfg.h" 18 #include "gpio-samsung.h" 19 s3c_i2c1_cfg_gpio(struct platform_device * dev)20void s3c_i2c1_cfg_gpio(struct platform_device *dev) 21 { 22 s3c_gpio_cfgall_range(S3C64XX_GPB(2), 2, 23 S3C_GPIO_SFN(6), S3C_GPIO_PULL_UP); 24 } 25