Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
enum:
- novatek,nt11205-ts
- novatek,nt36672a-ts
- novatek,nt36672a-e7t-ts

reg:
maxItems: 1
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
status = "okay";

touchscreen@1 {
compatible = "novatek,nt36672a-ts";
compatible = "novatek,nt36672a-e7t-ts";
reg = <0x1>;
iovcc-supply = <&vreg_l11a_1p8>;
interrupts-extended = <&tlmm 67 IRQ_TYPE_EDGE_RISING>;
Expand Down
7 changes: 7 additions & 0 deletions drivers/input/touchscreen/novatek-nvt-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,23 @@ static const struct nvt_ts_i2c_chip_data nvt_nt36672a_ts_data = {
.chip_id = 0x08,
};

static const struct nvt_ts_i2c_chip_data nvt_nt36672a_e7t_ts_data = {
.wake_type = 0x02,
.chip_id = 0x08,
};

static const struct of_device_id nvt_ts_of_match[] = {
{ .compatible = "novatek,nt11205-ts", .data = &nvt_nt11205_ts_data },
{ .compatible = "novatek,nt36672a-ts", .data = &nvt_nt36672a_ts_data },
{ .compatible = "novatek,nt36672a-e7t-ts", .data = &nvt_nt36672a_e7t_ts_data },
{ }
};
MODULE_DEVICE_TABLE(of, nvt_ts_of_match);

static const struct i2c_device_id nvt_ts_i2c_id[] = {
{ "nt11205-ts", (unsigned long) &nvt_nt11205_ts_data },
{ "nt36672a-ts", (unsigned long) &nvt_nt36672a_ts_data },
{ "nt36672a-e7t-ts", (unsigned long) &nvt_nt36672a_e7t_ts_data },
{ }
};
MODULE_DEVICE_TABLE(i2c, nvt_ts_i2c_id);
Expand Down
Loading