File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 24
24
25
25
#include <mach/irqs.h>
26
26
27
+ #include "board-harmony.h"
28
+
27
29
#define PMC_CTRL 0x0
28
30
#define PMC_CTRL_INTR_LOW (1 << 17)
29
31
@@ -98,7 +100,7 @@ static struct tps6586x_platform_data tps_platform = {
98
100
.irq_base = TEGRA_NR_IRQS ,
99
101
.num_subdevs = ARRAY_SIZE (tps_devs ),
100
102
.subdevs = tps_devs ,
101
- .gpio_base = TEGRA_NR_GPIOS ,
103
+ .gpio_base = HARMONY_GPIO_TPS6586X ( 0 ) ,
102
104
};
103
105
104
106
static struct i2c_board_info __initdata harmony_regulators [] = {
Original file line number Diff line number Diff line change 17
17
#ifndef _MACH_TEGRA_BOARD_HARMONY_H
18
18
#define _MACH_TEGRA_BOARD_HARMONY_H
19
19
20
- #define HARMONY_GPIO_WM8903 (_x_ ) (TEGRA_NR_GPIOS + (_x_))
20
+ #define HARMONY_GPIO_TPS6586X (_x_ ) (TEGRA_NR_GPIOS + (_x_))
21
+ #define HARMONY_GPIO_WM8903 (_x_ ) (HARMONY_GPIO_TPS6586X(4) + (_x_))
21
22
22
23
#define TEGRA_GPIO_SD2_CD TEGRA_GPIO_PI5
23
24
#define TEGRA_GPIO_SD2_WP TEGRA_GPIO_PH1
You can’t perform that action at this time.
0 commit comments