From patchwork Wed Dec 22 17:46:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Williamson X-Patchwork-Id: 428241 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBMHkCm9000423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 22 Dec 2010 17:46:38 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id oBMHkCdo008988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 22 Dec 2010 11:46:12 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id oBMHkBRA024621 for ; Wed, 22 Dec 2010 11:46:11 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id E7BE58062C for ; Wed, 22 Dec 2010 11:46:09 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id B486180626 for ; Wed, 22 Dec 2010 11:46:04 -0600 (CST) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id oBMHk4Us009893 for ; Wed, 22 Dec 2010 11:46:04 -0600 (CST) Received: from psmtp.com (na3sys009amx168.postini.com [74.125.149.94]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id oBMHk3K6019077 for ; Wed, 22 Dec 2010 11:46:03 -0600 Received: from source ([209.85.212.45]) by na3sys009amx168.postini.com ([74.125.148.10]) with SMTP; Wed, 22 Dec 2010 09:46:04 PST Received: by vws12 with SMTP id 12so2125955vws.4 for ; Wed, 22 Dec 2010 09:46:03 -0800 (PST) Received: by 10.220.160.205 with SMTP id o13mr1987358vcx.180.1293039962886; Wed, 22 Dec 2010 09:46:02 -0800 (PST) Received: from localhost.localdomain (rrcs-24-39-249-130.nys.biz.rr.com [24.39.249.130]) by mx.google.com with ESMTPS id r7sm2453819vbx.9.2010.12.22.09.46.00 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Dec 2010 09:46:00 -0800 (PST) From: Michael Williamson To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs Date: Wed, 22 Dec 2010 12:46:07 -0500 Message-Id: <1293039967-20165-1-git-send-email-michael.williamson@criticallink.com> X-Mailer: git-send-email 1.7.0.4 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:81.02357/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] Cc: linux-arm-kernel@lists.infradead.org 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+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 22 Dec 2010 17:46:38 +0000 (UTC) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 78b5ae2..3f888b3 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -764,6 +764,13 @@ static struct davinci_id da850_ids[] = { .cpu_id = DAVINCI_CPU_ID_DA850, .name = "da850/omap-l138", }, + { + .variant = 0x1, + .part_no = 0xb7d1, + .manufacturer = 0x017, /* 0x02f >> 1 */ + .cpu_id = DAVINCI_CPU_ID_DA850, + .name = "da850/omap-l138/am18xx", + }, }; static struct davinci_timer_instance da850_timer_instance[4] = { @@ -814,7 +821,7 @@ static void da850_set_async3_src(int pllnum) WARN(ret, "DA850: unable to re-parent clock %s", clk->name); } - } + } v = __raw_readl(DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP3_REG)); if (pllnum) @@ -895,7 +902,7 @@ static const struct da850_opp da850_opp_96 = { .cvdd_max = 1050000, }; -#define OPP(freq) \ +#define OPP(freq) \ { \ .index = (unsigned int) &da850_opp_##freq, \ .frequency = freq * 1000, \