Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3151280imu; Fri, 18 Jan 2019 05:45:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN7D4/YaR4XDdrzw/FlSyh3njKZ2ZS7uVDd9xmhiYFBbSuXolyEvul734m3YFtrkwzLl2zbL X-Received: by 2002:a63:ff16:: with SMTP id k22mr17857290pgi.244.1547819133437; Fri, 18 Jan 2019 05:45:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547819133; cv=none; d=google.com; s=arc-20160816; b=RUFPTxGSHNBJ+4TgmJKB/g5vbJMbWLqvx0C2WMU/sV3QIwA2byDiuLLTjlcW9rceHZ Ud6ymvS3lcmT+/u9yQ09a4lk03430OTXCBxh2wCcfIxu+p2eyku6mLpXPaW+DkM/sgNd XMk7oCy9z1vDMuAtRli7Y32Pkz8NPnAamdAflWVxtbm/NiAWTbqMGTx/oFgR4/yVzQAa qJOnOrX9ia4h/i6k674CvUgKu6m2hpg0vxhqFge8ml+r7Vx3Z5XFMLswHXE8Sgvr+Okp RmN6qXwPJEgK/eRYPijeNVyOxIHXFZGCFP6d7qtShdxZJkuXOht/LG7D1lG9xF0/3vUB fOcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EOyfIqvP8fWVIkX996tvkSS9AcitJcU7J4dbz2exdQ4=; b=cW3vZFxyL0jHL8bHDshjNj/qPF+bRF4H0+mobaq0Gbm6fpt9lRLHHqrWb4fIUXO5vC DyEwFUSxnbloD3W8DQA/BRXrJKoq9QUabRn4AUcdlnTugKVlNDTtF4f3MuAwBje9TpPp N34JQh1dUbNcNwyZ0QMpOK5hiPrNvnjqGBv5qd5Rjbml2+gefucXg5aiiWORGqzdz4Ni TnzrtBtHxSZQ28MRsRTkgLwjnsFevLgwLx/dee7JlkEMSzFurqLWPV1pw2okDIK9A6uW an5tIH37XUX1puwpZlx/Dee3AliC7fZTM7DgwCRFgVis13vYsKPQXZdTtTaba+UUrEoS 7yVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=XkOLNzXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si4843807pge.48.2019.01.18.05.45.17; Fri, 18 Jan 2019 05:45:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=XkOLNzXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbfARNnQ (ORCPT + 99 others); Fri, 18 Jan 2019 08:43:16 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:50444 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727728AbfARNnO (ORCPT ); Fri, 18 Jan 2019 08:43:14 -0500 Received: by mail-wm1-f67.google.com with SMTP id n190so4571642wmd.0 for ; Fri, 18 Jan 2019 05:43:12 -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=EOyfIqvP8fWVIkX996tvkSS9AcitJcU7J4dbz2exdQ4=; b=XkOLNzXHaoqwYINhSTjKGsqTlpKE3rtZ+YUpqHqHFfzP0e3kmfQnivJLKZzVKM6ilU 3LKeKaSml5Za1AJv+H6OpYsdxVz9Xfq1cn636wzX0XP5xKhEEggN0LivlQaEJ8pEDHsy /+A24CvqKrrJunvXrRn7XAcbsUB2Z7sJuifPKi58pzp0XiJqGj2hWe0aBmY9nldeVLlY FdkIwYLZkhAUZvyM8c0r5bTuO9Ltb15UllQejeif9ty9bVuu42TppC6rcmfo5bT8cQSO gaqK2Bf8Ri7GxxTCEdpu9Xclsw51MKGu+w2Xmpammc7csoUHeNvH8Bvc6cmGSEBYGA0Y C5Zw== 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=EOyfIqvP8fWVIkX996tvkSS9AcitJcU7J4dbz2exdQ4=; b=O+OICOHAmQ4OglF5OuJOjSQZ3F+NwWSuOJyVka/gfhVen5V84+Y/HNmmZs/FbHshLk c6TCVg/VkPQVn55bpiIQRPHKOFBkMbUTHgUhfh9JBo6pABm3ydnQf6dbpmYTE291n7Oe 3z5mZwb5Dfzwpbl4KA4obp54nz0zMoo8Os+VJcbCE0kIo4RyDNOwfn4b4g5CbzoW7fUT kuREc1nKOyeJlJJ3LN1iumEdbV3M5b3s2VQceJtarElZxYZFVJ48RdoGzvm+MoAT9Z5R EXgg1lb/n9h4DaZRXc2E3fTKZYmabcJDuhbqQLHisc7vBjdNYHBjq0uLwu6dgzMNhIil GYCA== X-Gm-Message-State: AJcUukcKcI9kTv43jWUHH8BVzY5rEhjOeAT+NotoR4zzGpgqW7TPh1/z 1JbsRGGTBFtjcZAanE+dnq6YDA== X-Received: by 2002:a1c:26c1:: with SMTP id m184mr15108259wmm.25.1547818991881; Fri, 18 Jan 2019 05:43:11 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 05:43:11 -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 06/13] dt-bindings: input: add DT bindings for max77650 Date: Fri, 18 Jan 2019 14:42:37 +0100 Message-Id: <20190118134244.22253-7-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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Add the DT binding document for the onkey module of max77650. Signed-off-by: Bartosz Golaszewski --- .../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..37c80898be4d --- /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-mode: Must be "push" or "slide" depending on the type of + button used by the system. Defaults to "push". + +Example: +-------- + + onkey { + compatible = "maxim,max77650-onkey"; + linux,code = ; + maxim,onkey-mode = "slide"; + }; -- 2.19.1