Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp830388rdg; Fri, 13 Oct 2023 02:22:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFn/Ak53LGoQ1wpHf9KYD1fqbHKkil+JOsao7crGmcqHYk2QfZ0uTOkjYnysnGLz1ERZVIa X-Received: by 2002:a17:902:ea05:b0:1c9:bf02:664b with SMTP id s5-20020a170902ea0500b001c9bf02664bmr10627045plg.7.1697188946791; Fri, 13 Oct 2023 02:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697188946; cv=none; d=google.com; s=arc-20160816; b=sNLaCVTYicQgaTk1x9yhqEJ8USg7LZ1OYlSr/N71L5BJfmAwQzV2GqLpPe3EG8uAdK 3a5lUqjyl0fJ7by8tDHA/VCEwc7ZQ+N+Ud0whnQRlkeY1GhekJNEMfguroDxn9MZpx9c 0GqrJlHfT39J8Lvl2UDwamnO9WsMgLMfv25j1AwL1y0xBQsYuryTCiK0OA6d4vn32nvY 5H2k4c/iYrM4lze3OmkVhhTWZqT7V59x/UtJO/DN/Z4UBunoF++0nkldfxln/mucUtU4 uAM4Qrl1Gt8FGoZRq/EbqT8Feg+971dSMY62KLEv6+kPPvln82ayhUdKoLGlgf/ZISyL 7Few== 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=F8SGxNakBdg/eVn7PIGX4hM/sVFT3VICvg5gS9TqXYU=; fh=GYn2jptLwFNMlDi0TeMOKkGp6UuXgVDSoJbSWWHkOtg=; b=FyJSq0CMsNaoC1Ic9yNlyEaRZBDBF58KjVxx1YoTXS53zEUTzCmJ90kmJageDi1kLc q00/dVSsT7XOtkD1xenRLs3LMJodSNEY/PeP42KWfBhfxcofPZpBqt2fXWK5vUaC2GEF UI29zucZqYS7IH0Jg0Gx1DtrYy0XQlT9h1yAoApV0SwIr1afwpsO6mGS9g1kLa7YwBiX +3xinUx048MfAqHPpTMg+Ff5zw3z4Notg2EBPDQIcumclBaCTu2LanPVj5yuzUmB5Km5 6jIB942LKYjWJNxDs2na4b7RkjX00zy+c2eoBHn8VXa2mo9aOXzytddkSSiicPlbffhw IQCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePGxTHed; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k3-20020a170902c40300b001bbc138af04si4597715plk.158.2023.10.13.02.22.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 02:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePGxTHed; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 7EB2F8266319; Fri, 13 Oct 2023 02:22:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbjJMJWR (ORCPT + 99 others); Fri, 13 Oct 2023 05:22:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbjJMJWP (ORCPT ); Fri, 13 Oct 2023 05:22:15 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0273095 for ; Fri, 13 Oct 2023 02:22:12 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-5a7c95b8d14so24156907b3.3 for ; Fri, 13 Oct 2023 02:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697188931; x=1697793731; 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=F8SGxNakBdg/eVn7PIGX4hM/sVFT3VICvg5gS9TqXYU=; b=ePGxTHedJgq+x2NfArPc8AXEgphXX8+AVGvo2ci3Cde4p8Ehe031nOYNB/8MBUBLCY 1C1KD/HUAQ2ZpGvBHmMZ8+gacEiyjAlk4JwnmQ3sZvxfanvbw2jHRVkrPe+yrpYYd6vu RMy/bvSAShf5Ss3Y0UOJygkJhW0awFpETI9/gPbPihmh/dB5TUhC7GUqRdjKhVFHe01Z uu6Sp0OxlCTLK2qvhbmkcWkuPddm26/wdJcxq8eG4nUPQ8VRTKZEv4GgIetejoNRK4Es /14ZKbBIkLSsZgSh34XzB8MIYTuSg0W9EvwoyKSQUcO+dRIYEx8KUzCx/dGXuomui8wp vlYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697188931; x=1697793731; 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=F8SGxNakBdg/eVn7PIGX4hM/sVFT3VICvg5gS9TqXYU=; b=rYYOgkxXZrKZ5mjnV1k4K+4jAq5f8DCsXr2XqCJxCEOf1vk/s8HsXNHeUN2OrrrNOE TA2X9F3CSz9sVLqbezBlrruZBOPb4kCD6LWj+fUxTV58RkM6ITY+7z/rJLa80aKJVhe7 LGLmbhtoD753wUHjQ/7j6KYhWVPuX1qphvEqhESIg/LHg5ajskgm1hV3JFJ6A02u66JH hSlHBv53rXpecbFy2DJXdPKlzeQSH1zTHb922sMACFvjizz/4duUQ7ldbhWKqrB5rx2g w9TmqHwY+KHovJzOQ+kThWY77+UOunx/7sO8em4qhCWPpBCNxqQzwkR6nnvR+Qjzvzbm TgvQ== X-Gm-Message-State: AOJu0YzHvNOGVwNANDEsY/wsQIN0n1nN71SZeKeH8he0H3jTkg6QoOH1 nUaP8kJp/eak/gI55XKa0fQma/yvJOHIhN/05E3zCQ== X-Received: by 2002:a81:a247:0:b0:599:b570:2db7 with SMTP id z7-20020a81a247000000b00599b5702db7mr26076473ywg.30.1697188931174; Fri, 13 Oct 2023 02:22:11 -0700 (PDT) MIME-Version: 1.0 References: <20231010151709.4104747-1-andriy.shevchenko@linux.intel.com> <20231010151709.4104747-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20231010151709.4104747-2-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Fri, 13 Oct 2023 11:21:59 +0200 Message-ID: Subject: Re: [PATCH v1 1/4] gpiolib: provide gpio_device_find_by_fwnode() To: Andy Shevchenko Cc: Bartosz Golaszewski , Dipen Patel , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, timestamp@lists.linux.dev, linux-tegra@vger.kernel.org, Bartosz Golaszewski , Andy Shevchenko , Thierry Reding , Jonathan Hunter 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, 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 13 Oct 2023 02:22:24 -0700 (PDT) On Tue, Oct 10, 2023 at 5:18=E2=80=AFPM Andy Shevchenko wrote: > One of the ways of looking up GPIO devices is using their fwnode. > Provide a helper for that to avoid every user implementing their > own matching function. > > Signed-off-by: Andy Shevchenko This makes sense to me! (But I haven't looked at the rest of the patches in the series. Yet.) Acked-by: Linus Walleij Yours, Linus Walleij