From patchwork Fri Dec 12 18:25:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vishnupatekar X-Patchwork-Id: 5484851 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 A666E9F1D4 for ; Fri, 12 Dec 2014 18:35:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB058201B4 for ; Fri, 12 Dec 2014 18:35:06 +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 0BCDC2012B for ; Fri, 12 Dec 2014 18:35:06 +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 1XzV1F-0004Ib-14; Fri, 12 Dec 2014 18:32:49 +0000 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XzV10-000444-Li for linux-arm-kernel@lists.infradead.org; Fri, 12 Dec 2014 18:32:35 +0000 Received: by mail-pd0-f182.google.com with SMTP id p10so7652078pdj.27 for ; Fri, 12 Dec 2014 10:32:13 -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:in-reply-to:references; bh=CpivXYCHfkCR3BV67ujAh2r52IWwnSejVpGpD6OP72k=; b=WzkEQa/ICIgVX0cy91Ol+uu9I6HHWsOPsrgKM3LYeZr1C2wL5a4d+AjWcKayN9j3J4 LfhuAk1+Dp75nV8Cv4FW5WTOcfubWqeiekUBHuBtkeEpbJ29yDfNbcGM8bsELEzn0+JL PVTjqPJJi5oRjDDwJ6it3AOQkS1SMWYHXMhHO/4LlJBpAsBfnVkJb+XIolPJ3DePk38y elYpw1E8LtTNKFqOpjsW7CqzxpQIpIAJhdXs/oiSgCSCXew17X+su0KrnEbAaHRMLZ0g fOy8uysf16ZKUowuANdRptEruYqbCgIeB60M/K+em6S8weWrjjaYnnM14Z5k8SjqmXVB oC/w== X-Received: by 10.70.55.8 with SMTP id n8mr28901901pdp.95.1418409133642; Fri, 12 Dec 2014 10:32:13 -0800 (PST) Received: from localhost.localdomain ([124.125.90.64]) by mx.google.com with ESMTPSA id w2sm2131545pbs.59.2014.12.12.10.32.05 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Dec 2014 10:32:12 -0800 (PST) From: VishnuPatekar To: linux-input@vger.kernel.org, maxime.ripard@free-electrons.com, dmitry.torokhov@gmail.com, hdegoede@redhat.com Subject: [PATCHv3 4/5] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options Date: Fri, 12 Dec 2014 23:55:47 +0530 Message-Id: <1418408748-9797-5-git-send-email-vishnupatekar0510@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1418408748-9797-1-git-send-email-vishnupatekar0510@gmail.com> References: <1418408748-9797-1-git-send-email-vishnupatekar0510@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141212_103234_796070_C58015CA X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.6 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, VishnuPatekar , linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, benh@kernel.crashing.org, msalter@redhat.com, linux-kernel@vger.kernel.org, ralf@linux-mips.org, robh+dt@kernel.org, jdelvare@suse.de, galak@codeaurora.org, grant.likely@linaro.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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 Added the pinmuxing options for Allwinner A10 and A20. Signed-off-by: VishnuPatekar --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++++++++++++++ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index ef9a01c..5a29039 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -630,6 +630,20 @@ allwinner,pull = <0>; }; + ps20_pins_a: ps20@0 { + allwinner,pins = "PI20", "PI21"; + allwinner,function = "ps2"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + + ps21_pins_a: ps21@0 { + allwinner,pins = "PH12", "PH13"; + allwinner,function = "ps2"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + }; timer@01c20c00 { diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 6ab7714..247def0 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -867,6 +867,20 @@ allwinner,pull = <0>; }; + ps20_pins_a: ps20@0 { + allwinner,pins = "PI20", "PI21"; + allwinner,function = "ps2"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + + ps21_pins_a: ps21@0 { + allwinner,pins = "PH12", "PH13"; + allwinner,function = "ps2"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + }; timer@01c20c00 {