Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254774
b: refs/heads/master
c: b7eff39
h: refs/heads/master
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Jul 8, 2011
1 parent a57837e commit 614ca18
Show file tree
Hide file tree
Showing 33 changed files with 232 additions and 313 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1a04dbd1e7b497467d488dd35155014eaee8f9b
refs/heads/master: b7eff394670366a42935bfbaef67a6f7185627d7
2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4982,7 +4982,7 @@ F: drivers/power/power_supply*

PNP SUPPORT
M: Adam Belay <abelay@mit.edu>
M: Bjorn Helgaas <bhelgaas@google.com>
M: Bjorn Helgaas <bjorn.helgaas@hp.com>
S: Maintained
F: drivers/pnp/

Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/arm/mach-exynos4/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <plat/sdhci.h>
#include <plat/devs.h>
#include <plat/fimc-core.h>
#include <plat/iic-core.h>

#include <mach/regs-irq.h>

Expand Down Expand Up @@ -133,11 +132,6 @@ void __init exynos4_map_io(void)
s3c_fimc_setname(1, "exynos4-fimc");
s3c_fimc_setname(2, "exynos4-fimc");
s3c_fimc_setname(3, "exynos4-fimc");

/* The I2C bus controllers are directly compatible with s3c2440 */
s3c_i2c0_setname("s3c2440-i2c");
s3c_i2c1_setname("s3c2440-i2c");
s3c_i2c2_setname("s3c2440-i2c");
}

