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: 9499973 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 8E09160413 for ; Fri, 6 Jan 2017 03:59:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 678602841C for ; Fri, 6 Jan 2017 03:59:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A75E28478; Fri, 6 Jan 2017 03:59: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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2B4042841C for ; Fri, 6 Jan 2017 03:59:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cPLgs-0004vr-3R; Fri, 06 Jan 2017 03:59:42 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cPLgn-0004rk-Mg for linux-arm-kernel@lists.infradead.org; Fri, 06 Jan 2017 03:59:39 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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: H4sIAAAAAAAAAzVSaUwTWxj1zg6xOg6IN8hTHDUqCYUpVC4+edE8hSYaJ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AAA== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170105_195937_887461_29FCF277 X-CRM114-Status: GOOD ( 15.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Jaechul Lee , linux-kernel@vger.kernel.org, Andi Shyti , Chanwoo Choi , beomho.seo@samsung.com, linux-input@vger.kernel.org, galaxyra@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; + }; + };