From patchwork Tue Jul 18 05:24:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 789880 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xBTCC1nHGz9sRV for ; Tue, 18 Jul 2017 15:25:43 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="BmEwFGO2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="KS0f6d1P"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xBTCB4dJQzDrFg for ; Tue, 18 Jul 2017 15:25:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="BmEwFGO2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="KS0f6d1P"; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xBTC64jwMzDrFf for ; Tue, 18 Jul 2017 15:25:38 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="BmEwFGO2"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="KS0f6d1P"; dkim-atps=neutral Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8DC0820872; Tue, 18 Jul 2017 01:25:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 18 Jul 2017 01:25:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=wTh85I uFpzYiQkiYDxsHF0hx+jWAGANQHbldrmWI6pk=; b=BmEwFGO2RNFm4Zxlr8lNLL C0FIQyk7SQ4px/Rt6zOlEaOzGf1BOY4aKvGM3axUheP/MhOQpdLJG7FeD5BKDAwh 31fnr8/mvEpIx3VAnCcrvaZGfxNMzKiBbqP+5mnRsX0fiQX8zRXRLyL4jsHUGMbc be9mP9hgBn8hxb9PLteOT0qFivcn1/Y4cagu+sSwibQgmXSUTBY9JQmL0Llr3Wsy gklV4vbyuOq2Q0z4cBwZEY/vAiIIW58W0u/OeJvIRjo4npw9KgEHVgvozX8huxeZ I3D48J7Mny0GtjC/9WEoWiyItQOrK1OUmi3KBeT3L9SeWWmSg0z67wVwtBGJzykw == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=wTh85IuFpzYiQkiYDxsHF0hx+jWAGANQHbldrmWI6 pk=; b=KS0f6d1P94dP/NF9g+cLHChs3tUibdqVk9T5gLkOlOYQGIvdmtBCl83Ty 9JT1QeOnNVtf3dsVpUSydztqlB6vNn8UaC7wxoBoSaA+NGhb4FQNvfQZw3fcQUlV 2faFYzqWZhzoLY2dnX7S6IywXMYnemsy9J75+7UYc1F/SpCrlgKM+GPb9Pbt6pDd bwtfIxWuxv/E9nmGtQ6/OBkdzcTqccX1vu9UPDO5y+esMnrGvCAV95BEN3rPjss3 YwK8wDMx3y2FubPMEDCvIJU+pyJ2K1MC5h/D+eRFhu52YADbs7E1utpdNAU0IaxG Tn/EQK5BxNesx7cQQstDGvvO1FcLg== X-ME-Sender: X-Sasl-enc: 20Oj7jvf0vKR8/tuuYl6TvzV3IWUctiMRi1OV8UAXqyR 1500355535 Received: from keelia.base64.com.au (unknown [203.0.153.9]) by mail.messagingengine.com (Postfix) with ESMTPA id 153B824081; Tue, 18 Jul 2017 01:25:31 -0400 (EDT) From: Andrew Jeffery To: linus.walleij@linaro.org Subject: [PATCH v2 1/4] dt-bindings: pinctrl: aspeed: Add g4 USB functions Date: Tue, 18 Jul 2017 14:54:50 +0930 Message-Id: <20170718052453.14316-2-andrew@aj.id.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170718052453.14316-1-andrew@aj.id.au> References: <20170718052453.14316-1-andrew@aj.id.au> X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, ryan_chen@aspeedtech.com, linux-aspeed@lists.ozlabs.org, benh@kernel.crashing.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, robh+dt@kernel.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The AST2400 contains several USB controllers: * USB 1.1 Host Controller * USB 2.0 Host Controller * USB 2.0 Virtual Hub * USB 1.1 HID Controller Pins for three ports are routed to the three controllers such that: * Port 1 is a dedicated USB 1.1 host port * Port 2 is shared between the USB 1.1 host and HID controllers * Port 3 is shared between the USB 2.0 host and Hub controllers As the pins for port 1 are fixed function there is no associated mux function or group described in the bindings. Ports 2 and 3 are muxed as above, and the table below describes the mapping between pinmux function names and ports: Port | USB Version | USB Mode | Mux Function ------|--------------|-----------|------------- 1 | 1.1 | Host | - 2 | 1.1 | Host | USB11H2 2 | 1.1 | HID | USB11D1 3 | 2.0 | Host | USB2H1 3 | 2.0 | Device | USB2D1 Signed-off-by: Andrew Jeffery Acked-by: Rob Herring --- v1 -> v2: * Updated the commit message to clarify HID details Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt index ca01710ee29a..09142dab47db 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt @@ -69,8 +69,9 @@ PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 PWM7 RGMII1 RGMII2 RMII1 RMII2 ROM16 ROM8 ROMCS1 ROMCS2 ROMCS3 ROMCS4 RXD1 RXD2 RXD3 RXD4 SALT1 SALT2 SALT3 SALT4 SD1 SD2 SGPMCK SGPMI SGPMLD SGPMO SGPSCK SGPSI0 SGPSI1 SGPSLD SIOONCTRL SIOPBI SIOPBO SIOPWREQ SIOPWRGD SIOS3 SIOS5 SIOSCI SPI1 SPI1DEBUG SPI1PASSTHRU SPICS1 TIMER3 TIMER4 -TIMER5 TIMER6 TIMER7 TIMER8 TXD1 TXD2 TXD3 TXD4 UART6 USBCKI VGABIOS_ROM VGAHS -VGAVS VPI18 VPI24 VPI30 VPO12 VPO24 WDTRST1 WDTRST2 +TIMER5 TIMER6 TIMER7 TIMER8 TXD1 TXD2 TXD3 TXD4 UART6 USB11D1 USB11H2 USB2D1 +USB2H1 USBCKI VGABIOS_ROM VGAHS VGAVS VPI18 VPI24 VPI30 VPO12 VPO24 WDTRST1 +WDTRST2 aspeed,ast2500-pinctrl, aspeed,g5-pinctrl: