[oe-commits] org.oe.dev linux omap2 git: update TWL4030 patches for beagle, add mrus clock patches

koen commit oe at amethyst.openembedded.net
Tue Jul 22 08:59:09 UTC 2008


linux omap2 git: update TWL4030 patches for beagle, add mrus clock patches

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 25f2070b6ff7c016172c18ddcbea754aeb7d159e
ViewMTN: http://monotone.openembedded.org/revision/info/25f2070b6ff7c016172c18ddcbea754aeb7d159e
Files:
1
packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff
packages/linux/linux-omap2-git/beagleboard/mru-clocks2.diff
packages/linux/linux-omap2-git/beagleboard/TWL4030-01.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-02.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-03.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-04.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-05.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-06.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-07.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-08.patch
packages/linux/linux-omap2-git/beagleboard/TWL4030-09.patch
packages/linux/linux-omap2_git.bb
Diffs:

#
# mt diff -r7235543953cf5b68de17cb866a0f3ba5dc88ab8e -r25f2070b6ff7c016172c18ddcbea754aeb7d159e
#
#
#
# add_file "packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff"
#  content [05766144d6796d91cb3a002e2a3c75ce6a1b1d7d]
# 
# add_file "packages/linux/linux-omap2-git/beagleboard/mru-clocks2.diff"
#  content [016a4086941bdeb321b7ce106b8f205a88b4e6af]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-01.patch"
#  from [da576d5a0b54b0da52d31f95bc08b102a95ca3b2]
#    to [6a99b66e76c84c87ab1e45c0985c879d94ac4438]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-02.patch"
#  from [72af4f60c26f56679e95fc24ef3b7f5acabed0cf]
#    to [e3286f230c7de114a1dc14e192a3d5fb80b022b3]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-03.patch"
#  from [6284906123018747a79c7343545a7dd996b0ec39]
#    to [34273fa2d5c071e18ac2f1197909967578e2126b]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-04.patch"
#  from [656d89877fe629bfe6899289054c523bb7eb2e91]
#    to [47336c0b4a7118b621d9068d065d0201488d3a04]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-05.patch"
#  from [a89f99c1ea6b938b377f1ea97035e448fcbdb3b1]
#    to [9d7d91c5387f06371065d98fc3632c2efe185142]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-06.patch"
#  from [01cb8404a54532d68de3d2db4af14c4da5e5a109]
#    to [e8d46bcc68305ac90e83b4f46d23d32adcdab421]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-07.patch"
#  from [a280d8f500e253c8816899f5b34ce803e200faee]
#    to [895c76bf663506910934a26ad8c6d73b5705ea3a]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-08.patch"
#  from [d2d7e987a7124b50a4c43b41bbbb6b26c7e49e0b]
#    to [efca04cf74065a39ac2b695ab2934b6a9740530f]
# 
# patch "packages/linux/linux-omap2-git/beagleboard/TWL4030-09.patch"
#  from [851122d7278bafa9d271aa4d3fdb81f61afeae01]
#    to [fd71a971dae7541610ffbe920df2edbf747ee0b5]
# 
# patch "packages/linux/linux-omap2_git.bb"
#  from [824775d9f3efae0925325c500da99a9741527658]
#    to [43ac6aa586b248d87d01286575371b1800bb3d2a]
#
============================================================
--- packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff	05766144d6796d91cb3a002e2a3c75ce6a1b1d7d
+++ packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff	05766144d6796d91cb3a002e2a3c75ce6a1b1d7d
@@ -0,0 +1,25 @@
+From: Mans Rullgard <mans at mansr.com>
+Date: Tue, 22 Jul 2008 00:31:11 +0000 (+0100)
+Subject: ARM: OMAP: make dpll4_m4_ck programmable with clk_set_rate()
+X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=edc6cd29284f64f524dd410fdc5e6133bc177a8f
+
+ARM: OMAP: make dpll4_m4_ck programmable with clk_set_rate()
+
+Filling the set_rate and round_rate fields of dpll4_m4_ck makes
+this clock programmable through clk_set_rate().  This is needed
+to give omapfb control over the dss1_alwon_fck rate.
+---
+
+diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h
+index 161da12..876eb13 100644
+--- a/arch/arm/mach-omap2/clock34xx.h
++++ b/arch/arm/mach-omap2/clock34xx.h
+@@ -815,6 +815,8 @@ static struct clk dpll4_m4_ck = {
+ 	.flags		= CLOCK_IN_OMAP343X | RATE_PROPAGATES |
+ 				PARENT_CONTROLS_CLOCK,
+ 	.recalc		= &omap2_clksel_recalc,
++	.set_rate	= &omap2_clksel_set_rate,
++	.round_rate	= &omap2_clksel_round_rate,
+ };
+ 
+ /* The PWRDN bit is apparently only available on 3430ES2 and above */
============================================================
--- packages/linux/linux-omap2-git/beagleboard/mru-clocks2.diff	016a4086941bdeb321b7ce106b8f205a88b4e6af
+++ packages/linux/linux-omap2-git/beagleboard/mru-clocks2.diff	016a4086941bdeb321b7ce106b8f205a88b4e6af
@@ -0,0 +1,62 @@
+From: Mans Rullgard <mans at mansr.com>
+Date: Tue, 22 Jul 2008 00:58:18 +0000 (+0100)
+Subject: ARM: OMAP: add clk_get_parent() for OMAP2/3
+X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=76a35ce79194b60e3697378e726e1e510c9349d1
+
+ARM: OMAP: add clk_get_parent() for OMAP2/3
+
+Signed-off-by: Mans Rullgard <mans at mansr.com>
+---
+
+diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
+index 577be44..28aec36 100644
+--- a/arch/arm/mach-omap2/clock.c
++++ b/arch/arm/mach-omap2/clock.c
+@@ -824,6 +824,11 @@ int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent)
+ 	return 0;
+ }
+ 
++struct clk *omap2_clk_get_parent(struct clk *clk)
++{
++	return clk->parent;
++}
++
+ /* DPLL rate rounding code */
+ 
+ /**
+diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
+index 49245f7..4aa69d5 100644
+--- a/arch/arm/mach-omap2/clock.h
++++ b/arch/arm/mach-omap2/clock.h
+@@ -29,6 +29,7 @@ int omap2_clk_set_rate(struct clk *clk, unsigned long rate);
+ int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent);
+ int omap2_dpll_set_rate_tolerance(struct clk *clk, unsigned int tolerance);
+ long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate);
++struct clk *omap2_clk_get_parent(struct clk *clk);
+ 
+ #ifdef CONFIG_OMAP_RESET_CLOCKS
+ void omap2_clk_disable_unused(struct clk *clk);
+diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c
+index 54cc6e1..ed7af21 100644
+--- a/arch/arm/mach-omap2/clock24xx.c
++++ b/arch/arm/mach-omap2/clock24xx.c
+@@ -422,6 +422,7 @@ static struct clk_functions omap2_clk_functions = {
+ 	.clk_round_rate		= omap2_clk_round_rate,
+ 	.clk_set_rate		= omap2_clk_set_rate,
+ 	.clk_set_parent		= omap2_clk_set_parent,
++	.clk_get_parent		= omap2_clk_get_parent,
+ 	.clk_disable_unused	= omap2_clk_disable_unused,
+ #ifdef	CONFIG_CPU_FREQ
+ 	.clk_init_cpufreq_table	= omap2_clk_init_cpufreq_table,
+diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c
+index 04dedec..08c8c46 100644
+--- a/arch/arm/mach-omap2/clock34xx.c
++++ b/arch/arm/mach-omap2/clock34xx.c
+@@ -541,6 +541,7 @@ static struct clk_functions omap2_clk_functions = {
+ 	.clk_round_rate		= omap2_clk_round_rate,
+ 	.clk_set_rate		= omap2_clk_set_rate,
+ 	.clk_set_parent		= omap2_clk_set_parent,
++	.clk_get_parent		= omap2_clk_get_parent,
+ 	.clk_disable_unused	= omap2_clk_disable_unused,
+ };
+ 
============================================================
--- packages/linux/linux-omap2-git/beagleboard/TWL4030-01.patch	da576d5a0b54b0da52d31f95bc08b102a95ca3b2
+++ packages/linux/linux-omap2-git/beagleboard/TWL4030-01.patch	6a99b66e76c84c87ab1e45c0985c879d94ac4438
@@ -1,43 +1,7 @@
-X-Mozilla-Status: 0001
-X-Mozilla-Status2: 00000000
-Return-Path: <linux-omap-owner at vger.kernel.org>
-X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on shovel.geekisp.com
-X-Spam-Level: 
-X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,DKIM_POLICY_SIGNSOME
-	autolearn=ham version=3.2.1
-Delivered-To: balister.org-philip at balister.org
-Received: (qmail 26975 invoked by uid 1003); 18 Jul 2008 01:35:27 -0000
-Received: from vger.kernel.org (209.132.176.167)
-  by mail.geekisp.com with SMTP; 18 Jul 2008 01:35:27 -0000
-Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
-	id S1756265AbYGRBf0 (ORCPT <rfc822;philip at balister.org>);
-	Thu, 17 Jul 2008 21:35:26 -0400
-Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1751582AbYGRBfZ
-	(ORCPT <rfc822;linux-omap-outgoing>);
-	Thu, 17 Jul 2008 21:35:25 -0400
-Received: from utopia.booyaka.com ([72.9.107.138]:49361 "EHLO
-	utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
-	with ESMTP id S1752321AbYGRBfX (ORCPT
-	<rfc822;linux-omap at vger.kernel.org>); Thu, 17 Jul 2008 21:35:23 -0400
-Received: (qmail 13868 invoked by uid 526); 18 Jul 2008 01:35:22 -0000
-MBOX-Line: From nobody Thu Jul 17 19:34:49 2008
-From:	Paul Walmsley <paul at pwsan.com>
-Subject: [PATCH 1/9] TWL4030: remove superfluous PWR interrupt status clear
-	before masking
-To:	linux-omap at vger.kernel.org
-Date:	Thu, 17 Jul 2008 19:34:49 -0600
-Message-ID: <20080718013448.18943.6984.stgit at localhost.localdomain>
-In-Reply-To: <20080718013205.18943.34047.stgit at localhost.localdomain>
-References: <20080718013205.18943.34047.stgit at localhost.localdomain>
-User-Agent: StGIT/0.14.3.163.g06f9
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 7bit
-Sender:	linux-omap-owner at vger.kernel.org
-Precedence: bulk
-List-ID: <linux-omap.vger.kernel.org>
-X-Mailing-List:	linux-omap at vger.kernel.org
+TWL4030: remove superfluous PWR interrupt status clear before masking
 
+From: Paul Walmsley <paul at pwsan.com>
+
 twl_irq_init() clears PWR interrupt status bits, then masks the interrupts
 off, then clears the PWR interrupt status bits again.  The first clear
 seems unnecessary, so, remove it.
@@ -77,10 +41,3 @@ index adc45d4..ff662bc 100644
  	/* PWR_IMR1 */
  	res = twl4030_i2c_write_u8(TWL4030_MODULE_INT, 0xFF, 0x1);
  	if (res < 0) {
-
-
---
-To unsubscribe from this list: send the line "unsubscribe linux-omap" in
-the body of a message to majordomo at vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
============================================================
--- packages/linux/linux-omap2-git/beagleboard/TWL4030-02.patch	72af4f60c26f56679e95fc24ef3b7f5acabed0cf
+++ packages/linux/linux-omap2-git/beagleboard/TWL4030-02.patch	e3286f230c7de114a1dc14e192a3d5fb80b022b3
@@ -1,43 +1,7 @@
-X-Mozilla-Status: 0001
-X-Mozilla-Status2: 00000000
-Return-Path: <linux-omap-owner at vger.kernel.org>
-X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on
-	morningsun.geekisp.com
-X-Spam-Level: 
-X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,DKIM_POLICY_SIGNSOME,
-	DK_POLICY_SIGNSOME,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.2
-Delivered-To: balister.org-philip at balister.org
-Received: (qmail 17413 invoked by uid 1003); 18 Jul 2008 01:35:27 -0000
-Received: from vger.kernel.org (209.132.176.167)
-  by mail.geekisp.com with SMTP; 18 Jul 2008 01:35:27 -0000
-Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
-	id S1757296AbYGRBf1 (ORCPT <rfc822;philip at balister.org>);
-	Thu, 17 Jul 2008 21:35:27 -0400
-Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1751582AbYGRBf0
-	(ORCPT <rfc822;linux-omap-outgoing>);
-	Thu, 17 Jul 2008 21:35:26 -0400
-Received: from utopia.booyaka.com ([72.9.107.138]:49362 "EHLO
-	utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
-	with ESMTP id S1754168AbYGRBfY (ORCPT
-	<rfc822;linux-omap at vger.kernel.org>); Thu, 17 Jul 2008 21:35:24 -0400
-Received: (qmail 13872 invoked by uid 526); 18 Jul 2008 01:35:23 -0000
-MBOX-Line: From nobody Thu Jul 17 19:34:50 2008
-From:	Paul Walmsley <paul at pwsan.com>
-Subject: [PATCH 2/9] TWL4030: clear TWL GPIO interrupt status registers
-To:	linux-omap at vger.kernel.org
-Date:	Thu, 17 Jul 2008 19:34:50 -0600
-Message-ID: <20080718013449.18943.78895.stgit at localhost.localdomain>
-In-Reply-To: <20080718013205.18943.34047.stgit at localhost.localdomain>
-References: <20080718013205.18943.34047.stgit at localhost.localdomain>
-User-Agent: StGIT/0.14.3.163.g06f9
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 7bit
-Sender:	linux-omap-owner at vger.kernel.org
-Precedence: bulk
-List-ID: <linux-omap.vger.kernel.org>
-X-Mailing-List:	linux-omap at vger.kernel.org
+TWL4030: clear TWL GPIO interrupt status registers
 
+From: Paul Walmsley <paul at pwsan.com>
+
 twl_init_irq() does not clear the TWL GPIO ISR registers, but the PIH
 ISR thinks that it has.  This causes any previously-latched GPIO interrupts
 to be stuck on until twl4030-gpio.c initializes, often drowning the console in
@@ -105,10 +69,3 @@ index ff662bc..dfc3805 100644
  	/* install an irq handler for each of the PIH modules */
  	for (i = TWL4030_IRQ_BASE; i < TWL4030_IRQ_END; i++) {
  		set_irq_chip(i, &twl4030_irq_chip);
-
-
---
-To unsubscribe from this list: send the line "unsubscribe linux-omap" in
-the body of a message to majordomo at vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
============================================================
--- packages/linux/linux-omap2-git/beagleboard/TWL4030-03.patch	6284906123018747a79c7343545a7dd996b0ec39
+++ packages/linux/linux-omap2-git/beagleboard/TWL4030-03.patch	34273fa2d5c071e18ac2f1197909967578e2126b
@@ -1,44 +1,7 @@
-X-Mozilla-Status: 0001
-X-Mozilla-Status2: 00000000
-Return-Path: <linux-omap-owner at vger.kernel.org>
-X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on
-	morningsun.geekisp.com
-X-Spam-Level: 
-X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,DKIM_POLICY_SIGNSOME,
-	DK_POLICY_SIGNSOME,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.2
-Delivered-To: balister.org-philip at balister.org
-Received: (qmail 14206 invoked by uid 1003); 18 Jul 2008 01:35:28 -0000
-Received: from vger.kernel.org (209.132.176.167)
-  by mail.geekisp.com with SMTP; 18 Jul 2008 01:35:28 -0000
-Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
-	id S1751582AbYGRBf1 (ORCPT <rfc822;philip at balister.org>);
-	Thu, 17 Jul 2008 21:35:27 -0400
-Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1754168AbYGRBf1
-	(ORCPT <rfc822;linux-omap-outgoing>);
-	Thu, 17 Jul 2008 21:35:27 -0400
-Received: from utopia.booyaka.com ([72.9.107.138]:49363 "EHLO
-	utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
-	with ESMTP id S1754586AbYGRBfY (ORCPT
-	<rfc822;linux-omap at vger.kernel.org>); Thu, 17 Jul 2008 21:35:24 -0400
-Received: (qmail 13876 invoked by uid 526); 18 Jul 2008 01:35:23 -0000
-MBOX-Line: From nobody Thu Jul 17 19:34:50 2008
-From:	Paul Walmsley <paul at pwsan.com>
-Subject: [PATCH 3/9] TWL4030: use correct register addresses for BCI IMR
-	registers
-To:	linux-omap at vger.kernel.org
-Date:	Thu, 17 Jul 2008 19:34:50 -0600
-Message-ID: <20080718013450.18943.33123.stgit at localhost.localdomain>
-In-Reply-To: <20080718013205.18943.34047.stgit at localhost.localdomain>
-References: <20080718013205.18943.34047.stgit at localhost.localdomain>
-User-Agent: StGIT/0.14.3.163.g06f9
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 7bit
-Sender:	linux-omap-owner at vger.kernel.org
-Precedence: bulk
-List-ID: <linux-omap.vger.kernel.org>
-X-Mailing-List:	linux-omap at vger.kernel.org
+TWL4030: use correct register addresses for BCI IMR registers
 
+From: Paul Walmsley <paul at pwsan.com>
+
 The existing code to mask and clear BCI interrupts in twl_init_irq() is
 wrong.  It uses the wrong register offsets, it does not mask all of the
 BCI IMR registers, and it does not clear all of the BCI ISR registers.
@@ -117,10 +80,3 @@ index dfc3805..bb0732c 100644
  	if (res < 0) {
  		pr_err("%s[%d][%d]\n", msg, res, __LINE__);
  		return;
-
-
---
-To unsubscribe from this list: send the line "unsubscribe linux-omap" in
-the body of a message to majordomo at vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
============================================================
--- packages/linux/linux-omap2-git/beagleboard/TWL4030-04.patch	656d89877fe629bfe6899289054c523bb7eb2e91
+++ packages/linux/linux-omap2-git/beagleboard/TWL4030-04.patch	47336c0b4a7118b621d9068d065d0201488d3a04
@@ -1,43 +1,7 @@
-X-Mozilla-Status: 0001
-X-Mozilla-Status2: 00000000
-Return-Path: <linux-omap-owner at vger.kernel.org>
-X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on
-	morningsun.geekisp.com
-X-Spam-Level: 
-X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,DKIM_POLICY_SIGNSOME,
-	DK_POLICY_SIGNSOME,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.2
-Delivered-To: balister.org-philip at balister.org
-Received: (qmail 21713 invoked by uid 1003); 18 Jul 2008 01:35:29 -0000
-Received: from vger.kernel.org (209.132.176.167)
-  by mail.geekisp.com with SMTP; 18 Jul 2008 01:35:29 -0000
-Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
-	id S1754758AbYGRBf2 (ORCPT <rfc822;philip at balister.org>);
-	Thu, 17 Jul 2008 21:35:28 -0400
-Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1757008AbYGRBf1
-	(ORCPT <rfc822;linux-omap-outgoing>);
-	Thu, 17 Jul 2008 21:35:27 -0400
-Received: from utopia.booyaka.com ([72.9.107.138]:49364 "EHLO
-	utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
-	with ESMTP id S1754758AbYGRBfY (ORCPT
-	<rfc822;linux-omap at vger.kernel.org>); Thu, 17 Jul 2008 21:35:24 -0400
-Received: (qmail 13880 invoked by uid 526); 18 Jul 2008 01:35:23 -0000
-MBOX-Line: From nobody Thu Jul 17 19:34:51 2008
-From:	Paul Walmsley <paul at pwsan.com>
-Subject: [PATCH 4/9] TWL4030: clear MADC interrupt status registers upon init
-To:	linux-%s
>>> DIFF TRUNCATED @ 16K






More information about the Openembedded-commits mailing list