Skip to content

Commit 73d32c3

Browse files
wensTzung-Bi Shih
authored andcommitted
platform/chrome: of_hw_prober: Support trackpad probing on Corsola family
Various MT8186 Corsola Chromebooks (squirtle, steelix and voltorb families) have second source trackpads that need to be probed. The power supply for these are always on and their reset/enable lines are not exposed. Add them to the probing list. Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tzung-Bi Shih <[email protected]>
1 parent 31d3bd5 commit 73d32c3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/platform/chrome/chromeos_of_hw_prober.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ static int chromeos_i2c_component_prober(struct device *dev, const void *_data)
5757
}
5858

5959
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(touchscreen);
60+
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(trackpad);
6061

6162
DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE(trackpad);
6263

@@ -88,6 +89,18 @@ static const struct hw_prober_entry hw_prober_platforms[] = {
8889
.compatible = "google,spherion",
8990
.prober = chromeos_i2c_component_prober,
9091
.data = &chromeos_i2c_probe_hana_trackpad,
92+
}, {
93+
.compatible = "google,squirtle",
94+
.prober = chromeos_i2c_component_prober,
95+
.data = &chromeos_i2c_probe_dumb_trackpad,
96+
}, {
97+
.compatible = "google,steelix",
98+
.prober = chromeos_i2c_component_prober,
99+
.data = &chromeos_i2c_probe_dumb_trackpad,
100+
}, {
101+
.compatible = "google,voltorb",
102+
.prober = chromeos_i2c_component_prober,
103+
.data = &chromeos_i2c_probe_dumb_trackpad,
91104
},
92105
};
93106

0 commit comments

Comments
 (0)