Received: by 10.192.165.156 with SMTP id m28csp104051imm; Tue, 17 Apr 2018 07:14:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+h3kykTv0EErrtOUOSgXndPHYIIjZFVf7ylvsAzLWeagi635/6yfd6tShG7m69hpiOqN7X X-Received: by 10.101.101.15 with SMTP id x15mr1974706pgv.322.1523974461575; Tue, 17 Apr 2018 07:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523974461; cv=none; d=google.com; s=arc-20160816; b=sp+N2+5FVVMjxbB1ril5cHv3JyzrQQcF18lsyZVtGRIYTqV1GsPgawtQfMYzaLppn5 iCJi/XCaNHADMri3cdDXhkdnRIxM7/T5SkR5E9XN0grWeX1ddvsJs6gpO+JJMz4qeSIA juTIPelwYQ9DhgEODzBU7X8en7Uf8kUvGau6yRgZmIZF86r21OuIFvJ4n1HE5AqJ/i/x rMWPlBYKhMrV3O7+/jk445/tRwqriQwrEJO5hy88nvBt/gCU4ctSfDWuh5I57eb1fQXE xSKfTAgqSaviFTw2unXXXWKJc0hn1qGNQo3GyIHY9QZWoRTh2VIilQg6kEZNjow+U7Gv 3BTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=pkli9gepsiqfYNXoIKujwbPeusQL8bhCRVCuWVtcYxA=; b=YyIqkqQ7bcvZy85Kp7e5nqbQkNzGvRRC7aqMEPXPW0+z//qD66Tx7ybR8Huip5AZFU av7aXw5BD3V6FBJIm6Iey+27TUuuMEtVHb7Vc8RNidwCA4R88w/l0doEmCGWkVaReUwW J7TrfN5l2QWVTfykQXXcgRmtaYUuZSBYr6BqQchY5KJDfqvWE9FvCwcLKT45v7tG4vPp LPG7BHy2QnzsVMWItbHrG7wEBm+dpCktoe18KGRtcn1qwMQ4s9PyOWnE7BosWQrRmrcm qYN0ePC1C8O29+PLMDuDn9snnFuRsjwyzWaBWjyTHEAbDX1puZzxniXSFTRv6APcchv+ 2iLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=ZB6gQa3m; 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 y9si8728300pgp.525.2018.04.17.07.14.07; Tue, 17 Apr 2018 07:14:21 -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; dkim=pass header.i=@axentia.se header.s=selector1 header.b=ZB6gQa3m; 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 S1752671AbeDQOLi (ORCPT + 99 others); Tue, 17 Apr 2018 10:11:38 -0400 Received: from mail-db5eur01on0096.outbound.protection.outlook.com ([104.47.2.96]:54112 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752145AbeDQOLf (ORCPT ); Tue, 17 Apr 2018 10:11:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pkli9gepsiqfYNXoIKujwbPeusQL8bhCRVCuWVtcYxA=; b=ZB6gQa3mFDGjC8CC2p8gW9T3p5hVyT73LsdaPHM3Ul31RQPT8+GegBWYnKsdk/ZTVJUs/QFk9FQJ0n9rhPOEsBRhMl1BnNwWKvwRli3/eKIYZ9xn0UnKVStWdz5IlT28qK4VlscKmdNSMILUjUFXR3WeMtpOcRI9VGbhbI566F8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from [192.168.13.3] (85.226.244.23) by HE1PR0202MB2777.eurprd02.prod.outlook.com (2603:10a6:3:e8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Tue, 17 Apr 2018 14:11:29 +0000 Subject: Re: [PATCH v2] usb: chipidea: Hook into mux framework to toggle usb switch To: Yossi Mansharoff , Peter Chen , Greg Kroah-Hartman , "open list:CHIPIDEA USB HIGH SPEED DUAL ROLE CONTROLLER" , open list Cc: robh@kernel.org, swboyd@chromium.org, devicetree@vger.kernel.org, Stephen Boyd References: <1523973148-2094-1-git-send-email-yossim@codeaurora.org> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: Date: Tue, 17 Apr 2018 16:11:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1523973148-2094-1-git-send-email-yossim@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0130.eurprd05.prod.outlook.com (2603:10a6:7:28::17) To HE1PR0202MB2777.eurprd02.prod.outlook.com (2603:10a6:3:e8::19) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:HE1PR0202MB2777; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;3:rsR5EsNzNmYFfgyjRfzAZm0SKq6Z76yu+EKDRkM6AVKfACX+p6EOSlJNHgGN9UeEeBB1wXO6+EfBgrmhdyymRkaSWy4iG/UQ8IXEzlNnrb+uLba/vX/szAFUxc7PTZtQW/18FG+RDRiOL6I/ISgSBo0NaA/XrnHP3XmQkMxv5pDVQWUuPhY9As2/3y9EV1sd55EMfXyUIPrdyPhvuU48r8A6b3tndXvgBplb63PnjIgp2GExZ6AuMibUOJvIfJx/;25:tMgpkp9NPB3qg5+StlJHIpxcVLq56+1+US2ID4hBAsB4Z7FdlIsxCWpP0XAUoc0Sbv89Spd4eIl7qzuuZodsW1d5PLBCYDgTCKeYH+tpWTLA0ijDkFEc91aW/fC6EtVAUAUbBud5+DxaMHLnEM9FzWEhek8JTdgl//eBti9of+8JbBf+NifMcD9TksoJCpmcikYEBoZOhXnbl8SJP+WyQvn2EvJrjDWznr+RKI8dqyvBqhhieOvxEkZ4mWwM3fXjIfraAvhi1HfUDwXFym2YROc91qLPsH9bYE/VTrSzAe98aNYWbEgOFeT7HuMWJyDeD4VGDu4etE0AN7VDTMmr2g==;31:7L4UK9dahL36takQckyMSkCLnZzO6r98iNx8XMjiHQyUN5rNyYKT8pBy0asKiGUMJ7RfXxENOygRR9OnhuIU39+eruPma3ZX0/Ey+0hBBMuvS2rvXCc9nPmi/h8VONKB94Oxgc2qCex/5APs8UKdD+HnQwreoteTSG5MN4/mv87h2XB7eieIHMTdKdG/ACn85mykFBO786mdgHtonisrW6z+7p9We6XHbOEvDBiEmPI= X-MS-TrafficTypeDiagnostic: HE1PR0202MB2777: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231232)(944501327)(52105095)(6041310)(20161123564045)(20161123560045)(2016111802025)(20161123562045)(20161123558120)(6043046)(6072148)(201708071742011);SRVR:HE1PR0202MB2777;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0202MB2777; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;4:ekf4ERmV7S9EttosuZSOZF4tUofI3ztiCpimq69juqj6DmB/j09FBBM6fIY3X2Nkv49lEU1w/JhcLigLBxTgLqlNKrTdAKiJjJmlhMNQ68Ex6DI/FL7SB0PUkVwoXyP9CLd00+Y+ZPKa+MVjkTzkXS2zl4nczzch2RBEkvNN99Ez5x2bqg07uJodH1aAmgWrJ7lPJTRGPeJg6Iw/+9aHy24uoZee0fWRBH5TJ8STy6/b2H1L/dGvWT0wSo1df6NYH+28gms8steXuntOXJTIQAfhnpU4+HQi3Q0ZHO8+liUqHc9KdBGZLtUFuGpKCw9R X-Forefront-PRVS: 0645BEB7AA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(346002)(366004)(39380400002)(39830400003)(396003)(376002)(377424004)(199004)(189003)(77096007)(476003)(446003)(3846002)(117156002)(230700001)(53546011)(6116002)(3260700006)(6246003)(65826007)(2906002)(31696002)(956004)(2616005)(36756003)(110136005)(8656006)(86362001)(68736007)(5660300001)(25786009)(6306002)(11346002)(26005)(66066001)(65956001)(52146003)(36916002)(16576012)(47776003)(2486003)(52116002)(105586002)(8936002)(106356001)(81166006)(8676002)(58126008)(16526019)(186003)(53936002)(4326008)(6486002)(316002)(6666003)(23676004)(64126003)(81156014)(76176011)(229853002)(74482002)(966005)(486006)(305945005)(50466002)(7736002)(31686004)(97736004)(386003)(478600001)(65806001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0202MB2777;H:[192.168.13.3];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjAyMDJNQjI3Nzc7MjM6cFYwVFdZWGVLU3cwVmtaMEpCQUtVN3NY?= =?utf-8?B?dzFESThTb1krOVVuaUQ2TjcwRVd0KzROeUoxOUV0dUNQcDloVDNQeFlkelFS?= =?utf-8?B?aVNxS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B453R98G5tr3mHmp5Ri8VUMq68R6puNobV9pW4/SoBL0y9aXPKV0jR0RDW/6CVs3cvX1IDOe70IklcQp7tZQFVRlTmp/eSl2VkVX5Z2nwdGo=;24:nwypbhp0SFffzVX89eVw3Qj+K92YM20Wb+WYJVS8WDU8/vZhXFq6egsZXZx44Pxa01ho8MHv2FppqtlAiA9PlJGm4zU1+19+sBhlXBMVxsc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0202MB2777;7:A7yqjyv77++CLKeeqiAt/myRWlFaiJ/mqjYO7ntzfYcVyZAp7dC/GUdtwrqno7xjP5GNWom8XQjXk62j/KReQlzvxh4rrJPQXKejDlV/T2bJUjTZeZuVdt8mLFQRokPQ0u96qC+8nxaNpXox3MVpH0641v1Mn4gIYPSs8pzIig9Q1f6ZVpwbvtiPevA13xdkFlnlaN7JBIAPexRbOhLu6hss0OoxnrtNnifdnPc8BXwzOfXz9zQwW2td7JQG6UIw X-MS-Office365-Filtering-Correlation-Id: b4a86131-1b6b-4d66-52a9-08d5a46d1db3 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2018 14:11:29.6818 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4a86131-1b6b-4d66-52a9-08d5a46d1db3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2777 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-17 15:52, Yossi Mansharoff wrote: > On the db410c 96boards platform we have a TC7USB40MU on the board > to mux the D+/D- lines coming from the controller between a micro > usb "device" port and a USB hub for "host" roles[1]. During a > role switch, we need to toggle this mux to forward the D+/D- > lines to either the port or the hub. Add the necessary code to do > the role switch in chipidea core via the generic mux framework. > Board configurations like on db410c are expected to change roles > via the sysfs API described in > Documentation/ABI/testing/sysfs-platform-chipidea-usb2. Ok, so this is v2. Please describe what is different from v1. I have told you before that this information helps. > [1] https://github.com/96boards/documentation/raw/master/ConsumerEdition/DragonBoard-410c/HardwareDocs/Schematics_DragonBoard.pdf This link returns 404 for me. Cheers, Peter