diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2011-12-19 21:40:58 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-20 10:23:13 +0000 |
commit | 5c0c1d50d7ba7a678b7d6e2c4f2ff31edafb1067 (patch) | |
tree | 8136abb90b7a87dfe78271576387e810c396d78e /drivers/gpu/drm/gma500/psb_drv.h | |
parent | 9c8cee471392258271bdf36361903d306a0c2dd6 (diff) |
gma500: Add support for Intel GMBUS
Before we integrate the new SDVO code we need GMBUS support
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.h')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_drv.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h index 5ec8edf6516..962c1b605c3 100644 --- a/drivers/gpu/drm/gma500/psb_drv.h +++ b/drivers/gpu/drm/gma500/psb_drv.h @@ -260,6 +260,12 @@ struct psb_intel_opregion { int enabled; }; +struct intel_gmbus { + struct i2c_adapter adapter; + struct i2c_adapter *force_bit; + u32 reg0; +}; + struct psb_ops; #define PSB_NUM_PIPE 3 @@ -336,6 +342,9 @@ struct drm_psb_private { /* PCI revision ID for B0:D2:F0 */ uint8_t platform_rev_id; + /* gmbus */ + struct intel_gmbus *gmbus; + /* * LVDS info */ |