summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-02-14 20:59:41 -0500
committerBen Skeggs <bskeggs@redhat.com>2013-02-20 16:00:58 +1000
commit31a34aa421032cfe3b2b892c929e7539e747a7ac (patch)
tree35155f9322a363e42d5bd69b8323143a30a39a18 /drivers/gpu/drm/nouveau/core/include
parenteaa8e7ab99d1b33db9362f35c1d65df8df39dea9 (diff)
downloadop-kernel-dev-31a34aa421032cfe3b2b892c929e7539e747a7ac.zip
op-kernel-dev-31a34aa421032cfe3b2b892c929e7539e747a7ac.tar.gz
drm/nouveau/i2c: aux channels not necessarily on nvio
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include')
-rw-r--r--drivers/gpu/drm/nouveau/core/include/subdev/i2c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/i2c.h b/drivers/gpu/drm/nouveau/core/include/subdev/i2c.h
index b93ab01..d2c067a 100644
--- a/drivers/gpu/drm/nouveau/core/include/subdev/i2c.h
+++ b/drivers/gpu/drm/nouveau/core/include/subdev/i2c.h
@@ -21,6 +21,8 @@ struct nouveau_i2c_port {
u32 drive;
u32 sense;
u32 state;
+ void (*aux_mux)(struct nouveau_i2c_port *);
+ int (*aux)(struct nouveau_i2c_port *, u8, u32, u8 *, u8);
};
struct nouveau_i2c {
@@ -57,4 +59,7 @@ int nv_wraux(struct nouveau_i2c_port *, u32 addr, u8 *data, u8 size);
extern const struct i2c_algorithm nouveau_i2c_bit_algo;
extern const struct i2c_algorithm nouveau_i2c_aux_algo;
+void nv94_aux_mux(struct nouveau_i2c_port *);
+int nv94_aux(struct nouveau_i2c_port *, u8, u32, u8 *, u8);
+
#endif
OpenPOWER on IntegriCloud