Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7529726rwd; Tue, 6 Jun 2023 12:06:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qANWm3SPajvkDsQcRdJPpw7eRVAijFiSrMVTd/WP2sTj2CpKWdqtbRswZGsfLpCPB7RNG X-Received: by 2002:a05:6a21:3888:b0:110:6c4:3da6 with SMTP id yj8-20020a056a21388800b0011006c43da6mr280674pzb.62.1686078361332; Tue, 06 Jun 2023 12:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686078361; cv=none; d=google.com; s=arc-20160816; b=R3ieASgbBBhLpjao5A4lnPBXXeuInJEpCoSZj5cvPpTFIy/Oo5T9D7g6XqXJMN2W2I Fiqyz1X66FFx8L6jYDV5cjyUlN1edlto4dpzE4C2Y5mDI1gaX1mHpcJNxoYObRtNRVuv ZOoldLjNPjgR2eomLDEUQcxXy3zFamUivwpfAZxjE2KiR0uoa/EV1GMSyW3+gepsvMQZ oj02hvQfIDAPhZg7pu0cQYMVk3Z6oF0erdREgrb/YjpJegMaZIv7U3MlPbi1YivM644e tQ78zK+/xjZKOs8gNElKvW8kaFtSHqZO2Ndat4LHZ5boMTNKj2IOz8CCDxJujh/VJAgF fqjg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9nepVt8ykMn9O/MEw0MYaAhSa9BA9jIh1JKqT4QH0FQ=; b=S5Zg503CuJft93cOGzodooGeIxzhYJomYcoseRGeTTrUZmRVvcMY1Mh25ksAM4shze QzDXU5marw4RrEnq62PtmBqv2YKPwJoRPAj1thviNBZQtcKsoBiK4XIHcbxV5Jr3AxuQ vmuT7bDDMPqMnl1MJXcmOEg4zWup6JfuFtB7dIKqezWx2mPajsUqr7IzMgrhQ6/5oeMV C75xGnaXfmbTCogyA3knOotQRhoALJ2SOOO6euh8VQ//WrflaC54cedU38IEDXnXBOVL Op9uuI7AZKl5hUZBKlmsyKl7D3N2X+xuJVqD/1j9C2KeQEygo1besuOT8zAFsR40oxiS d8rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="ByOUV/7s"; 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 k69-20020a638448000000b00542b9f14ca7si6857526pgd.24.2023.06.06.12.05.49; Tue, 06 Jun 2023 12:06:01 -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="ByOUV/7s"; 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 S239002AbjFFSsF (ORCPT + 99 others); Tue, 6 Jun 2023 14:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233251AbjFFSsE (ORCPT ); Tue, 6 Jun 2023 14:48:04 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B32510F9; Tue, 6 Jun 2023 11:47:53 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id 5614622812f47-39ab96e6aefso2492501b6e.1; Tue, 06 Jun 2023 11:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686077272; x=1688669272; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=9nepVt8ykMn9O/MEw0MYaAhSa9BA9jIh1JKqT4QH0FQ=; b=ByOUV/7shilcp/KWuUnNuCm1th7+a8ovOuq+CXp6egVRh92xqbuYJQ4Fjb4FbBTRWz SSx+d4y2UvuBNrnrr2Cib1Plm+jYzwhm1zGTcu5THmhxYMYVAckwxstQJHkU6NT6uhF5 0lZJsWMTHGlg9Bd1lRdt8bzc/7ZRPnG4cByfZrftEHke7hJYf0AwVx8IvytLGaMBqnMQ BLVb9DiT2Rpo2xKsK8wv5tLet7C53T/Kv34f9gdyD7q2hvfLB6qBbivLPRgaYgbuAweS ZBFJVPIerbq9vt5U5ubbX9O95CYVqY/xQNM9HTogbT8DydZuYRjeyptGY+l9IjzYcOR2 iUtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686077272; x=1688669272; h=in-reply-to:content-transfer-encoding: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=9nepVt8ykMn9O/MEw0MYaAhSa9BA9jIh1JKqT4QH0FQ=; b=RZIUgsph1vFVGAeGLl4dp+GC8kkIpweUg1PG0YNG9M2qdWh4UzA8IeZP84VE9aw7sz qFiJfI8tj4e3QUJDdYBcA1ssajGWq27GSvJybvUxn4fZrTplzbdnBECMucAlAxJfTMKi M/6pKCZVBTsyxN2SFMUyquTtuwC4YM1PA9HlR1W/YE4M6xQ1K+KhK5ER31c2CfmZUivf 8OU1etMCZR4Xz9i8w0JAWKxJqtwSonb5+jTP92wkZonUdNAdwaJUafbKNYdbash7v5Ov YYDiTSZOkA9m0r9IcA6PVCytFG9s5gUsbBgINJX649Y6Etr62UZp05wytUJ0LbS1+Qyt eDzQ== X-Gm-Message-State: AC+VfDz9s4gxT3XL5xZ1QIvPw93oQsVWTMTHK8C3Y+ajOhtxRDfm30hL 9rC4ULka1EcTz51q5kL8L+89KJsc1CE= X-Received: by 2002:a05:6808:919:b0:397:f6c7:c5b3 with SMTP id w25-20020a056808091900b00397f6c7c5b3mr3026222oih.16.1686077272440; Tue, 06 Jun 2023 11:47:52 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:f59e:5ad5:28cc:2003]) by smtp.gmail.com with ESMTPSA id m7-20020a170902bb8700b001b225749647sm2758399pls.217.2023.06.06.11.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 11:47:51 -0700 (PDT) Date: Tue, 6 Jun 2023 11:47:48 -0700 From: Dmitry Torokhov To: cong yang Cc: Conor Dooley , 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> <20230605-anyway-grab-f7a35aa199fb@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Tue, Jun 06, 2023 at 10:06:05AM +0800, cong yang wrote: > Hi,Conor, > > On Mon, Jun 5, 2023 at 6:20 PM Conor Dooley wrote: > > > > Hey Cong Yang, > > > > On Mon, Jun 05, 2023 at 02:05:23PM +0800, Cong Yang wrote: > > > Add an ilitek touch screen chip ili9882t. > > > > Could you add a comment here mentioning the relationship between these > > chips? > > Okay, I will add in V3 version. > > > On Mon, Jun 05, 2023 at 02:05:23PM +0800, Cong Yang wrote: > > > > > 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 > > > > Is 0x10 only valid for the elan,ekth6915 & 0x41 for the ilitek one? > > If so, please add some enforcement of the values based on the > > compatible. > > I don't think 0x10 is the only address for ekth6915,(nor is 0x41 the > only address for ili9882t). It depends on the hardware design. Only a handful of controllers allow switching between addresses, and if they do they typically have a "main" and an "alternate" one, and not something completely customizable. I do not believe Elan offers ways to program different address, do they? Thanks. -- Dmitry