All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Stigge <stigge@antcom.de>
To: arm@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kevin.wells@nxp.com,
	srinivas.bakki@nxp.com, aletes.xgr@gmail.com
Cc: Roland Stigge <stigge@antcom.de>
Subject: [PATCH 7/8] ARM: LPC32xx: Remove USB and I2C init from phy3250.c
Date: Thu, 28 Jun 2012 00:26:17 +0200	[thread overview]
Message-ID: <1340835978-20331-8-git-send-email-stigge@antcom.de> (raw)
In-Reply-To: <1340835978-20331-1-git-send-email-stigge@antcom.de>

USB and I2C initialization can be removed safely from the board specific
phy3250.c, now that initialization moved to the generalized clock.c.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Tested-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

---
 arch/arm/mach-lpc32xx/phy3250.c |   12 ------------
 1 file changed, 12 deletions(-)

--- linux-2.6.orig/arch/arm/mach-lpc32xx/phy3250.c
+++ linux-2.6/arch/arm/mach-lpc32xx/phy3250.c
@@ -248,18 +248,6 @@ static void __init lpc3250_machine_init(
 	tmp |= LPC32XX_CLKPWR_LCDCTRL_LCDTYPE_TFT16;
 	__raw_writel(tmp, LPC32XX_CLKPWR_LCDCLK_CTRL);
 
-	/* Set up USB power */
-	tmp = __raw_readl(LPC32XX_CLKPWR_USB_CTRL);
-	tmp |= LPC32XX_CLKPWR_USBCTRL_HCLK_EN |
-		LPC32XX_CLKPWR_USBCTRL_USBI2C_EN;
-	__raw_writel(tmp, LPC32XX_CLKPWR_USB_CTRL);
-
-	/* Set up I2C pull levels */
-	tmp = __raw_readl(LPC32XX_CLKPWR_I2C_CLK_CTRL);
-	tmp |= LPC32XX_CLKPWR_I2CCLK_USBI2CHI_DRIVE |
-		LPC32XX_CLKPWR_I2CCLK_I2C2HI_DRIVE;
-	__raw_writel(tmp, LPC32XX_CLKPWR_I2C_CLK_CTRL);
-
 	lpc32xx_serial_init();
 
 	/* Test clock needed for UDA1380 initial init */

WARNING: multiple messages have this Message-ID (diff)
From: stigge@antcom.de (Roland Stigge)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/8] ARM: LPC32xx: Remove USB and I2C init from phy3250.c
Date: Thu, 28 Jun 2012 00:26:17 +0200	[thread overview]
Message-ID: <1340835978-20331-8-git-send-email-stigge@antcom.de> (raw)
In-Reply-To: <1340835978-20331-1-git-send-email-stigge@antcom.de>

USB and I2C initialization can be removed safely from the board specific
phy3250.c, now that initialization moved to the generalized clock.c.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Tested-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

---
 arch/arm/mach-lpc32xx/phy3250.c |   12 ------------
 1 file changed, 12 deletions(-)

--- linux-2.6.orig/arch/arm/mach-lpc32xx/phy3250.c
+++ linux-2.6/arch/arm/mach-lpc32xx/phy3250.c
@@ -248,18 +248,6 @@ static void __init lpc3250_machine_init(
 	tmp |= LPC32XX_CLKPWR_LCDCTRL_LCDTYPE_TFT16;
 	__raw_writel(tmp, LPC32XX_CLKPWR_LCDCLK_CTRL);
 
-	/* Set up USB power */
-	tmp = __raw_readl(LPC32XX_CLKPWR_USB_CTRL);
-	tmp |= LPC32XX_CLKPWR_USBCTRL_HCLK_EN |
-		LPC32XX_CLKPWR_USBCTRL_USBI2C_EN;
-	__raw_writel(tmp, LPC32XX_CLKPWR_USB_CTRL);
-
-	/* Set up I2C pull levels */
-	tmp = __raw_readl(LPC32XX_CLKPWR_I2C_CLK_CTRL);
-	tmp |= LPC32XX_CLKPWR_I2CCLK_USBI2CHI_DRIVE |
-		LPC32XX_CLKPWR_I2CCLK_I2C2HI_DRIVE;
-	__raw_writel(tmp, LPC32XX_CLKPWR_I2C_CLK_CTRL);
-
 	lpc32xx_serial_init();
 
 	/* Test clock needed for UDA1380 initial init */

  parent reply	other threads:[~2012-06-27 22:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 22:26 [PATCH 0/8] ARM: LPC32xx specific updates for next, second set Roland Stigge
2012-06-27 22:26 ` Roland Stigge
2012-06-27 22:26 ` [PATCH 1/8] ARM: LPC32xx: Init MMC via clock Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` [PATCH 2/8] ARM: LPC32xx: Add further bits to MMC init Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` [PATCH 3/8] ARM: LPC32xx: Remove wrong re-initialization of MMC clock register Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` [PATCH 4/8] ARM: LPC32xx: Update DTS file for EA3250 board Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` [PATCH 5/8] ARM: LPC32xx: Defconfig update Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` [PATCH 6/8] ARM: LPC32xx: Cleanup USB clock init Roland Stigge
2012-06-27 22:26   ` Roland Stigge
2012-06-27 22:26 ` Roland Stigge [this message]
2012-06-27 22:26   ` [PATCH 7/8] ARM: LPC32xx: Remove USB and I2C init from phy3250.c Roland Stigge
2012-06-27 22:26 ` [PATCH 8/8] ARM: LPC32xx: Remove unused gpios Roland Stigge
2012-06-27 22:26   ` Roland Stigge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340835978-20331-8-git-send-email-stigge@antcom.de \
    --to=stigge@antcom.de \
    --cc=aletes.xgr@gmail.com \
    --cc=arm@kernel.org \
    --cc=kevin.wells@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srinivas.bakki@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.