Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3348074yba; Tue, 23 Apr 2019 02:07:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4q9yH/7rkbu7DoUtgj2vrimYWZ5w3NylF2D3S4hbWURai3PFfoYF75wzuHLW6QEnvL+IH X-Received: by 2002:a63:6fcf:: with SMTP id k198mr23222305pgc.158.1556010428359; Tue, 23 Apr 2019 02:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556010428; cv=none; d=google.com; s=arc-20160816; b=VMz7avZv6IrGFOoekEjj8c7RJJQZOLwCEEJG+TmdQoyVbnw9UX8VleUjwC+7zH1jrl EsNEkq1c9ZnNGpITPQAo3XrvXomy6IbVdAlIJGJ6yXzSsaYzaWgJ/od6kxOul3iJ4x2w 00pz05kqQ3QHDYSOEj3Nli0Fqg/k72TW9UNyHazc+ysoTuaF61WnH6I3FsFyhmDDPncV sTc/cmak/oLxByk4KAJ3axtc31XcHeIPxG38ujyXUs9O2CSJwhHlaN02lwyMlcE3Y13+ 6Lo4KnGbSxr5YyA5GLxyTsdw2QbDxYZyriDcMj2QD1Tptq1ZBcMPho5Sq4Mo5QY7TgIu lPtg== 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=DmmN0xwDrTepdWuX9Jf9gsNOoXv4ETN0j0CA1s/4xsplNWfKUrFal3FyvzFH5OpfRx UuJagl+2+8SROLLPaH5H6Oc+fxQqgwAdHWJ9G2QavFr0B4ZWD5qMc4AQqKZiQCqn3+Ag +zVxQ5s9bYKwYRIwWiHGknfHCHAwFPytZ62iPpHj37o41VRXW1cS8QWDOVvcWT2aZxmK p+wHjScUUY+fc7UWOLEx4x3QpeYmLlEWHvHGTOSCjNzVGYQawvex6R2sxl+5GFXYKIRK NzUZtmBANwAAy52arh7ECX0npd02WFSKg6mpxWkNtNMxUCHM27HaYh5BwsPiHYSathcN JFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=DgMeK+Bw; 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 e11si15385740pfd.88.2019.04.23.02.06.53; Tue, 23 Apr 2019 02:07:08 -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=DgMeK+Bw; 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 S1727280AbfDWJFL (ORCPT + 99 others); Tue, 23 Apr 2019 05:05:11 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:47103 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727204AbfDWJFG (ORCPT ); Tue, 23 Apr 2019 05:05:06 -0400 Received: by mail-wr1-f68.google.com with SMTP id t17so19104344wrw.13 for ; Tue, 23 Apr 2019 02:05:05 -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=DgMeK+BwaWjcPMtn6kGpNMuyIYj+9K7mZAkhxOVwzqSNfPcylgvRWjyQeEbjGdNnem GAKBqIYG2Lyri3B1ymLcix43P/mSt908ega0cQKyn3vwDe+R/+xCL8tVBO1HxegQSTAj u1IroUfV75BxJ6SjjukrZDfNjqxlLmI+lZcn25y9V7N6A6XRAC8SzXaFgxhRNi/bVKPY uEJS5fCmw0ZLKpztXQ+yaXDnMthZIx5Tm41zyOYKxmEgGiMPhPpk86aPFwvlVW85qSDw mSYfWJns4vEN+VGYbOVDL6foNYHKAppHkK9JkeAqZTBNY8UbniVR7Bt7D5fQjJtzV3Zh f4Lw== 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=qUaLDnSutvm0KATY+Qjub3glReCyYnu44v+MQ6I3+CpFdVMHxguBqafDKmrPB0Zclx CwzrywaO+KIyQrp8yB5o95UN8IMNkKgsZMDViHs5Je2EI4wZX3HNFzykGD+xgjgDJrkD 2pXoPCoeE0I45gFV7zxRMoHrOVfOn9ItOP+I4wI1WrNL2F8I1JmCPW8ynCxX/TyO7zL7 fG11ZovLp/ETDwYdNAQNHjc5n9NKl+QJxts47Eu7cJ0ioOm03O4cM59Gb0gLRgvFUqpw g4mO250ysXa4qAxYvh4ZWTehv9DcERlwApBo0BcH8IyOnUMcqWmkDsP2GZUwaRI51BYQ Hkfg== X-Gm-Message-State: APjAAAUw6vV8ApHL/3srhfGk1yF0JVHLyx+im4Xp6s0WfnMiH5qwWpiJ wv10uTTVvgUKPRYMZcSzVlSJgw== X-Received: by 2002:adf:f7c2:: with SMTP id a2mr3323308wrq.242.1556010304572; Tue, 23 Apr 2019 02:05:04 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-25-101.w90-86.abo.wanadoo.fr. [90.86.250.101]) by smtp.gmail.com with ESMTPSA id v190sm15360434wme.18.2019.04.23.02.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 02:05:03 -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 v10 04/11] dt-bindings: input: add DT bindings for max77650 Date: Tue, 23 Apr 2019 11:04:44 +0200 Message-Id: <20190423090451.23711-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190423090451.23711-1-brgl@bgdev.pl> References: <20190423090451.23711-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