diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-05-13 15:54:17 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-11 16:09:15 +1000 |
commit | 20a8007485e9272ab0e964fdecc3cbceeef9d2f4 (patch) | |
tree | a96ee3776101b2667e103118b647447418358e82 /drivers/gpu/drm/nouveau/core/include/subdev/gpio.h | |
parent | bc3b0c41b1caa6b12f510f300587c52275218b45 (diff) |
drm/nouveau/gpio: send separate event types for high/low transitions
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/gpio.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/gpio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h b/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h index 2e2effa66442..612d82ab683d 100644 --- a/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h +++ b/drivers/gpu/drm/nouveau/core/include/subdev/gpio.h @@ -8,6 +8,12 @@ #include <subdev/bios.h> #include <subdev/bios/gpio.h> +enum nvkm_gpio_event { + NVKM_GPIO_HI = 1, + NVKM_GPIO_LO = 2, + NVKM_GPIO_TOGGLED = (NVKM_GPIO_HI | NVKM_GPIO_LO), +}; + struct nouveau_gpio { struct nouveau_subdev base; |