From nobody Wed Feb 11 02:12:18 2026 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 7E29E148315 for ; Tue, 16 Jul 2024 08:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721118556; cv=none; b=KyxX3ulKt1l5hHFUoo012yqJEYZFJAJOzcGfyzdlxceOx4S7dWe5Vi31XeDCWamFFV8smon5SOoqh08cc1e/fbQlENSrhwt7UFjnuRvOFvoImN9ZcrrSp62AFQYQFsRO5pciYOtC4tTagW6CTwJAvVaBfHw+koQ49ZyErZ7ow3w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721118556; c=relaxed/simple; bh=YPjoDTHK2f2Gmo3FLscRhiM7OSjHCYpEbwln7GQCNew=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=ghrWBwI8pR1AbCwZC1TVwuUSbxafxjH3C5esUmYH11V9/ftdnsGLv58wreyVUlcqi95JsOWmexazJcsWj5zcsXn1VWXv6wzFPNnFHLssrFLaN+lZ4dBV7IF63qh9lXALMjzpeTKIvWkOJvTM5EPPqzfrL/SJ0XeOdjwN/PfxP1k= 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=T/FSo5i9; arc=none smtp.client-ip=209.85.210.180 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="T/FSo5i9" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-70b703eda27so2177074b3a.3 for ; Tue, 16 Jul 2024 01:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1721118554; x=1721723354; 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=F4VscS3YS8kYjDJ/yOGc674uy9N5r6MdDESLHfUey0s=; b=T/FSo5i9myGtXkXgKZff84mN3BjNhMV9nKd2wDOT/qYpIBHZZ6OLcCU6GODqHq1vd2 PWOSMzVMDpZcjYNCW3KqWHSlEaxDVXNSixnIf1R2RP7thvcIpiTKoCTj6SPrRopNFgNo eG9lpTx8XA4QmxLfwC47W0syqWeOxR2MOrs544AooZHI0hnbjQ7mjtQoZe75sTPhdeEy JYr/+k0iJUkYq6tSWmpJ51K86fVvq3KBJW9WpEC9NlB1kTx03vvxHasJ+asd8wZ4ZcFj tjBrSctcdXuQtyvZG/LjTCpvI8hxmDzFw6JP7yMViOEYFnBrf7CHXFFD7k1oIOU5TBLI YqNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721118554; x=1721723354; 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=F4VscS3YS8kYjDJ/yOGc674uy9N5r6MdDESLHfUey0s=; b=w0FdLranK5/VQk49R+8gdmcbBsHgQyjGZxDdVTOroVI/+yPX+8hPAQe9Qagvdz4DQa eWlDem0Qk0hj1ABRURZ4WLqVBX/wIalsNKkt3daPk7wuEnWRBNq8vhn1dw+y1AvXhpmw G3BizChIbYT7gfdBpn2NaXg+fDfWigFfpFDuboLQz9p5hMPvKUsaRizdHzw307xEGFkv j8rzJo5+pP/OH8ylm0pf/DGtZc2KqojkgR7kRI+RRxRM3eBPGk6YTEU5nN7NUHJZ2yl7 1yX3tw7C3XgbmH6GN+mEVhZos2j0RGssgZluI6mjdr7BYd2AgUUcTXkHbO/TpMdzVgc5 BIzA== X-Forwarded-Encrypted: i=1; AJvYcCXli16zVcIocmdw5CNRF+s4Yyle8OXkQo0qn6oQFJMKGYmetOMiYmSNPV/zbBRmCV9IZC8WzXXAwIFBTP7UhNoLDaLWjqtl6mKqpc6r X-Gm-Message-State: AOJu0YwZej3vUYLzwAbCLggHkB3PiraAk9xMyM0S6miWh0BZ88glPqTq 7l4/RDudcYPme1hfJCXYmXHS4DroJPiM348foJ5GNVrNmZDRz2ntS6s+lLthKOI= X-Google-Smtp-Source: AGHT+IFH6uGCvMKeaGDMTFjXeKuRtBVJAm84izd2QqVH5X35wOUvL96rbDdtUAUyInj3udsao+qpmA== X-Received: by 2002:a05:6a00:9a7:b0:705:a450:a993 with SMTP id d2e1a72fcca58-70c1fbda81fmr1838471b3a.17.1721118553689; Tue, 16 Jul 2024 01:29:13 -0700 (PDT) Received: from lvzhaoxiong-KLVC-WXX9.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7ec7e110sm5714347b3a.121.2024.07.16.01.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 01:29:13 -0700 (PDT) From: Zhaoxiong Lv To: dmitry.torokhov@gmail.com, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jikos@kernel.org, bentiss@kernel.org, linus.walleij@linaro.org, dianders@chromium.org, hsinyi@google.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Zhaoxiong Lv Subject: [PATCH v3 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing Date: Tue, 16 Jul 2024 16:28:51 +0800 Message-Id: <20240716082851.18173-3-lvzhaoxiong@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240716082851.18173-1-lvzhaoxiong@huaqin.corp-partner.google.com> References: <20240716082851.18173-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. Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 2. No changes. v2: https://lore.kernel.org/all/20240715073159.25064-3-lvzhaoxiong@huaqin.c= orp-partner.google.com/ Changes between V2 and V1: - 1. No changes. v1: https://lore.kernel.org/all/20240704085555.11204-3-lvzhaoxiong@huaqin.c= orp-partner.google.com/ --- 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 091e37933225..3fcff6daa0d3 100644 --- a/drivers/hid/i2c-hid/i2c-hid-of-elan.c +++ b/drivers/hid/i2c-hid/i2c-hid-of-elan.c @@ -152,6 +152,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, @@ -174,6 +181,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