From patchwork Thu Feb 14 14:00:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10812771 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 4EEC613A4 for ; Thu, 14 Feb 2019 14:01:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D8BD2E5EC for ; Thu, 14 Feb 2019 14:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 324342E6A5; Thu, 14 Feb 2019 14:01:47 +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 D22A22E6A3 for ; Thu, 14 Feb 2019 14:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438981AbfBNOAo (ORCPT ); Thu, 14 Feb 2019 09:00:44 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34890 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395249AbfBNOAo (ORCPT ); Thu, 14 Feb 2019 09:00:44 -0500 Received: by mail-wm1-f67.google.com with SMTP id t200so6216792wmt.0 for ; Thu, 14 Feb 2019 06:00:43 -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=9TOJKenVjAulalDtU9bnkhV2ILna2e7vaU64Q45T5iM=; b=q6KV2U1BbemW9B0DqYerypDhQ9923KH06n+93nQBAkobPuRsiy/qWTCmJVTjyrBfCT 2OyUDjV7DhfTbrHbH2O2lPJ9aiwAGH9EhjIxPQaGfrs9VhFS6YP0mtBFQxFmyU+H3y7P cph34E9nXrRWRPeksPhLwkM3+sh2HiSBRsAddOSYZlfWeYGSLqcp0bPpyEazIZT5l5mx rwS4qLHpQ+19VpNWOxKFNd/yU8K0LVfn3w4FrPuWmRqKqo6hCE4RdXL5VRZQuzVwV1+u ozgq43P0guhpKNbFLh0dyRnFlOQcQkxPdlLv+C5dlcBDEtIcg+HrRV4UKRecTN2cUXSN ws4A== 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=9TOJKenVjAulalDtU9bnkhV2ILna2e7vaU64Q45T5iM=; b=BhqYTAlE0NPqAp5KjoY0nXrEhougewLOnZDcxBJGohhFDphunlTyb0b9NE+tPDB9GS bzOqjixGRWT9Yu/I/tE3cUqJCbFv8CHRHM2buQAl4Wdy1U4DTUdZjT+HIval1XltfWiP iGdOOKCCT/DA6tUjn6b3uz5iSlITVEy8LIkDWZuxTIKGYOihmTkh3s1iO2lHcH4ybcpi tKCinFNZMS3ZPTEQ5YUnYYVK5nhI98HnDVrT77aOEjzkx9qWoxKqt1r8oZs0MGh8MXh9 3SaYYLycq6OEa8d1m6AbPtAAPUHLOdn7s12qny/DSCHQZwgCZ4gIazVJ2r1sKzjJ51lu 2Utw== X-Gm-Message-State: AHQUAuYLbMYvl9Gb20OnFIuMQgh4FIyn1M8ysia6XDDwzjfIztwRywQm XqcKHR7j+b22wTdSF9DMsY4WRw== X-Google-Smtp-Source: AHgI3Iaw7TGYEP82QDU3K6oXsH9ax7eB0O+cvqBoHLQGJMIctc+/vm3gQug+4oI/mWiiEtfriTABpg== X-Received: by 2002:a1c:ca01:: with SMTP id a1mr3038210wmg.143.1550152842627; Thu, 14 Feb 2019 06:00:42 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id h142sm3395677wme.33.2019.02.14.06.00.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:00:41 -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 v6 04/11] dt-bindings: input: add DT bindings for max77650 Date: Thu, 14 Feb 2019 15:00:15 +0100 Message-Id: <20190214140022.19201-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214140022.19201-1-brgl@bgdev.pl> References: <20190214140022.19201-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 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; + };