From patchwork Mon Mar 18 17:42:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10858349 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 508FE1390 for ; Mon, 18 Mar 2019 17:43:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A1F6285E0 for ; Mon, 18 Mar 2019 17:43:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 282BD293A3; Mon, 18 Mar 2019 17:43:59 +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 C638A285E0 for ; Mon, 18 Mar 2019 17:43:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727901AbfCRRmk (ORCPT ); Mon, 18 Mar 2019 13:42:40 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41234 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727888AbfCRRmj (ORCPT ); Mon, 18 Mar 2019 13:42:39 -0400 Received: by mail-wr1-f68.google.com with SMTP id p1so18050325wrs.8 for ; Mon, 18 Mar 2019 10:42:38 -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=T1F7KCZQllI8gey25Uaoq9o2WFLfikAjSL+Gi1a9B5o=; b=as+FwM3NclTMg0ti7KgUVA8YrK/OcOoh71jbc4FS2InDj0neFED5LpL4MGQbmcDxSd G1hSkhDNrZT/AQnntR7L+LxiQueX5RA5fBqivak0EWUM4vr6NxVIh9p2p8szzPv3ZwGm /yICN9KIXGY1KEP0VMco7gqYEnNfghkni323NetdJC0McsWcE9CKUDDMBrmW1yoJmlj5 cXacJRa5c5kNHPm0ySpJRqJCDWkBuRyoZaSW8r0gmE7ZkpKy8P2WrVSrhqlrkss53Otf WYSlYUei7UOGm45v0irycGR13WToxYi2DVypMhKObJ+z8PtBeosE5fwvcEpyQRFGcr+/ Cu6g== 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=T1F7KCZQllI8gey25Uaoq9o2WFLfikAjSL+Gi1a9B5o=; b=oRVOcGpHqnnRicsw3HR73t5q0x1/fVp1ATLX0STEbVHS1shf2mtQuLkhbLnXCOOWYe baFZgE8oIUsXPpj+8KJrJxw8+bIS97zk7N4T4CnOkkgVC0xEC9dfk0kld5IrIH/0ogN9 z5lyROlsY/7hh9OnPsPKaDzfu3v/+fwNsekYf1lFRTSZ3k0q9YReg+swkT8RzpEDRH+B iTUZQWXQY/1zinsL6uooTaJSBr/uGSxAzntVW0KOkbsV0XHfyVV9pAE/4M/LN9eRLvIT RDkIdkRuANZO0pQHlqyqyjrBUzF6TJ807bhUV/DjgC81Y4CUpXMMDeISYMZGQD2cRZkG 23Yg== X-Gm-Message-State: APjAAAWSdusb5kISYJ5ojh0IV3UJiWgTM2Jk7YrRDv41na+u448IZ5HM ncKqKyphnIuQYVoTHkoMUyn4+Q== X-Google-Smtp-Source: APXvYqy+BN83qwW98sqRIkGD5QpMnKkNN+5YK3bO30qa29nIj6o9/vAnm5eo6Z5o98+qusLGSoTTPg== X-Received: by 2002:adf:ba84:: with SMTP id p4mr13254916wrg.156.1552930958302; Mon, 18 Mar 2019 10:42:38 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id g24sm14873909wmh.45.2019.03.18.10.42.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 10:42:37 -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: [RESEND PATCH v6 04/11] dt-bindings: input: add DT bindings for max77650 Date: Mon, 18 Mar 2019 18:42:21 +0100 Message-Id: <20190318174228.18194-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318174228.18194-1-brgl@bgdev.pl> References: <20190318174228.18194-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; + };