Received: by 10.192.165.156 with SMTP id m28csp860761imm; Tue, 17 Apr 2018 22:50:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx48WvAowv8iZMvSI6G8THR+Q3Cg6KJfY0H5V55xEA9hs6zZ5YiSHKxcJXPatZoiG47NMCeqG X-Received: by 10.98.19.88 with SMTP id b85mr745322pfj.206.1524030655137; Tue, 17 Apr 2018 22:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524030655; cv=none; d=google.com; s=arc-20160816; b=K3GykPQqlZoiSF8e+ShD4Nuya+0wYHyEnZZ/UhMB1YnFySyesMc6HL5xaeK58vh14T 8Tv+20Q6OX70e/eRtW2EbFDp6DP4R+r6H9ndsqiym3QaM38HFt5nuwlEsfw+8gvcuZJJ 91ZOaBFBKi3Go0E58lVEPDjOs+wbvb8tVLrjpJ3ueIqt03DQjdYSUrR3gcOobCBCneLG J3z5GGbzXZquhayZpET0BYOZGsJzlDupFealEHZePMbCxszVuYztwuEryWVMCqPe41YZ FTz3lsW94116PHe/9J/j3B/wF51wfx8tvDmouyTPUwpoIYrBKMqC3lBX2JtBiYv3PJI3 x1Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=BahaBW0FlNdiVPCXHxFVBZfdDHWWTzLa48BCViARG5M=; b=lQ5s9ltAvTDrRm3xbYVFvPsdc+5iI5hMbW8DM847J8ZGpfEz8dJnMQKKJnToJ98WfS fzBjFEiJ1OoL4UqO9zZbNZNAEyIAiW3x+4vlNM4F2XI2tRzlJao3yELdeqBJbKbIynIO cc0vt18FvynfsnU53SD9Co2q5eWxSeG36S1tddoF8nx3bs4kweF5hh1+3ZYKtkgUFS02 TmaBRuE6OpM9XE2LnVH26hPujixk+8CVN5NyKcy8ru6MU1NKDexinzCts41Dq+d+Ad5K 4CEWDifxdfItrUX5oUvCiGKgOmYmFQmZUv+xT0tKKLZP3qwcQv6LajwOUGSd/oi6yAvu NAog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=PvDpKMs3; dkim=pass header.i=@codeaurora.org header.s=default header.b=PvDpKMs3; 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 c23-v6si556386plk.245.2018.04.17.22.50.41; Tue, 17 Apr 2018 22:50:55 -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=@codeaurora.org header.s=default header.b=PvDpKMs3; dkim=pass header.i=@codeaurora.org header.s=default header.b=PvDpKMs3; 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 S1752665AbeDRFsN (ORCPT + 99 others); Wed, 18 Apr 2018 01:48:13 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35426 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbeDRFsL (ORCPT ); Wed, 18 Apr 2018 01:48:11 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BB1B760A06; Wed, 18 Apr 2018 05:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1524030490; bh=y7RvSKsqnu6k2aFTnkgkCJBZS5RMXafpWgkUBny9bug=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PvDpKMs3X0q48hoPwpRe8dlJS4W5Xdo1jn1X6LdJNg646tUR4QkhVAFsJQgPzKaF+ Y4+Z+nXBcu5mngLvVZ4m7VYXgiw78NnSNvqfwIRjY2ZEkV48tIbqsY/Fc2a4zBesRi uPTSCJfjt47hstgs97yBfv77BS+RKp4dLOEYnoqo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 165C66090E; Wed, 18 Apr 2018 05:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1524030490; bh=y7RvSKsqnu6k2aFTnkgkCJBZS5RMXafpWgkUBny9bug=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PvDpKMs3X0q48hoPwpRe8dlJS4W5Xdo1jn1X6LdJNg646tUR4QkhVAFsJQgPzKaF+ Y4+Z+nXBcu5mngLvVZ4m7VYXgiw78NnSNvqfwIRjY2ZEkV48tIbqsY/Fc2a4zBesRi uPTSCJfjt47hstgs97yBfv77BS+RKp4dLOEYnoqo= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 18 Apr 2018 08:48:10 +0300 From: yossim@codeaurora.org To: Peter Rosin Cc: Peter Chen , Greg Kroah-Hartman , "open list:CHIPIDEA USB HIGH SPEED DUAL ROLE CONTROLLER" , open list , robh@kernel.org, swboyd@chromium.org, devicetree@vger.kernel.org, Stephen Boyd Subject: Re: [PATCH v2] usb: chipidea: Hook into mux framework to toggle usb switch In-Reply-To: References: <1523973148-2094-1-git-send-email-yossim@codeaurora.org> Message-ID: X-Sender: yossim@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-17 17:11, Peter Rosin wrote: > 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 Hi, This patch was split apart from the original patch into two patches one for chipidea and the other for bindings. this patch has no other changes two the code. I will update the link. thanks Yossi