Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751192AbdGOIeC (ORCPT ); Sat, 15 Jul 2017 04:34:02 -0400 Received: from mail-ve1eur01on0103.outbound.protection.outlook.com ([104.47.1.103]:50679 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751133AbdGOId4 (ORCPT ); Sat, 15 Jul 2017 04:33: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 , Andy Gross , Peter Chen 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> <149998530228.4532.1798948469358915658@sboyd-linaro> <150006762899.13439.5431012472808314482@sboyd-linaro> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: <2d2b411a-8a2c-85b9-5dc9-870c11801756@axentia.se> Date: Sat, 15 Jul 2017 10:33:47 +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: <150006762899.13439.5431012472808314482@sboyd-linaro> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [81.224.168.30] X-ClientProxiedBy: HE1PR0301CA0007.eurprd03.prod.outlook.com (2603:10a6:3:76::17) To AM5PR0202MB2548.eurprd02.prod.outlook.com (2603:10a6:203:6d::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c4d3b996-0307-455e-1e63-08d4cb5c38e0 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:AM5PR0202MB2548; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2548;3:kVxZioZJv2z+eQm3Gj+c0hPQGG9HEK7uuOg99rad2yTtdiDgX8Zh1FToOw0syeaX3r9Xnk5LDIK3IZciuJwW1/AE/rTFbO+WoUfgz3rMo6h11VGwfVizM+DR5+d6PRyaL3oHPtL413rqUCjwBXwpkgt8iFXg7OYwBedqNEtyBqRbsVl5wvG+iw2TjXBqinWsxHcjf32bp6MnN/enD0P0ym/SY3UAYsY/+4HACAUxu1NH3uYrDmZg8wGbROhHiGSF9+5JUgEBE8mHyQ/hAOiphPDkEy5caLuc4I7K/wxt0DM1S0RF5gjooS+QySXSqA0Eg2ZR2Jla2gdVWIrLiJ45NjIh9U7a2vYgHJj3g3HYfCXRLYdeWr7A44BskFIoM0SOObv4NO5dgQHBIDQbtbt8ob2rdbqnnWnWSQLQRcIoUo4UptEDzS2W+ExG2W0F3qUGyhB6Fe1CLQ6xXmRtPqBODyRs2yOOp/gUb6XIWbXn/2E1VifkXMyYG3RvLBJppNckxDGd2zNuELrnRk1JaBYEJq31SNRASxfDzhS+YDVGrqQkktBcL0LSkdSYNB8MHezNyU4fULY/5t+fiOHUURIf/tzCenI2ULecL/J10oleg4sD5t63owUjGIZnY22emDWaXdhyAnabQCXSNJvVYmEXulgLvoXSqtZuxlI7GMTsHHRmmhlsdeq8BwJcwcLm51E9W8tZ7UTINPR6zaZP5AF/rA== X-MS-TrafficTypeDiagnostic: AM5PR0202MB2548: X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2548;25:Bn7dFVap8rgbBSaIxtHGkiT3FQY3nRWKKBNSCCXNYsOdOaiR+H2Cc7m4iGfCtmFnCkszn69Ab/nkfcPVA69YsPX8+VvNzqUih/ELtLwP43EiH/I2i9KQsIynIXS6XSomYuH082MRg6bdDw/UPwv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ZHx7YHTTnjfLgoihyP7w1ZeM1fmPdpuYse1jCWlEYekoq04aIAvMt5r09iX4Jstc1eDxrI/xMZvsHl647cfukXVV7f8d7lCEyV2sNP7eHUi14d2N4+EBNY2HhmZsGsTogqudjAoWRB3kDjz7rZE+nLj4y4vg26d/P2aA52Mk+eS9oHbWyhZZxHVIdUT0nifybtP2WxlRQ+y0YtwNI2Thck5CHGnGuGSXh/Kw5xtWAijmL6/G1IfBo50yXSwZSB3QveTtIa4gteHDaMniPyitP+NiNpZ6vFK/CBYJytJe90Yz0YoXleME1bUXrq0eFHYIC7l1q/eU2OAw0hYW7drUnXzPB40KbitzREJPGUo3OCW/c9PrZlWb2852KD4u1qIARLoYJIafwdQIJnxBLCkIfFvVkHJJeXnRsJsessYlFRFgYFQ3om8PbkqRisg2nUMDd56Vqxi9A1w1Cn8QwzjAyY3EHTYA== X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(167848164394848); 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)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(2016111802025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(6043046)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM5PR0202MB2548;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM5PR0202MB2548; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjAyMDJNQjI1NDg7NDp0cWRENFF3d2xjcjV5ODY0WG5SamlJWm4y?= =?utf-8?B?cGVSMXA5MDBXSTZSOVM3T0tYYitMYXBZc2QxWUth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A=3D?= X-Forefront-PRVS: 0369E8196C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(6049001)(39410400002)(39400400002)(39830400002)(39450400003)(24454002)(377424004)(64126003)(2906002)(6246003)(54906002)(8656002)(478600001)(53936002)(4326008)(36756003)(3260700006)(25786009)(47776003)(117156002)(66066001)(23676002)(65806001)(65956001)(93886004)(189998001)(31696002)(86362001)(38730400002)(50986999)(54356999)(76176999)(53546010)(74482002)(5660300001)(7416002)(8676002)(6486002)(77096006)(42186005)(83506001)(31686004)(4001350100001)(50466002)(7736002)(6116002)(3846002)(230700001)(7350300001)(81166006)(6666003)(229853002)(2950100002)(305945005)(33646002)(21314002)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM5PR0202MB2548;H:[192.168.13.3];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjAyMDJNQjI1NDg7MjM6QTgvNkw5QUpuOVF3VzJsOWhpNXNpNDZK?= =?utf-8?B?aE41K1FuKzZKalhYSzVrU1RLN0ZMWUcxUktpcXFhcEpJYVBpeGNYYUF1RzlW?= =?utf-8?B?YmF2L3VaRTM3YVVtUllIeXlyVFFFQXBwM3kyOHQwR3Yrc2d3cTdQSkVmY3h4?= =?utf-8?B?dTZxVzVZSGRnSHRDWTE0Y1dMam1LdU5UNHMreXR4Zk5CYWhyclNpRVgyZ1ZZ?= =?utf-8?B?NmJiaDlsTU9nYkxMOEpLSlpmUDRZWk12UEcvM3ZyWlFzR0VEZE1acEJKYTdh?= =?utf-8?B?eVd0d3pwY3hPWU9PMSs0clBjU3U1VVVSOENxMEVIcjhTcjFiVVl1UTZVM2Vo?= =?utf-8?B?L21JMHM5V3RPeWI3c2VjNStJaGpyeXBBVVFFdlBneUs4SU9GOUozQjVYSG5P?= =?utf-8?B?MWNrQUhnQysxZVVVem1DVzVxb3FDMldsMnNxdjhtLzlLL1F1aFVna0JJcXVr?= =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cy84WS9BSktSZHVV?= =?utf-8?B?dy9nbEJhTEI0Mkd0c0hMSDVOS3VpQ1g4d05zcG0xeUFTTmZpTHozM2YzVHBR?= =?utf-8?B?OXJNcGRKM1RBZElLWlI1eUR1T3J3SUFmQ0tSZUdGVWt5aUNvMG9xVFFRbGM2?= =?utf-8?B?UWZXT0podTA0Q2RxWm5iV3ZkTjNZUTRKK3NQTlYwQjl3WVg2L2tWc2FOeEJi?= =?utf-8?Q?vC1BAUrUzauuKAdWRQCXG4CwHa3ycpi6o=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2548;5:1N3lS4Oy13lib1jKll0hP21N9/GxH/0OS/pVP3jlgLmuPySn26iuySVgYkc5XHZGBnWlGEB0dJFEF2p725id+kDUGq4+j2tQ21hXznsLlpkkeNDqx2zH+8ylMaTt0DiWaoQsIpu7+lc+uB1vDMmPANbj4Jae6LVU1Of7EIs6kULQeBL8tGPR4/RA5hqaXpNKiJWjbfzdfedTrnKOSwk+krQPIkdHFkdikKARrFneDYb48bCSj1Bv/0TJoXa+lhxpdtMJK/XF2pTfyKrA/Eu30Z4gqf+dByIEdorQFs3W+S0HEf4+eED3TBrGXsC+JMjm6SrgN1HGrHFoQCPKXqYX4/oDTT6XJLArszTmpH1ekv/qGgA3YraUOTQVnt91MseBt3whvs85SI8nuHbU4V3RAZBAc/0JcnPexghRRkARpnq3ezuDHLu4REoTYa+Glc4eblqmi+uM9AE12SPgVZkGoPbwtbHQDZTTGGNl8YGr1cBPBuDlrPf7JoRu9WUjvZ0z;24:x7YnIOzpL4VmtKcpqk1rAyoxQDdYkE4Y/g/Yo4ADJTcM+OsV5jqrw9KTazBr5ZMorcxiN21SE+A5KBIp5KiUFezIP+8faoDmvbGqx2Als3s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM5PR0202MB2548;7:7slgUJojKbYia7PN+vJ+wjSBno4RW5JvlaeNzb+d/CZFMhORxZeCrifKu6ujPcuysykcK7qWTAwFfqftaa0DY22Z/1yhue5IIymCndqJrCSl6xJW7g+hfkYuNKc0Ihi5xIrKOUZBFG1V/N+4nY7FmTKocMhM1TuTBLrzynyOGFft5Juu1u8KQNKgm9K2qUB+tUEkJvJTatkqQU0Y7OkOPquE3RDnnKqteg+tu1Fam2gyrmZ1EpV2fAXXi7L6mwpMQhM8J53gNEOhO/F6nxdtM5s1OyJ9OoW58wxfxlItT2vxyJdNkeYxfFUW5wGGE46963KXgAsUtvwbj1aZVsxh7kttJYgwKF4BLCYee5bLT3qaYGcabsHhSdQYG+fwHs48ye7VRisQoPTP6d3jehH38lHb2Fv/FyXbEHqDKcZfFDFrt7gR7zPupyhV2Pxie1iBQP5Dil/laGXIm4NQlb/S4axwvcLYxIKk8jlvoSLxNGlCVppTg/CiY9k++XeV6+LYRIGwkwf4Hrzg4MOZaqG24eMNmPu7tIsuvO2nYTRMPw00z9upMeT+sHPDZ2L5jPtGu6pTwFcBurOy2LSWuHHRCV8foijzVAab0RVz1y1nTTwxMLyzxqBYb7odQuFXyiPnHmhtLxEY5j84PmnsqhuY4Ukt7NJ08UKSBUsoGiNg9hfqebI6iV83bVZ7gxNfC18ODDVySp9IS+JzPoPvlLF6L5ZAEZl9lKXiFN1JovEWgoUeg8rY76hEnCwAnZiavYERcrjTDyXEfiqW1Xpzc30ItgjPXfZqwUsMvITzonBnxMI= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2017 08:33:50.6005 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0202MB2548 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1813 Lines: 51 On 2017-07-14 23:27, Stephen Boyd wrote: > Quoting Stephen Boyd (2017-07-13 15:35:02) >> Quoting Peter Rosin (2017-07-11 22:04:46) >>> >>> 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) >>> >> >> Agreed. > > Testing looks good when I use the gpio-mux binding. The only thing I Glad to hear it, I didn't really want a new driver so similar to the mux-gpio driver... > noticed is that gpio-mux driver is requesting the gpio with > GPIOD_OUT_LOW. Is that intentional? Not really intentional, it was just easy. > I worry that may randomly mux the > D+/D- lines during probe if the gpio is asserted at probe time. It isn't > a problem for me right now, because the mux is power on defaulted to > have the gpio deasserted, but it may be a problem if the default > changes. It will not change, the only change I will accept is if the code in mux-gpio can be arranged to request the gpios with the idle-state from the start. But even then, the default idle-state (0) will not change. So, you should be safe. I will look at the new patches later. Cheers, Peter