Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / mach-s3c / setup-i2c-s3c24xx.c
blob0d88366b234ce9754d9dadfb490941035772a257
1 // SPDX-License-Identifier: GPL-2.0
2 //
3 // Copyright 2008 Simtec Electronics
4 // Ben Dooks <ben@simtec.co.uk>
5 //
6 // S3C24XX Base setup for i2c device
8 #include <linux/kernel.h>
9 #include <linux/gpio.h>
11 struct platform_device;
13 #include <linux/platform_data/i2c-s3c2410.h>
15 #include "gpio-cfg.h"
16 #include "regs-gpio.h"
17 #include "gpio-samsung.h"
19 void s3c_i2c0_cfg_gpio(struct platform_device *dev)
21 s3c_gpio_cfgpin(S3C2410_GPE(15), S3C2410_GPE15_IICSDA);
22 s3c_gpio_cfgpin(S3C2410_GPE(14), S3C2410_GPE14_IICSCL);