From nobody Mon Feb 9 16:26:47 2026 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 0D3E41AAE38 for ; Thu, 4 Jul 2024 08:56:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720083374; cv=none; b=DaohFt6ptyc+dE/SUBxkje/Hsf4qR4/vbF0moWHuUySTVhY9aLLaMWTNbVR0gop/kpF8d2mCuDUc4Fq/7j3jQpyCXNQnDih6Fvq/I6Q+xstHCqIJZQgI63Rbi3pPGFNomYQdbJo5nmuwS33RZUvvTd0v8drVg2evPoHv39uqpXI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720083374; c=relaxed/simple; bh=9rbo2ZRBzodp82ZciMVusZrttJF4hyK822ekrX/stwA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=lCJoMev8EXbKNG5qf5jHLKOHJQ7RVsBwwfsmjS7ou6LLpExxM0o1WyvTdvRyrf9bf9O1t91NInaGD+hQu5smKmsT/yucrAjPWQSZ4NOQMynzVi9OCFlCf/wHwOvnX6W4VUzbApfc1Dfg6MjaJJheR+kgOjhZ6PYLtcEF4kjOUSk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=CjHMUhDF; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="CjHMUhDF" Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2c9a1ea8cc3so137533a91.0 for ; Thu, 04 Jul 2024 01:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1720083372; x=1720688172; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=HU6hvuxuaxwFr3kU7mCJAsHrIdHyV6zPoRNePKzbdwk=; b=CjHMUhDFMiCl0cCEaveOfKfeICaIBlQ+68LCEsJEru/lPnuBeAGRFaeNIPqz3t3LhV vbBR8SiOOH9/anic31sNwBJKYuF1oGE/oGD2kK3EzuaV1cvZcXmWvgQVu8TFlwfKg7Wa Mu5/pGQye2PLeeU19tma4vJQKYPbj0xrTKBlhtTGLYH2wWL4b3U9Y8e02V3UYZNdXFL9 UOaU4cK1sh2mXVF8FgXhv+V9le3Xf2irKGdetrxHYdY5SpPg0Z69zdDZNlyieveq/7Ic nkYjygU8da7cSZ166b9a7Y5Ccyshq1qoq8F5S67dLDfQVjVWvEQqKzi9cCWeF4zjfBL1 1Iig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720083372; x=1720688172; h=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=HU6hvuxuaxwFr3kU7mCJAsHrIdHyV6zPoRNePKzbdwk=; b=Vvem/7AbpVueLJ2VTzRXE7yxsRzzL4lvmNtuH6h77499cyo/iLgIbsqfbrDAdpLVuz vQaYGggidAWLs7rtpGmgIwkVNIzILR0nQln8BX7pjAUtboVmGGeJDz4Z0NMEwNwuHh1B ybKJHKeRhhwW15l4OpQaLyHxKnIT6t+FhOof0MxEq0a6f5iB+yU1DcDpKi4tpRNkGQXB VbgaA9HlKmi2rJV75bl6+TKbzDtmt7jFBcgkb7cVys49EB15yOV+0pJ7wV4lpYvbdT61 mhth5uwQugl8uoquy50efOIwF6plAhy4UTSoXldMg9+4oxo39PIA7QU9VLSE0s1U774k HErA== X-Forwarded-Encrypted: i=1; AJvYcCVvXNZsqMwEpzdREi1XJyPVfcjSPp9v0hZ1YUy9praTa7DLcOzOvNtnIoBwueN9rvr2iHdh8ZxAId5bdNt5Q1DpGDN3WZaZ1zLtkAc1 X-Gm-Message-State: AOJu0YwRL1wM1g+mVEcBYo3op7naM3PGR5MQGmokT+/2qeu9xCtgiu8s DKyU5SzlL684CZJZarNTFGWTkRSoE/DZJT8MbJEE1Djh0L4PxJPxfN64qte5cUU= X-Google-Smtp-Source: AGHT+IGpMVM87ZSRHOmVDMb+jxuKrOdkzBfFepNQcYRIQF1P/x7zZM5uBxlC8GAU8SWrioNhjW/vDw== X-Received: by 2002:a17:90a:898e:b0:2c9:6abd:ca64 with SMTP id 98e67ed59e1d1-2c99f325530mr1191127a91.9.1720083372432; Thu, 04 Jul 2024 01:56:12 -0700 (PDT) Received: from lvzhaoxiong-KLVC-WXX9.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c99a97282csm962572a91.20.2024.07.04.01.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 01:56:12 -0700 (PDT) From: Zhaoxiong Lv To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jikos@kernel.org, bentiss@kernel.org, linus.walleij@linaro.org, dianders@google.com, hsinyi@google.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Zhaoxiong Lv Subject: [PATCH v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay Date: Thu, 4 Jul 2024 16:55:54 +0800 Message-Id: <20240704085555.11204-2-lvzhaoxiong@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240704085555.11204-1-lvzhaoxiong@huaqin.corp-partner.google.com> References: <20240704085555.11204-1-lvzhaoxiong@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The Elan ekth6a12nay touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Signed-off-by: Zhaoxiong Lv Acked-by: Conor Dooley --- Documentation/devicetree/bindings/input/elan,ekth6915.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/D= ocumentation/devicetree/bindings/input/elan,ekth6915.yaml index dc4ac41f2441..0bbf9dd7636e 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -20,6 +20,7 @@ properties: compatible: enum: - elan,ekth6915 + - elan,ekth6a12nay - ilitek,ili2901 =20 reg: --=20 2.17.1 From nobody Mon Feb 9 16:26:47 2026 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 EBB8841A8F for ; Thu, 4 Jul 2024 08:56:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720083380; cv=none; b=gVS597kx9d2d3UEnYpRyAmoJbddmSrAxWBY+08k5eM4yeOOQrBM0Toy14NjxSpyS0/j161ibVAy07SyPPJSpzxMivKokpkAZVRdWVRAEWw52N+Uihydtjt09LECJQhiFApjCzMLJ3s7n64GsYviRg4gRfPZ8RFEpz0y+StELbhY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720083380; c=relaxed/simple; bh=CRdWUwCRyI1JhBwhYUQ6hDGwcJ5/bGQgK2HmaJznpZU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=pis/yoGSHe7/EF8RkCipFeuNHPEp1WmdLzkMYfLpQgnvPn1iF4FBIsUDoH4Gl0uYbrI6Qtlm+ViA2TDoRDOqRcCHNJT6RawGe/1gRUmX4/N2r5/qefT9FZSygso+KcMtiUVQ2+HxGBGURpwWDX31475ops2YXZ1BSE+1vwSzBqk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=jIluwGGP; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="jIluwGGP" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-70aec66c936so340109b3a.0 for ; Thu, 04 Jul 2024 01:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1720083377; x=1720688177; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=0ToLUUEZ2Win4F6MM5JYbPtX/w+pNIaPEVcPy4RNxHU=; b=jIluwGGPHiucYLe5R9PzC1Y9dQDuruXdQlDJFtXvoFcOqPtfEGdacWj1JSf+Nuck0v xTjxhDFeTZIlj9ZC0vXSZww6ksl45qOb8JeRz4OB16RuLFCz/+fB5CDhJRXsbPOWy0t6 xkKhKcwgvlPqZb7OhRth3YQE2iyxaTVXHwlcab3rg9yJvSDovxec5kTExvVesvjohNTh 0bH/QMr0yeF9ukgMMg/R3Ogqk2C++bUlZMvKowRAoQvLt9OukrIrYYGPfvQhwHpwjIB2 jF7B3lJ1e4zyF4oGXhPjg4YWp8G1A13ihsBKsoANoEbmYNV+E4VdBt7wzRPuLc0dEQE7 c61w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720083377; x=1720688177; h=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=0ToLUUEZ2Win4F6MM5JYbPtX/w+pNIaPEVcPy4RNxHU=; b=t2R/E0uC9S2a308mH/ObSvPTJkH7hSQ1iB3VJuom3KD4QbT+dQ1mKrNlGgZZXnSH7d qFhk5QYGbHa8b/LG9/hDkNdgXDYHxaJWE+089IAuXPvt9JA2AUR9ZBfTLg5ZARDpQKNw C+RI7syZoCtG24pURnuh0n7885f8TJ5/j5FnLiANNtAavBB87UaacCzV6IZ4F1/6BvKn t1+ZI8oeH0NXiIRsPjSp6Rn9Ct0TC/a0Au9YLwYfqU3FwSpTNSc5bYkiXOSvHFjyASG+ TDmByQXqiwSN/0CQ4YrArrhkMLROk6D5UesWPMx6LWG8+/8eXnQ0qznepl6hKvcsu7HE T9Tg== X-Forwarded-Encrypted: i=1; AJvYcCWYYhcVKVRwCdEA7zZS/+Dd4PsAa3+cS5XE4EaBWUo9msnvAywN6xOdo7gFmN/kdiHWizbC8VMkL6+BHV8oajAK+w5c1MKRQBn9i0uJ X-Gm-Message-State: AOJu0Yz+9Hf0g+RY5jyDAx0CcTAEOjwDXJBWC/4HJczXN4U76Pr7bI+M dQ9lV1x+Zrhs6FiyOTa0iOh1dkjKNa4Et9zWMAcVNUiu3n/Bpgt/7z0c/zKC7Cc= X-Google-Smtp-Source: AGHT+IHk4DZ5r6UUa4v9JNFYiBDBi9gqaoVpmIGPorkP0IW579Pjng8UBJRLOYyiPXcSuoF4cwKLaw== X-Received: by 2002:a05:6a20:9146:b0:1bd:291a:4c80 with SMTP id adf61e73a8af0-1c0cc742e71mr913122637.17.1720083377082; Thu, 04 Jul 2024 01:56:17 -0700 (PDT) Received: from lvzhaoxiong-KLVC-WXX9.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c99a97282csm962572a91.20.2024.07.04.01.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 01:56:16 -0700 (PDT) From: Zhaoxiong Lv To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jikos@kernel.org, bentiss@kernel.org, linus.walleij@linaro.org, dianders@google.com, hsinyi@google.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Zhaoxiong Lv Subject: [PATCH v1 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing Date: Thu, 4 Jul 2024 16:55:55 +0800 Message-Id: <20240704085555.11204-3-lvzhaoxiong@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240704085555.11204-1-lvzhaoxiong@huaqin.corp-partner.google.com> References: <20240704085555.11204-1-lvzhaoxiong@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Signed-off-by: Zhaoxiong Lv Reviewed-by: Douglas Anderson --- drivers/hid/i2c-hid/i2c-hid-of-elan.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hid/i2c-hid/i2c-hid-of-elan.c b/drivers/hid/i2c-hid/i2= c-hid-of-elan.c index 5b91fb106cfc..ea91028bb971 100644 --- a/drivers/hid/i2c-hid/i2c-hid-of-elan.c +++ b/drivers/hid/i2c-hid/i2c-hid-of-elan.c @@ -117,6 +117,13 @@ static const struct elan_i2c_hid_chip_data elan_ekth69= 15_chip_data =3D { .main_supply_name =3D "vcc33", }; =20 +static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data =3D { + .post_power_delay_ms =3D 10, + .post_gpio_reset_on_delay_ms =3D 300, + .hid_descriptor_address =3D 0x0001, + .main_supply_name =3D "vcc33", +}; + static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data =3D { .post_power_delay_ms =3D 1, .post_gpio_reset_on_delay_ms =3D 200, @@ -139,6 +146,7 @@ static const struct elan_i2c_hid_chip_data ilitek_ili29= 01_chip_data =3D { =20 static const struct of_device_id elan_i2c_hid_of_match[] =3D { { .compatible =3D "elan,ekth6915", .data =3D &elan_ekth6915_chip_data }, + { .compatible =3D "elan,ekth6a12nay", .data =3D &elan_ekth6a12nay_chip_da= ta }, { .compatible =3D "ilitek,ili9882t", .data =3D &ilitek_ili9882t_chip_data= }, { .compatible =3D "ilitek,ili2901", .data =3D &ilitek_ili2901_chip_data }, { } --=20 2.17.1