@@ -59,6 +59,7 @@ static int chromeos_i2c_component_prober(struct device *dev, const void *_data)
59
59
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE (touchscreen );
60
60
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE (trackpad );
61
61
62
+ DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE (touchscreen );
62
63
DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE (trackpad );
63
64
64
65
static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
@@ -76,6 +77,17 @@ static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
76
77
},
77
78
};
78
79
80
+ static const struct chromeos_i2c_probe_data chromeos_i2c_probe_squirtle_touchscreen = {
81
+ .cfg = & chromeos_i2c_probe_simple_touchscreen_cfg ,
82
+ .opts = & (const struct i2c_of_probe_simple_opts ) {
83
+ .res_node_compatible = "elan,ekth6a12nay" ,
84
+ .supply_name = "vcc33" ,
85
+ .gpio_name = "reset" ,
86
+ .post_power_on_delay_ms = 10 ,
87
+ .post_gpio_config_delay_ms = 300 ,
88
+ },
89
+ };
90
+
79
91
static const struct hw_prober_entry hw_prober_platforms [] = {
80
92
{
81
93
.compatible = "google,hana" ,
@@ -93,6 +105,10 @@ static const struct hw_prober_entry hw_prober_platforms[] = {
93
105
.compatible = "google,squirtle" ,
94
106
.prober = chromeos_i2c_component_prober ,
95
107
.data = & chromeos_i2c_probe_dumb_trackpad ,
108
+ }, {
109
+ .compatible = "google,squirtle" ,
110
+ .prober = chromeos_i2c_component_prober ,
111
+ .data = & chromeos_i2c_probe_squirtle_touchscreen ,
96
112
}, {
97
113
.compatible = "google,steelix" ,
98
114
.prober = chromeos_i2c_component_prober ,
0 commit comments