diff options
author | Byungho Min <bhminjames@gmail.com> | 2009-06-23 21:40:22 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-08-16 23:24:59 +0100 |
commit | 0164cbf4390fbcd7125fc8d476a451a3efa14c5d (patch) | |
tree | b85f750712e93d54d4a9b62837868b88827c32a8 /arch/arm/plat-s5pc1xx/setup-i2c0.c | |
parent | 8acd1ade2ede18408303c968e1449220c427a182 (diff) | |
download | op-kernel-dev-0164cbf4390fbcd7125fc8d476a451a3efa14c5d.zip op-kernel-dev-0164cbf4390fbcd7125fc8d476a451a3efa14c5d.tar.gz |
ARM: S5PC100: GPIO and I2C
S5PC100 has more GPIO group then previous one. It has 34 groups of GPIO, while
S3C6410 has 17 groups. For now, only header files are written.
Signed-off-by: Byungho Min <bhmin@samsung.com>
[ben-linux@fluff.org: subject fixup]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s5pc1xx/setup-i2c0.c')
-rw-r--r-- | arch/arm/plat-s5pc1xx/setup-i2c0.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/plat-s5pc1xx/setup-i2c0.c b/arch/arm/plat-s5pc1xx/setup-i2c0.c new file mode 100644 index 0000000..3d00c02 --- /dev/null +++ b/arch/arm/plat-s5pc1xx/setup-i2c0.c @@ -0,0 +1,25 @@ +/* linux/arch/arm/plat-s5pc1xx/setup-i2c0.c + * + * Copyright 2009 Samsung Electronics Co. + * Byungho Min <bhmin@samsung.com> + * + * Base S5PC1XX I2C bus 0 gpio configuration + * + * Based on plat-s3c64xx/setup-i2c0.c + * + * 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. +*/ + +#include <linux/kernel.h> +#include <linux/types.h> + +struct platform_device; /* don't need the contents */ + +#include <plat/iic.h> + +void s3c_i2c0_cfg_gpio(struct platform_device *dev) +{ + /* Pin configuration would be needed */ +} |