From patchwork Sat Dec 9 08:45:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 10103627 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3C3C060329 for ; Sat, 9 Dec 2017 08:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BC6A28FF6 for ; Sat, 9 Dec 2017 08:48:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2066B29011; Sat, 9 Dec 2017 08:48:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC5DB28FF6 for ; Sat, 9 Dec 2017 08:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4qmxMnMgH77AjQ4ZHXxt9uwXQyGxWAiD2waqjK2uUto=; b=gtP7JJv177b0V1 bInU2VhChjYSK1FFJfO4aGUVF4VVnZaxUcIs/W+wsHZXjmV7wnbYId9heXAPNYbX6Dn8BgbDYKTbd xEp0GfcLI9x/39wIhboQ4zvyCrMbegZ6t58wOA1M2kZeVl0wdI3flnoQMP2QpqlfICAEVH2ngyK8R ClAkmiGud8+2jZ6V8G17uNyljbYwPPfUR/8efJxmM8a6lQTSQRhPKak4cAM2MibzUrdjZOD+4OtLc +1iVPM4t1AjcyKiJxR883slQm70iufL3IXT/dfyvCaeiY+Z2KTWZhUezg/Cp0WoN4sQTM+u6iZ5Pk yYwBm23R5Yl0pnL2gfAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eNaoP-0008Ng-5J; Sat, 09 Dec 2017 08:48:45 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eNan7-0007C2-VR; Sat, 09 Dec 2017 08:47:30 +0000 X-UUID: f1e0b3bb44b149daa490d529c53a0783-20171209 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 646090273; Sat, 09 Dec 2017 16:46:59 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 9 Dec 2017 16:46:58 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Sat, 9 Dec 2017 16:46:57 +0800 From: Chunfeng Yun To: Rob Herring , Felipe Balbi , Matthias Brugger , Mathias Nyman Subject: [PATCH 6/7] dt-bindings: usb: mtu3: add USB wakeup properties Date: Sat, 9 Dec 2017 16:45:35 +0800 Message-ID: <1512809136-2779-7-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1512809136-2779-1-git-send-email-chunfeng.yun@mediatek.com> References: <1512809136-2779-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171209_004726_207599_68D05348 X-CRM114-Status: GOOD ( 11.40 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Greg Kroah-Hartman , Sean Wang , Will Deacon , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Chunfeng Yun , Jean Delvare Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Modify the properties of usb wakeup, and use the new way of mtu_wakeup which is extracted from SSUSB controller dirver as a new driver. Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt index b2271d8..2ed546d 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt @@ -42,9 +42,17 @@ Optional properties: - enable-manual-drd : supports manual dual-role switch via debugfs; usually used when receptacle is TYPE-A and also wants to support dual-role mode. - - mediatek,enable-wakeup : supports ip sleep wakeup used by host mode - - mediatek,syscon-wakeup : phandle to syscon used to access USB wakeup - control register, it depends on "mediatek,enable-wakeup". + - mediatek,uwks : a phandle to USB-Wakeup node to control the type of wakeup, + it's used to replace the old way which is realized by the property of + "mediatek,wakeup-wakeup" and "mediatek,syscon-wakeup", + see: Documentation/devicetree/bindings/soc/mediatek/usb-wakeup.txt + - wakeup-source : Decides if the new way of USB wakeup is supported or + not, it depends on "mediatek,uwks" property. + - mediatek,enable-wakeup : (deprecated) supports ip sleep wakeup used by + host mode, only supports mt8173 platform, use the property of + "mediatek,uwks" instead on other SoCs. + - mediatek,syscon-wakeup : (deprecated) phandle to syscon used to access + USB wakeup control register, it depends on "mediatek,enable-wakeup". - mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0, bit1 for u3port1, ... etc;