From nobody Tue Dec 16 17:56:24 2025 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 18C55225D9 for ; Mon, 22 Jul 2024 07:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721633520; cv=none; b=spK54mU3ZIKnfSnojXA+68Vb0UdBr4jyVtdNDzLjRjY01o4+MfHoglp7B2RtngjQQd6j8zKRB19hzRH5DVnNzUN2zPDzPq/H5N2Xs6YOSudBwZqO39CHiW7GVFNLcZm+4xlXhOgTnR6CDWU8TykDUBWOQFQDXUhUBJTjfQQA6ns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721633520; c=relaxed/simple; bh=xv5BUQaO7i12oA2wxyyxUMQKqMfNHfOLBT3IHiJXaEg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=RvLXeNxagpgQ9LUzLRnyEDEWdZKPNP4I6TTxLglOweXU+XSy8kcpEFIhqPPn/3CCer9WweWKcU2LkdCKGRlyalA4NzPHK5oh73utcXtVQou5KN6mAQYu3GLRtKAYUwL06D4FtHzvyevJnfAvn7WwadzMqk1iK9j57GSTrc7ymG0= 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=Qa2ZfY2O; arc=none smtp.client-ip=209.85.210.182 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="Qa2ZfY2O" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-70d24ee678cso441562b3a.0 for ; Mon, 22 Jul 2024 00:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1721633518; x=1722238318; 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=xrIqnBMgcc4mGKUscqbrmcY1TR9qTmMNkJAbmzQyPX8=; b=Qa2ZfY2OsRDL/gwZqW9ySV79ZqJ2O/6dJpjyADwKCOoaXuJtW2PnKgu8xWFClC7G4U fVYLOEIV3S8JOlkyKmuFyVGPVjUM+QcHYfSUZM4Yu0zF26sZYEb7OVl3y5xQeGueSWw1 nixyf2BngbaUMq/RFNQlHwNQkpPihuA3yl6Gh2Co2/dLIgvl92l/HlVv3UvAZ3BFxi0j hdlQMx0AFyFVg+zbgwYPqCYy044U+L2SL+MoMtr/jUXIJ+twGn3490pbniXm9vXWb9qT 5/Xm86JQrOX6HM3cGJRpvR9u9yuHtBk0l5Kr2mlczMc3G46JD0nkQOTpLIhVodINxXDf OwNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721633518; x=1722238318; 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=xrIqnBMgcc4mGKUscqbrmcY1TR9qTmMNkJAbmzQyPX8=; b=FLrj86+PG7QlP9+AhmHByKXfzIIgLoXQcRt8gPJScVjWjgQnRPT7A6PG+fBiyP69Nr 5/7qaWT9aab6a0rl+pYszhOkkjcmHl0jpsS6/yfLLpj6UjS4NGrXY/QTEEiDf/yHyjwZ lhfjQesmXqcuQkEJN+E0rs5gAitFLSzIWm4xEUJj/9/6SWWTPXDLgVxQkcRjIqP1pGyA iMdigEusCLk3d1ohNvc3EGW3BQqBrXnkkqsu2XBALXQ2s6nVtSFFRt3ZujPXC+39iE13 +jsO/wHmfVFvCGF1k/bQClYDbPzwgwABViMlOJdUcFqyvsFDR3X2W2rRtQNoM3qFmSN3 rtng== X-Forwarded-Encrypted: i=1; AJvYcCU+UpDB+5xG48PoxGY6KAqjj4PUIxQXvCDhCJOykeOy4qL8wdxhEmFF+SPXzZm0IxqDcB0Q8sgErTGHasp721abZtqrTFhe7ApI7ZSJ X-Gm-Message-State: AOJu0YzQiek0ovKeNJ7qupMCnR6nAadc5bSZWWzZLsVu6DSPNzwvSloP MaEcnHzIpAYfyzZi2Dhvm2jhEJU7gGzQnjYnjHWqbikdmvPSw3Re0RPTKPTlBaM= X-Google-Smtp-Source: AGHT+IGHzuEbmhlre23pfm+UORHBTK0Szzk/9tinz/m/bcaMfKygO0+QpUCmfNaQz1HzDVAUKcSFzg== X-Received: by 2002:a05:6a00:2e86:b0:70d:2497:383 with SMTP id d2e1a72fcca58-70d24970528mr1843574b3a.18.1721633518289; Mon, 22 Jul 2024 00:31:58 -0700 (PDT) Received: from lvzhaoxiong-KLVC-WXX9.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79f0e6c9461sm4081162a12.61.2024.07.22.00.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 00:31:57 -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 v4 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay Date: Mon, 22 Jul 2024 15:31:35 +0800 Message-Id: <20240722073136.8123-2-lvzhaoxiong@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240722073136.8123-1-lvzhaoxiong@huaqin.corp-partner.google.com> References: <20240722073136.8123-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. Acked-by: Rob Herring (Arm) Signed-off-by: Zhaoxiong Lv Reviewed-by: from Jun 10th, but nothing else whatsoever. Seems like some=20 --- Changes between V4 and V3: - 1. Combine the 2 const into an enum. v3: https://lore.kernel.org/all/20240716082851.18173-2-lvzhaoxiong@huaqin.c= orp-partner.google.com/ 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/D= ocumentation/devicetree/bindings/input/elan,ekth6915.yaml index a62916d07a08..cb3e1801b0d3 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -23,7 +23,9 @@ properties: - enum: - elan,ekth5015m - const: elan,ekth6915 - - const: elan,ekth6915 + - enum: + - elan,ekth6915 + - elan,ekth6a12nay =20 reg: const: 0x10 --=20 2.17.1 From nobody Tue Dec 16 17:56:24 2025 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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 9E58D77A1E for ; Mon, 22 Jul 2024 07:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721633526; cv=none; b=GtGXLXzwcOIi83K9rpurp5SBmZlGI2zn/4ZBgMw5QCf3sk9T9SCc/4zjCl21LTihRnkg1CkbVM3ySItGfj7TvustyRqY2MC6XR1t6WcB8VjnvawajuvzBMdj2SEFZsXElEzYHhQX4f0wR3+PExuD24qZIA3Y0BDziE/BeMyL59s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721633526; c=relaxed/simple; bh=lSLkqh+31wCIs4vlZ8wvzRHmLo3ZWREJRBUJU0f5UC4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=TdjW/lts3Ave0WjFgt9olSEvqgKdevEAdkcaaEElpNK0L5JwjjeUsnXaHcNMXoJs+FwIIk6zgraJXUR6I0dDZF1U1tOY7KsRa2QcbXTKOM99/J8hNosQKSuwHsEOikMJw4k61fbXcyncF5AYO41tcfXvE1fcdA1DXKaQAcn9cKY= 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=QjskFLXz; arc=none smtp.client-ip=209.85.210.53 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="QjskFLXz" Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-7037a208ff5so2308944a34.0 for ; Mon, 22 Jul 2024 00:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1721633523; x=1722238323; 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=XtmPe8ZJK5pZD4LlL68HmeLqmeSQWeM4tCQK5wpvSgs=; b=QjskFLXzGigUQDlSi3/5zC9lgdqgzF5mq3YnFCpVftKHx6snLQfJCQ/EbXKAg71WKH fbFSh7r98KmIe8xpnWtbVGR0Z6UHS3PLRNxxZMgI5H/f8xHapoFsN6yVy7Qcs0IuP1yY wpAq+Bo7zQEiWtOCFyuOtF3sSz6XgglqTsU2Yn490+DtAxlszc/hjbeXs75UBAZnHE8S fCHth9QwmgnNygHHpg2BoEgyMzqAp6Xry4F4/qF7YNVsBf3fcPmVieq1FBxCE4wIWy0d nBVV3kUh+NxP45IUTVVgk5CKdMRxdMIs+554p9scy3KRGvcaj6usrGkyXHEw8TZqugxC Euew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721633523; x=1722238323; 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=XtmPe8ZJK5pZD4LlL68HmeLqmeSQWeM4tCQK5wpvSgs=; b=LGwCK4pyYkEX1m1QG3ITZjePzB3U7eAK1tIr/+h0yfp2nr+a5CNM0U44Np8GMOZkMC Mb0bn0ETYNcfwH65HCE/cZPmV2AxZfkJn2hsaAJNO52oPsobEPUVNnuWyFOHfOI29BRJ ivil3Em3oanj31qsElRSP3JQAEvLF2ssQYyAu9+JPPr2lwaLMsfhJYQtUU76RZYamN9p OHJ7f+ZnfYH9AIcyJGjW2zyJb5ucZRxUahjFOO7a5gPR6doyCMtQtO7AOewJuwv3yAP+ aKXZmjPXmxgpLlsXiCZAZhsnlJjVDzVwOArfuKeyptN3AbO3XPdTi+ZD98ztzYvzs/q/ cY0Q== X-Forwarded-Encrypted: i=1; AJvYcCWP+cKyDIn1O0UNzKondRaibcfIJ2BKf9GRkTheM2G5vUCMdpbxhH6UFZo/lnmbtbeFMPXcXfqjSMPgzPD9q464lQ5zSuAOQv5eXFd1 X-Gm-Message-State: AOJu0YxmFkWPOjBRod+2ESiwo+E3xI9gJpJakK5pA8Ulhyj/wDKGrzLn PSNf5eIGhWedXbJIL7AkHs/X1/RxvJ3cNIhN/Km3DgZ0fVFuQhRjQlBamDbO5xw= X-Google-Smtp-Source: AGHT+IEg4NSILA1YLMa11VPFL+p8V/3CB487/N4g+VcGFw1eoRMCp9wAkwWbl2NChxxU8jftD+UVVg== X-Received: by 2002:a05:6830:2807:b0:703:6003:11f4 with SMTP id 46e09a7af769-708fdb2292dmr10515146a34.14.1721633523650; Mon, 22 Jul 2024 00:32:03 -0700 (PDT) Received: from lvzhaoxiong-KLVC-WXX9.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79f0e6c9461sm4081162a12.61.2024.07.22.00.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 00:32:02 -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 v4 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing Date: Mon, 22 Jul 2024 15:31:36 +0800 Message-Id: <20240722073136.8123-3-lvzhaoxiong@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240722073136.8123-1-lvzhaoxiong@huaqin.corp-partner.google.com> References: <20240722073136.8123-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 Reviewed-by: from Jun 10th, but nothing else whatsoever. Seems like some=20 --- Changes between V4 and V3: - 1. No changes. v3: https://lore.kernel.org/all/20240716082851.18173-3-lvzhaoxiong@huaqin.c= orp-partner.google.com/ Changes between V3 and V2: - 1. 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