Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322301
b: refs/heads/master
c: 265a2bc
h: refs/heads/master
i:
  322299: 87d872c
v: v3
  • Loading branch information
Kevin Hilman committed Aug 7, 2012
1 parent c1ce93c commit 9958886
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 26 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: 90f7f9acecc6dde87cf25db1ad7599926d6773f7
refs/heads/master: 265a2bc84247c9b9e3bb4fe275f16ba99551a7e7
5 changes: 0 additions & 5 deletions trunk/arch/arm/boot/dts/am33xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,5 @@
#size-cells = <0>;
ti,hwmods = "i2c3";
};

wdt2: wdt@44e35000 {
compatible = "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
};
};
};
3 changes: 0 additions & 3 deletions trunk/arch/arm/boot/dts/twl6030.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@

vcxio: regulator@8 {
compatible = "ti,twl6030-vcxio";
regulator-always-on;
};

vusb: regulator@9 {
Expand All @@ -75,12 +74,10 @@

v1v8: regulator@10 {
compatible = "ti,twl6030-v1v8";
regulator-always-on;
};

v2v1: regulator@11 {
compatible = "ti,twl6030-v2v1";
regulator-always-on;
};

clk32kg: regulator@12 {
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-omap2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ config SOC_OMAP5
select CPU_V7
select ARM_GIC
select HAVE_SMP
select ARM_CPU_SUSPEND if PM

comment "OMAP Core Type"
depends on ARCH_OMAP2
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-omap2/board-igep0020.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@ static const struct usbhs_omap_board_data igep3_usbhs_bdata __initconst = {

#ifdef CONFIG_OMAP_MUX
static struct omap_board_mux board_mux[] __initdata = {
/* SMSC9221 LAN Controller ETH IRQ (GPIO_176) */
OMAP3_MUX(MCSPI1_CS2, OMAP_MUX_MODE4 | OMAP_PIN_INPUT),
{ .reg_offset = OMAP_MUX_TERMINATOR },
};
#endif
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-omap2/board-omap3evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
#include "hsmmc.h"
#include "common-board-devices.h"

#define OMAP3_EVM_TS_GPIO 175
#define OMAP3_EVM_EHCI_VBUS 22
#define OMAP3_EVM_EHCI_SELECT 61

Expand Down
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-omap2/common-board-devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ static struct omap2_mcspi_device_config ads7846_mcspi_config = {
.turbo_mode = 0,
};

/*
* ADS7846 driver maybe request a gpio according to the value
* of pdata->get_pendown_state, but we have done this. So set
* get_pendown_state to avoid twice gpio requesting.
*/
static int omap3_get_pendown_state(void)
{
return !gpio_get_value(OMAP3_EVM_TS_GPIO);
}

static struct ads7846_platform_data ads7846_config = {
.x_max = 0x0fff,
.y_max = 0x0fff,
Expand All @@ -45,6 +55,7 @@ static struct ads7846_platform_data ads7846_config = {
.debounce_rep = 1,
.gpio_pendown = -EINVAL,
.keep_vref_on = 1,
.get_pendown_state = &omap3_get_pendown_state,
};

static struct spi_board_info ads7846_spi_board_info __initdata = {
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/common-board-devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "twl-common.h"

#define NAND_BLOCK_SIZE SZ_128K
#define OMAP3_EVM_TS_GPIO 175

struct mtd_partition;
struct ads7846_platform_data;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/mux.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ struct omap_mux_partition {
* @gpio: GPIO number
* @muxnames: available signal modes for a ball
* @balls: available balls on the package
* @partition: mux partition
*/
struct omap_mux {
u16 reg_offset;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/twl-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
const char *pmic_type, int pmic_irq,
struct twl4030_platform_data *pmic_data)
{
omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
strncpy(pmic_i2c_board_info.type, pmic_type,
sizeof(pmic_i2c_board_info.type));
pmic_i2c_board_info.irq = pmic_irq;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ EXPORT_SYMBOL_GPL(omap_dm_timer_enable);

void omap_dm_timer_disable(struct omap_dm_timer *timer)
{
pm_runtime_put_sync(&timer->pdev->dev);
pm_runtime_put(&timer->pdev->dev);
}
EXPORT_SYMBOL_GPL(omap_dm_timer_disable);

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/plat-omap/include/plat/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,7 @@ IS_OMAP_TYPE(3430, 0x3430)
#define cpu_class_is_omap1() (cpu_is_omap7xx() || cpu_is_omap15xx() || \
cpu_is_omap16xx())
#define cpu_class_is_omap2() (cpu_is_omap24xx() || cpu_is_omap34xx() || \
cpu_is_omap44xx() || soc_is_omap54xx() || \
soc_is_am33xx())
cpu_is_omap44xx() || soc_is_omap54xx())

/* Various silicon revisions for omap2 */
#define OMAP242X_CLASS 0x24200024
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/arm/plat-omap/include/plat/multi.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,4 @@
# endif
#endif

#ifdef CONFIG_SOC_AM33XX
# ifdef OMAP_NAME
# undef MULTI_OMAP2
# define MULTI_OMAP2
# else
# define OMAP_NAME am33xx
# endif
#endif

#endif /* __PLAT_OMAP_MULTI_H */
4 changes: 3 additions & 1 deletion trunk/arch/arm/plat-omap/include/plat/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static inline void flush(void)
_DEBUG_LL_ENTRY(mach, AM33XX_UART##p##_BASE, OMAP_PORT_SHIFT, \
AM33XXUART##p)

static inline void arch_decomp_setup(void)
static inline void __arch_decomp_setup(unsigned long arch_id)
{
int port = 0;

Expand Down Expand Up @@ -198,6 +198,8 @@ static inline void arch_decomp_setup(void)
} while (0);
}

#define arch_decomp_setup() __arch_decomp_setup(arch_id)

/*
* nothing to do
*/
Expand Down

0 comments on commit 9958886

Please sign in to comment.