Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3854373ybl; Tue, 20 Aug 2019 03:20:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7FbWsRX7zV7teekIfr0xT0ub5c4cyiEYnhvxolbmBaznHVKn2q8wpqP7f0z2XZAcQeCZ9 X-Received: by 2002:aa7:8e44:: with SMTP id d4mr16980700pfr.220.1566296439138; Tue, 20 Aug 2019 03:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566296439; cv=none; d=google.com; s=arc-20160816; b=KxhTXVr3m6SqGtplOIS7uXUVypAwO5wN8H/Tjn9i7OkWD7xGvjB8RgK2lGqUes7x2+ DmB6tKJRMt4PxmgWjKAF4S8+NyoKJnorGIQ2oYnG5SwF6x61/de+8WM9ugPcISX7waI+ PZ2xKElX40MmMPWY3pjLfNOYxjUyYA/v2xJDtww824cmIlrcFmg/lUz95I32gJ9HITw+ Bp4zJZLwQOONWLqUwA/lYW/lvM8w9WcY0dlx6V9JbWbzeHhBEWFOORGjXqF/Oiu1XTP3 XKyPJxF7uovv8yyxwJgjnpdZU9B6nGws6aS/mzXyMdz+RmNNTRefNpsau9FXyh41Nr3F Kiew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id :organization:subject:from:to; bh=197cqJoxRqTaYHNJKzf3OyXnqoeQVw3O0rPGNoUDf7E=; b=BAhqZjBMnz2PktCgXWl83CDxN+E7r5JZK6W4R107uS3PMXt4hur5GulhL0GZKNsiF9 OdrnPv4lVw4Y9Y/kkC67R3RRQzn8TP6CqU00Ku5mCzT03IAyIV+mg3b9QrTXiIjrEy8Z qxTd68kdQzWJE7v3XZmFnLCpnNhDoYpS6tR8KHRhc/Z66BfBAgPRrJaCb+KzxdhA/+yV 1XJ8l2OZ5XJ6FaRfl+gnMxP2otziVe39qYJhL6kNo6xjT+g6hmXQutdTbqlZMnJgkijm sZ1m8gFseE8PXNKDIvl+Z0dl+drVJtbAwL9Z+FPj7TRoDg/r780S7C27qd86ENjAn2cw 1KBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si11795020pgv.153.2019.08.20.03.20.24; Tue, 20 Aug 2019 03:20:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729813AbfHTKRu (ORCPT + 99 others); Tue, 20 Aug 2019 06:17:50 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:50385 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729544AbfHTKRu (ORCPT ); Tue, 20 Aug 2019 06:17:50 -0400 Received: from [192.168.1.110] ([95.117.23.32]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M2wbS-1hyukC38X6-003NW3; Tue, 20 Aug 2019 12:17:48 +0200 To: "open list:GPIO SUBSYSTEM" , LKML From: "Enrico Weigelt, metux IT consult" Subject: RFC: is SIM connector switch a case for pinmux ? Organization: metux IT consult Message-ID: Date: Tue, 20 Aug 2019 12:17:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03: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xb4HVZhwhDl7DLM= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello folks, I'm currently thinking about what would be the best fit for the APU board's sim-switch functionality. The boards have two sim sockets, where only one can be active at a time (the lines are routed to mpcie slot), which can be controlled via a gpio line. Extconn doesn't seem to fit, as it IMHO only does the exact opposite direction - detect what external connector is currently active (eg. on slots that support multiple conntor types and switch automatically) Pinmux might be an option, as this HW is some pin multiplexer, but in this case it's not related SoC pins and doesn't control which internal devices are connected to the outside. I've already thought about introducing a new class for the pretty much the opposite of extconn (maybe call it extswitch ?). There also might be an semantic overlap w/ other subsystems, eg. kvm's connector switching. Not sure whether yet another subsystem is the optimal solution here. What's your oppinion on that ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287