Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2445698ioo; Mon, 23 May 2022 19:55:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvpMecx1ib8uXb3tWV70ntjcZKw/SIBfzZD2DHTreKM7ccdMSbnXctC9sSm8olludiBxQ6 X-Received: by 2002:a05:6402:28ac:b0:42a:42d3:7ba0 with SMTP id eg44-20020a05640228ac00b0042a42d37ba0mr26736659edb.289.1653360900749; Mon, 23 May 2022 19:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653360900; cv=none; d=google.com; s=arc-20160816; b=Kl60HbXlfxcbF5lQcort6M+dHabLmTUdr6kpru5rzfkv2p5GP5Tx/hvRiToXMsu1PM lIBJAinUYVQ9qPSO8OCe614HlrreXkDD15inEtE2NSAUhKYFBw77qfLuSANbSFHmiOLG U+w0HkJjoO8CH29S2lNpVK0DX0oeTaiN1u47YK+KpRGoMRvI/3JzOugM7F3c49sBRdCw sm6piaDojzm1uclqswlcFXFdhcRPqLO++17Dwk0Uo+KQtVTiCVFivWNJ6P4/MoMqjRgj HvecmlRqoiDu/4fB7SnpnZLNbUHk60eTOfRPyQZ2wA3soiBVeGCaQAJQifBKpfIuSoLl Pd7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cFxAkZflJR/W545LnWjxrxhpNM354S0CuGlPnKLeaRk=; b=psExZUvRFBvkmxYG+DgkK4gflBpdHN8uW/gNi7ELBH8AY6cGx402YJm9/KBrBb4Nkp nEc+ZU1TIZPDzyIHVF9BloynWpfvnyncQC7SmcOLLtXt326s2dW4SSm+2lsGQLRH6d88 MKwXIYfIYxPs8l673RsZk5irT0+g6IPRFRuDE8sp94rbcnioYlhVt7wNuzQEPUCAM55C qI0GufgAsZI33SdEgDJkfaWSBukW7SNaXxtvT8zr86sQpKULWFshH5iRPPzjVfXRIi/0 NEV8PsXDFmGCyjWKsvsVnHpFIUggauGvg8PUTSO7PvL7gHtf1FVLp2DCWhK3Vyjudu22 cgEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MvUWlpw4; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a1709060e0900b006e7090f852bsi9510098eji.643.2022.05.23.19.54.35; Mon, 23 May 2022 19:55:00 -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=@chromium.org header.s=google header.b=MvUWlpw4; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230416AbiEWXfl (ORCPT + 99 others); Mon, 23 May 2022 19:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiEWXfk (ORCPT ); Mon, 23 May 2022 19:35:40 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1427D77F23 for ; Mon, 23 May 2022 16:35:39 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id gh17so18916174ejc.6 for ; Mon, 23 May 2022 16:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cFxAkZflJR/W545LnWjxrxhpNM354S0CuGlPnKLeaRk=; b=MvUWlpw4z+I9tpkl6lmkoFhy+r0zDELAvtU2O2I6MSU+RNMdmQbnQZS/MjGfH2tLQy RVEoyXBnmlR80COfSyH1NCGGNDvIIhNqp0f87vrs6GPoSxgNnOwX8WbWQbUAm3sa0Qfw jAyL1mh+CBWKTyOzBSbap1KgRnAYYAS1KXrPo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cFxAkZflJR/W545LnWjxrxhpNM354S0CuGlPnKLeaRk=; b=f60pt4Obnac0l6Zff11Rg0DaGsFcYuTAnA1sDmLL42dy0v5WYlTPLLpuKCQD1Sxe6v 2TMr9v0wVnzX6iHteyL9lKyZ0nkwF8v8EUUV8CIfzbG6nXdlGuVEWpjPcIMQU/kTU+FK 16/k3qh5YjO0krbi4HLyyn0erNPhm7MK1oum1/NSwnk/uMCHUzL6Mcata7oL+PoxdFZq qYpSh1kttFjnev51ghtlLwbOJsmZQFN8oDJzFr2YLS+mHeEPS1n59aYQgydhiC7g428d Fnw8VMWbmZJwYe6FppGh2QkUyuoJm2P3U3SY7K2EZnyyTn/2qdbTYPKq/cyBTJRrm866 kPOA== X-Gm-Message-State: AOAM533PZ+upV7QvmQDxae8PIe9IK8oGIYr4u55xOEzG+IDOc8Otp7IY 1kzz7byWFCyzv5bdrVbwOH333D7gSCprySIoucs= X-Received: by 2002:a17:907:2d91:b0:6fe:e517:7356 with SMTP id gt17-20020a1709072d9100b006fee5177356mr6332131ejc.328.1653348937382; Mon, 23 May 2022 16:35:37 -0700 (PDT) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com. [209.85.221.49]) by smtp.gmail.com with ESMTPSA id d18-20020aa7d5d2000000b0042ac13e232csm8842943eds.39.2022.05.23.16.35.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 May 2022 16:35:36 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id k30so23385989wrd.5 for ; Mon, 23 May 2022 16:35:36 -0700 (PDT) X-Received: by 2002:a05:6000:1c03:b0:20e:5cac:1eb5 with SMTP id ba3-20020a0560001c0300b0020e5cac1eb5mr21027204wrb.422.1653348935739; Mon, 23 May 2022 16:35:35 -0700 (PDT) MIME-Version: 1.0 References: <20220523142257.v2.1.Iedc61f9ef220a89af6a031200a7850a27a440134@changeid> In-Reply-To: <20220523142257.v2.1.Iedc61f9ef220a89af6a031200a7850a27a440134@changeid> From: Doug Anderson Date: Mon, 23 May 2022 16:35:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Elan eKTH6915 To: Jiri Kosina , Benjamin Tissoires , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski Cc: "open list:HID CORE LAYER" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Stephen Boyd , Matthias Kaehlcke , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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, On Mon, May 23, 2022 at 2:23 PM Douglas Anderson wrote: > > Like many i2c-hid touchscreen controllers, the Elan eKTH6915 > controller has a reset gpio. For the Goodix GT7375P touchscreen the > decision was to add a new binding rather than trying to add a new GPIO > to the existing i2c-hid binding. We'll follow the lead and do it here, > too. > > SIDE NOTE: the Elan eKTH6915 is a touchscreen _controller_ that's > included as a part on some touchscreens. The reset line isn't truly > necessary for the functioning of the touchscreen, so it's possible > that some designs won't have it hooked up and will just guarantee the > power sequencing requirements with RLC circuits. Thus, we'll mark the > reset gpio as optional. > > Note that if the reset GPIO isn't used there's actually no true need > to use the "elan,ekth6915" compatible instead of the "hid-over-i2c" on > Linux. However: > - Officially using just "hid-over-i2c" for this device violates the > existing "hid-over-i2c" bindings. The bindings say that you're not > supposed to use "post-power-on-delay-ms" without specifying a more > specific compatible. Currently the Linux driver doesn't enforce > this, but it violates the bindings to just use > "hid-over-i2c". ...and if you're going to add a more specific > compatible anyway, might as well do it right. > - Using this compatible means we don't need to specify > "hid-descr-addr" since it's inferred from the compatible. > - Using this compatible means that the regulator names match the names > on the Elan datasheet (vcc33 / vccio) vs the generic hid-over-i2c > (vdd / vddl). > > Signed-off-by: Douglas Anderson Failure on my part. I should have carried forward from v1: Reviewed-by: Dmitry Torokhov