On Mon, Jul 12, 2010 at 16:09:32, Nori, Sekhar wrote:
> Per the da850/omap-l138 Beta EVM SOM schematic, the DEFDCDC2 and
> DEFDCDC3 lines are tied high. This leads to a 3.3V IO and 1.2V CVDD
> voltage.
>
> Pass the right platform data to the TPS6507x driver so it can operate
> on the DEFDCDC{2,3}_HIGH register to read and change voltage levels.
>
> Signed-off-by: Sekhar Nori <[email protected]>
> ---
>  arch/arm/mach-davinci/board-da850-evm.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c 
> b/arch/arm/mach-davinci/board-da850-evm.c
> index 2ec3095..0c436c9 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -25,6 +25,7 @@
>  #include <linux/mtd/partitions.h>
>  #include <linux/mtd/physmap.h>
>  #include <linux/regulator/machine.h>
> +#include <linux/regulator/tps6507x.h>
>  #include <linux/mfd/tps6507x.h>
>  #include <linux/input/tps6507x-ts.h>
>
> @@ -469,6 +470,11 @@ struct regulator_consumer_supply 
> tps65070_ldo2_consumers[] = {
>       },
>  };
>
> +/* We take advantage of the fact that both defdcdc{2,3} are tied high */
> +static struct tps6507x_reg_platform_data tps6507x_platform_data = {
> +     .defdcdc_high = false,

Oops, changed this to false for some testing and looks like I
ended-up committing it! Will resubmit.

Thanks,
Sekhar
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to