Skip to contentSkip to conversation

i2c: buses: add i2c bus driver for NVIDIA GPU

PATCH Superseded Wolfram Sang 1 participant 1 message Nov 9, 2018 USB

lore
Share & tools
lore
#0 lore raw

PATCH v15 1/2 i2c: buses: add i2c bus driver for NVIDIA GPU

Review obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o · line 143

Quoted 5 lines
(quoted diff) +1 -0
@@ -140,5 +140,6 @@ obj-$(CONFIG_I2C_SIBYTE)	+= i2c-sibyte.o
 obj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
 obj-$(CONFIG_SCx200_ACB)	+= scx200_acb.o
 obj-$(CONFIG_I2C_FSI)		+= i2c-fsi.o
+obj-$(CONFIG_I2C_NVIDIA_GPU)	+= i2c-nvidia-gpu.o

Oh, I fixed this up and moved it to the place where it is corresponding to in Kconfig.

Review obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o

Quoted 4 lines
(quoted diff) +4 -0
+static u32 gpu_i2c_functionality(struct i2c_adapter *adap)
+{
+	return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
+}

I can't send an incremental patch for this, I need to ask: did you try SMBUS_QUICK with it? Given the restrictions of this controller, I have my doubts. I might be wrong, though. 'i2cdetect' from i2c-tools lets you easily check it.