Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6532054rdb; Tue, 2 Jan 2024 05:17:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5YkUnzqDVJvgfHejndoAcReg6R8Mv6RXndXEwHuj/JN3uJFIiIC6Eg6pVSO3vBlM8+PTW X-Received: by 2002:a17:907:804:b0:a28:7265:5915 with SMTP id wv4-20020a170907080400b00a2872655915mr317312ejb.20.1704201433405; Tue, 02 Jan 2024 05:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704201433; cv=none; d=google.com; s=arc-20160816; b=d5V8X0hbTRVecTCGslutFnlaYApWGwszUcVWvJCnyjEqwpRMCuvEtxANww9es71gz9 +WqlnOA/yYihJrQ54da0VMgK13rbWeMilbZNaI0zd01VFalXrB4KowI38ap1FfoO5j2H p1tvBiBmWry4FKoUWQfIP8rtQcJ1y34hEFgJlyBbyqhVn1dv0FVssg+BgHXwEmYeOgcb yuMdIa0l3a+oI0GW9stNxAUkNasKURYKLnkQGBDwc7suRItxTJMX8NkGe3o7FVUqaCbk +WbdXS+oqBPjh2LImLRG7L5WO1Hl3Dc6Iye7ymk2fMoyFNSoL3mlhpcKdFdK5QbGmfDA c3Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=KptT4kcLxqTUxKQoDuDLhTdKZCzvVtebQ5eypGHMHPE=; fh=kNEvFs4F1fAAmGgEiFgT2qNzLqES5m2Ydxbr7YblDuM=; b=oycr+ERC1j9CmsUUrtcYA786gEMV0iA1huUCtQzSBhyoxO9t4IfFWVIgWZXYGRKLPp wGH1z8kKUYZpQV/6oJHD0RtU7MoBIAu8JSpT9H0+5txx2gTo6e4pwerkXCsbIgXrdofu SmvzX0ml3MivGHn9D0bB4pXvjceYrLIr1PuUBdrKpaQTyA1QxdkHVfX+7IRT4DikhUqB 7ZN7zFkBbZ1Y1w9JOOiKsMGlXh1SjgAOIoo8avCm2chU8txUD44f9x9IYrUkl8M56JBI a2l3RQZVbtDNLm3mzmF4bTdj7TK8Uzw0YF/7WLvX1MIpxYU5CFY5hFuY8ifooo/xbESZ QhXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b="w/zioODx"; spf=pass (google.com: domain of linux-kernel+bounces-14394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14394-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id su6-20020a17090703c600b00a26ee3af5c5si6887617ejb.915.2024.01.02.05.17.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:17:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b="w/zioODx"; spf=pass (google.com: domain of linux-kernel+bounces-14394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14394-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2A5AA1F21BD6 for ; Tue, 2 Jan 2024 13:17:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AA18F9FF; Tue, 2 Jan 2024 13:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="w/zioODx" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B52EDF9EF for ; Tue, 2 Jan 2024 13:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-4b3288df490so1137049e0c.3 for ; Tue, 02 Jan 2024 05:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1704201422; x=1704806222; 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=KptT4kcLxqTUxKQoDuDLhTdKZCzvVtebQ5eypGHMHPE=; b=w/zioODx+TFNd4J11IoNH2+B74JRzkxpplZ+Yithb4GBKiJGyqAh9sr4JV+XnlKx4O 0bpghXze4nvupYdrcw9TP2VbxFa4SI0abKXh2pLOgFSFsmfEgHp2QUpIfoAbupcgfZxU /zMaY9NlBI36IPKKi8G7Q7g9pEqRtbZ5IgVn2hRy7Hk85Sp72gKJnGUMFNnxYpcQA0tr a6BBKOv+yGlhsiT6c09RylxYKFkKuvGMFL1H19Wyeae5Pvev+cgtAbncVnk7mgtNYSNe PLgro3vMqmhZVisFoWMBksLTV8eE+kwtbyTRfgCigoU40jZ/Ch8ghnomV0vOtaDeZ0Wo XiuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704201422; x=1704806222; 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=KptT4kcLxqTUxKQoDuDLhTdKZCzvVtebQ5eypGHMHPE=; b=CbImzE+wpEDpc0t8sDb9qQ6H7IgjXq0DpcTN/4nhc52tCrwF3mteUM1kcQPY4NioVt oZcHSv5y5CFKvs8Bg/lPr2VLf3DL2GVvWaLJMWcH2HL99DOYwGLG0OI+GsODGkUELR1+ x25AIzRisMfbFxY2Cf4SLoxvyhiQP5h+iKVzfe9pf7PxlYNqbRfKPn5ulx5WWusJ0Z28 k7uAIWEoc9m6swvnn+J7bkUILjG4zhEbmmAzKlr8e6hwl3sF0F0GMUzSNsQd+t2/RTr9 Z/DeQPTC1FUIyWduUL4EAQ+677ZLfEJBL6WrULQHQh1QSmj7OnoVhPx6ijob2b05nLCf 3ceQ== X-Gm-Message-State: AOJu0YxioMoJhMMpIW/OCPcfhgXUHv/9u4PLr4WL/aFDE3rm43CHm7Uy mdf2Sgz0r2HnfIuTupykLpLS3GuYL7Ql5pRmoMSNR59Wf1ShQQ== X-Received: by 2002:a1f:1483:0:b0:4b7:8e59:4df3 with SMTP id 125-20020a1f1483000000b004b78e594df3mr456085vku.21.1704201421030; Tue, 02 Jan 2024 05:17:01 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231229130758.84214-1-emil.renner.berthing@canonical.com> In-Reply-To: <20231229130758.84214-1-emil.renner.berthing@canonical.com> From: Bartosz Golaszewski Date: Tue, 2 Jan 2024 14:16:50 +0100 Message-ID: Subject: Re: [PATCH v1] gpio: dwapb: Use generic request, free and set_config To: Emil Renner Berthing Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Hoan Tran , Serge Semin , Linus Walleij , Andy Shevchenko , Jisheng Zhang , Drew Fustini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 29, 2023 at 2:08=E2=80=AFPM Emil Renner Berthing wrote: > > This way GPIO will be denied on pins already claimed by other devices > and basic pin configuration (pull-up, pull-down etc.) can be done > through the userspace GPIO API. > > Signed-off-by: Emil Renner Berthing > --- Applied, thanks! Bart