Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100845
b: refs/heads/master
c: 7a28db6
h: refs/heads/master
i:
  100843: 566bc8d
v: v3
  • Loading branch information
Ben Dooks committed Jul 3, 2008
1 parent 948b8a2 commit 01be850
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60d6698bb39a16f11006735cde9d55a4654c34ca
refs/heads/master: 7a28db61463d90043f7298a2e130af5630ff06ac
15 changes: 14 additions & 1 deletion trunk/arch/arm/mach-s3c2440/mach-anubis.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* linux/arch/arm/mach-s3c2440/mach-anubis.c
*
* Copyright (c) 2003-2005 Simtec Electronics
* Copyright (c) 2003-2005,2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
Expand All @@ -18,6 +18,7 @@
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/i2c.h>

#include <linux/sm501.h>
#include <linux/sm501-regs.h>
Expand Down Expand Up @@ -421,6 +422,15 @@ static struct clk *anubis_clocks[] = {
&s3c24xx_uclk,
};

/* I2C devices. */

static struct i2c_board_info anubis_i2c_devs[] __initdata = {
{
I2C_BOARD_INFO("tps65011", 0x48),
.irq = IRQ_EINT20,
}
};

static void __init anubis_map_io(void)
{
/* initialise the clocks */
Expand Down Expand Up @@ -460,6 +470,9 @@ static void __init anubis_map_io(void)
static void __init anubis_init(void)
{
platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices));

i2c_register_board_info(0, anubis_i2c_devs,
ARRAY_SIZE(anubis_i2c_devs));
}


Expand Down

0 comments on commit 01be850

Please sign in to comment.