Received: by 10.192.165.156 with SMTP id m28csp81748imm; Tue, 17 Apr 2018 06:55:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+a/gAWy2Boi11ozflAGROb8yx4E0QLdRaCPre7PwD/yzvpHbH++sXaC8vxJqcvhPo/4X68 X-Received: by 2002:a17:902:7c02:: with SMTP id x2-v6mr973224pll.186.1523973337484; Tue, 17 Apr 2018 06:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523973337; cv=none; d=google.com; s=arc-20160816; b=pHvxy9qx88tDf69UbRc43a8gOLJDQiy0MCHFg4ufVVGz/VyyGRTv+fcyMmCA/70IUl 9zaB+GBgaG3zgfqYo4Itm953Dn9Br1ZhpjhwfZfGZAAg801JlSovT4IteGI5gY2J/srC +HOH3UNGqKN/E56i9vIVwH+5piQbsz2FWBWhZu581JfLURb7gMJMddeSmPnv+Jl7H0Lg APSXZlXy3tndV8gLWCOdlaFIqxaEok6ZieSo944llyK6JbFGxo27DwuVe2uP8Ztolpkd KcaD15YUsOoUKDII44O8trzy/dCQqN3Y2TYF1tybiWzcG50pNlAXqVVx8mIMuZLM5ybf iEBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=vonT9U/5eKILrC+IRAKEUNBOWXypkP3NI4UhQXcwToI=; b=YF8WLq8YdnBqhjw8I/uVGWk1hdQvbf9QjCAD66h/oFWoKXo6GfUTXJaLopSLBr8C4z woDDRXAiAEDqmtBHrxbQS7ctK1n3AMsB8xT2kQ+2OvP37uql7xWORTtRK8QCnwm90dBv SVrKNHWINiSwNuNuaEWer4adOpa/eWAQPKJc22QlQkeBSh32bjwzB9sU4sGl3jWSya7g T96dS94CklEz4TZyFxN32FltCh0ZbZ0m+gCYmkeWfgM4c1lDj+zsUPfuTnxCJKFWg/V1 XUPoAQNTifia/2cBExi8vqjP4F11ni/ln+C3gWVHpr3AZq6nQKhjPXQjd/ztjgT6EH0X d1+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=l4NpdZmm; dkim=pass header.i=@codeaurora.org header.s=default header.b=l4NpdZmm; 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 r72si12984746pfa.338.2018.04.17.06.55.22; Tue, 17 Apr 2018 06:55:37 -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=l4NpdZmm; dkim=pass header.i=@codeaurora.org header.s=default header.b=l4NpdZmm; 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 S1753843AbeDQNxx (ORCPT + 99 others); Tue, 17 Apr 2018 09:53:53 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34890 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753783AbeDQNxv (ORCPT ); Tue, 17 Apr 2018 09:53:51 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BCED5603AF; Tue, 17 Apr 2018 13:53:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523973230; bh=rAfAanirv6aiK2rKntfGhdzq450yPwd7P+ATUOgBhUo=; h=From:To:Cc:Subject:Date:From; b=l4NpdZmmI536RR7eROyD7DqxnfQk88hnU3jpge/oo2CdeZKDbnnpy0yoGxqKoAG0N Kg/NMpUjO6+tWByYl4d3HKNvtdKDU40SrZivQ1+bRkOkpRCsdyGE2/fObQDHPVJsmO rfc4nhUgZkOnFdZBlDMkxHgUOCcGDcRwkAfMeW7U= 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 lx-platforms-5.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: yossim@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2892C603AF; Tue, 17 Apr 2018 13:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523973230; bh=rAfAanirv6aiK2rKntfGhdzq450yPwd7P+ATUOgBhUo=; h=From:To:Cc:Subject:Date:From; b=l4NpdZmmI536RR7eROyD7DqxnfQk88hnU3jpge/oo2CdeZKDbnnpy0yoGxqKoAG0N Kg/NMpUjO6+tWByYl4d3HKNvtdKDU40SrZivQ1+bRkOkpRCsdyGE2/fObQDHPVJsmO rfc4nhUgZkOnFdZBlDMkxHgUOCcGDcRwkAfMeW7U= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2892C603AF Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=yossim@codeaurora.org From: Yossi Mansharoff To: Greg Kroah-Hartman , Rob Herring , Mark Rutland , linux-usb@vger.kernel.org (open list:USB SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: swboyd@chromium.org, Yossi Mansharoff Subject: [PATCH v2] doc: usb: ci-hdrc-usb2: Add property "mux-controls" Date: Tue, 17 Apr 2018 16:53:25 +0300 Message-Id: <1523973206-2165-1-git-send-email-yossim@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The chipidea usb controller may be connected, in some platforms, to an external mux to toggle between different usb ports for different roles (host and device). The mux-controller property, if set, binds the chipidea usb controller with a mux for this use. Signed-off-by: Yossi Mansharoff --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt index 0e03344..2e93181 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt @@ -76,6 +76,10 @@ Optional properties: needs to make sure it does not send more than 90% maximum_periodic_data_per_frame. The use case is multiple transactions, but less frame rate. +- mux-controls: The mux control for toggling host/device output of this + controller. It's expected that a mux state of 0 indicates device mode and a + mux state of 1 indicates host mode. +- mux-control-names: Shall be "usb_switch" if mux-controls is specified. i.mx specific properties - fsl,usbmisc: phandler of non-core register device, with one @@ -102,4 +106,6 @@ Example: rx-burst-size-dword = <0x10>; extcon = <0>, <&usb_id>; phy-clkgate-delay-us = <400>; + mux-controls = <&usb_switch>; + mux-control-names = "usb_switch"; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project