From patchwork Tue Sep 15 14:05:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yassinjaffer@gmail.com X-Patchwork-Id: 7185611 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3F8F3BEEC1 for ; Tue, 15 Sep 2015 14:13:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 605222058C for ; Tue, 15 Sep 2015 14:13:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 733C920396 for ; Tue, 15 Sep 2015 14:13:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbbIOOHC (ORCPT ); Tue, 15 Sep 2015 10:07:02 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34587 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752694AbbIOOG7 (ORCPT ); Tue, 15 Sep 2015 10:06:59 -0400 Received: by padhy16 with SMTP id hy16so177884372pad.1; Tue, 15 Sep 2015 07:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fKHq9U+Nl6yYugtib2TWEMYWGwWj5GlEu+1x6+4/LQ0=; b=KyPs1qnBRqMXPTYJVkIHMngqkkqDeHsFlGgWHPQF6w2FSmebjipD89HYvkjTOnhwD2 wzwWV7GN6yCus9eWh8w5aF6QO0o7ULBIHNRi/m6AA8Xji1NxILlMp+JawRLuuSjEbhs6 w3FLYh7Bs+H4V0Y3LyQnklM6+fxTLQMtIi1nKgVbzHuZBXnubi0OQIQA+Ru2rfrjgS/A 1Ym64+YFnTKxi0LH97jOXYBMDqLSeVDWVEQqvfp8IvN7cBEMeDgdGi2I76H/yC460iei GvY15zs3ieevOm0MaxOs7W+PvSX2pMasEUXPn97ZyMaXmMhTos6sli9lq5lkwhG/j9QI YlNg== X-Received: by 10.67.30.136 with SMTP id ke8mr48539676pad.16.1442326019465; Tue, 15 Sep 2015 07:06:59 -0700 (PDT) Received: from localhost.localdomain (203-206-184-173.perm.iinet.net.au. [203.206.184.173]) by smtp.gmail.com with ESMTPSA id xm9sm22401469pbc.32.2015.09.15.07.06.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Sep 2015 07:06:59 -0700 (PDT) From: yassinjaffer@gmail.com To: linux-sunxi@googlegroups.com Cc: maxime.ripard@free-electrons.com, dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yassin Jaffer Subject: [PATCH 2/4] ARM: dts: sun7i: Add keypad node to Allwinner A20 SoC Date: Wed, 16 Sep 2015 00:05:55 +1000 Message-Id: <1442325957-10102-3-git-send-email-yassinjaffer@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442325957-10102-1-git-send-email-yassinjaffer@gmail.com> References: <1442325957-10102-1-git-send-email-yassinjaffer@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 From: Yassin Jaffer Add Keypad controller node definition to the A20 SoC. Signed-off-by: Yassin Jaffer --- arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 333604a..35cc8d0 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -1198,6 +1198,15 @@ status = "disabled"; }; + kp: kp@01c23000 { + compatible = "allwinner,sun4i-a10-keypad"; + reg = <0x01c23000 0x400>; + interrupts = ; + clocks = <&apb0_gates 10>, <&keypad_clk>; + clock-names = "apb", "keypad"; + status = "disabled"; + }; + sid: eeprom@01c23800 { compatible = "allwinner,sun7i-a20-sid"; reg = <0x01c23800 0x200>;