brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · a47c361 Raw
42 lines · plain
1* HiDeep Finger and Stylus touchscreen controller2 3Required properties:4- compatible		: must be "hideep,hideep-ts"5- reg			: I2C slave address, (e.g. 0x6C).6- interrupts : Interrupt to which the chip is connected.7 8Optional properties:9- vdd-supply	: It is the controller supply for controlling10					 main voltage(3.3V) through the regulator.11- vid-supply	: It is the controller supply for controlling12					IO voltage(1.8V) through the regulator.13- reset-gpios	: Define for reset gpio pin.14						It is to use for reset IC.15- touchscreen-size-x	: X axis size of touchscreen16- touchscreen-size-y	: Y axis size of touchscreen17- linux,keycodes	: Specifies an array of numeric keycode values to18			be used for reporting button presses. The array can19			contain up to 3 entries.20 21Example:22 23#include "dt-bindings/input/input.h"24 25i2c@00000000 {26 27	/* ... */28 29	touchscreen@6c {30		compatible = "hideep,hideep-ts";31		reg = <0x6c>;32		interrupt-parent = <&gpx1>;33		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;34		vdd-supply = <&ldo15_reg>;35		vid-supply = <&ldo18_reg>;36		reset-gpios = <&gpx1 5 0>;37		touchscreen-size-x = <1080>;38		touchscreen-size-y = <1920>;39		linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>;40	};41};42