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:
Srikanth Katteboina
2022-09-16 18:24:12 +05:30
committed by ppadasal
父節點 667552fa85
當前提交 d66a17ccb3
共有 2 個文件被更改,包括 145 次插入2 次删除

查看文件

@@ -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;