Re: [PATCH 2/3] input/touchscreen: imagis: Add supports for Imagis IST3038

From
Krzysztof Kozlowski <hidden>
Date
2024-06-12 08:03:10
Also in
linux-devicetree, lkml
Reply to
Raymond Hackley, 2024-06-12
On 12/06/2024 05:21, Raymond Hackley wrote:
quoted hunk ↗ jump to hunk
+
 static const struct imagis_properties imagis_3038b_data = {
-	.interrupt_msg_cmd = IST3038B_REG_STATUS,
-	.touch_coord_cmd = IST3038B_REG_STATUS,
+	.interrupt_msg_cmd = IST30XX_REG_STATUS,
+	.touch_coord_cmd = IST30XX_REG_STATUS,
 	.whoami_cmd = IST3038B_REG_CHIPID,
 	.whoami_val = IST3038B_WHOAMI,
 };
@@ -415,6 +429,7 @@ static const struct imagis_properties imagis_3038c_data = {
 #ifdef CONFIG_OF
 static const struct of_device_id imagis_of_match[] = {
 	{ .compatible = "imagis,ist3032c", .data = &imagis_3032c_data },
+	{ .compatible = "imagis,ist3038", .data = &imagis_3038_data },
Where is the binding? Compatibles must be documented BEFORE they are used.

Best regards,
Krzysztof
Thread (8 messages) 8 messages, 3 authors, last reply 2024-06-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help