From patchwork Fri Mar 9 04:16:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matheus Castello X-Patchwork-Id: 883459 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="IR9PcMNO"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zyF7L3Y9fz9sWm for ; Fri, 9 Mar 2018 15:40:46 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751244AbeCIEkp (ORCPT ); Thu, 8 Mar 2018 23:40:45 -0500 Received: from gateway36.websitewelcome.com ([192.185.179.26]:37063 "EHLO gateway36.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242AbeCIEko (ORCPT ); Thu, 8 Mar 2018 23:40:44 -0500 X-Greylist: delayed 1428 seconds by postgrey-1.27 at vger.kernel.org; Thu, 08 Mar 2018 23:40:44 EST Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway36.websitewelcome.com (Postfix) with ESMTP id BC01B400FA99E for ; Thu, 8 Mar 2018 22:16:58 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id u9SkeNrZ8ntAou9Ske4Zzs; Thu, 08 Mar 2018 22:16:58 -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=mX6IuNJne5yC/oQFIOcSRgB6LV3S42TBOen+DmIHasA=; b=IR9PcMNOv60LipZiKS73oup6F ToAMZXxoBfdPxBHI+JHmRBSJ+BMVwNGmaTwAEtzg5ohIXZ+3jCfftOErCqu52SakrR67l6sLZtAtj yKxrEgoI2f0Olofp5ROq9QixCAqjrfI191tgrt5bKaObosgWuBs4XfMMp2bCBrH9OdlRVmgdbEplL x9BjAxZxVGtnLRL5Ca6330vrZmLxWIzM9nDyZEQxxsixn+5lRiIGn+rfwqGlHGG2QvhAs/bqgyFlt i03shDKoKpK3PUhMD7ranE6DlM6Eh6yF1ugJ44jIaeQI52nSEZaWItI+0+hvE2W0wuiVz3Io6C3vZ Vb5PVR2xw==; Received: from [191.189.21.134] (port=8442 helo=localhost.localdomain) by br164.hostgator.com.br with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1eu9Sj-003CXR-NE; Fri, 09 Mar 2018 01:16:58 -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 v3 3/3] pinctrl: bcm2835: Update docs about generic pinctrl bindings support Date: Fri, 9 Mar 2018 00:16:14 -0400 Message-Id: <1520568974-15547-4-git-send-email-matheus@castello.eng.br> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520568974-15547-1-git-send-email-matheus@castello.eng.br> References: <5b3419be-12ca-75d7-6f5e-d3338ddd7f14@castello.eng.br> <1520568974-15547-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: 1eu9Sj-003CXR-NE X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost.localdomain) [191.189.21.134]:8442 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 25 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 Now we have generic pin configuration and multiplexing support, ahd shoud be preferred than brcm legacy one. Signed-off-by: Matheus Castello Reviewed-by: Eric Anholt --- .../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.