From patchwork Fri Jul 19 08:47:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Danin X-Patchwork-Id: 260241 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 52BAA2C007E for ; Fri, 19 Jul 2013 20:58:11 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AEB704A020; Fri, 19 Jul 2013 12:57:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UxqzttVceDHX; Fri, 19 Jul 2013 12:57:57 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 436FC4A04B; Fri, 19 Jul 2013 12:57:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66E6B4A01C for ; Fri, 19 Jul 2013 10:58:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lzy4OIAPyuWc for ; Fri, 19 Jul 2013 10:58:36 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from fallback6.mail.ru (fallback6.mail.ru [94.100.176.134]) by theia.denx.de (Postfix) with ESMTP id EBF744A01B for ; Fri, 19 Jul 2013 10:58:29 +0200 (CEST) Received: from smtp41.i.mail.ru (smtp41.i.mail.ru [94.100.177.101]) by fallback6.mail.ru (mPOP.Fallback_MX) with ESMTP id 7EDE014B1FF0 for ; Fri, 19 Jul 2013 12:51:04 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=SNaINAsdB0/Uer3ntlWif4+I2ZYEGribHHIIJ+iateM=; b=tirxY+sumjwFgEQx8UugqEoBfkMNr0T0duNxbYR0uf+kKqoOCEX9Kd2SZnfAoZjpG8eskSebPcjTOW9OBcGPVwS9qijijFNf51fA0Fcv+AQdzheXnZ04apu/GIdpMfBsBzHlQ7IvO0V+I3z3TNYTWsLtLTxdpejP9t+CTJR3Jn8=; Received: from [195.214.232.10] (port=41257 helo=rhel62vi.sw.ru) by smtp41.i.mail.ru with esmtpa (envelope-from ) id 1V06Ow-0002nc-PI; Fri, 19 Jul 2013 12:50:59 +0400 From: Andrey Danin To: Tom Warren , u-boot@lists.denx.de Date: Fri, 19 Jul 2013 12:47:43 +0400 Message-Id: <1374223663-8576-4-git-send-email-danindrey@mail.ru> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1374223663-8576-1-git-send-email-danindrey@mail.ru> References: <1374223663-8576-1-git-send-email-danindrey@mail.ru> X-Spam: Not detected X-Mras: Ok X-Mailman-Approved-At: Fri, 19 Jul 2013 12:57:12 +0200 Cc: Julian Andres Klode , Stephen Warren , ac100@lists.launchpad.net Subject: [U-Boot] [PATCH 3/3] ARM: tegra: paz00: enable nvec keyboard support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Andrey Danin --- board/compal/dts/tegra20-paz00.dts | 8 ++++++++ include/configs/paz00.h | 8 ++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/board/compal/dts/tegra20-paz00.dts b/board/compal/dts/tegra20-paz00.dts index 780203c..2df5446 100644 --- a/board/compal/dts/tegra20-paz00.dts +++ b/board/compal/dts/tegra20-paz00.dts @@ -88,4 +88,12 @@ nvidia,panel-vdd-gpios = <&gpio 4 0>; /* PA4 */ nvidia,panel-timings = <400 4 203 17 15>; }; + + nvec { + compatible = "nvidia,tegra20-nvec"; + reg = <0x7000c500 0x100>; + clock-frequency = <80000>; + request-gpios = <&gpio 170 0>; /* gpio PV2 */ + slave-addr = <138>; + }; }; diff --git a/include/configs/paz00.h b/include/configs/paz00.h index eac1ef9..d711be8 100644 --- a/include/configs/paz00.h +++ b/include/configs/paz00.h @@ -72,6 +72,14 @@ #define CONFIG_SYS_WHITE_ON_BLACK #define CONFIG_CONSOLE_SCROLL_LINES 10 +/* Keyboard support */ +#define CONFIG_KEYBOARD +#define CONFIG_TEGRA_NVEC_KEYBOARD +/* NVEC support */ +#define CONFIG_TEGRA_I2C +#define CONFIG_SYS_I2C_INIT_BOARD +#define CONFIG_TEGRA_NVEC + #include "tegra-common-post.h" #endif /* __CONFIG_H */