dt-bindings: input: melfas,mms114: add MMS252 compatible

Add a compatible for MMS252 touchscreen which appears to work fine with
the MMS114 driver.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bryant Mairs <bryant@mai.rs>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231105204759.37107-2-bryant@mai.rs
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Luca Weiss 2024-01-22 19:33:35 -08:00 committed by Dmitry Torokhov
parent ab30e1a93c
commit 55067a4910

View File

@ -17,13 +17,17 @@ properties:
pattern: "^touchscreen(@.*)?$"
compatible:
items:
oneOf:
- enum:
- melfas,mms114
- melfas,mms134s
- melfas,mms136
- melfas,mms152
- melfas,mms345l
- items:
- enum:
- melfas,mms252
- const: melfas,mms114
reg:
description: I2C address