From patchwork Mon Aug 27 09:33:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 145163 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3975566ljw; Mon, 27 Aug 2018 02:33:42 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda0sq8OeRHcIn+gIgE59wHPR/PHGa7ublAfSWLlLVtDDy6GVp+p3ur4AC/W1A+0B42sMIMP X-Received: by 2002:a62:c288:: with SMTP id w8-v6mr13610990pfk.92.1535362422580; Mon, 27 Aug 2018 02:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535362422; cv=none; d=google.com; s=arc-20160816; b=OX14OOaegDBdcG4kSevtEW3RFBn7zMRPXY7wu6KnWvk3XrKa9NaMl58mWoCdG/p2GB uEh0+ixQVdahbB7vKHXe3M3eesOU2w/cumwwy+m/kyJE/JAtq2LTgw4NtxWbiCXlRDkL dGeUkeHjcrxDosj6pDHy9/puVHt/IRCBEJdzbbYohCAFGpZluN7ouK1GGDoBok8MsgPa rP95DeX8A+lZvS9CGeLV26hQDKBeEbSNbSkRmNqA7+/JknEP/LVxmDpVBFTJoEKIEnYH Zb20wcim/Hm+7NrbJ/GsXJr20x1Dunf67NWiLMntYyFZHvNM99LPmT+7aiBlL/JaAT0U mGkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=5K0e0i3GZ/tcRJJZ2Jk9vcHhwL11OJhvOLLUvTWJ+w0=; b=W81XCCTyNHOu8llgLXpCr6GNimWTeYeTV/dm18jWNK9HYEKZMfcjXHQQKrJ1bpIE0t RVTpSrS+HrcEW8oIlw82n8JOMKEEbrvi5U4nQUZPkV2UOTrKxWIn4hXw4VgC1NM/vRil KGj2r6ZeppfDlENetjlrvoVUF5ZmEV9iiGH0koVWQuxi8kRi6WB2pCKyAPSsd++vqMc+ u+DlOF1j7PJX1T06xNHhyYe4cJ8BOt/XzMDjfp7JC42Qcq/spX/8cVSfZ9Kh+WPZ5dJA o9WZCfU4jaDhiyASEJoYRVglnvMSbEjANj/FhxTxoJPnKKNVXbX0UkN4xeRlbin+Dd7b DAkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=edaPMFRH; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y1-v6si13854007pgf.146.2018.08.27.02.33.42; Mon, 27 Aug 2018 02:33:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-usb-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=@linaro.org header.s=google header.b=edaPMFRH; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbeH0NTe (ORCPT + 5 others); Mon, 27 Aug 2018 09:19:34 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45335 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726887AbeH0NTe (ORCPT ); Mon, 27 Aug 2018 09:19:34 -0400 Received: by mail-wr1-f68.google.com with SMTP id 20-v6so12944018wrb.12 for ; Mon, 27 Aug 2018 02:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5K0e0i3GZ/tcRJJZ2Jk9vcHhwL11OJhvOLLUvTWJ+w0=; b=edaPMFRHdvZwnO2D8O6iyp+rJa5sikogJqM77L6yfZ1n4wvsVM09aueY3xqgL9YeD9 fXQV8SPEGb/HvRnX+fxfIZvt05KjuMEcoehfnKpZZ+b/MOpWvVCF6Iu2NlZXBMh0LTL2 4Li5gt2OpAN/IGZXtVVnTBfk4eOD+3S3uLDeY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5K0e0i3GZ/tcRJJZ2Jk9vcHhwL11OJhvOLLUvTWJ+w0=; b=rEHT863b0avbqpCBgYprw7s8iABe9V/sNgu+/fbp0WWV/DR++V4nxVVvA5aUc8sX4o iVLcVl8yTSOscQ9EU1gUuXhVRSQWioWFnhdTRpvxhAMQYAoUjJgICsJs0+xuFcveDNex ZsuEppKsmh6RoLyUp/f3IIOka0zGBURLQqjwwfesYc1TMEbRu3jaStzi/LqUmXwWzuft 5LV5ylKcLME6xYL5PnPG2wxB+xREkREWK1QZIoq9kort6Sjy5K0tULoO4xo1mA3+h/uw yKLdN5Kq2NNs8KJJ2h4Nv74aQIZsSlJvpTZHIvnAG5iK46SWRHegZ8SBhFYGa9Fjmv4p +9Hg== X-Gm-Message-State: APzg51D8P7WlMRXxJbgKIzLwSIxk6c1sbMjf5e1fiiZB5Xo4hwCd1hee XFYqwU6UlxiRSB6D9vQLlPziTg== X-Received: by 2002:adf:9142:: with SMTP id j60-v6mr8112818wrj.180.1535362419962; Mon, 27 Aug 2018 02:33:39 -0700 (PDT) Received: from lpoulain-ThinkPad-T470p.home (AToulouse-655-1-762-165.w109-220.abo.wanadoo.fr. [109.220.142.165]) by smtp.gmail.com with ESMTPSA id y203-v6sm8022828wmd.1.2018.08.27.02.33.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Aug 2018 02:33:39 -0700 (PDT) From: Loic Poulain To: Peter.Chen@nxp.com Cc: linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, david.brown@linaro.org, robh+dt@kernel.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, andy.shevchenko@gmail.com, Loic Poulain Subject: [PATCH v2 2/7] doc: usb: ci-hdrc-usb2: Add pinctrl properties definition Date: Mon, 27 Aug 2018 11:33:30 +0200 Message-Id: <1535362415-16559-2-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535362415-16559-1-git-send-email-loic.poulain@linaro.org> References: <1535362415-16559-1-git-send-email-loic.poulain@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Some hardware implementations require to configure pins differently according to the USB role (host/device), this can be an update of the pins routing or a simple GPIO value change. This patch introduces new optional "host" and "device" pinctrls. If these pinctrls are defined by the device, they are respectively selected on host/device role start. Signed-off-by: Loic Poulain --- v2: Add new pin modes documentation (host, device) Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt index 0e03344..ea7033c 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt @@ -76,6 +76,8 @@ 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. +- pinctrl-names: Names for optional pin modes in "default", "host", "device" +- pinctrl-n: alternate pin modes i.mx specific properties - fsl,usbmisc: phandler of non-core register device, with one