The mms114 driver now supports MMS345L; document the melfas,mms345l binding that is used for it. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Andi Shyti <andi@etezian.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200423102431.2715-2-stephan@gerhold.net Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
43 lines
977 B
Plaintext
43 lines
977 B
Plaintext
* MELFAS MMS114/MMS152/MMS345L touchscreen controller
|
|
|
|
Required properties:
|
|
- compatible: should be one of:
|
|
- "melfas,mms114"
|
|
- "melfas,mms152"
|
|
- "melfas,mms345l"
|
|
- reg: I2C address of the chip
|
|
- interrupts: interrupt to which the chip is connected
|
|
- touchscreen-size-x: See [1]
|
|
- touchscreen-size-y: See [1]
|
|
|
|
Optional properties:
|
|
- touchscreen-fuzz-x: See [1]
|
|
- touchscreen-fuzz-y: See [1]
|
|
- touchscreen-fuzz-pressure: See [1]
|
|
- touchscreen-inverted-x: See [1]
|
|
- touchscreen-inverted-y: See [1]
|
|
- touchscreen-swapped-x-y: See [1]
|
|
|
|
[1]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
/* ... */
|
|
|
|
touchscreen@48 {
|
|
compatible = "melfas,mms114";
|
|
reg = <0x48>;
|
|
interrupts = <39 0>;
|
|
touchscreen-size-x = <720>;
|
|
touchscreen-size-y = <1280>;
|
|
touchscreen-fuzz-x = <10>;
|
|
touchscreen-fuzz-y = <10>;
|
|
touchscreen-fuzz-pressure = <10>;
|
|
touchscreen-inverted-x;
|
|
touchscreen-inverted-y;
|
|
};
|
|
|
|
/* ... */
|
|
};
|