-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 208770 b: refs/heads/master c: 793177b h: refs/heads/master v: v3
- Loading branch information
Kyungmin Park
authored and
Kukjin Kim
committed
Aug 5, 2010
1 parent
f59fc87
commit 410a848
Showing
6 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: acfdc56d541517266eeeeca3a4e5baafaa01c2a1 | ||
refs/heads/master: 793177b5542d99aab0cd35a213fc8ffe72adbb28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* linux/arch/arm/mach-s5pv310/setup-i2c1.c | ||
* | ||
* Copyright (C) 2010 Samsung Electronics Co., Ltd. | ||
* | ||
* I2C1 GPIO configuration. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
struct platform_device; /* don't need the contents */ | ||
|
||
#include <linux/gpio.h> | ||
#include <plat/iic.h> | ||
#include <plat/gpio-cfg.h> | ||
|
||
void s3c_i2c1_cfg_gpio(struct platform_device *dev) | ||
{ | ||
s3c_gpio_cfgpin(S5PV310_GPD1(2), S3C_GPIO_SFN(2)); | ||
s3c_gpio_setpull(S5PV310_GPD1(2), S3C_GPIO_PULL_UP); | ||
s3c_gpio_cfgpin(S5PV310_GPD1(3), S3C_GPIO_SFN(2)); | ||
s3c_gpio_setpull(S5PV310_GPD1(3), S3C_GPIO_PULL_UP); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* linux/arch/arm/mach-s5pv310/setup-i2c2.c | ||
* | ||
* Copyright (c) 2009-2010 Samsung Electronics Co., Ltd. | ||
* | ||
* I2C2 GPIO configuration. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
struct platform_device; /* don't need the contents */ | ||
|
||
#include <linux/gpio.h> | ||
#include <plat/iic.h> | ||
#include <plat/gpio-cfg.h> | ||
|
||
void s3c_i2c2_cfg_gpio(struct platform_device *dev) | ||
{ | ||
s3c_gpio_cfgpin(S5PV310_GPA0(6), S3C_GPIO_SFN(3)); | ||
s3c_gpio_setpull(S5PV310_GPA0(6), S3C_GPIO_PULL_UP); | ||
s3c_gpio_cfgpin(S5PV310_GPA0(7), S3C_GPIO_SFN(3)); | ||
s3c_gpio_setpull(S5PV310_GPA0(7), S3C_GPIO_PULL_UP); | ||
} |