From patchwork Fri Jan 6 03:59:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaechul Lee X-Patchwork-Id: 9499985 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 51DE660413 for ; Fri, 6 Jan 2017 04:00:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40CB128478 for ; Fri, 6 Jan 2017 04:00:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 356662841C; Fri, 6 Jan 2017 04:00:49 +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=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 C36AB2841C for ; Fri, 6 Jan 2017 04:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937657AbdAFEAa (ORCPT ); Thu, 5 Jan 2017 23:00:30 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:54847 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbdAFEAM (ORCPT ); Thu, 5 Jan 2017 23:00:12 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJC02VAPB2Q7HE0@mailout2.samsung.com>; Fri, 06 Jan 2017 12:59:14 +0900 (KST) Received: from epsmges5p5.samsung.com (unknown [182.195.40.66]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170106035914epcas1p3285953e51dac35450f80711e93e1eed9~XErE5cY3F3256532565epcas1p3C; Fri, 6 Jan 2017 03:59:14 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p5.samsung.com (EPCPMTA) with SMTP id 1C.05.12277.2161F685; Fri, 6 Jan 2017 12:59:14 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170106035914epcas5p2954865ce8060c6aaee61a7526e417b7d~XErEraK_G0917709177epcas5p2B; Fri, 6 Jan 2017 03:59:14 +0000 (GMT) X-AuditID: b6c32a59-f79486d000002ff5-91-586f1612f610 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 25.52.28332.2161F685; Fri, 6 Jan 2017 12:59:14 +0900 (KST) Received: from localhost.localdomain ([10.113.76.93]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJC00JENB2L6360@mmp2.samsung.com>; Fri, 06 Jan 2017 12:59:13 +0900 (KST) From: Jaechul Lee To: Dmitry Torokhov , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas Cc: Jaechul Lee , Andi Shyti , Chanwoo Choi , beomho.seo@samsung.com, galaxyra@gmail.com, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 3/5] input: Add support for the tm2 touchkey device driver Date: Fri, 06 Jan 2017 12:59:07 +0900 Message-id: <1483675149-32598-4-git-send-email-jcsing.lee@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483675149-32598-1-git-send-email-jcsing.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzVSaUwTWxj1z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ob73xumep4vbd4wnVIgoJuF0VfwKJdxjolQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsVy+t9jQV0hsfwIgz8dIhbbjzxjtTj9aRu7 xftlPYwW1788Z7WYf+Qcq8XhRS8YLY6vnMVs8ebtGiaLt/u7mS36H79mtjh/fgO7xabH11gt bn76xmpxedccNosZ5/cxWSy9fpHJonXvEXaLlx9PsDgIeayZt4bRY+esu+wem1Z1snlsXlLv saUfyOvbsorR4/MmuQD2KDebjNTElNQihdS85PyUzLx0W6XQEDddCyWFvMTcVFulCF3fkCAl hbLEnFIgz8gADTg4B7gHK+nbJbhlLOvpYiyYwVPx6skxlgbGVVxdjJwcEgImEhenX2GCsMUk Ltxbz9bFyMUhJDCLUeLskrPsEM53RokX5yezgVSxCWhJ9C/pAasSETjKJHHp6V5mEIdZ4DiT xL3fU1hBqoQFfCV67nUwg9gsAqoSy7ZdAtrBwcEr4Cbx8oA7xDo5iZvnOsFKOAXcJZb0LGEB sYWASk72r2KcwMi7gJFhFaNEakFyQXFSeq5RXmq5XnFibnFpXrpecn7uJkZwXD2T3sF4eJf7 IUYBDkYlHt4Ir7wIIdbEsuLK3EOMEhzMSiK8+iL5EUK8KYmVValF+fFFpTmpxYcYTYHumsgs JZqcD4z5vJJ4QxNzE3NjAwtzS0sTIyVx3sbZz8KFBNITS1KzU1MLUotg+pg4OKUaGHNXHgrp PHSgZe+BGYkVM26Hq++YNmfG7R+nn2+t02yoWB480+hQVXKFd/cJkeWqE9cvZl0f3PM45ZPs fJVpC+fZuV04tlbRKVBOcqeZi8amVxVrEm75nArYaqPPwfL5Z+aT6WrvNVf18HVUbZdzUX5j UmRWc1rGa+XN28eiWBj3Lc2T3cbxl0WJpTgj0VCLuag4EQC7QnlPwQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170106035914epcas5p2954865ce8060c6aaee61a7526e417b7d X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7J207J6s7LKgG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?SmFlQ2h1bCBMZWUbVGl6ZW4gUGxhdGZvcm0gTGFiLhtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170106035914epcas5p2954865ce8060c6aaee61a7526e417b7d X-RootMTR: 20170106035914epcas5p2954865ce8060c6aaee61a7526e417b7d References: <1483675149-32598-1-git-send-email-jcsing.lee@samsung.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 This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/samsung,tm2-touchkey.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt diff --git a/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt new file mode 100644 index 0000000..4de1af0 --- /dev/null +++ b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt @@ -0,0 +1,27 @@ +Samsung tm2-touchkey + +Required properties: +- compatible: must be "samsung,tm2-touchkey" +- reg: I2C address of the chip. +- interrupt-parent: a phandle for the interrupt controller (see interrupt + binding[0]). +- interrupts: interrupt to which the chip is connected (see interrupt + binding[0]). +- vcc-supply : internal regulator output. 1.8V +- vdd-supply : power supply for IC 3.3V + +[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt + +Example: + &i2c0 { + /* ... */ + + touchkey@20 { + compatible = "samsung,tm2-touchkey"; + reg = <0x20>; + interrupt-parent = <&gpa3>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + vcc-supply=<&ldo32_reg>; + vdd-supply=<&ldo33_reg>; + }; + };