From patchwork Fri Jan 18 13:42:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10770183 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 A02056C5 for ; Fri, 18 Jan 2019 13:44:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C2C42A18B for ; Fri, 18 Jan 2019 13:44:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 804992A1A1; Fri, 18 Jan 2019 13:44:25 +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 D02AC2A1BD for ; Fri, 18 Jan 2019 13:44:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727712AbfARNnL (ORCPT ); Fri, 18 Jan 2019 08:43:11 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46209 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727686AbfARNnL (ORCPT ); Fri, 18 Jan 2019 08:43:11 -0500 Received: by mail-wr1-f68.google.com with SMTP id l9so15045015wrt.13 for ; Fri, 18 Jan 2019 05:43:09 -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=EJgaRxvdLEz10xwcfFGy19fU0asErTcgCnz6M9qAYUg=; b=vWZNWsQpCnMw6W+kMzqDWmebSRUuVpjzcZR1XCmg7Uy03JpsRQBPRcq12C9b4PTWvK 8e+wGI6CZBiirjM+08OFImmdHkGwviukPWYdOzwRzt5bgIZWAGaCdfiQjzoD/ompzGMS ypCTAYqdWhyhBRTi9xs3C7pxiSnHUu3I2Ad97ohi9822HtC24nb+UAt0TTlISVAPst0o 9kHksS332bdFjvcwWP1Zb3Y1q9MqFVsESCPGnc6I6DIvtIyIthtNiYeN/4Re85TO3KUH KID4lMr6cBbctHWp6VUFcXSfI7V6p3sv9eexFfGR02gJFs8/IApgBLISP2dPB04vb9l0 stfQ== 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=EJgaRxvdLEz10xwcfFGy19fU0asErTcgCnz6M9qAYUg=; b=dHcgGJU9nGtlbDPd5y1udLHB4/6cJOtLnRzZOPcNxk5airjJsvE+iXRxFBpX96YVHF CUc5SyExmUawg16s2i0jhFxsTb8oMJwjObrighSB8ZWpN5Kla6473lY9ZntCL2gwh00x bKjNyT7OWzS3cNDIUrXEZeqQ6EUPcVtGxF06yAWf+3uifFObWTbzXKEJnUzLbVAhuJ0M eiMUIYhIKipqCjn13u0TAHkyVvigjuEzc/bZxonUSjGcYyVUqsMZvwX+DpGQCOFooGvp v9yFOBEDf7HTD8oa0wH1hcO/2byGy0jD1lcWLBXaJVzVyQvimLlK7yZ3MaXhvechAJWp /I3w== X-Gm-Message-State: AJcUukcuGiVcFtm5cOeO1vaHQza/NDIYp90LcDbqctRSJIslV841MWfa LVE8RVUqgoNStEhHsothhe61Hg== X-Google-Smtp-Source: ALg8bN60XLBfK8i/rGRPp1ZcEqc6V3ZegokgqCoDdW8g8D9DqJLDqcZRQ9KrpWiTQCk5mZXofLgS+g== X-Received: by 2002:adf:d089:: with SMTP id y9mr16945662wrh.22.1547818989032; Fri, 18 Jan 2019 05:43:09 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id a132sm51033934wmh.5.2019.01.18.05.43.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 05:43:08 -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 04/13] dt-bindings: gpio: add DT bindings for max77650 Date: Fri, 18 Jan 2019 14:42:35 +0100 Message-Id: <20190118134244.22253-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190118134244.22253-1-brgl@bgdev.pl> References: <20190118134244.22253-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>; + };