From patchwork Thu Mar 1 16:55:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10252029 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 32224602B5 for ; Thu, 1 Mar 2018 16:56:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16BBF285CB for ; Thu, 1 Mar 2018 16:56:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B1DC285E4; Thu, 1 Mar 2018 16:56:47 +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 798C7285CB for ; Thu, 1 Mar 2018 16:56:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033157AbeCAQ4a (ORCPT ); Thu, 1 Mar 2018 11:56:30 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:43216 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033036AbeCAQ4Q (ORCPT ); Thu, 1 Mar 2018 11:56:16 -0500 Received: by mail-pf0-f193.google.com with SMTP id j2so542470pff.10; Thu, 01 Mar 2018 08:56:16 -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=de0BROajcFMlMOSELtw1qmAuZRVmlByYsw8sLmFmYOs=; b=VBX8StULhXnetzSUjD8bIEBL4ET7Z1FfTiSuCVN6yzlyg8D/5SMZ6S5zetfdOlv33y y1pOf+25iJLQQ5uDx4m71DTNS/2UobScoP92vqH0Ocp8gI3V+2y7NNs454IxvaW871wE BLLaVmZZ9YHdGCkCYTe+leofTb6M/gOFnNEc39i7jhxBoE3vS6PO5WSN90MDVaDSorZL sHWvm01u96997IDyxpcru3aYZRtZu5RmE4OdvDeu6Xjnr+T45VYLVXGCmRg8ne1+zu1V R4Nc2QCnMN8GVdATXwd0Rx7Po/+Hh9u4+H3da/ZiP1OqtL7KVTYqJs+x0e/mdJ7B5s/V 7/nA== 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=de0BROajcFMlMOSELtw1qmAuZRVmlByYsw8sLmFmYOs=; b=Hti30xlTlqEKpa1t1gD+j4S9C8vD5CyRiaq8gPIbcbTnnvg8k+4lL8sBve+cSSEHDG u7RSlsjxcYV+/Qem6WrPLQjbA/yNaasu2AeeDFSoPr0P5qxsED3ZvAS+ehRbpnMaDzcU 55lnEcxW7J/2KAsukN6OWYYsHT3fST95k5fFMkgEVXuWy/gKrvcyC5g1AhRl1R8fgB+j 8I5onhw9wznBm82Nn6RhJRHqtSK0SikezXg96nakLp/6GEZKthhB6dbnM9XTuXQeSgiu kK/jdi5IrNBThDcrl5+28o72lSPyz3jfVTQpWfGh/iBBO8DXGRpvNauiwuFqcZzDN6GR taMA== X-Gm-Message-State: APf1xPD6VRHVmQM1UT697U1uqjaqmwWrHAmxk9tcDvNxlw2EoWggzNNx Qnm5YjtNxzrHamjN48N0biMPSNdx X-Google-Smtp-Source: AG47ELv6H5OYEZRV0TA8uhikQzaSyELEPbfp5C7ayFkYHfmyzED8jcitShqX1rbzZiswkmmZE9AFDw== X-Received: by 10.101.97.139 with SMTP id c11mr2043139pgv.433.1519923375807; Thu, 01 Mar 2018 08:56:15 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id b8sm9500331pff.31.2018.03.01.08.56.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 08:56:15 -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 v2 2/2] dt-bindings: input: Add binding for RAVE SP input driver Date: Thu, 1 Mar 2018 08:55:27 -0800 Message-Id: <20180301165527.22274-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180301165527.22274-1-andrew.smirnov@gmail.com> References: <20180301165527.22274-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 Signed-off-by: Andrey Smirnov Acked-by: Lucas Stach --- .../bindings/input/zii,rave-sp-pwrbutton.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 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..e14e12d27772 --- /dev/null +++ b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt @@ -0,0 +1,24 @@ +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"; + status = "okay"; + }; + } +