Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7530301rwd; Tue, 6 Jun 2023 12:06:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WoHbrkkH2YSOSn6Vb8FVoihweVHgE7UtwkOxzYBiTZnXm8R8T5KAPkqKpZMuC9mmylxj6 X-Received: by 2002:ac8:5c92:0:b0:3f7:f562:2632 with SMTP id r18-20020ac85c92000000b003f7f5622632mr665821qta.42.1686078387444; Tue, 06 Jun 2023 12:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686078387; cv=none; d=google.com; s=arc-20160816; b=L94+cWcZP51owQRiyshci8UuE7LVdJy1aKbeMIu0onZG1Sgn7T4EUm3iP+4scj9eng TB5bj2Vi9vPyk7O72w/67BRx6ut61j42P68/WLHq3QPoxaScFeNBhxRQ/5nNi2uGch2k 18QP13yU2DNOVUEuVQakliIs6DvpGf2Rgi9wgdW+ewBy/itC8/3JQOGzUf/W9R64YbpL /IGoASqLFTQA/OzaIxKmPwSPmbvq61+LY4xd07jvNHfRwTnFcd3du33NmuhaHnXRmVFS MNrL+KzE3BSZ44jgb5zH1HjT6mg1ueo7Zs6r42yWkqbv7HNgcltJ7iOyT9xE0/IBiRMe b/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YYoN+BjvypDqZwnJUA2wNs3qIHtM6mWEZbL6vyyf8sk=; b=J/X0xCdVEO6mjSUXjoRQ0v0/F85fxcGHwJ+5HLSXZSiq11KtxQvDvTM93dusAHNcvt M+fBpiBKYPPZGz116OWk+WbNJ9CvePzRRJOvYT+Su2upInK96dWUfjx+SESj1il01/ML 158u3ugCrCMfO5uGtBFMMPgkrs57F3ATRPBLhA2E5nJiAsMdoBF0p6TjQtrEsi5B9TNj dhb5B5Ca8DEwOnp+9klh2/qppMq8Np1/MUg/ZRxzejrSFvvKrN2CL3cd7SpKx075vnKm ltIJrpB56fvT2uP9nSkcoKq1rx41v0hXWVEdFNKfH3t9P9gUk/Opob/1wzWvGGU+1phs HD/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=d4rlQ70q; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o13-20020ac85a4d000000b003f0b4b7457csi6735305qta.701.2023.06.06.12.06.11; Tue, 06 Jun 2023 12:06:27 -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=@gmail.com header.s=20221208 header.b=d4rlQ70q; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237667AbjFFSvl (ORCPT + 99 others); Tue, 6 Jun 2023 14:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbjFFSvj (ORCPT ); Tue, 6 Jun 2023 14:51:39 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0A9F83; Tue, 6 Jun 2023 11:51:38 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-53fa455cd94so3250454a12.2; Tue, 06 Jun 2023 11:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686077498; x=1688669498; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YYoN+BjvypDqZwnJUA2wNs3qIHtM6mWEZbL6vyyf8sk=; b=d4rlQ70qmUGltZIPyCpiSijL34I/olvA0KKx3Hdr8aRjnOEinZN0Byx4K76Y3Bc+4n piOrwlnK188L804WcuU1PbVx+CFp+T0782GSBE6DSyZcGtn02n6wSF2dMSvDSG29NA8Y GvZ770rxkddEqvAmL1mdsmTzS4YCRY5g+rg1IwwNxi5VRlPr/+0DQdz5iBO6AuPvwuDZ uiJhAIeo4c+hy5eSf44gAYZIFzONxDM+WcxsZukBgs37CDYq/afSpNZpRg1qR7UizgvP tRaxvpAKNCTMZuWw1OhKbiNwE9Ltl30Hb908UMGzMvhNJIsJnHimKpVi6I571ZoZTIYt Jxvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686077498; x=1688669498; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YYoN+BjvypDqZwnJUA2wNs3qIHtM6mWEZbL6vyyf8sk=; b=R6WqMx8j4WBNZ6mVKb9zQ70YYqA0O911IRqWdA68CHfo9J0RnM0fRsrXkGxOOOFKFc 76Vj0W8RXsrJVaMWXiCA/uDEWDYFR2Gugh3BdGN5MEkl/z3nxdmlLhJvEXWWv96WYbhy k4rMbXc/BTnilzSmlSNoKEdSSy3ItAlgHwI6f5zzNfXsYxJl6TjBqzO7sAfEhZqzsAFk pPVIKpRfIWT4MUGt/01Mlk35jI1D6PCvnhv8hDD9tKubqs1koP+imSAZ1x2WEVhK3jxo SKfYx3KsxveN0WyTe6UVYgtmvgtOghE9wXWgXilIKVUNiHV0x2gOpfsvPf8G1jubVzGm Ei5A== X-Gm-Message-State: AC+VfDzFJ08XJHzhrRd9fmypBGAo2zZAQZKPjTps5/yHndG/NMA1TCXp d3Ewp57AFHgZspw4c/Db6IM= X-Received: by 2002:a05:6a20:3944:b0:106:c9b7:c932 with SMTP id r4-20020a056a20394400b00106c9b7c932mr507447pzg.1.1686077498264; Tue, 06 Jun 2023 11:51:38 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:f59e:5ad5:28cc:2003]) by smtp.gmail.com with ESMTPSA id a12-20020a1709027d8c00b0019a6cce2060sm8868681plm.57.2023.06.06.11.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 11:51:37 -0700 (PDT) Date: Tue, 6 Jun 2023 11:51:34 -0700 From: Dmitry Torokhov To: Krzysztof Kozlowski Cc: Cong Yang , 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 Subject: Re: [PATCH v2 1/2] dt-bindings: input: touchscreen: Add ilitek 9882T touchscreen chip Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6818f4b0-4222-c3bb-c55f-bc0d26d7a681@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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.yaml 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 needed. > > 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... Thanks. -- Dmitry