From patchwork Wed Apr 3 09:01:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10883083 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 ED089922 for ; Wed, 3 Apr 2019 09:02:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA49B289D0 for ; Wed, 3 Apr 2019 09:02:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDC45289ED; Wed, 3 Apr 2019 09:02:26 +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 7FFB7289D1 for ; Wed, 3 Apr 2019 09:02:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbfDCJCZ (ORCPT ); Wed, 3 Apr 2019 05:02:25 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50430 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbfDCJB0 (ORCPT ); Wed, 3 Apr 2019 05:01:26 -0400 Received: by mail-wm1-f67.google.com with SMTP id z11so6564250wmi.0 for ; Wed, 03 Apr 2019 02:01:25 -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=TJdF1/rx7chEHOH012wvi3DUsGRTcw2U/1cQLP0lGRKaknYt+6ys58b57ahpzwHGKy un7i8xjJG0zlofY4Wgy/3fZMYpT9QPo+wnYZS/7GMDkrON/xnkmhY+lru77dCkbhJ0og X/OA9NNX6YtVaXmOfTLUasJXBfLxBhT9S/INP9fBkdAPTBovUy2Q6F9zC26eEc8NyGmd YmC7ZIq38GZDPDKOZsTS+t9dbOXmLm2hQb82h/076jepLxLUdtNtymnLVx25C9otQDN7 aUHWmNuwIuxW/MCTCr+wyaMcDGp0aEekZEe6ooroGuLTdieWVBItr55honRB0TfR3olt zhiQ== 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=WM2TRJ1v/hq8WGlNrSQ9IogKMnZYe71HNoCj/yp1nS5Rfr1UTKJ4h1edr4ZwDkQmYL QdaJ+vK1TLd4Csky3+YOkMMNqf6iRIemPEaEVDSI4bWXgvKlqCy++pWURL43cgA1Ct52 UT0cGOSXKHYTHM4XwsnMUqmCj5qRVr4O8z4SUNv9xz2mdlEefcl+y9HTdGuS3442aiwd IOL0FV3xP0yWOjQP4Z+Zev4XBo2rZKqOhatck1qu0YC2/GpfsVG3r6/NhYuVeR51OiME 4Cbz4gx490TI17tJ67POXRuegGA9TY5Sm5c2tJSkYgMtqXGW/lxYw6mUlWicpNqwru5q tMhA== X-Gm-Message-State: APjAAAWBLWbBDVHFOpjcJBBtAD6VYuSApx+eEB+s5k8ob4DRXzfEGF/5 +OGZl2x+zUq0h0bPDcysh8iHPA== X-Google-Smtp-Source: APXvYqz3el+vcl9u93QWcaZ5q4209p+aSL4E5aTzeh93mmndGlxsFAUwm4ePJ+iPk7obG77F25zlkw== X-Received: by 2002:a1c:80c1:: with SMTP id b184mr1249146wmd.109.1554282085150; Wed, 03 Apr 2019 02:01:25 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-29-77.w90-86.abo.wanadoo.fr. [90.86.254.77]) by smtp.gmail.com with ESMTPSA id v16sm23981998wru.76.2019.04.03.02.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2019 02:01: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 v8 04/11] dt-bindings: input: add DT bindings for max77650 Date: Wed, 3 Apr 2019 11:01:01 +0200 Message-Id: <20190403090108.24788-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190403090108.24788-1-brgl@bgdev.pl> References: <20190403090108.24788-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; + };