mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 16:53:58 -05:00
HID: i2c-hid: elan: Add elan-ekth6a12nay timing
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Zhaoxiong Lv <lvzhaoxiong@huaqin.corp-partner.google.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
e0808d7a63
commit
d06651bebf
1 changed files with 8 additions and 0 deletions
|
@ -152,6 +152,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth6915_chip_data = {
|
||||||
.main_supply_name = "vcc33",
|
.main_supply_name = "vcc33",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data = {
|
||||||
|
.post_power_delay_ms = 10,
|
||||||
|
.post_gpio_reset_on_delay_ms = 300,
|
||||||
|
.hid_descriptor_address = 0x0001,
|
||||||
|
.main_supply_name = "vcc33",
|
||||||
|
};
|
||||||
|
|
||||||
static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = {
|
static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data = {
|
||||||
.post_power_delay_ms = 1,
|
.post_power_delay_ms = 1,
|
||||||
.post_gpio_reset_on_delay_ms = 200,
|
.post_gpio_reset_on_delay_ms = 200,
|
||||||
|
@ -174,6 +181,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data = {
|
||||||
|
|
||||||
static const struct of_device_id elan_i2c_hid_of_match[] = {
|
static const struct of_device_id elan_i2c_hid_of_match[] = {
|
||||||
{ .compatible = "elan,ekth6915", .data = &elan_ekth6915_chip_data },
|
{ .compatible = "elan,ekth6915", .data = &elan_ekth6915_chip_data },
|
||||||
|
{ .compatible = "elan,ekth6a12nay", .data = &elan_ekth6a12nay_chip_data },
|
||||||
{ .compatible = "ilitek,ili9882t", .data = &ilitek_ili9882t_chip_data },
|
{ .compatible = "ilitek,ili9882t", .data = &ilitek_ili9882t_chip_data },
|
||||||
{ .compatible = "ilitek,ili2901", .data = &ilitek_ili2901_chip_data },
|
{ .compatible = "ilitek,ili2901", .data = &ilitek_ili2901_chip_data },
|
||||||
{ }
|
{ }
|
||||||
|
|
Loading…
Add table
Reference in a new issue