Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933155AbdGLFFA (ORCPT ); Wed, 12 Jul 2017 01:05:00 -0400 Received: from mail-he1eur01on0100.outbound.protection.outlook.com ([104.47.0.100]:14127 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750738AbdGLFE4 (ORCPT ); Wed, 12 Jul 2017 01:04:56 -0400 Authentication-Results: linuxfoundation.org; dkim=none (message not signed) header.d=none;linuxfoundation.org; dmarc=none action=none header.from=axentia.se; Subject: Re: [PATCH 0/3] USB Mux support for Chipidea To: Stephen Boyd , Peter Chen , Andy Gross Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Rob Clark , Greg Kroah-Hartman References: <20170712010255.26855-1-stephen.boyd@linaro.org> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Wed, 12 Jul 2017 07:04:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170712010255.26855-1-stephen.boyd@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [81.224.168.30] X-ClientProxiedBy: AM5PR06CA0008.eurprd06.prod.outlook.com (2603:10a6:206:2::21) To VI1PR0202MB2560.eurprd02.prod.outlook.com (2603:10a6:801:6::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 869eb22b-fea6-45df-4961-08d4c8e386a2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:VI1PR0202MB2560; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2560;3:oA5NT9Ptx91CZTfFkq3nDy6QjOG3M7JYq0wngVNsHrlWIYSQzRj7opzCk2HNh0A6G+57Rk2VEL0amiOXKEfL14bR8pECcxiMh5/YzGw0LrRp1K024tb2lyKAQ8NkwjLTFpnNKxBKUJvQ47CrCVDSaXiiSkxovu6IBxMh535AjEaanDaLWDtaYokFvdLpnOkk42VZfKdK1MyFMMQSBv/1EaASXyPz/0lxTXL0d7QjthUFNa+tBpbwyo9uyYfkC+4VIt5LEJoMYLflZ1kwRk2mJHbrfmVQlDtmkz4kc/tV9yvwqbCiIk69nItjAk1J4zha+y9VUw90yN7JNWZpA9BKvgfo6kH1GP8+0kiF4SzY348av52chEZgqxpA98BMbh4iGOtu5MQz7Y32CEm31Fwqo3LDJVbMV4k83VJMlAPxqlHOYkKmCdhgaaN6inCb0wAfs6F4bhsvIVWa8+evGDBG7QD0iiXKMBaiP6oKLIiXrPl5Uus6t/Hs0pM9HPRZj+Q2B2/J2LwNuwYTs88H3rbNSVQIezKrRuohEZtmBga+vKiStXwgx1c8dfLHU79gdiKmk3gNmLRavZwxF/P2BCZNNZRPAm3cLuOD4N/VMEA1rm7gHbdSquLLfVvt9jAWyLrzU4geXD7M9F8Yn2ZXhV8DbGGXvozvamImGFUUHvtOm25fIZNc144AGsq+XkWaTIyU4KInjrlLb4t0yF/GtcZjIA== X-MS-TrafficTypeDiagnostic: VI1PR0202MB2560: X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2560;25:UcsOt4QtwnWK5ikUZLOCixw1BRFb9V5SewebZRv7a4qkDcO8BUNUWzMhadk79beT1WcPYRfaJjyGVMTLjz/Az3uKvSXXaPsLOF8G9idPHV54yc6gVWJXWBWpEvrjX2/WoDqegIL0Pana05QKOFFSMdYTPonUPrB/NfyKxOL3/dgxQvVL+W12TyqN7vOmnRgtK+XwlWPK6vlUV2Ep8QKkCcxh0teUNTNVVHx44o9t9c4VpccFoDaY4O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H7+CYpGFiGjmrz1d1R3AfsXrw6L8FDDH1Ocs73UAvEwYq4XtgrI2fSninTSUPhWy5R0BFhj1v3xlNADgiaf9rRAr9gAPmosLncgeR1u+R3AUHiKuQ3Hr1MLaDsdq5bespl6XY5SxUupbJcvA7WVg67RunTpqD7T7tQ4fX+fy0UhdSIjsjrXgfMf9NLuhPHYf7myMcZtbpP2tju0+1aQTKfzDWbCSVBmnsItpE2e+PW2+mP7Ja11vJF7IQb0FQxaWrzoqEWGHhLV65DssVIxV4lmAggK6WvThsgn+dnbtEMPB1I5pNUhb49Nz3mrpHQFsUhupntRZYUxFDAL7+mZLAYTpFk1gRSC6eewTeeEt3LHQN/LLOGzHTfyoju7h82w== X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(167848164394848)(247924648384137); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(2016111802025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR0202MB2560;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR0202MB2560; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjAyMDJNQjI1NjA7NDpTSVlUU1Q3Rkh5UkFUWkgvOEplRWJHQXV3?= =?utf-8?B?ZVVzOEd0SDlqYkFEV3B6d3lRRE5uZy8wdzhoTHd0dGhTWDIyMVFEa1owYzBL?= =?utf-8?B?M0x0a3Axd0ltWk9iZU8xb1dFVEVqeFJWT2l5cUF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E1QTVpJaGo0QT09?= X-Forefront-PRVS: 036614DD9C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(6049001)(39450400003)(39410400002)(39400400002)(39830400002)(24454002)(377424004)(53936002)(8656002)(54356999)(6246003)(76176999)(31686004)(4326008)(38730400002)(42186005)(65826007)(54906002)(47776003)(23676002)(33646002)(50986999)(66066001)(5660300001)(4001350100001)(2906002)(229853002)(74482002)(53546010)(6306002)(36756003)(25786009)(50466002)(305945005)(81166006)(6486002)(65806001)(77096006)(7416002)(966005)(2950100002)(83506001)(189998001)(7350300001)(117156002)(6666003)(230700001)(478600001)(31696002)(3846002)(6116002)(7736002)(8676002)(65956001)(3260700006)(86362001)(21314002)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0202MB2560;H:[192.168.13.3];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjAyMDJNQjI1NjA7MjM6UGxpRGgwdzNBRk9xZHNaQ1p1Qy9sSXJK?= =?utf-8?B?Y3ZiVUhLTjhOclBibHlUK25Qc2x4NXEvTERYdXE4aFdTazFtdVJVMHBBNWh3?= =?utf-8?B?dFltcWtBR1dmNTlVem5lUXplekF4L1pHVGMrV0xhU1NOZzZha1kxQVRucGNa?= =?utf-8?B?aTc3Q3BYcFpXbmc3Z002bWtZaWFWY1QrMlc2QnA1OE1xaGovUGJRRjc1NDQ2?= =?utf-8?B?S0dNWitYVm8xVi9qZXNjZnE0UkxacGlKbVpCeXlhK0VHM005alhBZkFZcnQr?= =?utf-8?B?VzFCYnZqNnFJOTVVMmVxNzhUa1VPUWE5eUhZbE02VGpZMlBONFZwS0lUTTlE?= =?utf-8?B?cndFTjRlU1Jxbkszck5OcnlleitLY2NkcXBpcndGU3M2dnFXeXhFQ0k2U3Uw?= =?utf-8?B?WGo5WjJLS0x5bFhCbjBEMXcrVldGVTRtZ3NIcW1NTW11Uzg5dkY1azlV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hCEGitF4SIKDY8yGxzs1dGLEZhPU+sXsZHHaNdyUzsdcXQBKxnnHQcea5KwEneyqXicBztRVkdSETwGFuSbEIiEOzTQ/NgFIaI9CuaskexbrzLZa8BroDXCmufSS6AGJuY7kSLeBLYn3QzgZvMZF0q1vy5egjIhRaGFMCmh6IDoeTesdQ7fLp3mqiq+rEDWtk/f7SeyNMZBvfwUey7jga+T3VZNhOwy8Q7nPyyPmTBnAP+wMbE4oTWpuisgYxmpkPM8ptrPodlVRvoR/gfPYqr02XFReHsI6Zu/WTgi4kn2OYwNEv/QgWB354ZjfKI/KbKza0+Qxzn1e9G0I9PTSWLbMKB3pOVDudNr0Bf9FqqisRdkzRaJuJCd3BmWAF5DKRAyUatyD37GoSIsD7Gm6fQxIQnq1P0vuP/IQhOlyXQyictM2C7Y304STUWKAhBmO7Od8O4oATLTS9Fv9YCduoH/LHCAt8e2g6vQ39kF6t1UX2/ZKPL/xnXZMh1g5wu7tRRUoLrHZ9Cy8myL0hIn768PvuJAt9DsgMvXCeOt301m2Ky8AYGKitHakHvjhyAlF+5bEuklDXW4LqcC6z6KyfdJdI8uRjh/ghqegenVnJO4ceUmfZEmvEgig35EfmcDQpg9LPWxaGKYPnUKMjloceBBssGZzIxC9N9iFASXhM1ZoEGFu2M/d+1aCw2ABb8Ucvu47yeY+KBbXuIMiIZx3+atl5YI1LsZbxop2QWOqS2Z2WyesbQa4z+5XFl673yFF6DuUiS3aVLHFMyfKXQQ= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 05:04:49.5225 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2560 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3580 Lines: 83 On 2017-07-12 03:02, Stephen Boyd wrote: > This patchset adds support for the TC7USB40MU usb mux found on > db410c 96boards platforms via the new multiplexer framework and > hooks that into the chipidea driver. This allows us to properly > control host or device mode on this board via the sysfs knob. > > So far I've only tested this on db410c, and there are some rough > edges to finish off before it can merge. Also I'm experiencing > odd behavior with switching the role while gadget is enabled and > the micro-usb cable is kept connected. Not sure what's wrong but > it seems like the gadget never gets disconnected? I'll investigate > more. > > TODO: > > 1. The mux framework has to be selected for consumers to use it. We'll > need some stubs in the consumer header file to allow compilation to > continue without mux always enabled by consumers. Instead of "depends on MULTIPLEXER", just add "select MULTIPLEXER" to the Kconfig. Otherwise, you'll have to convince Linus that we really do need a Kconfig question for the subsystem :-) https://lkml.org/lkml/2017/7/4/118 > 2. We probably need some sort of mux_control_get_optional() API so that > we know if there was an error getting the mux control, instead of just > ignoring errors. For now I can pass up EPROBE_DEFER errors and ignore > other errors and consider it "missing from DT". Yes, mux_control_get_optional should be easy to add. > 3. Maybe we can get rid of the mux driver and just use mux-gpio.c with > a compatible string update? I split it off because we may want to > support the "S" pin on the TC7USB40MU one day that shuts off both > mux outputs. Maybe no need for a compatible update either, if it works to do something like this in the DT? usb_switch: usb-switch { compatible = "gpio-mux"; mux-gpios = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>, <&pm8916_gpios XXX GPIO_ACTIVE_XXX>; idle-state = <2>; #mux-control-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&usb_sw_sel_pm>; }; But I obviously know little about how things are wired and really works, so that might be totally off... Otherwise, maybe a generic mux-pinctrl driver would do the trick? (compare with drivers/i2c/muxes/i2c-mux-pinctrl.c) Cheers, peda > 4. The userspace side of things is murky. What is expected to go and toggle > the host/gadget side of things in userspace at this very specific location > for chipidea devices? > > Stephen Boyd (3): > usb: misc: Add a driver for TC7USB40MU > usb: chipidea: Hook into mux framework to toggle usb switch > arm64: dts: qcom: Collapse usb support into one node > > .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 8 +++ > .../devicetree/bindings/usb/toshiba,tc7usb40mu.txt | 31 +++++++++ > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 39 +++++++----- > arch/arm64/boot/dts/qcom/msm8916.dtsi | 62 +++++++++--------- > drivers/usb/chipidea/core.c | 17 +++++ > drivers/usb/chipidea/host.c | 10 +++ > drivers/usb/chipidea/udc.c | 11 ++++ > drivers/usb/misc/Kconfig | 11 ++++ > drivers/usb/misc/Makefile | 1 + > drivers/usb/misc/tc7usb40mu.c | 74 ++++++++++++++++++++++ > include/linux/usb/chipidea.h | 14 ++++ > 11 files changed, 228 insertions(+), 50 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/toshiba,tc7usb40mu.txt > create mode 100644 drivers/usb/misc/tc7usb40mu.c >