Guest User

Untitled

a guest
Jul 22nd, 2023
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. rtp: rtp@1c24800 {
  2. compatible = "allwinner,sun4i-a10-ts";
  3. reg = <0x01c24800 0x100>;
  4. interrupts = <20>;
  5. #thermal-sensor-cells = <0>;
  6. pinctrl-0 = <&rtp_pins>;
  7. pinctrl-names = "default";
  8. status = "disabled";
  9.  
  10. allwinner,ts-attached;
  11. /* sensitive/noisy touch panel */
  12. allwinner,tp-sensitive-adjust = <0>;
  13. allwinner,filter-type = <3>;
  14. };
  15.  
  16. static const struct of_device_id sun4i_ts_of_match[] = {
  17. { .compatible = "allwinner,sun4i-a10-ts", },
  18. { .compatible = "allwinner,sun5i-a13-ts", },
  19. { .compatible = "allwinner,sun6i-a31-ts", },
  20. { /* sentinel */ }
  21. };
  22. MODULE_DEVICE_TABLE(of, sun4i_ts_of_match);
  23.  
  24. static struct platform_driver sun4i_ts_driver = {
  25. .driver = {
  26. .name = "sun4i-ts",
  27. .of_match_table = sun4i_ts_of_match,
  28. },
  29. .probe = sun4i_ts_probe,
  30. .remove = sun4i_ts_remove,
  31. };
Advertisement
Add Comment
Please, Sign In to add comment