Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254766
b: refs/heads/master
c: 8918034
h: refs/heads/master
v: v3
  • Loading branch information
Padmavathi Venna authored and Kukjin Kim committed Jul 6, 2011
1 parent 2042c68 commit a983976
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 14 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: 8fa9dd04b7f7ab1807ebcc274601dd8e2d215569
refs/heads/master: 8918034dfb7b0f625ba9eb0329d5750a9573f62e
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: 2 additions & 0 deletions trunk/arch/arm/mach-s3c64xx/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ 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 @@ -132,6 +133,7 @@ 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: 4 additions & 0 deletions trunk/arch/arm/mach-s5p64x0/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,14 @@ 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 @@ -160,12 +162,14 @@ 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: 3 additions & 1 deletion 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,6 +90,7 @@ 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 @@ -135,6 +135,7 @@ 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 @@ -177,6 +178,7 @@ 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: 2 additions & 0 deletions trunk/arch/arm/mach-s5pv210/dev-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ 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 @@ -129,6 +130,7 @@ 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
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: 2 additions & 0 deletions trunk/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ 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 @@ -53,6 +54,7 @@ struct s3c64xx_spi_info {
int fifo_lvl_mask;
int rx_lvl_offset;
int high_speed;
int tx_st_done;
};

/**
Expand Down

0 comments on commit a983976

Please sign in to comment.