diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-03-03 16:21:06 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 16:37:31 -0800 |
commit | 81dee67e215b23f0c98182eece122b906d35765a (patch) | |
tree | 05fef8acfc0e851abc77dc31de0f3cded599347e /drivers/staging/sm750fb/ddk750_hwi2c.h | |
parent | c3d6047d95fad6d70894d7ff79d49e47deae41e5 (diff) |
staging: sm750fb: add sm750 to staging
sm750 of Silicon Motion is pci-e display controller device and has
features like dual display and 2D acceleration. This patch adds the
driver to staging.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_hwi2c.h')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_hwi2c.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.h b/drivers/staging/sm750fb/ddk750_hwi2c.h new file mode 100644 index 000000000000..ad311493c9fc --- /dev/null +++ b/drivers/staging/sm750fb/ddk750_hwi2c.h @@ -0,0 +1,10 @@ +#ifndef DDK750_HWI2C_H__ +#define DDK750_HWI2C_H__ + +/* hwi2c functions */ +int hwI2CInit(unsigned char busSpeedMode); +void hwI2CClose(void); + +unsigned char hwI2CReadReg(unsigned char deviceAddress,unsigned char registerIndex); +int hwI2CWriteReg(unsigned char deviceAddress,unsigned char registerIndex,unsigned char data); +#endif |