Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5777802yba; Thu, 11 Apr 2019 05:43:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCCC//aqDy2LLoAb5gNpatTKDjc3D8e5FPHwknrw8yv3Mxrm+HiQOdf4Ubpk3yCqGhtUlN X-Received: by 2002:a17:902:2f84:: with SMTP id t4mr28913817plb.6.1554986613365; Thu, 11 Apr 2019 05:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554986613; cv=none; d=google.com; s=arc-20160816; b=h7rmYxQeh4k3rASUi1JxfTFcwpeDHZQ4ace0hSHujgFmgjKmKhzuGjx12suYj+vil1 rbgN4cANR0JXLb2+mbtajEaAR42bYk/7/XzHmsjPxvAuucqD7S6B8hlZo5PrM3UPfcDG 4d4EGtG6J+j1FkK+kXkFctUji+5jIhQ9jHT62LGjokATelUY4h8SAntvGrAdBu8ZmGNc bLTw3706QsRsuxL5zQiJh13EmD+eEZNXcoC357EW0SDmzMyhEEOc7SLVmFF6RxeW84Eu 2voQDUZfO5emNc6PZnLGWPsx0kDG5LCD5afzgdS9YXZIQzHozlFyrqJKHUEUI1cPtmHF 6mZg== 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=7Xr1jsD375oor0bo92jhZRFG0f8hjG44jwYFFHmorH8=; b=X2yP24D3qkNtLlqEjCEuQogUNSkf7QVCvYNO0XFt6PQ1h9d+NAc2vBfLeztEEcelea 82FqjntYG0n4lW++2ARyFE3t9ORjJe5mZ0ickT37aOM0n6r1/3lCK6xyadfU3gXKbOyB MnYCgJB2LG77rnO6vnC21YfpFQKiWd9NJYIwQfYAJkPxNGzqdGgZglxkkhw3KF1Mp785 eJpqK+D9SnRPJRyRbKOvoKcahgHOEB/nqmH9dpNI7YG0PEMhA1HaxbTCLfZ9LWofV5IG ubOM6z0G44hMBew6a1P/XZD/ovZQrHv9wGUKeqSPy8ZO4ribrJVTSx4xF9FJ9SoySfNq HtdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=q9LFT1Tx; 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 v10si34906073plo.439.2019.04.11.05.43.17; Thu, 11 Apr 2019 05:43:33 -0700 (PDT) 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=q9LFT1Tx; 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 S1726844AbfDKMm3 (ORCPT + 99 others); Thu, 11 Apr 2019 08:42:29 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38932 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbfDKMm1 (ORCPT ); Thu, 11 Apr 2019 08:42:27 -0400 Received: by mail-wr1-f66.google.com with SMTP id j9so7168356wrn.6 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=kxUowqwtHcb4/a7o+8z4R+HAspzIS9tFevTh/FwxN+RU6Sre4xk4OS4/ZHCKQsmy+M z6XZa5k5YAvMw4/CLNHSfUDZ2un7UJCaCCqHLDkhpLApd5s5FwWcexRseM7dzxurPQBc /Q3wuOUoTM/o8UPnpI01DX25+XQvZ6gabtDnhFcS6ANneM6rAmg9eRAw9k9d0iBeubiq BhvRQ5afBjA5qPf2LjXm2ES7iZr7jvfdH7Io43dfBxPgIyDVD/p6Y0g6d/4mVpKoz4PE turOEYJc21NjUNWk7CRaag93a0tTqMcyWOCtKgJKMXcdcfe5+vHw+6PwzSi3Cx4OhZMO f4SQ== X-Gm-Message-State: APjAAAU/o2uO9tqoNYIYF8B3TYbSKF6ixRhr+e5arMb5wp/3bCHUfpF9 i1YPZTGWMeeeDtIPO+9Ga/S3Ig== 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 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 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; + }; -- 2.21.0