| 1 |
|
| 2 |
|
| 3 |
#ifndef __DRIVERS_TOUCH_DEV_ELAN_H__ |
| 4 |
#define __DRIVERS_TOUCH_DEV_ELAN_H__ |
| 5 |
|
| 6 |
#include "chip.h" |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
static const struct drivers_intel_touch_config elan_touch_config = { |
| 14 |
.sensor_dev_name = "ELAN Touch Sensor Device", |
| 15 |
.dev_hidi2c = { |
| 16 |
.hid = "ELAN9048", |
| 17 |
.cid = "PNP0C50", |
| 18 |
.intf.hidi2c.addr = 0x16, |
| 19 |
.intf.hidi2c.descriptor_address = 0x1 |
| 20 |
}, |
| 21 |
.dev_hidspi = { |
| 22 |
.hid = "ELAN904A", |
| 23 |
.cid = "PNP0C51", |
| 24 |
.intf.hidspi.input_report_header_address = 0x1000, |
| 25 |
.intf.hidspi.input_report_body_address = 0x1100, |
| 26 |
.intf.hidspi.output_report_address = 0x2000, |
| 27 |
.intf.hidspi.read_opcode = 0xb, |
| 28 |
.intf.hidspi.write_opcode = 0x2, |
| 29 |
}, |
| 30 |
}; |
| 31 |
|
| 32 |
#endif |