void __init exynos4_init_clocks(int xtal)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-exynos4/dev-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ struct platform_device exynos4_device_ac97 = {

static int exynos4_spdif_cfg_gpio(struct platform_device *pdev)
{
s3c_gpio_cfgpin_range(EXYNOS4_GPC1(0), 2, S3C_GPIO_SFN(4));
s3c_gpio_cfgpin_range(EXYNOS4_GPC1(0), 2, S3C_GPIO_SFN(3));

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-exynos4/headsmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/linkage.h>
#include <linux/init.h>

__CPUINIT
__INIT

/*
* exynos4 specific entry point for secondary CPUs. This provides
Expand Down
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-exynos4/mach-smdkv310.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ static struct s3c2410_uartcfg smdkv310_uartcfgs[] __initdata = {
};

static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = {
.cd_type = S3C_SDHCI_CD_INTERNAL,
.cd_type = S3C_SDHCI_CD_GPIO,
.ext_cd_gpio = EXYNOS4_GPK0(2),
.ext_cd_gpio_invert = 1,
.clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT
.max_width = 8,
Expand All @@ -94,7 +96,9 @@ static struct s3c_sdhci_platdata smdkv310_hsmmc1_pdata __initdata = {
};

static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = {
.cd_type = S3C_SDHCI_CD_INTERNAL,
.cd_type = S3C_SDHCI_CD_GPIO,
.ext_cd_gpio = EXYNOS4_GPK2(2),
.ext_cd_gpio_invert = 1,
.clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT
.max_width = 8,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c2440/mach-mini2440.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ struct mini2440_features_t {
struct platform_device *optional[8];
};

static void __init mini2440_parse_features(
static void mini2440_parse_features(
struct mini2440_features_t * features,
const char * features_str )
{
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-s3c64xx/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ static struct s3c64xx_spi_info s3c64xx_spi0_pdata = {
.cfg_gpio = s3c64xx_spi_cfg_gpio,
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 13,
.tx_st_done = 21,
};

static u64 spi_dmamask = DMA_BIT_MASK(32);
Expand Down Expand Up @@ -133,7 +132,6 @@ static struct s3c64xx_spi_info s3c64xx_spi1_pdata = {
.cfg_gpio = s3c64xx_spi_cfg_gpio,
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 13,
.tx_st_done = 21,
};

struct platform_device s3c64xx_device_spi1 = {
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm/mach-s5p64x0/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,12 @@ static struct s3c64xx_spi_info s5p6440_spi0_pdata = {
.cfg_gpio = s5p6440_spi_cfg_gpio,
.fifo_lvl_mask = 0x1ff,
.rx_lvl_offset = 15,
.tx_st_done = 25,
};

static struct s3c64xx_spi_info s5p6450_spi0_pdata = {
.cfg_gpio = s5p6450_spi_cfg_gpio,
.fifo_lvl_mask = 0x1ff,
.rx_lvl_offset = 15,
.tx_st_done = 25,
};

static u64 spi_dmamask = DMA_BIT_MASK(32);
Expand Down Expand Up @@ -162,14 +160,12 @@ static struct s3c64xx_spi_info s5p6440_spi1_pdata = {
.cfg_gpio = s5p6440_spi_cfg_gpio,
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 15,
.tx_st_done = 25,
};

static struct s3c64xx_spi_info s5p6450_spi1_pdata = {
.cfg_gpio = s5p6450_spi_cfg_gpio,
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 15,
.tx_st_done = 25,
};

struct platform_device s5p64x0_device_spi1 = {
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm/mach-s5pc100/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <mach/dma.h>
#include <mach/map.h>
#include <mach/spi-clocks.h>
#include <mach/irqs.h>

#include <plat/s3c64xx-spi.h>
#include <plat/gpio-cfg.h>
Expand Down Expand Up @@ -91,7 +90,6 @@ static struct s3c64xx_spi_info s5pc100_spi0_pdata = {
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 13,
.high_speed = 1,
.tx_st_done = 21,
};

static u64 spi_dmamask = DMA_BIT_MASK(32);
Expand Down Expand Up @@ -136,7 +134,6 @@ static struct s3c64xx_spi_info s5pc100_spi1_pdata = {
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 13,
.high_speed = 1,
.tx_st_done = 21,
};

struct platform_device s5pc100_device_spi1 = {
Expand Down Expand Up @@ -179,7 +176,6 @@ static struct s3c64xx_spi_info s5pc100_spi2_pdata = {
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 13,
.high_speed = 1,
.tx_st_done = 21,
};

struct platform_device s5pc100_device_spi2 = {
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-s5pv210/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ static struct s3c64xx_spi_info s5pv210_spi0_pdata = {
.fifo_lvl_mask = 0x1ff,
.rx_lvl_offset = 15,
.high_speed = 1,
.tx_st_done = 25,
};

static u64 spi_dmamask = DMA_BIT_MASK(32);
Expand Down Expand Up @@ -130,7 +129,6 @@ static struct s3c64xx_spi_info s5pv210_spi1_pdata = {
.fifo_lvl_mask = 0x7f,
.rx_lvl_offset = 15,
.high_speed = 1,
.tx_st_done = 25,
};

struct platform_device s5pv210_device_spi1 = {
Expand Down
12 changes: 9 additions & 3 deletions trunk/arch/arm/plat-s3c24xx/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,13 +1027,17 @@ int s3c2410_dma_config(unsigned int channel,
struct s3c2410_dma_chan *chan = s3c_dma_lookup_channel(channel);
unsigned int dcon;

pr_debug("%s: chan=%d, xfer_unit=%d\n", __func__, channel, xferunit);
pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n",
__func__, channel, xferunit, dcon);

if (chan == NULL)
return -EINVAL;

pr_debug("%s: Initial dcon is %08x\n", __func__, dcon);

dcon = chan->dcon & dma_sel.dcon_mask;
pr_debug("%s: dcon is %08x\n", __func__, dcon);

pr_debug("%s: New dcon is %08x\n", __func__, dcon);

switch (chan->req_ch) {
case DMACH_I2S_IN:
Expand Down Expand Up @@ -1231,7 +1235,7 @@ static void s3c2410_dma_resume_chan(struct s3c2410_dma_chan *cp)
/* restore channel's hardware configuration */

if (!cp->in_use)
return;
return 0;

printk(KERN_INFO "dma%d: restoring configuration\n", cp->number);

Expand All @@ -1242,6 +1246,8 @@ static void s3c2410_dma_resume_chan(struct s3c2410_dma_chan *cp)

if (cp->map != NULL)
dma_sel.select(cp, cp->map);

return 0;
}

static void s3c2410_dma_resume(void)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-s5p/s5p-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,11 @@ static void __init s5p_clocksource_init(void)

clock_rate = clk_get_rate(tin_source);

init_sched_clock(&cd, s5p_update_sched_clock, 32, clock_rate);

s5p_time_setup(timer_source.source_id, TCNT_MAX);
s5p_time_start(timer_source.source_id, PERIODIC);

init_sched_clock(&cd, s5p_update_sched_clock, 32, clock_rate);

if (clocksource_register_hz(&time_clocksource, clock_rate))
panic("%s: can't register clocksource\n", time_clocksource.name);
}
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/arm/plat-samsung/include/plat/devs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef __PLAT_DEVS_H
#define __PLAT_DEVS_H __FILE__

#include <linux/platform_device.h>

struct s3c24xx_uart_resources {
Expand Down Expand Up @@ -163,5 +159,3 @@ extern struct platform_device s3c_device_ac97;
*/
extern void *s3c_set_platdata(void *pd, size_t pdsize,
struct platform_device *pdev);

#endif /* __PLAT_DEVS_H */
2 changes: 0 additions & 2 deletions trunk/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ struct s3c64xx_spi_csinfo {
* @fifo_lvl_mask: All tx fifo_lvl fields start at offset-6
* @rx_lvl_offset: Depends on tx fifo_lvl field and bus number
* @high_speed: If the controller supports HIGH_SPEED_EN bit
* @tx_st_done: Depends on tx fifo_lvl field
*/
struct s3c64xx_spi_info {
int src_clk_nr;
Expand All @@ -54,7 +53,6 @@ struct s3c64xx_spi_info {
int fifo_lvl_mask;
int rx_lvl_offset;
int high_speed;
int tx_st_done;
};

/**
Expand Down
Loading

0 comments on commit 614ca18

Please sign in to comment.