summaryrefslogtreecommitdiff
path: root/drm/core
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-05-29 11:35:10 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-06-11 16:02:08 +1000
commit813ca2e58071c4ab35fc85f95dda4e0e90cb5231 (patch)
tree2d1e83e0d9a372a005cdee4cd4beb99740367d27 /drm/core
parent4c72915fbeee7e44b7320bd3dea97aea2451d0df (diff)
downloadnouveau-813ca2e58071c4ab35fc85f95dda4e0e90cb5231.tar.gz
i2c: introduce locking at a per-port level
There's also provisions to allow a pad to be locked with a specific routing, for an indefinite period of time. This will be used in future patches. The G94+ pad driver will now also power-down pads when not required. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/core')
l---------drm/core/subdev/i2c/pad.c1
l---------drm/core/subdev/i2c/pad.h1
l---------drm/core/subdev/i2c/padnv04.c1
l---------drm/core/subdev/i2c/padnv94.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/drm/core/subdev/i2c/pad.c b/drm/core/subdev/i2c/pad.c
new file mode 120000
index 000000000..3f384bf1b
--- /dev/null
+++ b/drm/core/subdev/i2c/pad.c
@@ -0,0 +1 @@
+../../../../nvkm/subdev/i2c/pad.c \ No newline at end of file
diff --git a/drm/core/subdev/i2c/pad.h b/drm/core/subdev/i2c/pad.h
new file mode 120000
index 000000000..d6ac100b3
--- /dev/null
+++ b/drm/core/subdev/i2c/pad.h
@@ -0,0 +1 @@
+../../../../nvkm/subdev/i2c/pad.h \ No newline at end of file
diff --git a/drm/core/subdev/i2c/padnv04.c b/drm/core/subdev/i2c/padnv04.c
new file mode 120000
index 000000000..5ee9dfeff
--- /dev/null
+++ b/drm/core/subdev/i2c/padnv04.c
@@ -0,0 +1 @@
+../../../../nvkm/subdev/i2c/padnv04.c \ No newline at end of file
diff --git a/drm/core/subdev/i2c/padnv94.c b/drm/core/subdev/i2c/padnv94.c
new file mode 120000
index 000000000..77fd1ad31
--- /dev/null
+++ b/drm/core/subdev/i2c/padnv94.c
@@ -0,0 +1 @@
+../../../../nvkm/subdev/i2c/padnv94.c \ No newline at end of file