mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
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 <wenst@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20250421101248.426929-8-wenst@chromium.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
This commit is contained in:
committed by
Tzung-Bi Shih
parent
31d3bd592d
commit
73d32c3e74
@@ -57,6 +57,7 @@ static int chromeos_i2c_component_prober(struct device *dev, const void *_data)
|
||||
}
|
||||
|
||||
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(touchscreen);
|
||||
DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(trackpad);
|
||||
|
||||
DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE(trackpad);
|
||||
|
||||
@@ -88,6 +89,18 @@ static const struct hw_prober_entry hw_prober_platforms[] = {
|
||||
.compatible = "google,spherion",
|
||||
.prober = chromeos_i2c_component_prober,
|
||||
.data = &chromeos_i2c_probe_hana_trackpad,
|
||||
}, {
|
||||
.compatible = "google,squirtle",
|
||||
.prober = chromeos_i2c_component_prober,
|
||||
.data = &chromeos_i2c_probe_dumb_trackpad,
|
||||
}, {
|
||||
.compatible = "google,steelix",
|
||||
.prober = chromeos_i2c_component_prober,
|
||||
.data = &chromeos_i2c_probe_dumb_trackpad,
|
||||
}, {
|
||||
.compatible = "google,voltorb",
|
||||
.prober = chromeos_i2c_component_prober,
|
||||
.data = &chromeos_i2c_probe_dumb_trackpad,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user