Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77356
b: refs/heads/master
c: f53e867
h: refs/heads/master
v: v3
  • Loading branch information
Robin Getz authored and Bryan Wu committed Jan 27, 2008
1 parent 5473efb commit 9880bfe
Show file tree
Hide file tree
Showing 88 changed files with 2,463 additions and 1,443 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: 991dee591a99d035796a8c194eb1796cc020e142
refs/heads/master: f53e86760e10abbe7ee98a5b3cb270fa6426fcdb
31 changes: 24 additions & 7 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@ Who: Kay Sievers <kay.sievers@suse.de>

---------------------------

What: i2c_adapter.list
When: July 2007
Why: Superfluous, this list duplicates the one maintained by the driver
core.
Who: Jean Delvare <khali@linux-fr.org>,
David Brownell <dbrownell@users.sourceforge.net>

---------------------------

What: ACPI procfs interface
When: July 2008
Why: ACPI sysfs conversion should be finished by January 2008.
Expand All @@ -216,6 +225,14 @@ Who: Len Brown <len.brown@intel.com>

---------------------------

What: i2c-ixp2000, i2c-ixp4xx and scx200_i2c drivers
When: September 2007
Why: Obsolete. The new i2c-gpio driver replaces all hardware-specific
I2C-over-GPIO drivers.
Who: Jean Delvare <khali@linux-fr.org>

---------------------------

What: 'time' kernel boot parameter
When: January 2008
Why: replaced by 'printk.time=<value>' so that printk timestamps can be
Expand Down Expand Up @@ -249,6 +266,13 @@ Who: Tejun Heo <htejun@gmail.com>

---------------------------

What: Legacy RTC drivers (under drivers/i2c/chips)
When: November 2007
Why: Obsolete. We have a RTC subsystem with better drivers.
Who: Jean Delvare <khali@linux-fr.org>

---------------------------

What: iptables SAME target
When: 1.1. 2008
Files: net/ipv4/netfilter/ipt_SAME.c, include/linux/netfilter_ipv4/ipt_SAME.h
Expand Down Expand Up @@ -299,10 +323,3 @@ Why: This driver has been marked obsolete for many years.
Who: Stephen Hemminger <shemminger@linux-foundation.org>

---------------------------

What: i2c-i810, i2c-prosavage and i2c-savage4
When: May 2008
Why: These drivers are superseded by i810fb, intelfb and savagefb.
Who: Jean Delvare <khali@linux-fr.org>

---------------------------
5 changes: 3 additions & 2 deletions trunk/Documentation/i2c/busses/i2c-i801
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Supported adapters:
Datasheets: Publicly available at the Intel website

Authors:
Frodo Looijaard <frodol@dds.nl>,
Philip Edelbrock <phil@netroedge.com>,
Mark Studebaker <mdsxyz123@yahoo.com>
Jean Delvare <khali@linux-fr.org>


Module Parameters
Expand Down Expand Up @@ -61,7 +62,7 @@ Not supported.
I2C Block Read Support
----------------------

I2C block read is supported on the 82801EB (ICH5) and later chips.
Not supported at the moment.


SMBus 2.0 Support
Expand Down
3 changes: 1 addition & 2 deletions trunk/Documentation/i2c/busses/i2c-viapro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Supported adapters:
* VIA Technologies, Inc. VT8231, VT8233, VT8233A
Datasheet: available on request from VIA

* VIA Technologies, Inc. VT8235, VT8237R, VT8237A, VT8237S, VT8251
* VIA Technologies, Inc. VT8235, VT8237R, VT8237A, VT8251
Datasheet: available on request and under NDA from VIA

* VIA Technologies, Inc. CX700
Expand Down Expand Up @@ -46,7 +46,6 @@ Your lspci -n listing must show one of these :
device 1106:3177 (VT8235)
device 1106:3227 (VT8237R)
device 1106:3337 (VT8237A)
device 1106:3372 (VT8237S)
device 1106:3287 (VT8251)
device 1106:8324 (CX700)

Expand Down
72 changes: 0 additions & 72 deletions trunk/Documentation/i2c/chips/pcf8575

This file was deleted.

6 changes: 3 additions & 3 deletions trunk/Documentation/i2c/i2c-stub
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ The typical use-case is like this:
3. load the target sensors chip driver module
4. observe its behavior in the kernel log

There's a script named i2c-stub-from-dump in the i2c-tools package which
can load register values automatically from a chip dump.

PARAMETERS:

int chip_addr[10]:
The SMBus addresses to emulate chips at.

CAVEATS:

There are independent arrays for byte/data and word/data commands. Depending
on if/how a target driver mixes them, you'll need to be careful.

If your target driver polls some byte or word waiting for it to change, the
stub could lock it up. Use i2cset to unlock it.

Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/i2c/writing-clients
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ insmod parameter of the form force_<kind>.
Fortunately, as a module writer, you just have to define the `normal_i2c'
parameter. The complete declaration could look like this:

/* Scan 0x4c to 0x4f */
static const unsigned short normal_i2c[] = { 0x4c, 0x4d, 0x4e, 0x4f,
I2C_CLIENT_END };
/* Scan 0x37, and 0x48 to 0x4f */
static unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4b, 0x4c,
0x4d, 0x4e, 0x4f, I2C_CLIENT_END };

/* Magic definition of all other variables and things */
I2C_CLIENT_INSMOD;
Expand Down
14 changes: 7 additions & 7 deletions trunk/arch/arm/mach-ixp4xx/avila-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <linux/i2c-gpio.h>

#include <asm/types.h>
#include <asm/setup.h>
Expand Down Expand Up @@ -48,17 +47,18 @@ static struct platform_device avila_flash = {
.resource = &avila_flash_resource,
};

static struct i2c_gpio_platform_data avila_i2c_gpio_data = {
static struct ixp4xx_i2c_pins avila_i2c_gpio_pins = {
.sda_pin = AVILA_SDA_PIN,
.scl_pin = AVILA_SCL_PIN,
};

static struct platform_device avila_i2c_gpio = {
.name = "i2c-gpio",
static struct platform_device avila_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
.dev = {
.platform_data = &avila_i2c_gpio_data,
.dev = {
.platform_data = &avila_i2c_gpio_pins,
},
.num_resources = 0
};

static struct resource avila_uart_resources[] = {
Expand Down Expand Up @@ -133,7 +133,7 @@ static struct platform_device avila_pata = {
};

static struct platform_device *avila_devices[] __initdata = {
&avila_i2c_gpio,
&avila_i2c_controller,
&avila_flash,
&avila_uart
};
Expand Down
13 changes: 5 additions & 8 deletions trunk/arch/arm/mach-ixp4xx/dsmg600-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <linux/kernel.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/i2c-gpio.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand All @@ -38,17 +37,15 @@ static struct platform_device dsmg600_flash = {
.resource = &dsmg600_flash_resource,
};

static struct i2c_gpio_platform_data dsmg600_i2c_gpio_data = {
static struct ixp4xx_i2c_pins dsmg600_i2c_gpio_pins = {
.sda_pin = DSMG600_SDA_PIN,
.scl_pin = DSMG600_SCL_PIN,
};

static struct platform_device dsmg600_i2c_gpio = {
.name = "i2c-gpio",
static struct platform_device dsmg600_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
.dev = {
.platform_data = &dsmg600_i2c_gpio_data,
},
.dev.platform_data = &dsmg600_i2c_gpio_pins,
};

#ifdef CONFIG_LEDS_CLASS
Expand Down Expand Up @@ -119,7 +116,7 @@ static struct platform_device dsmg600_uart = {
};

static struct platform_device *dsmg600_devices[] __initdata = {
&dsmg600_i2c_gpio,
&dsmg600_i2c_controller,
&dsmg600_flash,
};

Expand Down
14 changes: 7 additions & 7 deletions trunk/arch/arm/mach-ixp4xx/ixdp425-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/slab.h>
#include <linux/i2c-gpio.h>
#include <linux/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
Expand Down Expand Up @@ -121,17 +120,18 @@ static struct platform_device ixdp425_flash_nand = {
};
#endif /* CONFIG_MTD_NAND_PLATFORM */

static struct i2c_gpio_platform_data ixdp425_i2c_gpio_data = {
static struct ixp4xx_i2c_pins ixdp425_i2c_gpio_pins = {
.sda_pin = IXDP425_SDA_PIN,
.scl_pin = IXDP425_SCL_PIN,
};

static struct platform_device ixdp425_i2c_gpio = {
.name = "i2c-gpio",
static struct platform_device ixdp425_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
.dev = {
.platform_data = &ixdp425_i2c_gpio_data,
.dev = {
.platform_data = &ixdp425_i2c_gpio_pins,
},
.num_resources = 0
};

static struct resource ixdp425_uart_resources[] = {
Expand Down Expand Up @@ -178,7 +178,7 @@ static struct platform_device ixdp425_uart = {
};

static struct platform_device *ixdp425_devices[] __initdata = {
&ixdp425_i2c_gpio,
&ixdp425_i2c_controller,
&ixdp425_flash,
#if defined(CONFIG_MTD_NAND_PLATFORM) || \
defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
Expand Down
14 changes: 6 additions & 8 deletions trunk/arch/arm/mach-ixp4xx/nas100d-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/leds.h>
#include <linux/i2c-gpio.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -69,17 +68,16 @@ static struct platform_device nas100d_leds = {
};
#endif

static struct i2c_gpio_platform_data nas100d_i2c_gpio_data = {
static struct ixp4xx_i2c_pins nas100d_i2c_gpio_pins = {
.sda_pin = NAS100D_SDA_PIN,
.scl_pin = NAS100D_SCL_PIN,
};

static struct platform_device nas100d_i2c_gpio = {
.name = "i2c-gpio",
static struct platform_device nas100d_i2c_controller = {
.name = "IXP4XX-I2C",
.id = 0,
.dev = {
.platform_data = &nas100d_i2c_gpio_data,
},
.dev.platform_data = &nas100d_i2c_gpio_pins,
.num_resources = 0,
};

static struct resource nas100d_uart_resources[] = {
Expand Down Expand Up @@ -126,7 +124,7 @@ static struct platform_device nas100d_uart = {
};

static struct platform_device *nas100d_devices[] __initdata = {
&nas100d_i2c_gpio,
&nas100d_i2c_controller,
&nas100d_flash,
#ifdef CONFIG_LEDS_IXP4XX
&nas100d_leds,
Expand Down
Loading

0 comments on commit 9880bfe

Please sign in to comment.