From nobody Mon Feb 9 21:04:32 2026 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 BF98A13B293 for ; Tue, 16 Jul 2024 08:29:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721118551; cv=none; b=Qmn3ztE5UfOiFRaUivGZD2zMl/XdU670ZXW75QO5OxvON8zgZg8hTh52lj1yUBoA89bFYjIr+RE1/z8KvFEBaRhqlwUI9ixoUG/BtPPx1JS3T/FJVTdq5WNjh3fDmgqlqZrN5ZzVHC5YJ+IsZs/O9FKa2OBC4NDKT0xSwRIsumM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721118551; c=relaxed/simple; bh=sMB82OguDZsIsb9IELWDCVXbHCAu/5+FMCSt1zJ5C3o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=NdN+g0emggA6U2O5uLT8Vu32LPZdi8DeTKs9OgDyFjnqZEuh4JnNkYXr5IAA1qn/eYGzpLWzSO9smzwp5zkNlMxzE0uXm1UpNuNIJJ0noJK49SVizyJOjUt+bbvMNOB3RdlAOaL5azyvA8Pqq7DRAK67ugxz+IV9fhOfiYz0J9k= 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=RWHUsHg0; arc=none smtp.client-ip=209.85.210.178 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="RWHUsHg0" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-70b31272a04so3935231b3a.1 for ; Tue, 16 Jul 2024 01:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1721118549; x=1721723349; 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=0cHEfw05PzIXTBho9roSLu3dox3EYU5nHarCYBHiFzg=; b=RWHUsHg0lMXMRaYFzyjv+GOl1spBu0kApgGsmRneAVCz14jSZVUSTR1CJMWQqRzFOS Spt1jLgEZouVJ4foez2VKY4isDqS0zwB3gez3BoM8ZuCBLgk7+396N9jc688s6oeGxEf BZl27yEFbw8HueHNEP1qDWHQCOVVp1WSPsXQ5SGAJdtlV2x7u501gGklAWqDcLebcuce ovtJoRS6Fshu6iX5gUtHVNU3NTQwP9wT1IZBq+49Nluj4czffUrTPH6WU/XYQRs5UFvs Vm5lJf6YnLRI0WDMn079WE9cww/egclnMbjFvgDKKVAghDX8t2xpo4H86jNxGhhLMm6L JN5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721118549; x=1721723349; 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=0cHEfw05PzIXTBho9roSLu3dox3EYU5nHarCYBHiFzg=; b=PY3lDKKnhW39vyWOQIm7vtSa7pA/5ZG/OchzFWxAhS4hI97p1mNE9Vf+jIOsSUqzZB z8DLoSQrvqde/+c4EUWbdH5/qOlnWA5qMv13Z6c6ZdSq4P91PIuRkZxKOE8kWwpM80Zj 6dWybrq6/WYYrVK8C41XvBcpVH88JjDWPi4FZuUWrBhmO8S9dGzRsxsJNgtROnv656Zp jGw1i4kwGrnMfsDanQvc3g5GPNa0PaLIHyurg9lXytfREkmulz5XspzyJXXqePDE99xv rbWMu4jPSPE2kqmDDoumIKvopuVvCDJPWEXbacd/czyBEY3Ung2FnFIYGAn622ZHP92e MMzA== X-Forwarded-Encrypted: i=1; AJvYcCX05vBtoTwft9IHjVCoRSeq7buZllAYZ3mxgvkeI9s/y436+nMS0B8/jxWdT+CeoMHW6i3rMsBSNyumKrf6uA7hUxDIiq5b7fSfdLz9 X-Gm-Message-State: AOJu0YxlOIjZmy8anu+f1JsmIjoEPKxi1vL6gAaYnO9E3YxLOsK8O5PW kIy3leRKsueS9DRdzi3+w9RfbUF+K0Q/g61MLPrdnEOuwxiaBjpcb2Prmjdaato= X-Google-Smtp-Source: AGHT+IE3qUg41F90doDcsAXrAz8l7EtcoFuvjXP3rjxDD5uv2FyCzJPVH1EglS0lBSr/iPxY4WEPfg== X-Received: by 2002:a05:6a20:8427:b0:1c0:ebca:963d with SMTP id adf61e73a8af0-1c3f1e73544mr1985199637.4.1721118549100; Tue, 16 Jul 2024 01:29:09 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 01:29:08 -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 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay Date: Tue, 16 Jul 2024 16:28:50 +0800 Message-Id: <20240716082851.18173-2-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" 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: Rob Herring (Arm) --- Changes between V3 and V2: - 1. "ekth6915" isn't a fallback, modify it. v2: https://lore.kernel.org/all/20240715073159.25064-2-lvzhaoxiong@huaqin.c= orp-partner.google.com/ Changes between V2 and V1: - 1. Respin the series on top of v6.10. v1: https://lore.kernel.org/all/20240704085555.11204-2-lvzhaoxiong@huaqin.c= orp-partner.google.com/ --- 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 a62916d07a08..f683048fd0c4 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -24,6 +24,7 @@ properties: - elan,ekth5015m - const: elan,ekth6915 - const: elan,ekth6915 + - const: elan,ekth6a12nay =20 reg: const: 0x10 --=20 2.17.1 From nobody Mon Feb 9 21:04:32 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