From patchwork Tue Jun 27 02:12:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 780961 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wxV5S0wgQz9s76 for ; Tue, 27 Jun 2017 12:20:44 +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="GrDeeyXm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="WpozymQO"; 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 3wxV5R5hDFzDr1r for ; Tue, 27 Jun 2017 12:20:43 +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="GrDeeyXm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="WpozymQO"; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wxTwl4066zDr1m for ; Tue, 27 Jun 2017 12:13:11 +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="GrDeeyXm"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="WpozymQO"; dkim-atps=neutral Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 790C120FAC; Mon, 26 Jun 2017 22:13:09 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 26 Jun 2017 22:13:09 -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=YztoTN J1opHDU810jhJcf/6CBINKWdj0esyInGpB/mw=; b=GrDeeyXmSl7UAUMao4iGiL iOdnxkaCE2KUtbRZYswy/VR3gqgHwVd0zdGqF/5mXu3qSYQgczTKemSCjoCI6SAn DDPEOAkClQSfQNlQ5Rmpf+eCRPNU7aiwG29cipPtmKEmJXOzrXtU7hg2ALjj6Hwy dDO2WKsk13PnvM5mW/a9W1HKum/OSkD2wfl84vxA9mUeWja2KwKhe77Tk+dKl3L8 0ozUjrFz8L4nE5yDW8RjvyrXoqMWxgHTMSFM0YP9DdVOxE83LGGE6WDhvCSr7dtd vQaRxme+vMMez3ghlffmb55GC78t3oFza9GvyMJrDLp5/t9vaelw+udhRoNxgqww == 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=YztoTNJ1opHDU810jhJcf/6CBINKWdj0esyInGpB/ mw=; b=WpozymQOVR1mqWsJ94/nCfW0Xp6MFFSvBWeJ5Zz/bPlVTUI0EJVnLgq+K /QAI5Sp29xhv5+AdW+w99M0SRwR/H+H7XJBZc2uLFb048mv0Zj1/kq4LnRvggt56 43X3vYtoKg0Dsj2mqxYjeKu6552mDhNal6NvmTiMucPtNKEHqHcimpxmfSNkXv8J oXtVgdIG3w79hWRY+4sPr/Yga75LJRTnu+aEwF1TNbgl9C7RVy5x58XwzTh/DRcL Rm5oyCZHNV3X0234h/N+wXJs1SR00nmr+ALkrpNFaO07BPXnEcjQcnGuuunTpIbu 7NJN7PrDbCXt+fW97cNfnafW5S5HA== X-ME-Sender: X-Sasl-enc: rs30mmxFRKdEfGdaoR31Kkoz0mL9NN/nGAoOCsonq5IT 1498529588 Received: from keelia.au.ibm.com (ppp118-210-130-225.bras1.adl6.internode.on.net [118.210.130.225]) by mail.messagingengine.com (Postfix) with ESMTPA id 5A7582475E; Mon, 26 Jun 2017 22:13:05 -0400 (EDT) From: Andrew Jeffery To: linus.walleij@linaro.org Subject: [PATCH 1/4] ARM: aspeed: g4: Add USB functions to pinctrl bindings Date: Tue, 27 Jun 2017 11:42:11 +0930 Message-Id: <20170627021214.23323-2-andrew@aj.id.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170627021214.23323-1-andrew@aj.id.au> References: <20170627021214.23323-1-andrew@aj.id.au> X-Mailman-Approved-At: Tue, 27 Jun 2017 12:20:42 +1000 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 * Combined USB 2.0 Virtual Hub and 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 | Device | USB11D1 3 | 2.0 | Host | USB2H1 3 | 2.0 | Device | USB2D1 Signed-off-by: Andrew Jeffery Acked-by: Rob Herring --- 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: