From patchwork Fri Feb 1 09:47:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10792353 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 DFF6B1874 for ; Fri, 1 Feb 2019 09:48:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D17353120F for ; Fri, 1 Feb 2019 09:48:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C54B03122F; Fri, 1 Feb 2019 09:48:09 +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=ham 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 6EF6F3120F for ; Fri, 1 Feb 2019 09:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729419AbfBAJsI (ORCPT ); Fri, 1 Feb 2019 04:48:08 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43469 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728663AbfBAJsH (ORCPT ); Fri, 1 Feb 2019 04:48:07 -0500 Received: by mail-wr1-f65.google.com with SMTP id r10so6304759wrs.10 for ; Fri, 01 Feb 2019 01:48:06 -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=LUsFREtRjSp7ytn52sF1HluRFd4G56Fqe7qQ5svPHxksVpYwI3vyzQRWEzT5GO1NBW Sf4pXmJUE/X012pkE6tvtXXCI1U1ngGpcxOu+QiNIndtzdu6xt8p351dlBYmRyblVxhj cvHhoETn5tqBIqLnCDFXFnjfTdwaFu1ypl8QQPaCSkHNfkNqXOdi6UaUmQXh/QXFX98d VLpaGU1EB6QDRcoISecVyJ2F1vmhxv9XPyrAgxDYs1dK2TcsSD78GPBamAplc1W+y/t1 N90k9BQPnaEWjNbLW6TfU0RKwiUAJTyjlXt3nhzDTyCjZTc0WhB9zgamd3rlNTWJJ/S5 0MnA== 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=AKnFcV3LteCRiEc4Cad7tw5Hn96AV1yk9VojUGg6s3l3q34tsayym3chyx/NGXK9xu RisQwLoqW/Q/equRoNQJKRXlFPUrmwRmxWnKM7OdVNiZFeILQtatxV7ROAT90B0Y7OW6 Sx3/Qvb9caZ1tNBAs5m5A4UTtYY7ViPyhjCYk+Vvfv1rQyIL+QWuJtEbz/y4IjT16p9t 1mZxvijw19z+qunDgMrFFG5OP7RssejHirxafhniOrQDJVnxSg4ahAD89uFaNPSIKNk5 oZjE/xpYaT473XefzEA/DqlzzLa4/5Sv8+JbdBXJdKkrPOul1DZSrTi4FhIoKg2Rgbye FNTg== X-Gm-Message-State: AHQUAuaPg7Ob1SHclcjnjryTbx6OFVKVD9rFM8t7mrtQBcd82N85hbz/ ZRGZosYhEqdfbyYHBgaLandnRw== X-Google-Smtp-Source: AHgI3IYY8Br/kMLMaxmWnq8xBt3yxOGqyIxR+RWE5+KFk6TFZy2g+wixqUbOo+GK/iqAN/Z/D2gw/w== X-Received: by 2002:adf:f6c9:: with SMTP id y9mr528711wrp.138.1549014485976; Fri, 01 Feb 2019 01:48:05 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id m15sm9648970wrr.95.2019.02.01.01.48.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 01:48:05 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , 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 v3 03/11] dt-bindings: gpio: add DT bindings for max77650 Date: Fri, 1 Feb 2019 10:47:28 +0100 Message-Id: <20190201094736.32057-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190201094736.32057-1-brgl@bgdev.pl> References: <20190201094736.32057-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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>; + };