Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5220841rwd; Sun, 4 Jun 2023 23:38:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5AzhTjV3r/PZqiCwB5p07X3eNBvQQ/M8N8yZe/T0nFbObPrmlbdHjWynqIeKouLWI0aWv3 X-Received: by 2002:aca:130e:0:b0:398:449a:bbdd with SMTP id e14-20020aca130e000000b00398449abbddmr6497750oii.12.1685947092613; Sun, 04 Jun 2023 23:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685947092; cv=none; d=google.com; s=arc-20160816; b=CPXp3wlV0exxA84iiJ1ElUoVb5YXITn7YAwuCNoX1sz/8aB6ACoo3tmRDkfceRTNKQ moJhaCcjg/00VjZIy0ePlVXtAIZIKrHT2dy++zXw+LgVTtyEDAs37Hsb7QQbuiEm2L2f 25dtZGDFHNrY7VcWtEUfInPxG9SruJpM6MPtiXYeZ29kkL4eokD2bRJ3ubeLBz1Mz6FI sBNRKtiaVC0bXEI7XRQKD0Zmz4qYtS/i/KOPrSTMJA+QOaOBxaSsdWLzlw2gy2KEzrGz ynARhLTWbMic3ZsdPtJFdkK43LW+6bFNOYrsM8wJhNF6DEAxXPMeHZs9oRADyMZuuKwb 8Upw== 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=/0Yw8elYtiYzWozkgNSpagrAOBmH8kfH6Po7gRfewsU=; b=ONurdfjLHEeotANfZlMuHubcNbmL49/92B7eNBKc/NtTzud0/U9zh2HBvoSXs6+yL3 Ma9pceZkmC8g9+NtCkTxr++H2zxa3vuMW6PItKQcSLODRjytizQKLTBbYmWpOqkmnIq/ 9mWzvTH34g60IHMj2Nr4yOg0Vt5UuwQQAtwAS5GOuAVwSPXbjtnLZ4BomdJpftk+HFs8 mHuGjumj/A+uJI52Koettw0JnHiDIL7BPuE0C28S7RdouMOsSIk8HIAWzFQFzXx2ApjE pB+bgRSnTp8mWkaGvJPPKop6z5lR8ORbi+RMxmUDowmjmxACo72lH7xsmupJO3dh92iY X+9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="i/qC4qKs"; 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 x30-20020a63b21e000000b0054392750edfsi2530743pge.744.2023.06.04.23.38.00; Sun, 04 Jun 2023 23:38:12 -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="i/qC4qKs"; 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 S229521AbjFEGD2 (ORCPT + 99 others); Mon, 5 Jun 2023 02:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjFEGD0 (ORCPT ); Mon, 5 Jun 2023 02:03:26 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 584ADCA for ; Sun, 4 Jun 2023 23:03:25 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-6af81142b6dso4239459a34.2 for ; Sun, 04 Jun 2023 23:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685945004; x=1688537004; 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=/0Yw8elYtiYzWozkgNSpagrAOBmH8kfH6Po7gRfewsU=; b=i/qC4qKsUwZmrc2NzHVzDh8VkEzPd/VXd2RimZKN9QjIW6o6os0oYTSMuJVfUacGJA grbddwKihXgQLZdlyKC+5YnGdOylIiihLnlVtHykNFc74wKTO1GipRyRNX7CHKpVTUUY 32W847l1id4x6Tr4SyDInCqMRP0iYJLKct64JUYngYU7KKVRhti2D8nKL6FP2my2MI0R tFMPl/94oqSMC682QUUtOhowDoouMohjyWYPD5rBDTahFxTpgPOCOmPhdtJaWhAKSMUI CCwWkGWO8VBykjWVaUNYVy5xbFRaJAT4CYx18826w51ahz1/6GQ1GHdqI86fd+MF9Pq8 JDtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685945004; x=1688537004; 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=/0Yw8elYtiYzWozkgNSpagrAOBmH8kfH6Po7gRfewsU=; b=V0qnf59xatAf05hoePJDui/jpYrN3DyUlb0EZNa7dauBMAZ8owWAykyzX1K7pob79/ ukqDFDxlGMJAr7nWnOKSMbPdx69etdPF6TS4t7z9yrxm30kyQiKg2vaovAcl0sJenkfT 4XOu9h8wDV5ChraplnITWVWiHZ8pQJVFbXkdl4qJRexZ6dWGVEMRLsnwHpPA2YCNCCMn 9RZob9y8K3xPKpKoJQG3rDPu6dWucjp1fNMCWZqgnE6qwEaRBe91MNuFPtkyjtSffUR+ As1vCqeSbdvoHRbJPql3t0OBwH/ygeldd6TyWCOGyT5IqK8OxYCZm6d7aeVnqzsOcj56 /Jqg== X-Gm-Message-State: AC+VfDxc6B2cpfhMFr+68hJI6vJPZ9sJwTB3aGenH9R0F7MY7vUBqIeG 5qKPGFjHrI6EC29anuRIwa4Hc99ctZGz93ZVT2EDxw== X-Received: by 2002:a05:6359:2e90:b0:129:bf30:3ee with SMTP id rp16-20020a0563592e9000b00129bf3003eemr5325673rwb.7.1685945004606; Sun, 04 Jun 2023 23:03:24 -0700 (PDT) MIME-Version: 1.0 References: <20230602140948.2138668-1-yangcong5@huaqin.corp-partner.google.com> <20230602140948.2138668-2-yangcong5@huaqin.corp-partner.google.com> In-Reply-To: From: cong yang Date: Mon, 5 Jun 2023 14:03:13 +0800 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: input: touchscreen: Add ilitek 9882T touchscreen chip To: Krzysztof Kozlowski Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, 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=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 Hi,Krzysztof, Thanks for Krzysztof.Sorry, I didn't run `make dt_binding_check. I will check before sending V2 patch. On Fri, Jun 2, 2023 at 10:19=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 02/06/2023 16:09, Cong Yang wrote: > > Add an ilitek touch screen chip ili9882t. > > > > Signed-off-by: Cong Yang > > It does not look like you tested the bindings, at least after quick > look. Please run `make dt_binding_check` (see > Documentation/devicetree/bindings/writing-schema.rst for instructions). > Maybe you need to update your dtschema and yamllint. > > There is no way this would work and if you test you will see error msg. > Feel free to ping if message is unclear. > > > --- > > .../bindings/input/elan,ekth6915.yaml | 36 ++++++++++++++----- > > 1 file changed, 27 insertions(+), 9 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml= b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > index 05e6f2df604c..73e94cb6c4e0 100644 > > --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml > > @@ -15,11 +15,15 @@ description: > > > > properties: > > compatible: > > - items: > > - - const: elan,ekth6915 > > + oneOf: > > It's not oneOf. Just enum Done,thanks. > > > + - enum: > > + - elan,ekth6915 > > + - ilitek,ili9882t > > > > reg: > > - const: 0x10 > > + enum: > > + - 0x10 > > + - 0x41 > > > > interrupts: > > maxItems: 1 > > @@ -29,17 +33,31 @@ properties: > > > > vcc33-supply: > > description: The 3.3V supply to the touchscreen. > > + If using ili9882t then this supply will not be needed= . > > Are you sure these are compatible devices then? What does it mean "not > needed"? Is the pin there or is not? Yes,ili9882t this touch ic not needed 3.3V supply,this pin does not exist. > > > > > vccio-supply: > > description: > > The IO supply to the touchscreen. Need not be specified if this = is the > > same as the 3.3V supply. > > - > > -required: > > - - compatible > > - - reg > > - - interrupts > > - - vcc33-supply > > + If using ili9882t, the IO supply is required. > > + > > + required: > > NAK. Really. Test patches before sending. > > Best regards, > Krzysztof >