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: 10576767 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 67E231803 for ; Mon, 27 Aug 2018 09:33:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 599C62847D for ; Mon, 27 Aug 2018 09:33:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D525297A9; Mon, 27 Aug 2018 09:33:43 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 002172847D for ; Mon, 27 Aug 2018 09:33:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbeH0NTe (ORCPT ); Mon, 27 Aug 2018 09:19:34 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43223 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbeH0NTe (ORCPT ); Mon, 27 Aug 2018 09:19:34 -0400 Received: by mail-wr1-f65.google.com with SMTP id k5-v6so12961111wre.10 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=JVI8Mq7FToej8TrkNSs2W5lIY7wax5UoDSnJrn43ncaLn928GFafaCUObkfUQvtRyn dUBsHltW5YuKFp0OGCEBJFi5JDDlI4Ryk2aonKUIAPUCBnXIDm/YhjvUCOXkU8jj/xl+ TfND9F4pxQwtAM8p7QiLWlUSYKL2nVZJG2m9ZDRrwOFXye8FqLLZGVf/qWBBZI99gQmg aQgdBmZj7ZARfYdSpiPMbx9GsLtHsVXW8lMW8Egi4KqFDe3Hg9OV0QrbIlQ7mjb9DwYc P4UnJ3+zLwHD2oTwGs2odG+RjncLnv0tNBc/zL3JCaq5IB4tiGOcej7Cet3uJcPomfna fRzQ== X-Gm-Message-State: APzg51BEKVssoOZLAS78le2VoN4BXhC05UpZVlG2+lnYTisX9/Kem0Oa qsOdlvr7ZvBR8h+iRvN/F2Ja9A== X-Google-Smtp-Source: ANB0Vdalr8ZZTzS1tPqs24subm4EZIiZMlxJ0I0hvfAXmyxRStNe2bFABu2oE3PTBpLpgZqAgKeJTA== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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