diff options
| author | Evan Wilson <evan@oliodevices.com> | 2015-03-31 20:51:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit2@ip-172-31-25-77.us-west-1.compute.internal> | 2014-10-09 19:34:20 +0000 |
| commit | 7f6f0e8d5964a26d2c99b009d3d7cf5be687ac38 (patch) | |
| tree | ddd092994bfceafc3986edf8bdb9837c7e35c9f5 | |
| parent | e136d60baeaff463dd2320958db1392c9667dc0a (diff) | |
| parent | c926c68ff28f6fe24162cca05383e1c875b1fa32 (diff) | |
| download | olio-linux-3.10-7f6f0e8d5964a26d2c99b009d3d7cf5be687ac38.tar.xz olio-linux-3.10-7f6f0e8d5964a26d2c99b009d3d7cf5be687ac38.zip | |
Merge changes I8a11ff82,Ice0b6ce7,I7b6e248d into android-3.10-bringup
* changes:
Setting light ramp and fall to 1 second again, to make it appear smooth together with Android.
Power changes. Power off, more detailed regulator settings, bug fix in tps65910.
Merge branch 'android-3.10-bringup' of ssh://internal.oliodevices.com:29418/kernel/omap into mattis_dev
| -rw-r--r-- | arch/arm/configs/omap3_h1_defconfig | 4 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3h1.c | 14 | ||||
| -rw-r--r-- | drivers/mfd/tps65910.c | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/arch/arm/configs/omap3_h1_defconfig b/arch/arm/configs/omap3_h1_defconfig index eac42115f84..f4eaa295e0e 100644 --- a/arch/arm/configs/omap3_h1_defconfig +++ b/arch/arm/configs/omap3_h1_defconfig @@ -311,7 +311,8 @@ CONFIG_OMAP_PACKAGE_CBP=y CONFIG_MACH_OMAP3_H1=y # CONFIG_MACH_OMAP3_H1_EVT1 is not set # CONFIG_MACH_OMAP3_H1_EVT2 is not set -CONFIG_MACH_OMAP3_H1_DVT=y +# CONFIG_MACH_OMAP3_H1_DVT1 is not set +CONFIG_MACH_OMAP3_H1_DVT2=y # CONFIG_MACH_DEVKIT8000 is not set # CONFIG_MACH_OMAP_LDP is not set # CONFIG_MACH_OMAP3530_LV_SOM is not set @@ -1840,6 +1841,7 @@ CONFIG_SND_SOC_DMAENGINE_PCM=y # CONFIG_SND_DESIGNWARE_I2S is not set CONFIG_SND_OMAP_SOC=y # CONFIG_SND_OMAP_SOC_C55 is not set +#CONFIG_SND_OMAP_SOC_OMAP3_H1 is not set CONFIG_SND_SOC_I2C_AND_SPI=y # CONFIG_SND_SOC_ALL_CODECS is not set # CONFIG_SND_SIMPLE_CARD is not set diff --git a/arch/arm/mach-omap2/board-omap3h1.c b/arch/arm/mach-omap2/board-omap3h1.c index 6270437b4d2..57672948fdb 100644 --- a/arch/arm/mach-omap2/board-omap3h1.c +++ b/arch/arm/mach-omap2/board-omap3h1.c @@ -171,8 +171,8 @@ static struct lm3530_platform_data omap3h1_backlight_platform_data = { //.pwm_pol_hi = true, //.als_avrg_time = LM3530_ALS_AVRG_TIME_512ms, .brt_ramp_law = 0, - .brt_ramp_fall = LM3530_RAMP_TIME_130ms, /* LM3530_RAMP_TIME_1s, */ - .brt_ramp_rise = LM3530_RAMP_TIME_130ms, /* LM3530_RAMP_TIME_1s, */ + .brt_ramp_fall = LM3530_RAMP_TIME_1s, /* LM3530_RAMP_TIME_1s, */ + .brt_ramp_rise = LM3530_RAMP_TIME_1s, /* LM3530_RAMP_TIME_1s, */ //.als1_resistor_sel = LM3530_ALS_IMPD_13_53kOhm, //.als2_resistor_sel = LM3530_ALS_IMPD_Z, //.als_vmin = 730, /* mV */ @@ -330,7 +330,7 @@ static struct regulator_init_data tps65910_3v3 = { static struct regulator_consumer_supply tps65910_1v8_supply[] = { REGULATOR_SUPPLY("vdds_dsi", "omapdss"), - REGULATOR_SUPPLY("vin", "1-0038"), + REGULATOR_SUPPLY("vin", "2-0038"), }; static struct regulator_init_data tps65910_1v8 = { @@ -390,6 +390,10 @@ static struct regulator_init_data tps65910_touch = { /* --------------------------------------------------------------------------- */ +/* This one only works if 'always_on' is set to true. Do I need to do something + * special otherwise to turn it on? + */ + static struct regulator_consumer_supply tps65910_accel_supply[] = { REGULATOR_SUPPLY("vdd", "mpu6515"), }; @@ -400,8 +404,8 @@ static struct regulator_init_data tps65910_accel = { .min_uV = 1800000, .max_uV = 1800000, .valid_modes_mask = REGULATOR_MODE_NORMAL | REGULATOR_MODE_STANDBY, - .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, - .always_on = false, + .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_VOLTAGE | REGULATOR_CHANGE_STATUS, + .always_on = true, .apply_uV = true, }, .num_consumer_supplies = ARRAY_SIZE(tps65910_accel_supply), diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index d7927720483..f4b99d84396 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -446,7 +446,7 @@ static void tps65910_power_off(void) tps65910 = dev_get_drvdata(&tps65910_i2c_client->dev); if (tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL, - DEVCTRL_PWR_OFF_MASK) < 0) + DEVCTRL_DEV_OFF_MASK) < 0) return; tps65910_reg_clear_bits(tps65910, TPS65910_DEVCTRL, |