From patchwork Mon Feb 26 15:41:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10242643 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 7F461605F3 for ; Mon, 26 Feb 2018 15:43:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EEDC28948 for ; Mon, 26 Feb 2018 15:43:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 632DA2A05D; Mon, 26 Feb 2018 15:43:06 +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 BE8FD2A04F for ; Mon, 26 Feb 2018 15:43:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751570AbeBZPlp (ORCPT ); Mon, 26 Feb 2018 10:41:45 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45173 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbeBZPln (ORCPT ); Mon, 26 Feb 2018 10:41:43 -0500 Received: by mail-pg0-f65.google.com with SMTP id e11so6301228pgq.12; Mon, 26 Feb 2018 07:41:42 -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=DdhuSB4zSAshgb/7j5piOqgDQRbHiuBtr/DPvBi8ZujU1mI5RUirCGt0IbFkdH2j6k p28sNL2kSqfu+Ddj9/AHj9g9BqEs3JosZIiPZUXVVMcjozB6Fu75zRPvThcjT8m+ATPO 7hTSjEUOAqeQQhyppdfy5auZTpNgAU4v2RugkEbL9YHrcE7zuEryR8eLKBi/GCL+v6gb aGdVHZCAxdUtSFzfotTRZVkGbV7WEHhCkXrasXNOcaoeJ6j9CKmY1tWxJ5R2oNMEAcw2 VQFp+zxivWaky9XHKcP/z7BDtHjhlzQniB9kgU0i9u1nAKNlkZCSldYB6GeB1gHdooW2 3Z9g== 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=F2wr21WyDQsqFNiQlOVqhLPUqNkHju4xQbjaVnVCarnQnkWFQ7EYSmcb7uTTuIfiJo tvNDU+qJcLdZe6N70x+DobH1FtfEbUnMvBaeimVCpkcqFux6HHWdVDlE5G7TshmHH2nE wQrVsn4KBkbfYKLfD5/MlV6Nb7QFmPNK8azTIiX1Dr51iW0rd+6aHV5dHvLY1qk3WBT0 C9KwY8Xrv4WfbDjKjuQ1iX9Ag1jiEq8ABFuAq2Y2lKymgfFy9UruCu1xJkLgJae/ByM/ SZoK3EC3y4V2zZ9viMR3z2L5Ih/c52Zk1m2wUnIZri13AtZLo/e+q9ZN6v9FlIcynesr 63Yw== X-Gm-Message-State: APf1xPB/8I1Uq438LFp4SwADfBnfVBTDNAEyqTgJFYvVzxotkVp56vE9 wHJ968KErb6WZ2pHlB2aAvU= X-Google-Smtp-Source: AH8x224jD9JRGC4iowTTo5efR+yUraW0fk9aaT5d0kMpzjP3Oa3XGb89HOf+5ck2OgJ5ghE+GnjF8Q== X-Received: by 10.98.224.208 with SMTP id d77mr11037768pfm.194.1519659702164; Mon, 26 Feb 2018 07:41:42 -0800 (PST) Received: from localhost.localdomain ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id s62sm15138394pgc.12.2018.02.26.07.41.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Feb 2018 07:41:41 -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 2/2] dt-bindings: input: Add binding for RAVE SP input driver Date: Mon, 26 Feb 2018 07:41:30 -0800 Message-Id: <20180226154130.25774-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180226154130.25774-1-andrew.smirnov@gmail.com> References: <20180226154130.25774-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 --- .../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"; + }; + } +