Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rtp: rtp@1c24800 {
- compatible = "allwinner,sun4i-a10-ts";
- reg = <0x01c24800 0x100>;
- interrupts = <20>;
- #thermal-sensor-cells = <0>;
- pinctrl-0 = <&rtp_pins>;
- pinctrl-names = "default";
- status = "disabled";
- allwinner,ts-attached;
- /* sensitive/noisy touch panel */
- allwinner,tp-sensitive-adjust = <0>;
- allwinner,filter-type = <3>;
- };
- static const struct of_device_id sun4i_ts_of_match[] = {
- { .compatible = "allwinner,sun4i-a10-ts", },
- { .compatible = "allwinner,sun5i-a13-ts", },
- { .compatible = "allwinner,sun6i-a31-ts", },
- { /* sentinel */ }
- };
- MODULE_DEVICE_TABLE(of, sun4i_ts_of_match);
- static struct platform_driver sun4i_ts_driver = {
- .driver = {
- .name = "sun4i-ts",
- .of_match_table = sun4i_ts_of_match,
- },
- .probe = sun4i_ts_probe,
- .remove = sun4i_ts_remove,
- };
Advertisement
Add Comment
Please, Sign In to add comment