From patchwork Fri Mar 9 17:13:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matheus Castello X-Patchwork-Id: 883863 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=castello.eng.br Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=castello.eng.br header.i=@castello.eng.br header.b="Gd7mGmkx"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zyZKS3g47z9scq for ; Sat, 10 Mar 2018 04:35:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932414AbeCIRfj (ORCPT ); Fri, 9 Mar 2018 12:35:39 -0500 Received: from gateway23.websitewelcome.com ([192.185.49.180]:27776 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932189AbeCIRfi (ORCPT ); Fri, 9 Mar 2018 12:35:38 -0500 X-Greylist: delayed 1220 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Mar 2018 12:35:38 EST Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 72A001792B for ; Fri, 9 Mar 2018 11:15:18 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id uLbyecD7bntAouLbyeIpa7; Fri, 09 Mar 2018 11:15:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=castello.eng.br; s=default; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6JYJRm8JuC1tzefYvcIHQZpPrOQ9+uFSmamfwc2WsIY=; b=Gd7mGmkxhEbe2h5cHxh8t+lUF DeKFBAXxVpQiN9JNBfLOAiFwoUMbSPuhyKf1NKqjmiLBN8TR/umzeCa53zD1SAJzArgT9Rxmqk/ru 4c5FMSmXRNxk4aQmtN9ZVivlYR46qy2zp1qWPLpcIu2NY2jy1uNFp6serC3/+ui+kOwaeSm+ZUv2s IlwyAARlReAHnDaiF7h4k0unj6+vI31I4ad3q6CRYMDCK0x9msCpyARyDcYT2ndqhY32wAWMs9K5U 30DQAcNwiNUZ133cJBn3js79KYQrF/6SStsYGrBcjDSpGxYs1lTwQqX1Cs9Bj4KPaqRbgQw4qPQ18 DEVwb/lTA==; Received: from [191.189.21.134] (port=9308 helo=localhost.localdomain) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1euLbx-0035bK-61; Fri, 09 Mar 2018 14:15:17 -0300 From: Matheus Castello To: stefan.wahren@i2se.com, eric@anholt.net Cc: linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Matheus Castello Subject: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support Date: Fri, 9 Mar 2018 13:13:58 -0400 Message-Id: <1520615640-9153-2-git-send-email-matheus@castello.eng.br> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520615640-9153-1-git-send-email-matheus@castello.eng.br> References: <483687035.384686.1520596004410@email.1und1.de> <1520615640-9153-1-git-send-email-matheus@castello.eng.br> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br164.hostgator.com.br X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - castello.eng.br X-BWhitelist: no X-Source-IP: 191.189.21.134 X-Source-L: No X-Exim-ID: 1euLbx-0035bK-61 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [191.189.21.134]:9308 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 10 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Added generic pin configuration and multiplexing support, and shoud be preferred than brcm legacy one. Signed-off-by: Matheus Castello --- .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt index 2569866..58b4720 100644 --- a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt @@ -36,6 +36,25 @@ listed. In other words, a subnode that lists only a mux function implies no information about any pull configuration. Similarly, a subnode that lists only a pul parameter implies no information about the mux function. +This driver supports the generic pin multiplexing and configuration +bindings. For details on each properties, you can refer to +./pinctrl-bindings.txt. + +Required sub-node properties: + - pins + - function + +Optional sub-node properties: + - bias-disable + - bias-pull-up + - bias-pull-down + - output-high + - output-low + +Legacy pin configuration and multiplexing binding: +*** (Its use is deprecated, use generic multiplexing and configuration +bindings instead) + Required subnode-properties: - brcm,pins: An array of cells. Each cell contains the ID of a pin. Valid IDs are the integer GPIO IDs; 0==GPIO0, 1==GPIO1, ... 53==GPIO53.