Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp834458pxf; Thu, 18 Mar 2021 12:42:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDgMCT3BmErpM1GOgI5kQPiAP+PKc0Om+Ebib8+/mivTSSDt64TdAD3I+F4iHAzPqLh+tf X-Received: by 2002:a17:906:4107:: with SMTP id j7mr210095ejk.185.1616096554431; Thu, 18 Mar 2021 12:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616096554; cv=none; d=google.com; s=arc-20160816; b=xIwBXpmkXeWvFcl5NCOxt3+n2g3w0dOEHYPz9mxW0S5DehqtqR5nt8QYkNh5pCNZMn HvBi7/LtFETdcZcp/Uk/iHpDaNOusQFEzriNBa0hbCeYOiscLHc5sQLh52WvriJq6Bhi jLPoym7pENxdWpo84jCGxLcTdxBJXoVNzhwaSteluziFEGRlhzHn4gTCxYU84fJFIJAa nLdA5qrdvfcAoXc2hxgR3ZypL+Vh9DAmZGKCYLkjNJoSeFvmZ+GPxJ5y6kJ05kU/0+tO EORi2LkPkv3fkkb/gAHeL6C+0YJrr2Iy1vNuV1iwi7TLafeSYzzX4XjCIyNEifuuHWkk yFvw== 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=Jg5Wb8IUJNfN67SLu8weJ8F9WygXUvNmQhWjYVUFgm8=; b=fjbzssout8Y6GRP32+Fidm7+gbJyZqefGR1R7ovvff4FwypD3IYKfZuCmbXNsn38Wt 9cq6+wQYq1+ANr3VCBNObervPY70QMt2exlFaSOs0QEvHQiYZaRH+numCjya02uuBckE b6n2Vw7QHw6R99h59yJBeaW9fjRL0OgL5AH+e3v/P47RMq3ecjwnGunmVLTrAqupTMSg GmU6O4NWBISlfxnSgzQvAtE2Gd6+VvgMRDzVXzTAZFc2FsXAsYoP/Wvc2V6JWKG/C1hv VcghkULRRkZmOHfOUJHr0be5m1Q2TjUBE23u3ssvYkSx/2DUGN4iOBbOBQUF/Q+mjz12 bQCg== 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 b11si2394647edz.197.2021.03.18.12.42.11; Thu, 18 Mar 2021 12:42:34 -0700 (PDT) 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 S232909AbhCRTlU (ORCPT + 99 others); Thu, 18 Mar 2021 15:41:20 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:33357 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232950AbhCRTlK (ORCPT ); Thu, 18 Mar 2021 15:41:10 -0400 Received: from [192.168.1.155] ([77.4.36.33]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MN4ux-1l6GbY07HB-00J1fB; Thu, 18 Mar 2021 20:40:45 +0100 Subject: Re: [PATCH v9 2/4] pinctrl: pinmux: Add pinmux-select debugfs file To: Geert Uytterhoeven , Alexandre Belloni Cc: Drew Fustini , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Tony Lindgren , Andy Shevchenko , Pantelis Antoniou , Jason Kridner , Robert Nelson , Joe Perches , Dan Carpenter , Jonathan Corbet , "open list:DOCUMENTATION" , Geert Uytterhoeven References: <20210302053059.1049035-1-drew@beagleboard.org> <20210302053059.1049035-3-drew@beagleboard.org> <349b09f8-fe99-d0d4-dd11-c288bf66cb4d@metux.net> From: "Enrico Weigelt, metux IT consult" Message-ID: <002c9f84-4cc7-714f-0824-bb00eb05a227@metux.net> Date: Thu, 18 Mar 2021 20:40:42 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: tl Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:+ZwcNmiOj1Kef7PLgtFCMGtXLjuaivHTbkjPVod3OVsl9HAgQF2 olkcKXPEgCba6rJIhiEx+41jtYbjT9bjy5nAfe0qHtZr7B4VC0nCX0Kntbmne8OPF+bga1z OcdUJJASQe7ZlVJvRZUo1UfKWWw/l4NLSi9luFCuywt8fRNhLqziucmgmX1AzyKoLtS8Wph kOj+1wD8+P0kxvQcKYlBQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:u/eDxUvTGUM=:G2SiQp80rV4IJzSpZhfs6s 2B3WsiCLwXGjYBhRV/47vUoe2ATGsQoVLZGrQMEi2NRARCHd5FH2eEVD2C9hnUTn8zcssVYR7 Yplls7mPMuj6pfWbrDEU9DdAiOwZ1tUPuTfUF53rCYRB2Hk5NXdwaRnCcN/ZuM2/ruKHSodgm 4TNGRqU3O12lAPNZVb3DO803eDGjiNFcVa5Rd63kbc9cNw6r4uDd3CZfHM9i3JiZAEb74gZJi sxRrsCC8/eMvcZ5Yj9PCnG0Sk1Fs0vt1q+LRx2P3wh02yVVTIxsPC7S4SIBs+dbvmVLIHzNLt YW4aLRYTrCck+wG7XlHPLvpmA3mDq8Fo6Ox+nb8IkYS1C+bcovVnFSj3jolT7URNIneDWuqlB EKkqX7BteTPVMhVp7BiDpeqYkXYsO1LksR2ZIP/dgPXGt7vfpsH7ymngKqeg/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.03.21 19:47, Geert Uytterhoeven wrote: >>> 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. >> >> If you want to be able to use both, then I guess gpio-mux is what you >> are looking for. Obviously, it will also require support in the bus >> core. On what bus are those SIMs? (I guess the answer will be UART and >> then unfortunately UARTs are not represented as busses). > > We do have support for devices connected to UARTs. > See patternProperties in Documentation/devicetree/bindings/serial/serial.yaml. > Or do you mean something different? in my case, the SIM cards are connected directly to the baseband (there're extra lines on the m2 slots for that). CPU doesn't ever see any of this traffic, just can select which SIM card is routed to the m2 slot via gpio. --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