From patchwork Sun Apr 28 21:37:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 10921069 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 01C1992A for ; Sun, 28 Apr 2019 21:38:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6341284AF for ; Sun, 28 Apr 2019 21:38:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D857328703; Sun, 28 Apr 2019 21:38:54 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7F6C6284AF for ; Sun, 28 Apr 2019 21:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c42ar0wmAyRoLqz0Nqe8JmZtUsz11N5nlPCyzu9Fd00=; b=geh1TP1DU41Yh8 TAMMvpMgDA1FUc2q33jIoW5ohPwJ6kfwb0Tnoo5Semu1ZN2gvrtKK4PMFuNLM3pJ3G0NHzfpxvs2a sRazVGBo0s+kyZLLl37vJxKSlMeGhXZfmrQT3DbGg0TTO7xbzWLIkuZtb7JQdzGZ+mL9YjRCywLNe B0rXboPIPqTx3bRKuX2zE+pZQfgyE7Pr8f+EUbIzEQhe5smuR/RO9KRWFHyimwDz73RMnyrrWAscc 1IYmqSuFugPA2sdb8Jnh0KH6agYDi4D383fch3RLl+Qt0rv2Q1Odggrn4bRk32YYRNWR0PC9lhS6K hnlbSt5I/xj5p66xAdqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hKrVY-0001a9-Hi; Sun, 28 Apr 2019 21:38:48 +0000 Received: from mail.nic.cz ([217.31.204.67]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hKrUl-0000gj-Kf for linux-arm-kernel@lists.infradead.org; Sun, 28 Apr 2019 21:38:01 +0000 Received: from dellmb.labs.office.nic.cz (unknown [172.20.6.125]) by mail.nic.cz (Postfix) with ESMTP id 994326372C; Sun, 28 Apr 2019 23:37:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1556487470; bh=Y/XaKqXNeDvzYLkSf1zTWCDYF1yloZlwLMmVd3V6OzE=; h=From:To:Date; b=c1JgzBaI6CHDKA1jOOvr50sFBO/wtG1IkBBhhr2NqZhY6tJ9XGJT7Q+B52wyGNYDP /TBLvCwuBpfyLPXhymkMVm6t3/yumXI+8rNxeAD36e76/5T0Z/3VHqvBAd2LDe0P5Z OxbyUjOV8o3NIiyDkUUeJs60c4lBkSw7ETSDVSHI= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Olof Johansson Subject: [PATCH v5 armsoc/drivers/bus+gpio 5/5] dt-bindings: gpio: Document GPIOs via Moxtet bus Date: Sun, 28 Apr 2019 23:37:49 +0200 Message-Id: <20190428213749.7017-6-marek.behun@nic.cz> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190428213749.7017-1-marek.behun@nic.cz> References: <20190428213749.7017-1-marek.behun@nic.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190428_143759_978459_838619AC X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Linus Walleij , arm@kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Marek_Beh?= =?utf-8?q?=C3=BAn?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation of the device tree bindings for GPIOs on the devices connected via Moxtet bus. Signed-off-by: Marek BehĂșn Reviewed-by: Rob Herring Reviewed-by: Linus Walleij --- .../devicetree/bindings/gpio/gpio-moxtet.txt | 18 ++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-moxtet.txt diff --git a/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt b/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt new file mode 100644 index 000000000000..410759de9f09 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt @@ -0,0 +1,18 @@ +Turris Mox Moxtet GPIO expander via Moxtet bus + +Required properties: + - compatible : Should be "cznic,moxtet-gpio". + - gpio-controller : Marks the device node as a GPIO controller. + - #gpio-cells : Should be two. For consumer use see gpio.txt. + +Other properties are required for a Moxtet bus device, please refer to +Documentation/devicetree/bindings/bus/moxtet.txt. + +Example: + + moxtet_sfp: gpio@0 { + compatible = "cznic,moxtet-gpio"; + gpio-controller; + #gpio-cells = <2>; + reg = <0>; + } diff --git a/MAINTAINERS b/MAINTAINERS index c865bf742966..b2df1af4bf9b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1544,6 +1544,7 @@ S: Maintained F: Documentation/ABI/testing/debugfs-moxtet F: Documentation/ABI/testing/sysfs-bus-moxtet-devices F: Documentation/devicetree/bindings/bus/moxtet.txt +F: Documentation/devicetree/bindings/gpio/gpio-moxtet.txt F: include/linux/moxtet.h F: drivers/bus/moxtet.c F: drivers/gpio/gpio-moxtet.c