From patchwork Wed Dec 3 22:40:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 5434221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C0A9C9F30B for ; Wed, 3 Dec 2014 22:43:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E852420117 for ; Wed, 3 Dec 2014 22:43:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35F2D20103 for ; Wed, 3 Dec 2014 22:43:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XwIbz-0005Kf-Nq; Wed, 03 Dec 2014 22:41:31 +0000 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XwIbw-0005DE-Gb for linux-arm-kernel@lists.infradead.org; Wed, 03 Dec 2014 22:41:29 +0000 Received: by mail-pd0-f178.google.com with SMTP id g10so16262857pdj.23 for ; Wed, 03 Dec 2014 14:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=BqwkiWPFZYV1GiXGqDlR69Sedc3CERX00yM+eGwfUcI=; b=v53Sh1x2G8xM6F4anxf/8MtO4gf9XwMbmpQPHq4NcoF8GdS9w6uK5PDKM3gNvRJ+mR fjW1uFfu6GNGnaDeVmFpXiDHb3FbxzbcDn82dJRg1Q7usEDjHFvKN7wVfWG0/EiyttkH 8bJw3fdbdmjrQj9vP7huK7PR+nVa2xRhtltkKTpf1vA5pkX37407y7/bVfzGQRGyaVAa u44Zw8WbgAYcX15TicF3NoZzuRpbOwUQ4k6byiBXa2RF4FvJmn6rVv7iWrCY6ijlUnfu INdIT+qnVHKNUinm7nwWW60lMlWbLcexwGmjbNlHmqyiw92/Sc4TZiunmgvICHauQj9P eh8g== X-Received: by 10.70.48.166 with SMTP id m6mr13523224pdn.22.1417646467708; Wed, 03 Dec 2014 14:41:07 -0800 (PST) Received: from localhost.localdomain ([124.125.90.64]) by mx.google.com with ESMTPSA id pl7sm24179954pac.11.2014.12.03.14.41.03 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Dec 2014 14:41:06 -0800 (PST) From: vishnupatekar X-Google-Original-From: vishnupatekar To: maxime.ripard@free-electrons.com, galak@codeaurora.org, ijc+devicetree@hellion.org.uk, mark.rutland@arm.com, pawel.moll@arm.com, robh+dt@kernel.org Subject: [PATCH 1/3] dts-binding: input: sun7ips2: Device tree bindings for Allwinner sun7i A20 PS2 host controller Date: Thu, 4 Dec 2014 04:10:41 +0530 Message-Id: <1417646441-27649-1-git-send-email-VishnuPatekar0510@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141203_144128_605898_33311C14 X-CRM114-Status: GOOD ( 10.56 ) X-Spam-Score: -0.6 (/) Cc: devicetree@vger.kernel.org, vishnupatekar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- .../bindings/input/allwinner,sun7i-a20-ps2.txt | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt diff --git a/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt b/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt new file mode 100644 index 0000000..63b6214 --- /dev/null +++ b/Documentation/devicetree/bindings/input/allwinner,sun7i-a20-ps2.txt @@ -0,0 +1,22 @@ +* Device tree bindings for Allwinner A20 PS2 host controller + +A20 PS2 is dual role controller(PS2 host and PS2 device). These bindings are for PS2 host controller. +IBM compliant IBM PS2 and AT-compatible keyboard and mouse can be connected. + +Required properties: + + - reg : Offset and length of the register set for the device. + - compatible : Should one of the following: + - "allwinner,sun7i-a20-ps2" + - interrupts : The interrupt line connected to the P2WI peripheral. + - clocks : The gate clk connected to the P2WI peripheral. + + +Example: + ps20: ps2@0x01c2a000 { + compatible = "allwinner,sun7i-a20-ps2"; + reg = <0x01c2a000 0x400>; + interrupts = <0 62 4>; + clocks = <&apb1_gates 6>; + status = "disabled"; + };