Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4274738rdb; Thu, 14 Sep 2023 18:22:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4eeqPkOc3TYTSAiWahjoYCwYfdWO3uDqvwezf1PdOogKsWJT99BtoTZvqqJmo+CHV/q7k X-Received: by 2002:a05:6a20:4289:b0:133:bbe0:312f with SMTP id o9-20020a056a20428900b00133bbe0312fmr506898pzj.50.1694740934801; Thu, 14 Sep 2023 18:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694740934; cv=none; d=google.com; s=arc-20160816; b=WWCpQ+AbF1D31H27hG3kk3sibIDal8ISTs1t4Bt+nwqA5qrq3/2aec9xiBkSu4rCYn PuwrIoP1Tb7Gzkco7DWWkASraAIZBLfpzEk1staMvN5RECq1fKJsSIoez0YSjRg+alYX xMO3Jozrguw4AX3cmDk1CYirBDsOytUVPfDRKEYwtFA/a1HV0PLqtASe0lGJ5N9pQQF0 1wRhykuVXHKHv6qAmMR+vnkPNuBHUGm4PGdcYEPeA/bo9GRNvqtdi9V1JVIq5J/7Guh9 XvtY+ybkaCwBHe49Swg59lftKFTTMC20rPchBaMuekguvhBNcGb69/zD6vzGP2ukvut7 YNTg== 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=7lVufp3CfPA+avJJEdJfW22ymBTvw516wdd+VxBZzds=; fh=c650kgIS4mouw+xM3A3i+i3OTvbmtWc5EXUXizAVmlA=; b=jhWiBLEKP/brojWKYaWxKK+lwzJFaDtONAUA+WfPipLqytrrvewIJYXwgO67AhBCXD wI63Hv9jfxRcGZS359LNtDfjWLanN9Fig5HLOdMgyG95sTpN8vAuV+CmkReOd2M08Cnl FsBcOydRQ2O3F5gMXfhvE5PNDnqrcH3HP3ZJB7P01m6oYfA4nBCkJsMgHRzOZxrar7Ny A3sG8xhXsFAwsDN/Vsl5CrEhXg76lZwrLyyUbwv2lbbQFFYkw1aZ+ekZPaYgDd6x0wnC vk+62+FYMJ59KCX4bEqZbSHCgNyaImoJfE2uL29zNPhBUXTqhSholywEnAit8N2gu7G8 ss9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MIiS1UXM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id c17-20020a63da11000000b00569aa69db41si2319829pgh.180.2023.09.14.18.22.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 18:22:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MIiS1UXM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1B65B80DCA51; Thu, 14 Sep 2023 06:55:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239107AbjINNzk (ORCPT + 99 others); Thu, 14 Sep 2023 09:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239273AbjINNzj (ORCPT ); Thu, 14 Sep 2023 09:55:39 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B24DCEB for ; Thu, 14 Sep 2023 06:55:35 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-d8020510203so1017013276.2 for ; Thu, 14 Sep 2023 06:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694699734; x=1695304534; 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=7lVufp3CfPA+avJJEdJfW22ymBTvw516wdd+VxBZzds=; b=MIiS1UXMCeZq9OXUmc5JQ35svwQH6LCpc//dmoLiOkyQ356Hn4fNiznXImhIVS3jTH 1vS0L0z+phTlsvTAc7JLV/l1J87HZJCBlpkvDPYRohJ+maxfu6qp1dqem1PChEzinrSk Ume16Tv7HA284yr6vjURu21GEBOLz8Gp1KeJLvq7gvrKJTuPmnAh62f+cUVa3mBEX18k B+BAvBf9pIGG9R3N6kpxIKlzMZ42aCDhrlT86o62NtaHucbYvss24O8gk0XclM1Jljyg UcUqrZ2w/Eyv8tTOZgJqAjc9Dy13vETpSrTrK0pIEzbfGKRMfxTNq9HUYftjWZ7U4ciB epbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694699734; x=1695304534; 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=7lVufp3CfPA+avJJEdJfW22ymBTvw516wdd+VxBZzds=; b=cY0UeZcNvpoA2kRbqIpdSJT1ci/FfDEOY/ScJo2zEilg+Z3Eg2bEIat2r2MTCRLRy6 x7WeR7YSeEg++zu6PNcH5r7EvsBc6gowpojSjN124UPBUhKCO4ht0wuJpsNLVdmaTWTq d6u5sijBmdV/EfRoGX6j1eQw5Sk6tnLQKjuQjRZhxB7TbsjbaPSUpYzb3S1JNicddGUg PADWIoofJltiQlV4DfD1yJkHNWJ4Q09M6cGNWceTbhPYrt/uIyqHXr38T0mDr6M7hqOF Avbsm082Gk6jKdUAsWyZfYXT0/tHP3Nw1IRJlQozDjNsyST9+B39yBhCvzSptMp+jvVI VVpg== X-Gm-Message-State: AOJu0YwQY50145vS9aKKLoPwAgmGCWldUoAYORG8rBAmaF52rag2KexE zGE4CgX87KWoMjerEFhc8Un9tK4ZhegkMyzNfUV+ag== X-Received: by 2002:a25:d683:0:b0:d81:9ba3:43bc with SMTP id n125-20020a25d683000000b00d819ba343bcmr1489848ybg.12.1694699734333; Thu, 14 Sep 2023 06:55:34 -0700 (PDT) MIME-Version: 1.0 References: <20230913115001.23183-1-brgl@bgdev.pl> <20230913115001.23183-3-brgl@bgdev.pl> <20230913222338.07d1625b@xps-13> <4de724a1630eda74f4f304dc224dc981eb3b0875.camel@crapouillou.net> In-Reply-To: From: Linus Walleij Date: Thu, 14 Sep 2023 15:55:22 +0200 Message-ID: Subject: Re: [PATCH 2/5] mtd: rawnand: ingenic: use gpiod_set_active_high() To: Bartosz Golaszewski Cc: Paul Cercueil , Andy Shevchenko , Miquel Raynal , Andy Shevchenko , Ulf Hansson , Harvey Hunt , Richard Weinberger , Vignesh Raghavendra , Daniel Scally , Hans de Goede , Mark Gross , Heiner Kallweit , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org, platform-driver-x86@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:55:48 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 agentk.vger.email On Thu, Sep 14, 2023 at 11:30=E2=80=AFAM Bartosz Golaszewski wrote: > On Thu, Sep 14, 2023 at 10:30=E2=80=AFAM Paul Cercueil wrote: > > > I believe Linus was for moving. Yes. > > Which Linus? Because the one who's also the gpio maintainer just wrote > > above that it was better to keep it in the driver. What. No. I expressed myself unclearly: > > Why not moving this quirk to gpiolib-of.c? > > That's a better idea here I think, it's clearly a quirk for a > buggy device tree. "That's a better idea here I think" means "That's a better idea [IN THIS CASE] I think" i.e. in this case it is a better idea to move it into gpiolib-of.c > I'm also under the impression that Linus meant moving it to gpiolib-of.c.= Let's > > Linus: Could you clarify? Yes. I invented that thing so I'm a fan of it. Yours, Linus Walleij