From patchwork Fri Nov 19 16:22:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Rodriguez X-Patchwork-Id: 340411 Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAJGOUbX009653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Nov 2010 16:24:52 GMT Received: from dlep34.itg.ti.com ([157.170.170.115]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id oAJGMP6F031562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Nov 2010 10:22:25 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id oAJGMOBs015323; Fri, 19 Nov 2010 10:22:24 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 7E86480627; Fri, 19 Nov 2010 10:22:24 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id ECBBB80626 for ; Fri, 19 Nov 2010 10:22:22 -0600 (CST) Received: from medina.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id oAJGMMfI022778 for ; Fri, 19 Nov 2010 10:22:22 -0600 (CST) Received: from psmtp.com (na3sys009amx227.postini.com [74.125.149.111]) by medina.ext.ti.com (8.13.7/8.13.7) with SMTP id oAJGMMJN007799 for ; Fri, 19 Nov 2010 10:22:22 -0600 Received: from source ([209.85.213.173]) by na3sys009amx227.postini.com ([74.125.148.10]) with SMTP; Fri, 19 Nov 2010 11:22:22 EST Received: by yxf34 with SMTP id 34so2537815yxf.4 for ; Fri, 19 Nov 2010 08:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=+XtHIhQgmgQkckey47HHQCKj034ZE2zZxIBsf/uEUrY=; b=SKMgw1SXtPn7/I1S5XfisCCIQNW8dK9OY7edD3yTc4aGUBK+qPdgcSTEB9g2+DDLbs ItggtdQwlMSpXjAHxTYY70p1pD8zAm7DxdHjMAkl+uOQ3LIe5pO0FRPF04V8Jr4x7XuR g6QQQ5FgNOG07hnNhy5wHyPZDEx6OKjD0Deq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=WC1Lq4OYRXkRk7T4arIGs/nsagXrVxR5fTqO8kN6B5W72HcDoVyeHa0GVQJRLNOtA5 rMGcide2whyccicGHl1TdefNCcauqeHvBePfmhSaZp7ZCSz/PWCZTuvrwwEthOa4JTsr b9J5hRKt2H/sIugo80DrQJ4QuOM3xWlxVPRu0= Received: by 10.150.195.6 with SMTP id s6mr3787415ybf.261.1290183741495; Fri, 19 Nov 2010 08:22:21 -0800 (PST) Received: from localhost.localdomain ([200.52.114.70]) by mx.google.com with ESMTPS id k52sm1145058yhg.39.2010.11.19.08.22.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Nov 2010 08:22:21 -0800 (PST) From: To: davinci-linux-open-source@linux.davincidsp.com Subject: [RFC PATCH] davinci: Fix UARTs configuration da850 Date: Fri, 19 Nov 2010 10:22:15 -0600 Message-Id: <1290183735-4501-1-git-send-email-vm.rod25@gmail.com> X-Mailer: git-send-email 1.7.0.4 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:33.65181/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 19 Nov 2010 16:24:52 +0000 (UTC) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index b3b1adb..d36e767 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -420,9 +420,13 @@ static const struct mux_config da850_pins[] = { MUX_CFG(DA850, UART0_RXD, 3, 16, 15, 2, false) MUX_CFG(DA850, UART0_TXD, 3, 20, 15, 2, false) /* UART1 function */ + MUX_CFG(DA850, NUART1_CTS, 0, 20, 15, 2, false) + MUX_CFG(DA850, NUART1_RTS, 0, 16, 15, 2, false) MUX_CFG(DA850, UART1_RXD, 4, 24, 15, 2, false) MUX_CFG(DA850, UART1_TXD, 4, 28, 15, 2, false) /* UART2 function */ + MUX_CFG(DA850, NUART2_CTS, 0, 28, 15, 2, false) + MUX_CFG(DA850, NUART2_RTS, 0, 24, 15, 2, false) MUX_CFG(DA850, UART2_RXD, 4, 16, 15, 2, false) MUX_CFG(DA850, UART2_TXD, 4, 20, 15, 2, false) /* I2C1 function */ @@ -578,12 +582,12 @@ const short da850_uart0_pins[] __initdata = { }; const short da850_uart1_pins[] __initdata = { - DA850_UART1_RXD, DA850_UART1_TXD, + DA850_NUART1_CTS, DA850_NUART1_RTS, DA850_UART1_RXD, DA850_UART1_TXD, -1 }; const short da850_uart2_pins[] __initdata = { - DA850_UART2_RXD, DA850_UART2_TXD, + DA850_NUART2_CTS, DA850_NUART2_RTS, DA850_UART2_RXD, DA850_UART2_TXD, -1 };