From patchwork Thu Oct 6 08:43:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Twiss X-Patchwork-Id: 9364289 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 693D96077E for ; Thu, 6 Oct 2016 09:11:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58BEC27CEA for ; Thu, 6 Oct 2016 09:11:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CA4A28E7A; Thu, 6 Oct 2016 09:11:18 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 9B13827CEA for ; Thu, 6 Oct 2016 09:11:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967262AbcJFJKR (ORCPT ); Thu, 6 Oct 2016 05:10:17 -0400 Received: from mail1.bemta5.messagelabs.com ([195.245.231.137]:26363 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966947AbcJFJKO (ORCPT ); Thu, 6 Oct 2016 05:10:14 -0400 Received: from [85.158.139.51] by server-1.bemta-5.messagelabs.com id E7/EA-19721-05316F75; Thu, 06 Oct 2016 09:03:12 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAKsWRWlGSWpSXmKPExsUSt3Opsa6P8Ld wg6edKhZTHz5hs5h/5ByrxeFFLxgt5l+5xmpx/+tRRotvVzqYLG5++sZqcXnXHDaLz71HGC1u rNvHbvFk4Rkmi6XXLzJZtO49AuQ+7GOzuDyxk93i1owXrA4CHmvmrWH02DnrLrvHtc1iHov3v GTy2LSqk83jzrU9bB47vzewe3zeJBfAEcWamZeUX5HAmrHzzH/2gslCFftnT2BpYNzB38XIxS EksI5RovFEN1MXIyeQUyGxcv1mVhCbVyBZYteZE2xdjBwcnAKOEg+mOEGUOEisfvOSBcRmEzC UmPfmPSOIzSKgIjHl6SqwuLCAm8S7Ez3sIPNFBH4xSpxctpYJxGEW6GSWWHtgKxvEAkGJkzOf gHUwC0hIHHzxghlkmZCAlsTyY5EgYQkBe4np76+ChSUE9CUaj8VChA0lvs/6xgIRNpfYdD5qA qPgLCQzZyGZuYCRaRWjRnFqUVlqka6RsV5SUWZ6RkluYmaOrqGBqV5uanFxYnpqTmJSsV5yfu 4mRmDM1TMwMO5g3NHud4hRkoNJSZR3PdO3cCG+pPyUyozE4oz4otKc1OJDjDIcHEoSvKmCQDn BotT01Iq0zBxg9MOkJTh4lER4rwkApXmLCxJzizPTIVKnGBWlxHkPg/QJgCQySvPg2mAJ5xKj rJQwLyMDA4MQT0FqUW5mCar8K0ZxDkYlYd5VIFN4MvNK4Ka/AlrMBLQ4f+kXkMUliQgpqQZGh Vk/1jKc3Lol2PfvHg8VK5ML+c+82VZq9r92uuHTve5SdGzpTsYOMWWljsaTe5MkxJ9Yfdu6MH i+7oP96V6PKzrz0tO5tV+tYtxnXWYTZZ3fnhBVnyi9xNC208nKbWXw0/VKa0ru3z2uterWjcJ z4o8uR/ku0X3ubfB9pv45x+WvW8MXpc9XYinOSDTUYi4qTgQAevQK0zMDAAA= X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-15.tower-180.messagelabs.com!1475744586!47609953!6 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13575 invoked from network); 6 Oct 2016 09:03:08 -0000 Received: from mailrelay2.diasemi.com (HELO sw-ex-cashub01.diasemi.com) (94.185.165.51) by server-15.tower-180.messagelabs.com with AES128-SHA encrypted SMTP; 6 Oct 2016 09:03:08 -0000 Received: from swsrvapps-01.diasemi.com (10.20.28.141) by SW-EX-CASHUB01.diasemi.com (10.20.16.140) with Microsoft SMTP Server id 14.3.248.2; Thu, 6 Oct 2016 10:03:07 +0100 Received: by swsrvapps-01.diasemi.com (Postfix, from userid 22547) id 7D9A83FBF3; Thu, 6 Oct 2016 10:03:05 +0100 (BST) Message-ID: <313a15d14dd20a8cb8ac99a4cd423798343c5b65.1475743411.git.stwiss.opensource@diasemi.com> In-Reply-To: References: From: Steve Twiss Date: Thu, 6 Oct 2016 09:43:30 +0100 Subject: [PATCH V1 06/10] Documentation: dt: input: temperature driver To: DEVICETREE , Dmitry Torokhov , LINUX-INPUT , LINUX-KERNEL , Mark Rutland , Rob Herring CC: Eduardo Valentin , Guenter Roeck , LINUX-PM , LINUX-WATCHDOG , Lee Jones , Liam Girdwood , Mark Brown , Support Opensource , Wim Van Sebroeck , Zhang Rui MIME-Version: 1.0 X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 06/10/2016 07:06:00 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 From: Steve Twiss Add binding information for DA9061 onkey. This patch updates the compatible string "dlg,da9061-onkey" to support DA9061, removes ther reference to KEY_SLEEP (which the driver no longer supports) and fixes a typo in the example. Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.8 Hi, This patch depends on the acceptance of the main code for the onkey: [PATCH V1 3/10] Input: da9061: onkey driver. Regards, Steve Twiss, Dialog Semiconductor Ltd. .../devicetree/bindings/input/da9062-onkey.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/input/da9062-onkey.txt b/Documentation/devicetree/bindings/input/da9062-onkey.txt index ab0e048..ce45436 100644 --- a/Documentation/devicetree/bindings/input/da9062-onkey.txt +++ b/Documentation/devicetree/bindings/input/da9062-onkey.txt @@ -1,28 +1,27 @@ -* Dialog DA9062/63 OnKey Module +* Dialog DA9061/62/63 OnKey Module -This module is part of the DA9062/DA9063. For more details about entire -chips see Documentation/devicetree/bindings/mfd/da9062.txt and -Documentation/devicetree/bindings/mfd/da9063.txt +This module is part of the DA9061/DA9062/DA9063. For more details about entire +DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt +For DA9063 see Documentation/devicetree/bindings/mfd/da9063.txt -This module provides KEY_POWER, KEY_SLEEP and events. +This module provides the KEY_POWER event. Required properties: - compatible: should be one of: + dlg,da9061-onkey dlg,da9062-onkey dlg,da9063-onkey Optional properties: - - dlg,disable-key-power : Disable power-down using a long key-press. If this +- dlg,disable-key-power : Disable power-down using a long key-press. If this entry exists the OnKey driver will remove support for the KEY_POWER key - press. If this entry does not exist then by default the key-press - triggered power down is enabled and the OnKey will support both KEY_POWER - and KEY_SLEEP. + press when triggered using a long press of the OnKey. Example: - pmic0: da9062@58 { + pmic0: da9063@58 { onkey { compatible = "dlg,da9063-onkey";