touch: Add regulator support
Added regulator support to RM6D030 touch sensor. Change-Id: I74b2560ae5e02ceea272c15609e7dd624560a5bd Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
#define COORDS_ARR_SIZE 4
|
||||
#define I2C_VTG_MIN_UV 1800000
|
||||
#define I2C_VTG_MAX_UV 1800000
|
||||
#ifdef VDD_ANALOG_ENABLE
|
||||
#define VTG_MIN_UV 2800000
|
||||
#define VTG_MAX_UV 2800000
|
||||
#endif
|
||||
#define RAD_MAIN_VERSION 0x01
|
||||
#define RAD_MINOR_VERSION 0x01
|
||||
#define RAD_CUSTOMER_VERSION 0x0100
|
||||
@@ -275,6 +279,9 @@ struct raydium_ts_data {
|
||||
#endif /*end of CONFIG_FB*/
|
||||
|
||||
/*struct regulator *vdd;*/
|
||||
#ifdef VDD_ANALOG_ENABLE
|
||||
struct regulator *vdd;
|
||||
#endif
|
||||
struct regulator *vcc_i2c;
|
||||
unsigned int fw_version;
|
||||
unsigned short id;
|
||||
|
Reference in New Issue
Block a user