Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7388902rwr; Tue, 2 May 2023 14:04:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dGPAYdmu/giS/b3bZcqZo4evC2/G+CE+cga3pJqWM+hxvUohYPtzYpE3hIiBFCKqwASQo X-Received: by 2002:a17:902:e551:b0:1a6:6f3f:bc3 with SMTP id n17-20020a170902e55100b001a66f3f0bc3mr22793424plf.57.1683061471240; Tue, 02 May 2023 14:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683061471; cv=none; d=google.com; s=arc-20160816; b=eiGaZCUZaRxwKOS77GO+18SbjlFhSDb6p9pL28jRPU3RbHgU96q1hUHrYwdiVFIj/D oZDKvo040KxLA9B2jqr54CuVHtJRRpVcM4PHeYoz1FvdW6SzYw8M+04S3oVUHD+mH0Cy i7g3SSlsbo8ZjHQtQkhziKevN/OqqFRR0xyBhQFmBanPr2CiLqt0iqquNLkGuYTpSJDI AQ2isA8wYV/mnATfAgY1kJnmVUrqv2fHO6ktG3ZjvUnOxTLD2Kg6pyYGoaNN95LnhxFZ qOWAM9ZWSfngPDk+sebxRUituK9t4bXnsSUMgF9cLDRegtXovg9w6IH8DKeNY7aSCzZt Q2GQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=y3o1/gGfAuM1GgmlkdkXFFdhfCcUzmKygNLMFJFzDzk=; b=HNdiRhRDxGRZXCqqnryNSssly/mBWCUh6NuDy0rcyJOEKlLnUw5dmaQDYnFN7Z/6Qa CcCwpLMezdezqe8o4rpsvhK3MurC/YlIVkyCQQEdVTkAJEYrcdLzrL6JroLXkLPdB5EJ MVloChVfJWFPW31LJQV0ARcpj/nhDNj2LRpA2FeQaShIDB3L/t7mtNGKgEoCqbLA2qs8 XyIh2bmCcm8qWN+lFvxdTinGWDvr2J4NJkvK9ey/lDiztG16aCrRJWVCEnN7/qvxtqlE s8znoayncEIav+bY63FU1ajnOxMaecdCfOI5QIAdR1JFjrG2hAxRN2qO8C+J3sHYIu8A 3W+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=RRgWhWnS; 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 m17-20020a170902db1100b001a1a9a1d336si33186752plx.206.2023.05.02.14.04.08; Tue, 02 May 2023 14:04:31 -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=RRgWhWnS; 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 S229679AbjEBUvz (ORCPT + 99 others); Tue, 2 May 2023 16:51:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjEBUvx (ORCPT ); Tue, 2 May 2023 16:51:53 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A08419BE; Tue, 2 May 2023 13:51:52 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1aae5c2423dso35500655ad.3; Tue, 02 May 2023 13:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683060712; x=1685652712; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=y3o1/gGfAuM1GgmlkdkXFFdhfCcUzmKygNLMFJFzDzk=; b=RRgWhWnSHeshZj2YLkMZ0tddZTgKwe+pqjGtIDLYMZrYbNxwQG5Q6ovkEHFTA+3YJs X93v3qf0mQpHSRE7t2X5E9WwSad/4jQNLaI9X834EAg1WRmiJORx35g+9Fi6G5tXl31F PklwEVgm7vHTn+NFR8ndwl8XbNlzbINxOFAwqfOH/EMuP+1/BQtfwdqSLOa5uKSuf7xL xa7gaHO6zBXATWF5DWH+3hkAqitFcVBFQWstTtw/oNFs0zqpTL6A7OBzMcSEo5b2GFVl em5bsTMO93QN9QRgs1bkv4ZQeF0DCGcD5hZv+7FFEJp/1M6wLHpgzJ5o6247/Ba/bqKo cEnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683060712; x=1685652712; h=in-reply-to: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=y3o1/gGfAuM1GgmlkdkXFFdhfCcUzmKygNLMFJFzDzk=; b=FrvhpjPnpLhokNCi+Hs/dL/yZlefx1pD0CSgy3+o5326xwTdqFpOH1fEb6uuie0Fo0 eqwseAZcnKT1Xxr/3fsb0zprteeUuYR/bdEyScSdb70IZxNCA+RTxlNtp97E9TECsfN9 CBlZE4HeaYZcxq3mlXJUQhNDh0lCeXt0gcs8xjVDffT2maeS8oeFXE3EWY7rIOrsRmj2 q9WJaa3fKGU8XFwl1wnAaopZ7Wh9BKNkXNx8AyDV1zFtZ3M1q5G2HRqcQTslya0/EsLs Rl4Bl0g6Or7rmnArHuATWSJdGMwZhCPBCvAi28QcNZvHxBpaMP5141mY5UmDNdcCPiRI UJCQ== X-Gm-Message-State: AC+VfDwQmqW4MkakB8Gb6PxIpRqqEYetiibtHFNSJk8tM+OJYs153UlN mDnQ3IuDWaoNhl2SmA/YuWM= X-Received: by 2002:a17:903:11cf:b0:1a9:95fa:1fa8 with SMTP id q15-20020a17090311cf00b001a995fa1fa8mr22748295plh.41.1683060711925; Tue, 02 May 2023 13:51:51 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:6edf:1ae0:55be:72db]) by smtp.gmail.com with ESMTPSA id u12-20020a17090282cc00b001ab0278a788sm2914973plz.65.2023.05.02.13.51.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 13:51:51 -0700 (PDT) Date: Tue, 2 May 2023 13:51:48 -0700 From: Dmitry Torokhov To: Maximilian Weigand Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Alistair Francis Subject: Re: [PATCH v2 3/6] dt-bindings: input: cypress,tt21000 - fix interrupt type in dts example Message-ID: References: <20230501113010.891786-1-mweigand@mweigand.net> <20230501113010.891786-4-mweigand@mweigand.net> <5aaba4d1-f7e2-9d30-5f15-0713f9fc6a8c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5aaba4d1-f7e2-9d30-5f15-0713f9fc6a8c@gmail.com> X-Spam-Status: No, score=1.0 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=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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, May 02, 2023 at 04:23:54PM +0200, Maximilian Weigand wrote: > Hi, > > On 02.05.23 02:24, Dmitry Torokhov wrote: > > On Mon, May 01, 2023 at 01:30:07PM +0200, Maximilian Weigand wrote: > >> Triggering the interrupt of the IRQ_TYPE_LEVEL_LOW type can lead to > >> probing issues with the device for the current driver (encountered on > >> the Pine64 PineNote). Basically the interrupt would be triggered before > >> certain commands were sent to the device, leading to a race between the > >> device responding fast enough and the irq handler fetching a data frame > >> from it. Actually all devices currently using the driver already use a > >> falling edge trigger. > > > > I'd prefer we adjusted the driver to handle level interrupts properly. > > Ok, I will have a look at that. Just to be clear: The driver should work > only with level interrupts, or should it optimally support both level > and falling edge triggers? Optimally a driver would work well with both. Thanks. -- Dmitry