Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2284624rwd; Fri, 2 Jun 2023 07:25:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+RmRbqnTm18XqS/j52rvutPY01WSHF25cM5sfQxOMkYYZugo4nF3/KebwE6Tv/L5N9pCM X-Received: by 2002:aa7:8895:0:b0:653:791b:d326 with SMTP id z21-20020aa78895000000b00653791bd326mr1350693pfe.1.1685715925780; Fri, 02 Jun 2023 07:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685715925; cv=none; d=google.com; s=arc-20160816; b=dsdWf6QKtsJEnsjrw9qOwwWFdZ6lRdu0uJgZQSs4oNrDRiVCfEMgim11SNX66BI4Yd Dgyu0KM7eWJxqUaeID9B8LmwuqZqNEe77VjUNpM5WXYdEudVP66IWD7cTxCVuk14udhl VqGG7Oh4CqTaiXeMUjdCTTkgAbdGQ/TfjWb/8V3MfO1sSXbvQZWpPR18IpBH7GvmF/Ff 7RP6A4kiHIWrv7LCYfpslEBKoN7j0PClzfMjxbW5TG+rWcT/TslpwvHo2UZsXFDZ6tpA hIaBZPIfz94b8H3RJ4ZI8pm0Z/1n0KvFIwMNyjvoG3LvN+jIupQx1/7cDExOcmdFyIWn wMmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LTa69TMDPmdaiXEQ8KHtyu73N8TtVWeb4hLxgfpprJA=; b=BUnAQfDw+lGcUKYLmTGumuEknCnCicyzKCmMeonXbAihytiZxY8F8cxP735RPIt0x1 6FrmIDzqCQyNAill+xc2rwpNHVvCtZYsTJNWmjKsQ94inI+tK15uw89MaGN38zdyM0Hi RCX/d4FZv4JxfmSBST7Z9ty7fzgPtt8fFdfoJ7t2YuXSqMMHMxLKfG5iYffsMaY9Y/Ot RpdwIMau9MoD178IDrJeVZh1yWhDzvkE0fmbHtOYL0YE17chfJsP/xxLCccSnaLypbTo k32v7fntNn/V1fvog5SKrwmTY2cjY+/x6a6OFUoHVSdwudxoBlTFe7tsiHZoRmqeWSqG ThyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cSuMWqqt; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a637b04000000b0053ef815daebsi1086432pgc.253.2023.06.02.07.24.57; Fri, 02 Jun 2023 07:25:25 -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=@linaro.org header.s=google header.b=cSuMWqqt; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235208AbjFBOTX (ORCPT + 99 others); Fri, 2 Jun 2023 10:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235311AbjFBOTU (ORCPT ); Fri, 2 Jun 2023 10:19:20 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CE061A4 for ; Fri, 2 Jun 2023 07:19:18 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5149aafef44so3009314a12.0 for ; Fri, 02 Jun 2023 07:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685715557; x=1688307557; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LTa69TMDPmdaiXEQ8KHtyu73N8TtVWeb4hLxgfpprJA=; b=cSuMWqqt1llDOJJM3+DcVgcFSRbIhe6Spwn4rtD/UtpmOujurEuwLKNJTnJINmp0gP HW0wY5n2xkQ5np1e44OkNB49SfGf+0mxMaTJXXjBYgUH9LVvGTfLAVaWNMrTdHGEQdVV qCehqsPo5miz5GAs01G7io0ulfPR5sbwXtNY1aKsIZJWyrOop/XkPIMc5DAawILhtOSv tXkdKf6iOBYISEMD2WS0VCIyZVST5NG3Dpz+F8MV/bjBc2FPHKVaTrwTaxNRSPgiDYtb fwn4LEsHAHuNn1hYASKD4A7DntVa1WKblZoKKtL3UaIVpYn976jrIL1KZdFms0aYoasT 8wGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685715557; x=1688307557; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LTa69TMDPmdaiXEQ8KHtyu73N8TtVWeb4hLxgfpprJA=; b=TH8oEYOjLLBXP63y9dXndMwQJF2WSQHf9I3J6aaVVtfold0PTGmLayLu5rxRWrlcMN +UUYCnc6yDEr/i3PR/KAR8jjvhoJDfwTHxubqrxGxK22VT16BQDArK6qgTLPuvQXgj0a lc5H2EAjdpAxNrqI1tBUVW4NGsiGZe4HJawS9KoLldUM87qYVfn/nwbMvMA99RU2EOtv lBopknkHn8LP1NBobTnPe7NlLE6oK/SMOF8P+mwekiqH0C8TjmICX2hMa7UAOPvAuPwN wtvQF3YzxbKt1JCsx/Vvs4rQlaGsF8Kjg8T1o6oESjhGO7KFPY8OXWmqN5XG87Nq2ZyW siTg== X-Gm-Message-State: AC+VfDwMjMKBanuKrPEMrX5Wg3ZGjU5JLBS43/NFw4oGFdVOWMGMhaG2 +DBDdDGymODnwvNGCuXrl8yx6g== X-Received: by 2002:a17:906:9b83:b0:96f:ee6d:fed5 with SMTP id dd3-20020a1709069b8300b0096fee6dfed5mr10742995ejc.72.1685715557125; Fri, 02 Jun 2023 07:19:17 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id s20-20020a170906bc5400b009745b0cb326sm808244ejv.109.2023.06.02.07.19.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 07:19:16 -0700 (PDT) Message-ID: Date: Fri, 2 Jun 2023 16:19:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/2] dt-bindings: input: touchscreen: Add ilitek 9882T touchscreen chip Content-Language: en-US To: Cong Yang , 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 Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230602140948.2138668-1-yangcong5@huaqin.corp-partner.google.com> <20230602140948.2138668-2-yangcong5@huaqin.corp-partner.google.com> From: Krzysztof Kozlowski In-Reply-To: <20230602140948.2138668-2-yangcong5@huaqin.corp-partner.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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 > + - 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? > > 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