M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,137 @@
Atmel touch controller
Required properties:
- compatible : should be "atmel,mxt-ts"
- reg : i2c slave address of the device
- interrupt-parent : parent of interrupt
- interrupts : touch sample interrupt to indicate presense or release
of fingers on the panel.
- atmel,panel-coords : touch panel minimum x, minimum y, maximum x and
maximum y resolution
- atmel,display-coords : LCD display minimum x, minimum y, maximum x and
maximum y resolution
- vdd_ana-supply : Analog power supply needed to power device
- atmel,irq-gpio : irq gpio
- atmel,reset-gpio : reset gpio
- atmel,family-id : family identification of the controller
- atmel,variant-id : variant identification of the controller
- atmel,version : firmware version of the controller
- atmel,build : firmware build number of the controller
Required for firmware update only:
- atmel,fw-name : firmware name to use for flashing firmware
- atmel,bootldr-id : bootloader identification of the controller
Optional property:
- atmel,bl-addr : bootloader address, by default is looked up
in mxt_slave_addresses structure
- atmel,config : configuration parameter for the controller
- atmel,i2c-pull-up : specify to indicate pull up is needed
- vcc_i2c-supply : Power source required to pull up i2c bus
- atmel,dig-reg-support : specify to indicate digital regulator is
needed
- atmel,need-calibration : specify to indicate whether calibration is
needed during wakeup.
- atmel,no-force-update : flag that signifies whether force configuration
update is applicable or not
Example:
i2c@f9966000 {
cell-index = <3>;
compatible = "qcom,i2c-qup";
reg = <0xf9966000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
reg-names = "qup_phys_addr";
interrupts = <0 104 0>;
interrupt-names = "qup_err_intr";
qcom,i2c-bus-freq = <100000>;
qcom,i2c-src-freq = <24000000>;
atmel_mxt_ts@4a {
compatible = "atmel,mxt-ts";
reg = <0x4a>
interrupt-parent = <&msmgpio>
interrupts = <48 0x0>;
vdd_ana-supply = <&pm8941_l18>;
vcc_i2c-supply = <&pm8941_lvs1>;
atmel,panel-coords = <0 0 479 799>;
atmel,display-coords = <0 0 479 799>;
atmel,i2c-pull-up;
atmel,no-force-update;
atmel,dig-reg-support;
atmel,key-codes = <
102 139 0 0 0 0 0 0
0 158 217 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 >;
atmel,irq-gpio = <&msmgpio 48 0>;
atmel,reset-gpio = <&msmgpio 26 0>;
atmel,cfg_1 {
atmel,family-id = <0x81>;
atmel,variant-id = <0x01>;
atmel,version = <0x10>;
atmel,build = <0xaa>;
atmel,config = [
/* Object 6, Instance = 0 */
00 00 00 00 00 00
/* Object 38, Instance = 0 */
15 00 02 10 08 0C 00 00
/* Object 7, Instance = 0 */
FF FF 32 03
/* Object 8, Instance = 0 */
0F 00 0A 0A 00 00 0A 00 00 00
/* Object 9, Instance = 0 */
83 00 00 18 0E 00 70 32 02 01
00 03 01 01 05 0A 0A 0A 90 05
F8 02 00 00 0F 0F 00 00 48 2D
07 0C 00 00 00 00
/* Object 15, Instance = 0 */
00 00 00 00 00 00 00 00 00 00
00
/* Object 18, Instance = 0 */
00 00
/* Object 19, Instance = 0 */
00 00 00 00 00 00
/* Object 23, Instance = 0 */
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
/* Object 25, Instance = 0 */
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
/* Object 40, Instance = 0 */
00 00 00 00 00
/* Object 42, Instance = 0 */
00 00 00 00 00 00 00 00 00 00
/* Object 46, Instance = 0 */
00 00 10 10 00 00 03 00 00 01
/* Object 47, Instance = 0 */
08 0A 28 0A 02 0A 00 8C 00 20
00 00 00
/* Object 55, Instance = 0 */
00 00 00 00 00 00
/* Object 56, Instance = 0 */
03 00 01 18 05 05 05 05 05 05
05 05 05 05 05 05 05 05 05 05
05 05 05 05 05 05 05 05 00 00
00 00 00 00 00 00 00 00 00 00
00 00
/* Object 57, Instance = 0 */
00 00 00
/* Object 61, Instance = 0 */
00 00 00 00 00
/* Object 61, Instance = 1 */
00 00 00 00 00
/* Object 62, Instance = 0 */
7F 03 00 16 00 00 00 00 00 00
04 08 10 18 05 00 0A 05 05 50
14 19 34 1A 64 00 00 04 40 00
00 00 00 00 30 32 02 00 01 00
05 00 00 00 00 00 00 00 00 00
00 00 0C 00
];
}
}
};

