Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp443675rwd; Wed, 7 Jun 2023 02:02:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Lt+p1YepVdw9khJiVwCi5YN7Oxby4ywnqW7zPaRZ/tgBSt2/09frpPifLcdxBH9SOCf6Q X-Received: by 2002:a05:6359:2e9c:b0:129:c63f:f0de with SMTP id rp28-20020a0563592e9c00b00129c63ff0demr2773735rwb.20.1686128566520; Wed, 07 Jun 2023 02:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686128566; cv=none; d=google.com; s=arc-20160816; b=ST0Jg5C0xXDx92Y8tDe55AJsq3e9mQcrE0dE4ziDRTMcplSuapeMxgmcz2QovUCy+7 nrlhSNR/preq4o4B1fVn8S1vWIhZNSI0blU77BG8XMiRm3CteGZDYMPZG3TTzZtFJ50/ HKAbBKR/FKtWFLCp73Y2aYPHx6RDf3TW5kwDaIoqWSu8lWaPpG3Q6J4nep/sGiAXwskk iyP4BMS3xtvPAWekA3PyzGJleE4vOIL1XC9HyrKOOQ+5IZeA6fVFU7HcT1pXFML7vfPq 6gwb5CEPAjlTMAEgwb14HiRnhBzGIpUPGf+bDVp34kVbJVz1gLrr+bB/QQdzqSwlk2OA QstQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Tqe0uSaqEB6Au14F+7qw/E2m+GCqZxXJWRq1ozGgw4M=; b=wwVNlt185cX57g6myL3h1Xf6kfuZEH2XFMvQ2k0yGVy6WPlZfkE5MhReo7uhMPgmXs sETQlS78QyYTDBdwrOTmKhQ/8QUjkTDI2FWPx/5juvUor03BA5uC+n4jxyvlF5Wk7ptM N4N/zhXNdFGTU3YVNJIRpZ4v5cvzAtiphk5JDtuC0/0mbR/vdyrBhMgydXm9Fwwe959M JBItXj+HCbqnwCAcYf3NhVs9wotmCcaRl0GfcKx+fV99FFtasoBnvk3CSZ1nVmnui+Mf 0BBmBwrzY2y8KUibmVL4W5M+1OIsZogjzk/J85pYlkMTvaLymnnpPso6KMhlbms2Bd2/ ndtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="1rYeL7/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx16-20020a17090b229000b00256414fdd5bsi803908pjb.143.2023.06.07.02.02.33; Wed, 07 Jun 2023 02:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="1rYeL7/Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239672AbjFGI4j (ORCPT + 99 others); Wed, 7 Jun 2023 04:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239358AbjFGI4P (ORCPT ); Wed, 7 Jun 2023 04:56:15 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1E611FD0 for ; Wed, 7 Jun 2023 01:55:18 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-39a55e5cfc0so6600801b6e.3 for ; Wed, 07 Jun 2023 01:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686128118; x=1688720118; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Tqe0uSaqEB6Au14F+7qw/E2m+GCqZxXJWRq1ozGgw4M=; b=1rYeL7/ZE6QViB3MAGE08zl0q66lsfwWRwNZfC4Lli2TlYzl80QZvpHYUbi5GWV9G0 oY1is7fpJQzi57NRmRghFqvfUu1pe1BxJvEFnNQR137t7REFEl8JyCWCRrc/+eN2eV/p STwItd4hR+yQmJmipFmARlcsI8diAp6m2JJN3jFfSamNUHY5MEEO9myX5hiFCOrZcP9Z OY3iMfqIhGC+mpZqevnCXlb60mA/kaupt6UhgCRHMSFj4rSR1CDPY6d5RAdUuW8sI1jL x+bu8Vkhsn67H0tToRBJzfmN9s3OB6hSU52PnZbbbUtJOM2aJm1M0gVoh8xjA2dnugLF +7RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686128118; x=1688720118; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tqe0uSaqEB6Au14F+7qw/E2m+GCqZxXJWRq1ozGgw4M=; b=N8Ya0DT77i338NUwEjsdPf2dRLLBys1UrkcEIy0KeKDXJHkAoIkKUbHnvcWct6CACT b5gu8ygUzvydu+MhtIBcqf0Bx+BXggZyx6Dft7rTDN0+ZuUwA6CHR7GfRS8IE5NgteLT 6UX+NkuRGI7cmjsPgvSGJZHR9TIghYjGrdph1GnuLESS4ib72sEIpxSOW1Z4ZvqREe1d ObBlgKjUjkPOePoGaxfz8hX08VLkCkQrQz2s+gJk9wBoTjb90ZdccaoA+h+XbOqf0ScJ 3JpPr0K7kPJ5L42W5ZNOXnkVh24FIH3ss9HXNTxw23dmkHVXeEIir2LQ+GuOwCxgl0tH 3Dxg== X-Gm-Message-State: AC+VfDxb5zp3y9XANuz3ZHaqxPTh4tf1/OqRVGCQthQbNFtp0To/RI4s EHDlFiILWnxZ/5tiZujVmg/1oFJFlvMLSquLKMNdcQ== X-Received: by 2002:a05:6808:10:b0:39a:bb42:aa63 with SMTP id u16-20020a056808001000b0039abb42aa63mr4902138oic.17.1686128117964; Wed, 07 Jun 2023 01:55:17 -0700 (PDT) MIME-Version: 1.0 References: <20230605060524.1178164-1-yangcong5@huaqin.corp-partner.google.com> <20230605060524.1178164-2-yangcong5@huaqin.corp-partner.google.com> <6818f4b0-4222-c3bb-c55f-bc0d26d7a681@linaro.org> In-Reply-To: From: cong yang Date: Wed, 7 Jun 2023 16:55:06 +0800 Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: input: touchscreen: Add ilitek 9882T touchscreen chip To: Dmitry Torokhov Cc: Krzysztof Kozlowski , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jikos@kernel.org, benjamin.tissoires@redhat.com, dianders@chromium.org, hsinyi@google.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi,Dmitry On Wed, Jun 7, 2023 at 2:51=E2=80=AFAM Dmitry Torokhov wrote: > > On Mon, Jun 05, 2023 at 12:34:54PM +0200, Krzysztof Kozlowski wrote: > > On 05/06/2023 08:05, Cong Yang wrote: > > > Add an ilitek touch screen chip ili9882t. > > > > > > Signed-off-by: Cong Yang > > > --- > > > .../bindings/input/elan,ekth6915.yaml | 23 ++++++++++++++++-= -- > > > 1 file changed, 20 insertions(+), 3 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.ya= ml b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > > index 05e6f2df604c..f0e7ffdce605 100644 > > > --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > > +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > > @@ -15,11 +15,14 @@ description: > > > > > > properties: > > > compatible: > > > - items: > > > - - const: elan,ekth6915 > > > + enum: > > > + - elan,ekth6915 > > > + - ilitek,ili9882t > > > > > > reg: > > > - const: 0x10 > > > + enum: > > > + - 0x10 > > > + - 0x41 > > > > > > interrupts: > > > maxItems: 1 > > > @@ -29,11 +32,13 @@ properties: > > > > > > vcc33-supply: > > > description: The 3.3V supply to the touchscreen. > > > + If using ili9882t then this supply will not be need= ed. > > > > What does it mean "will not be needed"? Describe the hardware, not your > > drivers. > > I do not think it makes sense to merge Ilitek and Elan into a single > binding. The only thing that they have in common is that we are trying > to reuse drivers/hid/i2c-hid/i2c-hid-of-elan.c to handle reset timings > (which is also questionable IMO). > > Maybe if we had a single unified binding for HID-over-I2C touchscreens > then combining would make more sense, at least to me... > Okay, thanks for the suggestion, I will add an ilitek binding. > Thanks. > > -- > Dmitry