Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1260169pxf; Fri, 12 Mar 2021 06:00:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/LfzchJlRtz6cFXNWm7HJWhJAXTLSr0mua1xdG6NpuaY8ie2p6WINz/Dj2fCNW9jmZUzg X-Received: by 2002:a17:906:f12:: with SMTP id z18mr8689846eji.132.1615557613163; Fri, 12 Mar 2021 06:00:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615557613; cv=none; d=google.com; s=arc-20160816; b=xQRHlbUaVNo1IO/hntzzbYOvKG/wlsiTc+OkG4DDHS97dLkCgNfNZsWkrTJYQAChb/ Sqxe3JFjUXvHVzpgBpgYhhgyMyF++qaEfNhl0tdOSc889Z1ipiqxp7+lMqiTj24JxBBz F4S/n1hQlvdCB6bqzZ38UWtZT24HKZqx8wUOhrIgJ8+O4c9HoAf6aHB5yNuDY1WhLiUW 7bmQnG4AEvkUcy4vZHq+sPiPfOIKJghgru46y1ZavM76IZMcy5EOlNHzvANXVKGmAw9r 8h2F/KLPLruuITbAADJG9WbGW+w9Tz2zi2jYUErHd6gsm+tBKZW5NvQQ6d7Cw3IoMixk ik7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=ym74hJu5Nvsoa/GRxJcaDmm31twO4N/3tGAzGaYP8to=; b=kb4qOaHcDGW2Euahz81Uhdv7IlbrtatiYubC5pc1nQXJc2EeAue6h6jq+33GBOf7ly rOHbpsBmwW/9INbIsKl/2pCoP//Uq4uG3/wgntp+/1mnl2W1tMCuoAUwsi2k2Y7bXrXh igNr4wVDxF0Fj6WdPsDmGaB30ckHHSkDllltL8Q+Mki2JxFUF78/zH5Zu++p6u296nwr Tz6jOpQOqODnaR3XhbmXBlVxUMY0nlI+QCLa1WqB2MQrVIKGsSZScoI3ew0ETTG1BzX0 nQRQZ3M+443567DgjtIoSU243wGfKm2NBPkb4viwHfeKnDO7t9ez7LmQTgqICaGSNdZf ZUJA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si4075086ejt.35.2021.03.12.05.59.49; Fri, 12 Mar 2021 06:00:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231496AbhCLN61 (ORCPT + 99 others); Fri, 12 Mar 2021 08:58:27 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:53617 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbhCLN6P (ORCPT ); Fri, 12 Mar 2021 08:58:15 -0500 Received: from [192.168.1.155] ([95.118.12.1]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MMoXC-1l49Lt0w5c-00IiLB; Fri, 12 Mar 2021 14:57:57 +0100 Subject: Re: [PATCH v9 2/4] pinctrl: pinmux: Add pinmux-select debugfs file To: Drew Fustini , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Lindgren , Andy Shevchenko , Alexandre Belloni , Geert Uytterhoeven , Pantelis Antoniou , Jason Kridner , Robert Nelson , Joe Perches , Dan Carpenter , Jonathan Corbet , linux-doc@vger.kernel.org Cc: Geert Uytterhoeven References: <20210302053059.1049035-1-drew@beagleboard.org> <20210302053059.1049035-3-drew@beagleboard.org> From: "Enrico Weigelt, metux IT consult" Message-ID: <349b09f8-fe99-d0d4-dd11-c288bf66cb4d@metux.net> Date: Fri, 12 Mar 2021 14:57:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210302053059.1049035-3-drew@beagleboard.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: tl Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:8ouLmTGxmNJb/9DZK0LMfylhb+4A+kAAhh6ENb1fZ6+C7/h4IKF E6DCKPOlrNN+AA/IbOYmLBqlTV/+ZfDiziYPN5p6JZ/qlDYs7sxuFWRI37Wp2N8HVXAuSJT ++P6d4gSA6QE/vIqpWMoX3Vk0PZN0yPZCxbkHzGNGq04vbMUcfElGpWZF9EtA1VI5FZeiyO 9B3UhYTRBK7ZYuJqgpK9w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ze2qBLvxJDM=:bAJuMgYNRkoGgA6RxQFVfP WbWPWpetI34/SJxX11w/t3KfCfUBQ1Z92b9qqVHfPzYpP6lERTAE8T9n/zERHjvYKQOYigBju RT8LW03A4RlYJc16WYmNNJCkAy+2wMhYJ5V1GKdtOQIN1slsWpVkD0sVoNjYzSgilA/zXVJl6 JcONcJHviSC+MIJL50BQPC5lgmfC9LYgAOR0KlVtzmcybVq+qpgXc6Wp2dsQhLUkPcPXn1dy4 r86VPKXRSJCpqsIt+cmaH5tAM2Qjw+uCrQ/COLDFdrcCMidAuy1aXnJMonv75la3/K0b57+Xj /aJ4KhKCrPIrW1pT4Dbw/dsd9O5JF/NV7V0JEYuok2sNGDb+Tvwhi5jr0Ozsx4k2yYOnj6wPh j8DihRZSk2lQeCaaJqCz4vOxrCMsjlJxJxeC/I5VyyDESQlPnsqhdrZ7oPVvk Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02.03.21 06:30, Drew Fustini wrote: Hi folks, > Add "pinmux-select" to debugfs which will activate a pin function for a > given pin group: > > echo "" > pinmux-select > > The write operation pinmux_select() handles this by checking that the > names map to valid selectors and then calling ops->set_mux(). I've already been playing with similar idea, but for external muxes. For example, some boards have multiple SIM slots that can be switched via some gpio pin. Not sure whether traditional pinmux would be a good match for that. --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287