Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2372289iof; Wed, 8 Jun 2022 03:39:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVPchd1p7eKE/a2/4RznXKBXbwGyktkUJGHciddAdZcG1dZv6dSHyysCfJPogDFBFdY9nL X-Received: by 2002:a17:902:9307:b0:166:41a8:abc0 with SMTP id bc7-20020a170902930700b0016641a8abc0mr31232959plb.135.1654684776345; Wed, 08 Jun 2022 03:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654684776; cv=none; d=google.com; s=arc-20160816; b=fzJZb2h8GVuOtMHXhX64BNW/gUBv+G2Zi5TeXjfNvrQNwwAin4eCqpDc36C0MNeXN5 GAIHU/g4dmu8fwrzmSesmRF5cK93rPGKl+R7ckP2yv4WJ0Ts5oRPuWZwqaQV5tVhZ9Cm xPonYQr4qyLhVY2UJHEuXfLN1hv6IImhw8miMQ3AuUeQPy+Ec3ieTFZXQD7Jvnh1osw3 DIJGWVo8CzgmDj3qnVFurkZUI5qQei2ijSjZbS2rGQdlfNvwDUtFkoaRFPhxEw4yewjT gsHPGFZZibbvt8V05xYlSFjXfFIskObAvY6eD7MXzn1xDQ6bM/NOk6zZr7sp8FXVKCSI C3ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=7j/uJ4VE6OefVS6lO6YuyBrbXWEWK05yW5j02oIBMyI=; b=vyxe7eTI+J1d6tE+o/mPKm4jAtZpWxHoq7bdWwC+/VrFaK1xeLFMK00VcDB3fO04Xj RfInOEaJIRq52PPmabT4u0zLzaMjyUHCfnpcGSrhdF5VmiV7z9axz0X+e81knJp9Pis4 H7hWmsdljiTR/c/82AW71WSuoyygdvKsdXsDIPJk2yIvlKds+2ZJHgS0StilBFUBu7Mi UJrRKfFx4l7yYeXkTHqZ/v/ylaPbmVv8Ngv4r5Cg9cn++uGB50jXbXe7obHyL7FPgrVV 6u/+zWtF23MCMiB4yyGlwY6EMgbTMM1J5Pukl8fPiXT3PTx+QKQhutbgVdhh9eKycwM3 7Nnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ia1uTWTh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lp15-20020a17090b4a8f00b001e049d7ca99si3834906pjb.138.2022.06.08.03.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 03:39:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ia1uTWTh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B5FF5196A91; Wed, 8 Jun 2022 03:06:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236034AbiFHKFE (ORCPT + 99 others); Wed, 8 Jun 2022 06:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236353AbiFHKDm (ORCPT ); Wed, 8 Jun 2022 06:03:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D52E717EF4C; Wed, 8 Jun 2022 02:47:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 431BC619C5; Wed, 8 Jun 2022 09:47:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 744BFC34116; Wed, 8 Jun 2022 09:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654681625; bh=Jorqtsqre+knYuVCMZVf8w1e+vT3PzQP8A6uE9eOcy0=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=ia1uTWThiKJKkirUArp2zjiq0kobE6RwKYmZKHNbgpZTPkbpYUQFUslRjCXTXLG0f eLCLHr+lnNY1BNrvwwu5fIG9tNAMo8hpMI+5TKr8C4hiZ0i1bSYC4aWGa+TburuZ9m /X6c6Fe0X8a6lrrrUeIDg6iS+Sx6bpm8O0o3ISgHIKIsyIvVdH1wWi+mzkzbl0UDSq IAOzeCx9822Y5RQzLC31P8AQCUNazUqO17x5xchx1vq8Fj/nQ0TL9sy0475Q0r2FJK D7kx9cY06b0+oUhjePOojzbIG/EcgkGt9QJOticwFliv/HyIl9EBX39Nrpzyimqb76 jIfjRBOdvUgtg== Date: Wed, 8 Jun 2022 11:47:00 +0200 (CEST) From: Jiri Kosina To: Douglas Anderson cc: Benjamin Tissoires , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , linux-input@vger.kernel.org, devicetree@vger.kernel.org, swboyd@chromium.org, mka@chromium.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: HID: i2c-hid: elan: Introduce bindings for Elan eKTH6915 In-Reply-To: <20220523142257.v2.1.Iedc61f9ef220a89af6a031200a7850a27a440134@changeid> Message-ID: References: <20220523142257.v2.1.Iedc61f9ef220a89af6a031200a7850a27a440134@changeid> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Mon, 23 May 2022, 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 Now queued in hid.git, thanks. -- Jiri Kosina SUSE Labs