From nobody Tue Feb 10 00:38:54 2026 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 6008E261388 for ; Mon, 21 Apr 2025 10:13:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745230390; cv=none; b=Brpn1/iYT8kKoikDzYF1apVAxfqDnXEg2VReom81vTEeSZFq2wz8pL8atttwW8YLkXbsE2ncLp+Cc030IzIGF24+OSdNf4kLGzLTwWVXRRxXYWNiGqVMK13UbmXQOO6qbAzqUxdvZtxXqkY2+lWK4XY6splra9JctHmpQt4cLXo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745230390; c=relaxed/simple; bh=/aJIi6jFMkCKzafBM/nNKdpS5PB1CaOQsX/+a6oYEE8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XuyvTIY5zcLZbsl6tS1cALY6UHFvZpus8aTs/aQA9VJxZBqCR4QuM0iDUYNDmvW6lCGvdhPHk/QexChkYs0qe2XIvLUdD2iC0qwayjo4y18ouB0pR5P1F6QM9/a6I9uJdO8tioiiM8v0SI7Df4oEVVOr2N0NKRyzWwxnu1h6DSg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=nrNsPetc; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="nrNsPetc" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-223fd89d036so46038015ad.1 for ; Mon, 21 Apr 2025 03:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1745230389; x=1745835189; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5gUKhgL8xbYN2S+4GVogDZp2nilBSVWla8H/MwRjdFI=; b=nrNsPetc1P6pjHcKQE6jVWfeBbcIqd2YzbVeDnQeRiGGcXGGyA6hazixZY/aMsSHNr U7x1TwQN4c10LhBHIKBE4R4G5JLOMatYkOO8OVxxBjMBqGFWi3s5ephs9/IfU3pZCCAn hrzmRlYIlXVK8xFRILuMDhgsBAW7j0FFsagGQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745230389; x=1745835189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5gUKhgL8xbYN2S+4GVogDZp2nilBSVWla8H/MwRjdFI=; b=nZAhZ3v9lHMxteUG/DvUSKdqPq/MoXqT6Wi34qtGFUDhAJEhMMB/23p+rtbWXtWDo8 5RZ31uacc7WQe1aSgMrU2b6eJRKUTkC08+jLP50XO6y8o62pSTP6tsbM4xhRwoCUvFC5 XFlNkFr3v0F8RqibqGEUuS+KybpHuBtLvl352dy4+VR71aEMS7YSwIJD1DSOkoPHJ7Qa rCjLABE44elqkhn9lJX6yW2PU4yBGYqYv+D4fyhB/94V5jjN3m6LWaMlptMYGee9b0EE gXWOqlfAiQ8i5QpjHk+IlLp5+tJ6rFQeZSQupp81HHEVDG2UDZkq0jbyGwXy6yfpMODB GyYA== X-Forwarded-Encrypted: i=1; AJvYcCWszNEZ8xx5exEqPw4HJqn85Nr0DPSNqOfdRnhqa/YVuyAKH0t/mc77qt5CJB49y73yO3bc1HftEzDMCJ0=@vger.kernel.org X-Gm-Message-State: AOJu0YzjU9TQwV5X7IQ2UE4l003weto+GnbGhXJp3kvjYzLCUb1NUH3j nojbrIZdx6zsCISA6/U86ndOgaj5jClCUInjAj9Oe2VW1JhoAWhlP9fQ1pbClw== X-Gm-Gg: ASbGncszw04sBrvz3Jj6enrQ/3R5omxl4qXr5VpJjqRUBy68xSU3inz8Z5M6iwZv+1d oyuxIQDlI8UDGRm9MvyfxOdFMey2ZT1ObbliHS1z2nLbRTfZEf2n3CQIHcyCTdlXAnoc/Bnp5Ah Ekvt1S6AiVy0e2ACw7coC7Xn2sDknYKAQ7yseA+cD3yevxQ2klDpD5eQw2A/glk7GTHbxIGOkCg wGKV/8iBuOx9hVTPV0ck6emg2O9oNS9pq+2zmv1rMDy/UKLKgTNFcsBb7zSpzt2XoGN9JcI/Em5 bWsasnN0waNRBXMPAebwsBYhmwMeft3XvqO5c7K1iYLi1V+m/RxfwlYbFPc= X-Google-Smtp-Source: AGHT+IEkr0EFkCj5J6CNLSHPTa49yKoitttF/R1BiDswDnBiG+hklRUae4FmkHmy3Ilt86P50nrk5g== X-Received: by 2002:a17:902:f78c:b0:215:9bc2:42ec with SMTP id d9443c01a7336-22c5361fcedmr148300365ad.47.1745230388644; Mon, 21 Apr 2025 03:13:08 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:7633:f42a:d31d:3f9c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22d78db8b04sm38985205ad.238.2025.04.21.03.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Apr 2025 03:13:08 -0700 (PDT) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Benson Leung , Tzung-Bi Shih , Dmitry Torokhov Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, chrome-platform@lists.linux.dev, linux-input@vger.kernel.org, Douglas Anderson Subject: [PATCH v2 1/8] dt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18 Date: Mon, 21 Apr 2025 18:12:39 +0800 Message-ID: <20250421101248.426929-2-wenst@chromium.org> X-Mailer: git-send-email 2.49.0.805.g082f7c87e0-goog In-Reply-To: <20250421101248.426929-1-wenst@chromium.org> References: <20250421101248.426929-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Elan eKTH8D18 touchscreen controller is an I2C HID device with a longer boot-up time. Power sequence timing wise it is compatible with the eKTH6A12NAY, with a power-on delay of at least 5ms, 20ms out-of-reset for I2C ack response, and 150ms out-of-reset for I2C HID enumeration, both shorter than what the eKTH6A12NAY requires. Enumeration and subsequent operation follows the I2C HID standard. Add a compatible string for it with the ekth6a12nay one as a fallback. No enum was used as it is rare to actually add new entries. These chips are commonly completely backward compatible, and unless the power sequencing delays change, there is no real effort being made to keep track of new parts, which come out constantly. Also drop the constraints on the I2C address since it's not really part of the binding. Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring (Arm) --- Changes since v1: - Reworded commit message - Dropped the enum for the new compatible string entry - Dropped constraint on I2C address completely --- .../devicetree/bindings/input/elan,ekth6915.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/D= ocumentation/devicetree/bindings/input/elan,ekth6915.yaml index cb3e1801b0d3..0840e4ab28b7 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -4,14 +4,14 @@ $id: http://devicetree.org/schemas/input/elan,ekth6915.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Elan eKTH6915 touchscreen controller +title: Elan I2C-HID touchscreen controllers =20 maintainers: - Douglas Anderson =20 description: - Supports the Elan eKTH6915 touchscreen controller. - This touchscreen controller uses the i2c-hid protocol with a reset GPIO. + Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers. + These touchscreen controller use the i2c-hid protocol with a reset GPIO. =20 allOf: - $ref: /schemas/input/touchscreen/touchscreen.yaml# @@ -23,12 +23,14 @@ properties: - enum: - elan,ekth5015m - const: elan,ekth6915 + - items: + - const: elan,ekth8d18 + - const: elan,ekth6a12nay - enum: - elan,ekth6915 - elan,ekth6a12nay =20 - reg: - const: 0x10 + reg: true =20 interrupts: maxItems: 1 --=20 2.49.0.805.g082f7c87e0-goog