ARM: tegra: seaboard: register i2c devices
Subsystems (3)
PATCH v2 1/1 ARM: tegra: seaboard: register i2c devices
Register the base i2c devices on seaboard. A few more are pending, but it's a start.
--- arch/arm/mach-tegra/board-seaboard-pinmux.c | 1 + arch/arm/mach-tegra/board-seaboard.c | 62 +++++++++++++++++++++++++-- 2 files changed, 59 insertions(+), 4 deletions(-)
arch/arm/mach-tegra/board-seaboard-pinmux.c +1 -0
@@ -166,6 +166,7 @@ static struct tegra_gpio_table gpio_table[] = { { .gpio = TEGRA_GPIO_SD2_POWER, .enable = true }, { .gpio = TEGRA_GPIO_LIDSWITCH, .enable = true }, { .gpio = TEGRA_GPIO_POWERKEY, .enable = true }, + { .gpio = TEGRA_GPIO_ISL29018_IRQ, .enable = true }, };void __init seaboard_pinmux_init (void )
arch/arm/mach-tegra/board-seaboard.c +58 -4
101 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH v2 1/1 ARM: tegra: seaboard: register i2c devices
Olof Johansson wrote at Monday, March 07, 2011 4:34 PM:
Quoted 17 lines
Register the base i2c devices on seaboard. A few more are pending, but it's a start.
Signed-off-by Olof Johansson <[email protected]>Cc Stephen Warren <[email protected]>--- arch/arm/mach-tegra/board-seaboard-pinmux.c | 1 + arch/arm/mach-tegra/board-seaboard.c | 62 +++++++++++++++++++++++++-- 2 files changed, 59 insertions(+), 4 deletions(-)arch/arm/mach- renamed from arch/arm/mach-tegra/board-seaboard-pinmux.c +0
-0
tegra/board-seaboard-pinmux.c
index 7e96d49..d84d1dd 100644
arch/arm/mach-tegra/board-seaboard-pinmux.c static struct tegra_gpio_table gpio_table[] = { · line 169
Quoted 4 lines
arch/arm/mach-tegra/board-seaboard-pinmux.c +1
-0@@ -166,6 +166,7 @@ static struct tegra_gpio_table gpio_table[] = { { .gpio = TEGRA_GPIO_SD2_POWER, .enable = true }, { .gpio = TEGRA_GPIO_LIDSWITCH, .enable = true }, { .gpio = TEGRA_GPIO_POWERKEY, .enable = true }, + { .gpio = TEGRA_GPIO_ISL29018_IRQ, .enable = true },
There's a space after "_IRQ," here. I think that's what's throwing off the display in my crappy email reader.
Aside from that,
Signature · 1 line
nvpublic
PATCH v2 1/1 ARM: tegra: seaboard: register i2c devices
Quoted 10 lines · Stephen Warren
Review static struct tegra_gpio_table gpio_table[] = { · line 169
Quoted 5 lines
(quoted diff) +1
-0@@ -166,6 +166,7 @@ static struct tegra_gpio_table gpio_table[] = { ? ? ? { .gpio = TEGRA_GPIO_SD2_POWER, ? ? ? ? .enable = true }, ? ? ? { .gpio = TEGRA_GPIO_LIDSWITCH, ? ? ? ? .enable = true }, ? ? ? { .gpio = TEGRA_GPIO_POWERKEY, ? ? ? ? ?.enable = true }, + ? ? { .gpio = TEGRA_GPIO_ISL29018_IRQ, ? ? ?.enable = true },There's a space after "
_IRQ," here. I think that's what's throwing off the display in my crappy email reader.Aside from that,
Ah, d'oh. thanks. Fixed up as I added your acked-by, I won't repost just for that though.
-Olof