Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp202667rdb; Fri, 6 Oct 2023 00:12:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFOgladmNCjv2OP7c+dupzItCx5GfydGO2GDqTSdN4Ee9lezGlURDaPaauMSS2jPCH8IETK X-Received: by 2002:a17:90a:1c08:b0:26b:e27:8bc2 with SMTP id s8-20020a17090a1c0800b0026b0e278bc2mr7341452pjs.45.1696576349351; Fri, 06 Oct 2023 00:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696576349; cv=none; d=google.com; s=arc-20160816; b=X6UOc0yGj3RXjGSYavm3tJVeagXFiMwwfdBM27Eq2Y26Z6cBdWYWHyWgMj+4khEP2t LeEnsP2BgDmIC7i0YXr5J9VzdT+yB7ymrAPsOqYb50sJju5bbnOsSmlR6EipjeId40du rvzVde1ctyA+bPW2NHzC6boG3E4kpR/gPvlCR6ym/Ts6Zk22FKjYgDTrHwqLoM8EYejG 0RI1tQ6TZ03c6taYsCCDrv78Z6pNBAAKTN2tQcoMWi4n+lUB4g3BjAFC/+OioW40Hezb 760FCkzJoW5xtwXwodGHZIEVv02oXiSsSaGBCPUJpoujoatc5eNusQ7dN31qXHEei3Yb mAfA== 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=iHzPDIF0nHvJ4MjZXtd+1YcUGWWggbQugVNz0aoRvm4=; fh=bD0irRExCR9U/CdLuI02LRr7jOWxzGkti19Icxfbv34=; b=B6gXsaAqk3OGQ1KTttD7r/hxNjlyzTIyAhmWdHKp0bXn74GEi2GdWck5ifR5rRx9w8 xL5kD2hdSkSk/zSAugwAPmBw04L69rVgMeqyR++1QHaJ+di7WCIuUBM68xr/gR/mp6g7 /3AuDlnNHF6pxsSTJc2ZdEOX+qnZtJ5XAonQXNQKEVUgXUfStCOGY/Y/Jnjop0D94lE2 wdBhe01brvgPeagdzm9KdhtTlxpC7mxs9XCQdy0AwxDYpdoHh6R1oa4HHUCSUIZnxA4o 7OYVo3JmFKG+8qeAz+8Sow9QXup83OVXck5SpVTOvBKApc+gtgn0AkncWDYEYzA3oF1l 3pUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=uoti3CP1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o2-20020a17090ac08200b00271ae22eea7si5361264pjs.117.2023.10.06.00.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 00:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=uoti3CP1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 53DDA801CCE8; Fri, 6 Oct 2023 00:12:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbjJFHMD (ORCPT + 99 others); Fri, 6 Oct 2023 03:12:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbjJFHMC (ORCPT ); Fri, 6 Oct 2023 03:12:02 -0400 Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A285EA for ; Fri, 6 Oct 2023 00:12:00 -0700 (PDT) Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-49a885c5961so656018e0c.3 for ; Fri, 06 Oct 2023 00:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696576319; x=1697181119; darn=vger.kernel.org; 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=iHzPDIF0nHvJ4MjZXtd+1YcUGWWggbQugVNz0aoRvm4=; b=uoti3CP1UVIV4y6Az3AEUllKS7h0StIL6Gn5M0VSwN5J2LjQDgx/3fM6a5KHKfRPin WPJNTf9VKGtmJj57NXv/hF+GqyJpGR5OY8LmTZ8SLDIUCPBLaqBe6iW2aHR5vk2Z94hu tKw7liJchp9+hKSiGjzbKY1V7XhBAzjEUALg1ZWBP236ZkoRuQEhdtyFNljlW2JVKpcJ l55foz2jy+6FfXFxVUbS7GMm8y7EDbLEM0b3qKhCAUP28otIEsYwBQd5rlBVXZtF/zLe aopFz0015uSyrxJUwX1vvY+bqLTqk9EEfe98wwLMnp4AG9p4IL3WLHiT3bLdcukYkSbF dnKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696576319; x=1697181119; 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=iHzPDIF0nHvJ4MjZXtd+1YcUGWWggbQugVNz0aoRvm4=; b=NbjtiDnysqfWkGCUWjUR26IJvx+EhfPwxV4LtnLsir9NUuQP96shbPuYFas5Ghf+xF Hc9JLrJJs+lTcFR94Z/I7vDjoxRt/ldy3pnOJKP+fdceeQL5CkNEPADlgBEylGVw4vTd JZUR9Tm+z0sSlyfTJOd0F6aG/ttgXtygcz+dfi1gVj3wHmDGAOpUA3f6jYsD7XQka2Jv wvb7vMa/yPorr3BVgyubfJ4hNcFSyOlDg8X2kADRrwgU+PlogjKfMJSUjTJYCUIk4/hY jHgYYhdczuL48VvP/E65eJtvIJ2JrrnnjEK+5201OQv/KvvZT+lNh4yHc2sLvzlVjn5V tzWQ== X-Gm-Message-State: AOJu0YxvRLyYICNfa3yNybtN3FR9lxyOq69YG0qry3HJFN/XMNXKsJhL uWShiEqCilkSoWBP+98rnCOgo7e3qENsd19iYJm9QA== X-Received: by 2002:a1f:a9d0:0:b0:49d:92e0:9cd1 with SMTP id s199-20020a1fa9d0000000b0049d92e09cd1mr7100923vke.11.1696576319479; Fri, 06 Oct 2023 00:11:59 -0700 (PDT) MIME-Version: 1.0 References: <20231004-pxa-gpio-v5-0-d99ae6fceea8@skole.hr> <20231004-pxa-gpio-v5-6-d99ae6fceea8@skole.hr> In-Reply-To: <20231004-pxa-gpio-v5-6-d99ae6fceea8@skole.hr> From: Bartosz Golaszewski Date: Fri, 6 Oct 2023 09:11:48 +0200 Message-ID: Subject: Re: [PATCH RFC v5 6/6] input: ads7846: Move wait_for_sync() logic to driver To: =?UTF-8?Q?Duje_Mihanovi=C4=87?= Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Alan Stern , Greg Kroah-Hartman , Linus Walleij , Andy Shevchenko , Dmitry Torokhov , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-spi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 06 Oct 2023 00:12:27 -0700 (PDT) On Wed, Oct 4, 2023 at 4:56=E2=80=AFPM Duje Mihanovi=C4=87 wrote: > > If this code is left in the board file, the sync GPIO would have to be > separated into another lookup table during conversion to the GPIO > descriptor API (which is also done in this patch). > > The only user of this code (Sharp Spitz) is also converted in this > patch. > > Suggested-by: Linus Walleij > Reviewed-by: Linus Walleij > Acked-by: Mark Brown > Signed-off-by: Duje Mihanovi=C4=87 > --- Reviewed-by: Bartosz Golaszewski