![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 // 0003 // Copyright 2008 Simtec Electronics 0004 // Ben Dooks <ben@simtec.co.uk> 0005 // 0006 // S3C24XX Base setup for i2c device 0007 0008 #include <linux/kernel.h> 0009 #include <linux/gpio.h> 0010 0011 struct platform_device; 0012 0013 #include <linux/platform_data/i2c-s3c2410.h> 0014 0015 #include "gpio-cfg.h" 0016 #include "regs-gpio.h" 0017 #include "gpio-samsung.h" 0018 0019 void s3c_i2c0_cfg_gpio(struct platform_device *dev) 0020 { 0021 s3c_gpio_cfgpin(S3C2410_GPE(15), S3C2410_GPE15_IICSDA); 0022 s3c_gpio_cfgpin(S3C2410_GPE(14), S3C2410_GPE14_IICSCL); 0023 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |