09 May, 2007
1 commit
-
Convert files within the Documentation directory to UTF-8.
Adrian Bunk:
small additional fixesSigned-off-by: John Anthony Kazos Jr.
Signed-off-by: Adrian Bunk
02 May, 2007
5 commits
-
Make the documentation on how to write and port i2c drivers more in
line with the current state of things:
* i2c-isa is deprecated and soon gone, so stop advertising it.
* Drop many sensors-specific references. Most of them were outdated
anyway.
* Update the example code to reflect the recent and not-so-recent
API and coding style preference changes.
* Simplify the example init and cleanup functions.This should make things less complex to understand for newcomers.
Signed-off-by: Jean Delvare
-
Make i2c_del_driver a void function, like all other driver removal
functions. It always returned 0 even when errors occured, and nobody
ever actually checked the return value anyway. And we cannot fail
a module removal anyway.Signed-off-by: Jean Delvare
-
Document the new i2c_new_device(), i2c_new_probed_device() and
i2c_unregister_device() functions.Signed-off-by: Jean Delvare
-
Update Documentation/i2c to match previous patches updating probe()
and remove() logic.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
Signed-off-by: Jean Delvare
Cc: Hans-Frieder Vogt
14 Feb, 2007
6 commits
-
This simple patch adds support to i2c-parport for the One For All remote
JP1 parallel port interfaces which can be found detailed at:http://www.hifi-remote.com/jp1/hardware.shtml
These allow access to the internal configuration EEPROM on various
remote controls and there are a variety of Windows tools that make use
of this hardware. I have tested this patch with the "simple" parallel
port device and a One For All URC-7562 and confirmed that the data read
using the eeprom i2c driver matches that returned by the Windows "IR"
JP1 tool.Signed-off-by: Jonathan McDowell
Signed-off-by: Jean Delvare -
We do not have any documentation for the CX700, but it was reported
to work fine. Thanks to Claas Langbehn for testing.Signed-off-by: Jean Delvare
-
Driver model updates for the I2C core:
- Add new suspend(), resume(), and shutdown() methods. Use them in the
standard driver model style; document them.- Minor doc updates to highlight zero-initialized fields in drivers, and
the driver model accessors for "clientdata".If any i2c drivers were previously using the old suspend/resume calls
in "struct driver", they were getting warning messages ... and will
now no longer work. Other than that, this patch changes no behaviors;
and it lets I2C drivers use conventional PM and shutdown support.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
This is a frequently asked question so it deserves a paragraph in
the driver documentation.Signed-off-by: Jean Delvare
-
Write data, don't read it.
Signed-off-by: Mike Frysinger
Signed-off-by: Jean Delvare -
Add support for the ATI SB600 SMBus controller.
Signed-off-by: Jean Delvare
11 Dec, 2006
3 commits
-
Add the Intel ICH9/ICH8/ESB2 SMBus Controller text to
i2c-i801 documentation.Signed-off-by: Jason Gaston
Signed-off-by: Jean Delvare -
Summary of changes:
- fixes:
o legacy I/O region size is 64 bytes, not 8 bytes
- general cleanup:
o removed code for the unsupported I2C block data, block data,
proc call and block proc call transfer modes
o removed detail warnings about unsupported modes that are
covered in a general warning (unsupported transaction...)
anyway
o removed necessity of a definition of struct i2c_adapter
o moved definition of struct i2c_algorithm, making forward
declarations of nforce2_access and nforce2_func unnecessary
- minor changes:
o in the description mention the nForce 5xx chipsets
o changes my e-mail address in MODULE_AUTHORTheses cleanups shrink the driver binary size from 4.0 kB to 2.7 kB
on i386.Signed-off-by: Hans-Frieder Vogt
Signed-off-by: Jean Delvare -
Fix typos in i2c bus drivers documentation.
Signed-off-by: Jean Delvare
27 Sep, 2006
2 commits
-
i2c-viapro: Add support for the VT8237A and VT8251
Documentation update included. Compile tested.
Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
i2c-stub: Chip address as a module parameter
Add a mandatory chip_addr parameter to i2c-stub. This parameter
defines to which chip address the driver will respond, instead of
reponding to all addresses as before. The idea is to prevent the
users from loading i2c-stub at random and being then confused by
the results of sensors-detect or other user-space tools.Signed-off-by: Jean Delvare
Signed-off-by: Mark M. Hoffman
Signed-off-by: Greg Kroah-Hartman
13 Jul, 2006
1 commit
-
We have a new mailing list dedicated to linux i2c:
http://lists.lm-sensors.org/mailman/listinfo/i2cSigned-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
23 Jun, 2006
8 commits
-
i2c-i801: Remove force_addr parameter
Remove the force_addr module parameter. It doesn't appear to ever
have been needed, and PCI resources shouldn't be arbitrarily
changed anyway.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Documentation update for the scx200_acb driver. Hopefully this will
help future users.References:
[lm-sensors] Support of i2c-nscacb (April, May 2005)
http://lists.lm-sensors.org/pipermail/lm-sensors/2005-April/011756.html
http://lists.lm-sensors.org/pipermail/lm-sensors/2005-May/012043.html[lm-sensors] making a geode i2c slave driver (April 2006)
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-April/015998.htmlKernel bug #6445
http://bugzilla.kernel.org/show_bug.cgi?id=6445Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
The following patch adds support for the OpenCores I2C controller IP
core (See http://www.opencores.org/projects.cgi/web/i2c/overview).Signed-off-by: Peter Korsgaard
Signed-off-by: Andrew Morton
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add support for the new nForce4 MCP51 (also known as nForce 410 or
430) and nForce4 MCP55 to the i2c-nforce2 driver. Some code changes
were required because the base I/O address registers have changed in
these versions. Standard BARs are now being used, while the original
nForce2 chips used non-standard ones.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Properly document on which systems the i2c-piix4 SMBus driver will
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.Closes bug #6429.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Fix i2c-piix4 documentation typo.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
This patch removes the fix_hstcfg option from the driver and related
SMBus Interrupt Select register magic because now we know what are
valid values for this register. This patch updates the documentation
and adds new IRQ mode check so we are sure not to miss any new
"unusual" value.The PCI quirk for users of fix_hstcfg was not developed because the
chipset lacks of subsystem ID registers and DMI is stated "To be
filled". Impact to existing systems is minimal because the problem
showed up on motherboards like 10 years back. On the other hand users
of newer Serverworks and HT1000 systems won't be misleaded by the
message suggesting to try the fix_hstcfg any more.Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
This patch adds the ATI IXP southbridges support to i2c-piix4,
as it turned out those chips are compatible with it.Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
15 Apr, 2006
1 commit
-
This patch forces the user to specify what type of adapter is present when
loading i2c-parport or i2c-parport-light. If none is specified, the driver
init simply fails - instead of assuming adapter type 0.This alleviates the sometimes lengthy boot time delays which can be caused
by accidentally building one of these into a kernel along with several i2c
slave drivers that have lengthy probe routines (e.g. hwmon drivers).Kconfig and documentation updated accordingly.
Signed-off-by: Mark M. Hoffman
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
24 Mar, 2006
2 commits
-
Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver. Note
that at least on Supermicro H8SSL it uses non-standard SMBHSTCFG = 3
and standard values like 0 or 9 causes hangup.Signed-off-by: Martin Devera
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
scx200_acb: Minimal documentation update
Signed-off-by: Ben Gardner
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
07 Feb, 2006
1 commit
-
This patch just renames the documentation file to correct file name.
i2c-sis69x -> i2c-sis96x.Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
06 Jan, 2006
8 commits
-
One more supported PCI ID for the i2c-nforce2 driver.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Document i2c_driver.command as being deprecated, and don't suggest an
empty implementation of this callback as it doesn't make any sense.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Update the i2c documentation to reflect the recent change to
i2c_add_driver.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Document the drop of the owner and name fields of the i2c_driver
structure.Signed-off-by: Jean Delvare
CC: Laurent Riffard
Signed-off-by: Greg Kroah-Hartman -
Update Documentation/i2c/porting-clients. Many recent changes to the i2c
and hwmon subsystems were never reported there.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Do not limit the usage count of i2c clients to 1. In other words,
change the client usage count behavior from the old I2C_CLIENT_ALLOW_USE
to the old I2C_CLIENT_ALLOW_MULTIPLE_USE. The rationale is that no
driver actually needs the limiting behavior, and the unlimiting
behavior is slightly easier to implement.Update the documentation to reflect this change.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we
can simply make it the default and drop the flag. If any driver really
doesn't want to be notified when i2c adapters are added, that driver
can simply omit to set .attach_adapter. This approach is also more
robust as it prevents accidental NULL pointer dereferences.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
The following patch adds support for the Barco LPT->DVI I2C adapter to
the i2c-parport driver.Signed-off-by: Peter Korsgaard
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
08 Nov, 2005
2 commits
-
The big i2c-viapro SMBus driver update which went into 2.6.14-git1
introduced a few minor issues. Nothing critical, but I would like a
few adjustments to be merged in to fix the following problems:* VIA should not be spelled Via.
* Frodo Looijaard and Philip Edelbrock did not write the i2c-viapro
driver.
* When debugging is disabled, half of messages would be logged.
* Drop an unneeded masking.
* Some port reads can be avoided now that the transaction size is
passed as a parameter to vt596_transaction().
* SMBus Receive Byte transactions are used for probing too (for
EEPROMs), so hide errors on these too.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
My latest update to the writing-clients i2c documentation file was
incomplete, here's the complement.Large parts of this file are still way out-of-date, but at least now
the memory allocation and freeing instructions are consistent.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman