From patchwork Wed Mar 7 02:01:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10263303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8DEAD6055D for ; Wed, 7 Mar 2018 02:03:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EA932927B for ; Wed, 7 Mar 2018 02:03:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79EB32929F; Wed, 7 Mar 2018 02:03:44 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 51379294D8 for ; Wed, 7 Mar 2018 02:03:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933206AbeCGCCa (ORCPT ); Tue, 6 Mar 2018 21:02:30 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:35062 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932313AbeCGCC2 (ORCPT ); Tue, 6 Mar 2018 21:02:28 -0500 Received: by mail-pl0-f67.google.com with SMTP id w22-v6so455753pll.2; Tue, 06 Mar 2018 18:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mp/Fy29icLMBOGWPoGn64X0xyZZXPrG6BlgvlMSGZXs=; b=LinbfUi8Do/al532tBKQarp4V4e2d8pqooRpWb0wYwPuoxqDbRezenNk6eo+emG5Vx 5h5XtmtLGOvncmkC4nWMu2ETrV+SkHr+fM73hPa+IjCyDo103iN8ap3Xv3qPRM97Vff1 Jb+Ox7MqcvzfMpY5DuBIDyik/mzy3pV8kbdFaKxzEwmc3YxTQ0KpA4hazVFJLHwVDW0+ HVUcPjskvtiNfX5JPJfvzpa4RyVMAgBHs2hRZ8TGIW+6sxICMPj8Bz7qIe2x+RJp53lc rb/tq6XVwzI6yXjjH55kacx3zXAP36w7eYo49Q/4P+ED/8Pns7umtHtqVZ2Taa36T3ed BJXQ== 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; bh=mp/Fy29icLMBOGWPoGn64X0xyZZXPrG6BlgvlMSGZXs=; b=SoInQ1+QSaYlWPk5p3ola8TUQ7L6mCWV6JUVTm0YvLpNRNjV8mhgRpR0B1pkDsb42G +8o1zXBKVK65Ncw41MKb1xZ3OPsEEgdUG0IotRDNK7uU0hsyewxBP+El893/yiokyBqa J5uItX5EeEFxlencCi/xeatZ+OHzhHmjSFk7+JX6Imus+qXoLmtgmqv5YomxB4aeQ6Fi CqpR50tdSpU1m5infADhYsA3UW6Pv0wqm5RkY5nmZ4QgRiFPXpmypk8vBOCeFIXlT9jU Eh2H86rtcd958YtfzhgdBy38xXLwd1tat01tYV+RQl7bMB83+mXiHfpKSX4eKJDzOtVh eXOA== X-Gm-Message-State: APf1xPAqepC5KpHPE1APt4nTRDcyJJBEqp16g5E9W+2OmnRqgllxPukk Lob3JKsLUJ2SZ6fdqjd1zlU= X-Google-Smtp-Source: AG47ELuk4M9cl0VEUdWJwbZmjhYgIKoYl86JbnD79/uhznDz80K+Z+7uhhT7IHdhejJag0FbChEG1A== X-Received: by 2002:a17:902:33c2:: with SMTP id b60-v6mr19102375plc.222.1520388147782; Tue, 06 Mar 2018 18:02:27 -0800 (PST) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id e125sm25652473pgc.76.2018.03.06.18.02.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Mar 2018 18:02:26 -0800 (PST) From: Andrey Smirnov To: Dmitry Torokhov Cc: Andrey Smirnov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Guenter Roeck , Chris Healy , Lucas Stach Subject: [PATCH v3 2/2] dt-bindings: input: Add binding for RAVE SP input driver Date: Tue, 6 Mar 2018 18:01:34 -0800 Message-Id: <20180307020134.26293-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180307020134.26293-1-andrew.smirnov@gmail.com> References: <20180307020134.26293-1-andrew.smirnov@gmail.com> 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 Add Device Tree bindings for RAVE SP input drvier - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Cc: Guenter Roeck Cc: Chris Healy Cc: Lucas Stach Acked-by: Lucas Stach Signed-off-by: Andrey Smirnov Reviewed-by: Rob Herring --- Changes since [v2]: - Collected Acked-by from Lucas - Removed unnecessary status="okay" No changes between v1 and v2, so v1 is not referenced here. [v2] lkml.kernel.org/r/20180301165527.22274-2-andrew.smirnov@gmail.com .../bindings/input/zii,rave-sp-pwrbutton.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt diff --git a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt new file mode 100644 index 000000000000..b217018d03e9 --- /dev/null +++ b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt @@ -0,0 +1,23 @@ +Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings + +RAVE SP input device is a "MFD cell" device corresponding to power +button functionality of RAVE Supervisory Processor. It is expected +that its Device Tree node is specified as a child of the node +corresponding to the parent RAVE SP device (as documented in +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) + +Required properties: + +- compatible: Should be "zii,rave-sp-pwrbutton" + +Example: + + rave-sp { + compatible = "zii,rave-sp-rdu1"; + current-speed = <38400>; + + pwrbutton { + compatible = "zii,rave-sp-pwrbutton"; + }; + } +