Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 441DD2E542C for ; Thu, 25 Sep 2025 15:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758814312; cv=none; b=jWYV5j267h7S7TLpsKgtu9VZDRU44Xb4lV3t1Y1xMHsRSE4dryuB2xShJXGnhGMmxQP8P9MJpfyXa6Ri6wWz+ReRcxWx6HOMkdIGJnu0ehF3bhxF51uO9Q/zNiaUFe6+9Pyy65AiWQtAkbW1MnIoVlQAyFwm/21un/JI0FiX/B8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758814312; c=relaxed/simple; bh=ZgX4ZPQJsepw4/oMrvoAOpLc8zKM+owbJQqU9DnA/q8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T8bUOwRhgI2xop8eIMRootUvLrxHFCeV27x8Elvf+U1iFkS3Mhk5WJGOUCwgu/K9SHGx9VkZ62X9lptjmWzy4KnicIAu1DdnMSm43ASKB9PjQF+iBD9KP3GYYmSOICO9J2DqIWub5zqs23QGpKZsP8t85Ew9U0SSLXmxnJFdHcs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=aws2QwIz; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="aws2QwIz" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-afcb7322da8so220251266b.0 for ; Thu, 25 Sep 2025 08:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758814308; x=1759419108; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=N6M+kRPZnfzew0Cma8s8KKEI2zbCAKgyLYpFhhR2kq4=; b=aws2QwIzFM1yCKxP7y9/9Pz3i4H/aIbS1js3NV8YLMGJ77FPKZMRVfaKxMq4aQJizr o9Ipb36RRgBw2m+scwbgmRUY9I9/nLw9dUjBS9cKh9BJvHWHm1Pf36m7/6DFj/9R96RB YBeCBkElDhe31HCVU4mzMIADDdKrQ21kdbPsk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758814308; x=1759419108; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N6M+kRPZnfzew0Cma8s8KKEI2zbCAKgyLYpFhhR2kq4=; b=QKhusBWAsShORQXyfhvVeg1ZWBPCkVra0kjdCl3wGz7FX+KoEdRmN9BJs5hibSSsBO e0mH5+lhR4fMJwoObW5Ya4LubsZgPeWW/vnU53kb+qEIyd1hIn0+RgCRrLe4slyWIZ5Z XZSTeDPvFqVRTu43kXOV4LaC5bPxNQxrn3f+qf6Cs/rnBEhQptthytOBqsC8f7MfuoFU nu1UVnHm2HeINkw2CPXPcuJJZWqcdpvBxJHgQiF5DIW8yXRNp00iVEJZ/w7BRq8cSoup DkhUhCFgUbZihs99rGgD+3ShaZJSNSKZ/9NrKUexNw00QB+kX7mKq0Du70I3C6yfvbXG OA8g== X-Forwarded-Encrypted: i=1; AJvYcCVDDUa5lF1PcoS7AZfdkA7jJyQRxQwbyR+FnQURWIbqgKDnqCFY6TrtqxYg7etIV7HCAfaBH1vFLp7z@vger.kernel.org X-Gm-Message-State: AOJu0YyRm1P1rC17N4EEf+hw7FEyf5WDsTCxwgculfkTiJBmWkvg2Udr o37B7/lHY4sT14ApuVsK7Hi10CJnAq+5eBnJ1yXb+SNtK/aoLGiLuErpcMZ/37OaaWY= X-Gm-Gg: ASbGncukkZDW3jyRh8oCl0ZVFWsANx2sm1610+ObRlrTXc01/gYfjl/X0ChEsEYnpbb orDX3VzjYCtNtlrQh9RfFQNxJJE4Bij9OvTdBLtIOfE6eby0VgNNzYJc9zz2oE720Z0kRJkbP8Y yb9A6k25GzVqtsEkLmcO3SdhqL4Rc7IlKn7LL1jPQmA2CtcHPnN2y96zpGO3zATxD7meWb3F9B9 hYwn7tpaSDdWcU3MKMVVWbGm8Yhnh8IN8CsXrWz1teFglsRo/z/A56yO6VwAzTBbb9EvJPnhzq5 IAIdpvQz+K7YdbiBbhDVetXkS6EBdxak16Z1ZAmioSr2Lmc7OtkvAaHT6x58CnsqLU2LEzzVoj0 1K0IkyUvnxG4EefPerjG/aSGHiZ09fpqmBG8raz+Y09aL6W+/V6rBp97SFJmpWnebJiHZmLAHjZ MdDKmF2P+h1ivM+/D7pajaRqk81ZhWUMquft9oz8KD/tvvwy668HNS4rmH1Hq6Uk3D X-Google-Smtp-Source: AGHT+IFJ5RjszPrVn/momTP/VgXs6PvdsosumGKSnAuVSbcsK7vDz96xQNlT+VW8DiVuWKFGQ1fHPw== X-Received: by 2002:a17:907:2d8c:b0:b24:6396:c643 with SMTP id a640c23a62f3a-b34ba450628mr410897166b.23.1758814308519; Thu, 25 Sep 2025 08:31:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b36f410e129sm43924766b.89.2025.09.25.08.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Sep 2025 08:31:47 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: sebastian.reichel@collabora.com, linux-amarula@amarulasolutions.com, Dario Binacchi , Rob Herring , Conor Dooley , Dmitry Torokhov , Frank Li , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [linux-next PATCH v8 1/3] dt-bindings: touchscreen: convert eeti bindings to json schema Date: Thu, 25 Sep 2025 17:31:33 +0200 Message-ID: <20250925153144.4082786-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert EETI touchscreen controller device tree binding to json-schema. Signed-off-by: Dario Binacchi Reviewed-by: Rob Herring (Arm) --- Changes in v8: - fix conflicts after rebasing on linux-next where the patch dt-bindings: input: exc3000: move eeti,egalax_ts from egalax-ts.txt to eeti,exc3000.yaml has been merged. Changes in v7: - Add Reviewed-by tag of Rob Herring Changes in v6: - Add deprected to the compatible string and attn-gpios property - Put const 0x2a i2c address for reg property only in case of not eeti,exc3000-i2c. - Put false the attn-gpios property in case of not eeti,exc3000-i2c.. - Drop example for eeti,exc3000-i2c. Changes in v5: - Move bindings into eeti,exc3000.yaml - Remove eeti.yaml Changes in v2: - Added in v2 .../input/touchscreen/eeti,exc3000.yaml | 16 ++++++++-- .../bindings/input/touchscreen/eeti.txt | 30 ------------------- 2 files changed, 14 insertions(+), 32 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/eeti.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml index d19b07d4cfd4..930c70104b3f 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml @@ -16,12 +16,14 @@ properties: - const: eeti,exc80h60 - const: eeti,exc80h84 - const: eeti,egalax_ts # Do NOT use for new binding + - const: eeti,exc3000-i2c + deprecated: true - items: - enum: - eeti,exc81w32 - const: eeti,exc80h84 reg: - enum: [0x4, 0x2a] + enum: [0x4, 0xa, 0x2a] interrupts: maxItems: 1 reset-gpios: @@ -30,6 +32,12 @@ properties: maxItems: 1 vdd-supply: description: Power supply regulator for the chip + attn-gpios: + deprecated: true + maxItems: 1 + description: Phandle to a GPIO to check whether interrupt is still + latched. This is necessary for platforms that lack + support for level-triggered IRQs. touchscreen-size-x: true touchscreen-size-y: true touchscreen-inverted-x: true @@ -51,7 +59,9 @@ allOf: compatible: not: contains: - const: eeti,egalax_ts + enum: + - eeti,egalax_ts + - eeti,exc3000-i2c then: properties: reg: @@ -59,6 +69,8 @@ allOf: wakeup-gpios: false + attn-gpios: false + required: - touchscreen-size-x - touchscreen-size-y diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti.txt b/Documentation/devicetree/bindings/input/touchscreen/eeti.txt deleted file mode 100644 index 32b3712c916e..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/eeti.txt +++ /dev/null @@ -1,30 +0,0 @@ -Bindings for EETI touchscreen controller - -Required properties: -- compatible: should be "eeti,exc3000-i2c" -- reg: I2C address of the chip. Should be set to <0xa> -- interrupts: interrupt to which the chip is connected - -Optional properties: -- attn-gpios: A handle to a GPIO to check whether interrupt is still - latched. This is necessary for platforms that lack - support for level-triggered IRQs. - -The following optional properties described in touchscreen.txt are -also supported: - -- touchscreen-inverted-x -- touchscreen-inverted-y -- touchscreen-swapped-x-y - -Example: - -i2c-master { - touchscreen@a { - compatible = "eeti,exc3000-i2c"; - reg = <0xa>; - interrupt-parent = <&gpio>; - interrupts = <123 IRQ_TYPE_EDGE_RISING>; - attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; - }; -}; -- 2.43.0 base-commit: b5a4da2c459f79a2c87c867398f1c0c315779781 branch: drop-touchscreen