[E1000-devel] [PATCH v2 0/3] igb: Expose the device's i2c busses (parameterized)

2014-12-19 Thread Jean-Hugues Deschenes
New in v2: - Module parameter is now BitBangedI2c (was I2CBB). - All "bagn" typos have been fixed to "bang". - Clarified comment for i2cbb flag. Current i2c support in the igb driver has been implemented with the i350 board in mind. This series of patches exposes the i2c bus for all devic

[E1000-devel] [PATCH v2 1/3] Do not drive on scl or sda when reading

2014-12-19 Thread Jean-Hugues Deschenes
This patch ensures that output drivers are off prior to sampling data from the scl and sda lines on the i2c bus. Signed-off-by: Jean-Hugues Deschenes Index: igb-5.2.9.4-ori/src/igb_main.c === --- igb-5.2.9.4-ori.orig/src/igb_main.c

[E1000-devel] [PATCH v2 3/3] Add BitBangedI2c kernel module parameter

2014-12-19 Thread Jean-Hugues Deschenes
This patch adds the BitBangedI2c kernel module parameter, which allows to expose bit-banged i2c buses to the operating system. This is necessary for custom board designs based on igb-supported chips that wish to make use of the available i2c pins. Signed-off-by: Jean-Hugues Deschenes Index: igb

[E1000-devel] [PATCH v2 2/3] Let pull-up resistors drive a locigal 1 on scl or sda

2014-12-19 Thread Jean-Hugues Deschenes
tuned off if a logical 1 is to be driven on the sda or scl line. Signed-off-by: Jean-Hugues Deschenes Index: igb-5.2.9.4-ori/src/igb_main.c === --- igb-5.2.9.4-ori.orig/src/igb_main.c 2014-11-26 11:20:27.395762986 -0500 +++ igb-5.2.9.4

Re: [E1000-devel] [patch 3/3] Add an i2cbb kernel module parameter

2014-12-11 Thread Jean-Hugues Deschenes
Hi Bernhard, + This query shows me only your mail as result, so AFAICS it's "bit-banged I2C", not + bit-bagned (the "n" must be before the "g") and a grep in the Kernel source only + finds "banged": + + https://www.google.com/search?q=%22bit-bagned%22+I2c Quite right! I'll change that in the re

[E1000-devel] [patch 0/3] igb: Expose the device's i2c busses (parameterized)

2014-12-09 Thread Jean-Hugues Deschenes
Current i2c support in the igb driver has been implemented with the i350 board in mind. This series of patches exposes the i2c bus for all devices, if enabled through the I2CBB module parameter. This allows to access i2c devices attached to the SFP pins on boards based on igb-handled controllers

[E1000-devel] [patch 3/3] Add an i2cbb kernel module parameter

2014-12-09 Thread Jean-Hugues Deschenes
This patch adds the i2cbb kernel module parameter, which allows to expose bit-bagned i2c buses to the operating system. This is necessary for custom board designs based on igb-supported chips that wish to make use of the available i2c pins. Signed-off-by: Jean-Hugues Deschenes Index: igb-5.2.9.4

[E1000-devel] [patch 2/3] Let pull-up resistors drive a locigal 1 on scl or sda

2014-12-09 Thread Jean-Hugues Deschenes
tuned off if a logical 1 is to be driven on the sda or scl line. Signed-off-by: Jean-Hugues Deschenes Index: igb-5.2.9.4-ori/src/igb_main.c === --- igb-5.2.9.4-ori.orig/src/igb_main.c 2014-11-26 11:20:27.395762986 -0500 +++ igb-5.2.9.4

[E1000-devel] [patch 1/3] Do not drive on scl or sda when reading

2014-12-09 Thread Jean-Hugues Deschenes
This patch ensures that output drivers are off prior to sampling data from the scl and sda lines on the i2c bus. Signed-off-by: Jean-Hugues Deschenes Index: igb-5.2.9.4-ori/src/igb_main.c === --- igb-5.2.9.4-ori.orig/src/igb_main.c