From patchwork Tue Jan 29 13:35:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10786297 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 55FC5139A for ; Tue, 29 Jan 2019 13:37:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 487DC2AA14 for ; Tue, 29 Jan 2019 13:37:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CE572B387; Tue, 29 Jan 2019 13:37:17 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 E521A2AA14 for ; Tue, 29 Jan 2019 13:37:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728459AbfA2NhP (ORCPT ); Tue, 29 Jan 2019 08:37:15 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37047 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727951AbfA2Nf7 (ORCPT ); Tue, 29 Jan 2019 08:35:59 -0500 Received: by mail-wr1-f65.google.com with SMTP id s12so22076179wrt.4 for ; Tue, 29 Jan 2019 05:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I7jIseMqCPPj3u7DXuTWdGC+Sbz7UI6uCT01nprpTw4=; b=eEWjmwyQxtvyeH7evby+YC/d1Qahl1I6dZz/7AZo+M2cRxvwLrGNHQvXpgXVwOzu+X ILPhOigvoB8M1xG6aqJoogzT1AGSAPBdeU01Nvf5mmLfn9ywiCcMl+5aKtWftD3a/fEj fz+JFuOjCwevbn3j5kVVcrLSX9l5SXERxDgd2pGryOBWvr0sqAyz2o0kmiF+5Q9YZOBc TMq7BfPdG4jUbWrR7dpbg3PerKo8QFY78UK0KLRZa4+7o62buwKIrofDzdj4UWng0s5P g5G6ReEMDfBVohRerWuXOBxzMc3zRQb3oXLur1kbP5fncajxjAYdmHn2YJbIPLaixfGv eeRA== 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:mime-version:content-transfer-encoding; bh=I7jIseMqCPPj3u7DXuTWdGC+Sbz7UI6uCT01nprpTw4=; b=OMjrcgN2b6qRFwul1tiuJjj/qWOCOJg7Yqmo+TkRtyxjnMC45GU34ImuDKD7cYLjCh O241CHsGabH9TQAe/glstYfXHCcHt9FBCkkJTgQzdMCbBG1Iw+Ah7hTZSYZfesAEL0Ep UMIWQwrby9koiUXcw5nYPG+bnFi+DKLlloljMvDJgTDfHch6DE9Uxau+EstggjOQe4r7 HNawDdy2FV5DDqT3lUfvjQHd7spBj6OOtBLZetyPZa+7TxZA7VeJNg9q4P6ij2BxVyRK CCcZnvXeTE/vMj4RUiUPRZ1sPvm7JJLA6oxcaT47hp2j2kCcdFTUWGjm+iDv3wEGsy+j 6SZA== X-Gm-Message-State: AJcUukfD0aaj80jNVi9uWb8h/zehzyq3RhmBurt519lJRdVCwRw5v61v dcNea5lZBYcO5eAiMTFCwpeZMQ== X-Google-Smtp-Source: ALg8bN7i18tvj7lvPU0ShfxlnWpbBYXXojbtTiDR/vBkuLnotQrR62zVvbEFRQLDgb4jKxUKyOrJRA== X-Received: by 2002:adf:e34b:: with SMTP id n11mr24691786wrj.91.1548768957934; Tue, 29 Jan 2019 05:35:57 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id k128sm4367891wmd.37.2019.01.29.05.35.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 05:35:57 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 04/13] dt-bindings: gpio: add DT bindings for max77650 Date: Tue, 29 Jan 2019 14:35:36 +0100 Message-Id: <20190129133545.1931-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129133545.1931-1-brgl@bgdev.pl> References: <20190129133545.1931-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski Add the DT binding document for the GPIO module of max77650. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- .../bindings/gpio/gpio-max77650.txt | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max77650.txt diff --git a/Documentation/devicetree/bindings/gpio/gpio-max77650.txt b/Documentation/devicetree/bindings/gpio/gpio-max77650.txt new file mode 100644 index 000000000000..b5dbbe934deb --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-max77650.txt @@ -0,0 +1,34 @@ +GPIO driver for MAX77650 PMIC from Maxim Integrated. + +This module is part of the MAX77650 MFD device. For more details +see Documentation/devicetree/bindings/mfd/max77650.txt. + +The GPIO controller is represented as a sub-node of the PMIC node on +the device tree. + +This device has a single GPIO pin. + +Required properties: +-------------------- +- compatible: Must be "maxim,max77650-gpio" +- gpio-controller : Marks the device node as a gpio controller. +- #gpio-cells : Must be <2>. The first cell is the pin number and + the second cell is used to specify the gpio active + state. + +Optional properties: +-------------------- +gpio-line-names: Single string containing the name of the GPIO line. + +For more details, please refer to the generic GPIO DT binding document +. + +Example: +-------- + + gpio { + compatible = "maxim,max77650-gpio"; + gpio-line-names = "max77650-charger"; + gpio-controller; + #gpio-cells = <2>; + };