From patchwork Thu Apr 11 12:42:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10895921 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 05C8B1669 for ; Thu, 11 Apr 2019 12:43:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E62ED28D1B for ; Thu, 11 Apr 2019 12:43:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3EF528D3A; Thu, 11 Apr 2019 12:43:24 +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 76C2428D1B for ; Thu, 11 Apr 2019 12:43:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfDKMnX (ORCPT ); Thu, 11 Apr 2019 08:43:23 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33042 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726815AbfDKMm1 (ORCPT ); Thu, 11 Apr 2019 08:42:27 -0400 Received: by mail-wr1-f67.google.com with SMTP id q1so7208023wrp.0 for ; Thu, 11 Apr 2019 05:42:26 -0700 (PDT) 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=7Xr1jsD375oor0bo92jhZRFG0f8hjG44jwYFFHmorH8=; b=q9LFT1Tx5FT7SNKoQ9WhmE2K2teiYi+T0eSc0bKevZ3geksR4c3GC7oD60CVE9XYt2 Cg9r6mdiOfgMhLmYy4HPweOw0kivB1Rq4tA7AjpPQARhpHQ6hhGKFdc6vcjWncRLhpPg wHMWN98AOW1pZmcoq9qXlpxnHKufIj7XMRDvqu8JAfJ0Kb/PG4s/KnJPLoHj4Dq8J3UB mE5ugjt4XG4QBXWZknIMewrqa8BqR6ojSfvt5feaEG5z6IlMfP1WTBzvlIyxDHlT68iP qcLmtbNg8HKBWRyp3UyiOAQ0bSiskOh9WMwFKp4VdyObYhyRSAbM4savSGqM+JTt9W0m YHLg== 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=7Xr1jsD375oor0bo92jhZRFG0f8hjG44jwYFFHmorH8=; b=GB80OAQlMyXOTeagz3Gdu4CVlOAoYfMPfmIow4a+fHQO5eaVTui0J9LzpkwrYhAK/S +AZy/9B2p7Gk2qqAv0bAtu6ZULlo7217A7vgbmDKcY6JePWRDJyTWCXidBNgrheU5udO kSyaL5OzLjh54JDnZuUMhmFR/kmYToqzQXJUpbFvHYQBS1hJZW/tOFJYhHkNdABp7DzH spyrp0/bbg7zvsrzQ+DVIXl01JQ4UPdTtIwPdpgZ+8N3UV4TeoQrJV94XF1qTS7uXT52 9h99lmZWBdNEYfhyIVoxHxlN9vLjfLrtemBrYuRS0gGjQ73KUSIfN/o5FNKRxrX5rwMx EiBA== X-Gm-Message-State: APjAAAWVitdTj54PrkYvoOgcaTNp/wlUgzlmrbTXXzuskRBlsxSjQs/K eIum+TL4odaohzOIueNvYaqyqA== X-Google-Smtp-Source: APXvYqzwL1oIwKxjK2A3RWVKi4HooU/fGuWlY693OpJgFWuJHxAtV4sB7bZmch4eDM/P/tk7Pu1efQ== X-Received: by 2002:adf:f90c:: with SMTP id b12mr6924411wrr.63.1554986545619; Thu, 11 Apr 2019 05:42:25 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id d4sm32894510wrv.42.2019.04.11.05.42.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 05:42:24 -0700 (PDT) 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 , Rob Herring Subject: [PATCH v9 04/11] dt-bindings: input: add DT bindings for max77650 Date: Thu, 11 Apr 2019 14:42:05 +0200 Message-Id: <20190411124212.7612-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190411124212.7612-1-brgl@bgdev.pl> References: <20190411124212.7612-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 onkey module of max77650. Signed-off-by: Bartosz Golaszewski Reviewed-by: Rob Herring --- .../bindings/input/max77650-onkey.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/max77650-onkey.txt diff --git a/Documentation/devicetree/bindings/input/max77650-onkey.txt b/Documentation/devicetree/bindings/input/max77650-onkey.txt new file mode 100644 index 000000000000..477dc74f452a --- /dev/null +++ b/Documentation/devicetree/bindings/input/max77650-onkey.txt @@ -0,0 +1,26 @@ +Onkey 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 onkey controller is represented as a sub-node of the PMIC node on +the device tree. + +Required properties: +-------------------- +- compatible: Must be "maxim,max77650-onkey". + +Optional properties: +- linux,code: The key-code to be reported when the key is pressed. + Defaults to KEY_POWER. +- maxim,onkey-slide: The system's button is a slide switch, not the default + push button. + +Example: +-------- + + onkey { + compatible = "maxim,max77650-onkey"; + linux,code = ; + maxim,onkey-slide; + };