Re: [PATCH 05/12] Add dummy smsc911x regulators to cm-t35.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No objection.

On Tue, Mar 27, 2012 at 8:53 AM, Igor Grinberg <grinberg@xxxxxxxxxxxxxx> wrote:
> Hi Russ,
>
> This patch works, but can we, please use the attached patch instead?
>
> Thanks
>
> On 03/23/12 11:21, Russ Dill wrote:
>> Signed-off-by: Russ Dill <russ.dill@xxxxxx>
>> ---
>>  arch/arm/mach-omap2/board-cm-t35.c |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
>> index 41b0a2f..289ded3 100644
>> --- a/arch/arm/mach-omap2/board-cm-t35.c
>> +++ b/arch/arm/mach-omap2/board-cm-t35.c
>> @@ -26,6 +26,7 @@
>>
>>  #include <linux/i2c/at24.h>
>>  #include <linux/i2c/twl.h>
>> +#include <linux/regulator/fixed.h>
>>  #include <linux/regulator/machine.h>
>>  #include <linux/mmc/host.h>
>>
>> @@ -630,10 +631,18 @@ static inline void cm_t3730_init_mux(void) {}
>>  static struct omap_board_config_kernel cm_t35_config[] __initdata = {
>>  };
>>
>> +static struct regulator_consumer_supply dummy_supplies[] = {
>> +     REGULATOR_SUPPLY("vddvario", "smsc911x.0"),
>> +     REGULATOR_SUPPLY("vdd33a", "smsc911x.0"),
>> +     REGULATOR_SUPPLY("vddvario", "smsc911x.1"),
>> +     REGULATOR_SUPPLY("vdd33a", "smsc911x.1"),
>> +};
>> +
>>  static void __init cm_t3x_common_init(void)
>>  {
>>       omap_board_config = cm_t35_config;
>>       omap_board_config_size = ARRAY_SIZE(cm_t35_config);
>> +     regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));
>>       omap3_mux_init(board_mux, OMAP_PACKAGE_CUS);
>>       omap_serial_init();
>>       omap_sdrc_init(mt46h32m32lf6_sdrc_params,
>
> --
> Regards,
> Igor.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux