Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1262252pxb; Sat, 9 Jan 2021 13:19:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVFf7wyNR705hTROMS3C2qj3K5DHLircY3VAshcI5a4e+e8xGJMvA7hr9MZPes/yvYjvQa X-Received: by 2002:a17:906:cd14:: with SMTP id oz20mr5868563ejb.99.1610227141868; Sat, 09 Jan 2021 13:19:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610227141; cv=none; d=google.com; s=arc-20160816; b=q0qmhI1dP125mHvpEhhr03RbU/jRb3KlCwXBzvBXXKEBrVx1/r+mpLSxSJYHmYnTVm 0s9hjGWqoL9kDlv8QbUY9+pGiK+NDBuxq7d5qidhAgg04HW/wNsLwnVp25KWf+brgesp UVB6kxxQHpF4aKWy3hlDqi1IVDkgM5DdxOwSWFveH+7IEBl+oYO5isXOmfCjAtFoJ+CE E9JTVNrtgv0nCyx/eEARW+lsrjzfpLIi3Fi89/BSZMBLW6PKyaArsXWwbQYwdX9UDm/f XULMjkLPXiB++XeVC5VM3pnbqQWvfwJAfohDDxR9GY0SiwLVRt0MMvrXBAQzWwtj0lb9 7K5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1kifOu64xMoeH7KczQZpg/DzUNcHtji8mTPLqSoxmIw=; b=T2s4ZrmjhknlijJYSoFk1Q+gxYgvRPdM8FNIgy2H9m6EZpSiSDABpxoGk8fEulMLDQ Qvmkj448i9qx5elvzporKrpYQxSDTMOLvuqmfzo7VVPqxS7EbhUaDP5dRAbUIMa2P+3v oBt9iUmphu16nZreynfG+WsI+1v571UHablDsD4QYS9NWWfLBpPqbge/AhQcbdbrYxRL OVaMdkYtDFVpHa3uuTealN7hMpqa35qWrbtwyDfnv3FX+hHX/GPfV3gATB90mLKHO/cH hasQtgb2oq3YrizmL18S6efMDQR4YhQvUIVwmCcTPg9LfMu94DxUdSazzNgB24N6PWCw cbmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NhC+jbem; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lo2si4530098ejb.37.2021.01.09.13.18.38; Sat, 09 Jan 2021 13:19:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NhC+jbem; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726223AbhAIVPa (ORCPT + 99 others); Sat, 9 Jan 2021 16:15:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbhAIVPa (ORCPT ); Sat, 9 Jan 2021 16:15:30 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA196C06179F for ; Sat, 9 Jan 2021 13:14:49 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id 23so31525035lfg.10 for ; Sat, 09 Jan 2021 13:14:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1kifOu64xMoeH7KczQZpg/DzUNcHtji8mTPLqSoxmIw=; b=NhC+jbemFcv+1/xo0tTBHjOZzn49yaauter3Dj9S0iu3q7J4A3OKxXFeMQq/8zQZw7 amyf0YUWCS/vssebj7lLVz5UBV5TQ+yGfPBkmIgL7rFhF9OnM3wVCtUhWgVHXWHoyEfr ni8oVa7dqLYS3N/rvXCQZDnNdVLIFtAhbVFjniaTpd7SWFpiOYad2Vwy5TiXzExTcEcr I/zv7M5uNs+zN7BqgZfT7huo3B2BlQxW1QTSIJOhCP64nQHhOCbX9+wcvN8TaXVLvENt pPkTXLcHiuTFgun1yjSKG6gKFJHqyVBCzPkOQeYm1ZL20XqD5YR8J93Pwy7w2Wqjyb8y raSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1kifOu64xMoeH7KczQZpg/DzUNcHtji8mTPLqSoxmIw=; b=bMrZm1Nz5eJ3NA1jF5r6mt2O3LCPjEhL8v5oBaNEu2j0/RrPAeBAR/CdEZ630WnSi7 xl5c4lq0wFxxbz16AFiUf1EWy1TFcjS/OZc12Nlg5a89b40CiTETHzS16qyu50dHDX0L cjgIXshHAydDtyV6dYTmMiLMxlrVoWkKNZqiAJLVmVtn11Dk8RHLUlBlvPK88MiiMmdj QPPA28y3WM0YzYwCwqazKg1bqUwgKM8SRv7/uKp437/CqIZw16J4ae796PX+42FpDiRd nHGPd+yj+uwsgdhen2VEEhxxDEbsISyUWfMd4ij8uWSSHxJ/dBVTdYQssRhYy5YXIUsg XLfQ== X-Gm-Message-State: AOAM532f6YiDSo10XCpF83G+deGTXYD+ZVW1BfzDuyWkYmtAZ/fuBXwp qtY8/gzx4SL0Zfcnja2fqxIn4R+A0OsK4+vLbBlXug== X-Received: by 2002:a05:6512:3238:: with SMTP id f24mr4092858lfe.29.1610226887973; Sat, 09 Jan 2021 13:14:47 -0800 (PST) MIME-Version: 1.0 References: <20201218045134.4158709-1-drew@beagleboard.org> <20201224203603.GA59600@x1> <20210109025527.GA2918377@x1> In-Reply-To: <20210109025527.GA2918377@x1> From: Linus Walleij Date: Sat, 9 Jan 2021 22:14:37 +0100 Message-ID: Subject: Re: [RFC PATCH v2] pinctrl: add helper to expose pinctrl state in debugfs To: Drew Fustini Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Pantelis Antoniou , Pantelis Antoniou , Pantelis Antoniou , Jason Kridner , Robert Nelson , Tony Lindgren Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 9, 2021 at 3:55 AM Drew Fustini wrote: > I discussed my use case and this patch on #armlinux earlier this week > and Alexandre Belloni suggested looking at the pinmux-pins debugfs file. This sounds reasonable. > This made me think that a possible solution could be to define a store > function for pinmux-pins to handle something like " ". > I believe the ability to activate a pin function (or pin group) from > userspace would satisfy our beagleboard.org use-case. > > Does that seem like a reasonable approach? This sounds like a good approach. Yours, Linus Walleij