View File

@ -0,0 +1,53 @@
FocalTech touch controller
The focaltech controller is connected to host processor
via i2c. The controller generates interrupts when the
user touches the panel. The host controller is expected
to read the touch coordinates over i2c and pass the coordinates
to the rest of the system.
Required properties:
- compatible : should be "focaltech,5x06"
- reg : i2c slave address of the device
- interrupt-parent : parent of interrupt
- interrupts : touch sample interrupt to indicate presense or release
of fingers on the panel.
- vdd-supply : Power supply needed to power up the device
- vcc_i2c-supply : Power source required to power up i2c bus
- focaltech,family-id : family identification of the controller
- focaltech,irq-gpio : irq gpio which is to provide interrupts to host,
same as "interrupts" node. It will also
contain active low or active high information.
- focaltech,reset-gpio : reset gpio to control the reset of chip
- focaltech,display-coords : display coordinates in pixels. It is a four
tuple consisting of min x, min y, max x and
max y values
Optional properties:
- focaltech,panel-coords : panel coordinates for the chip in pixels.
It is a four tuple consisting of min x,
min y, max x and max y values
- focaltech,i2c-pull-up : to specify pull up is required
- focaltech,no-force-update : to specify force update is allowed
- focaltech,button-map : button map of key codes. The number
of key codes depend on panel
Example:
i2c@f9924000 {
ft5x06_ts@38 {
compatible = "focaltech,5x06";
reg = <0x38>;
interrupt-parent = <&msmgpio>;
interrupts = <61 0x2>;
vdd-supply = <&pm8941_l22>;
vcc_i2c-supply = <&pm8941_s3>;
focaltech,reset-gpio = <&msmgpio 60 0x00>;
focaltech,irq-gpio = <&msmgpio 61 0x00>;
focaltech,panel-coords = <0 0 480 800>;
focaltech,display-coords = <0 0 480 800>;
focaltech,button-map= <158 102 139 217>;
focaltech,family-id = <0x0a>;
};
};

View File

@ -0,0 +1,51 @@
Synaptics touch controller
Required properties:
- compatible : should be "synaptics,rmi4"
- reg : i2c slave address of the device
- interrupt-parent : parent of interrupt
- interrupts : touch sample interrupt to indicate presense or release
of fingers on the panel.
- synaptics,irq-gpio : irq gpio
- synaptics,reset-gpio : reset gpio
Optional property:
- vdd-supply : Analog power supply needed to power device
- vcc_i2c-supply : Power source required to pull up i2c bus
- synaptics,i2c-pull-up : specify to indicate pull up is needed
- synaptics,button-map : virtual key code mappings to be used
- synaptics,x-flip : modify orientation of the x axis
- synaptics,y-flip : modify orientation of the y axis
- synaptics,panel-x : panel x dimension
- synaptics,panel-y : panel y dimension
- synaptics,fw-image-name : name of firmware .img file in /etc/firmware
Example:
i2c@f9927000 { /* BLSP1 QUP5 */
cell-index = <5>;
compatible = "qcom,i2c-qup";
#address-cells = <1>;
#size-cells = <0>;
reg-names = "qup_phys_addr";
reg = <0xf9927000 0x1000>;
interrupt-names = "qup_err_intr";
interrupts = <0 99 0>;
gpios = <&msmgpio 19 0>, /* SCL */
<&msmgpio 18 0>; /* SDA */
qcom,i2c-bus-freq = <100000>;
qcom,i2c-src-freq = <19200000>;
synaptics@20 {
compatible = "synaptics,rmi4"
reg = <0x20>;
interrupt-parent = <&msmgpio>;
interrupts = <17 0x2>;
vdd-supply = <&pm8226_l19>;
vcc_i2c-supply = <&pm8226_lvs1>;
synaptics,reset-gpio = <&msmgpio 16 0x00>;
synaptics,irq-gpio = <&msmgpio 17 0x00>;
synaptics,button-map = [8B 66 9E];
synaptics,i2c-pull-up;
};
};