VAUX2 voltage programming (TWL 4030 / TPS65950)

Hello everyone!

I am new to the embedded world. Could anyone give me some hints on how
can one change the output voltage of VAUX1 (also VAUX2, VAUX3, VAUX4)
of the TPS65950 (TWL4030) on the Beagleboard, probably by patching the
Linux driver for twl-regulator?

At the moment I am looking at the driver code for twl-regulator:
http://lxr.linux.no/#linux+v3.0.6/drivers/regulator/twl-regulator.c

But I was lost when seeking for the configuration of the output
voltage of VAUX2 and wondering how the driver is probed during the
system booting process.

Any hint will be appreciated!

Best regards,
Hans

Hello, Hans,

You can adust voltage for regulators in board configuration file,
which you can find by the following path:
{kernel_sources}/arch/arm/mach-omap2/board-omap3beagle.c
All the regulators for beagle board are initialized in it.

Also you can have a look on the other board-*.c files. They contains
different configurations and my be useful for you.

Hi Michael,

thank you for the hint!

Actually, the configuration of the regulators on the TWL PMICs has
been moved to the file:

ubuntu-oneiric/arch/arm/mach-omap2/twl-common.c

Which, is referred via the "#include common-board-devices.h" in the
board configuration code.

BTW, I am using the kernel code from Ubuntu Oneiric 11-10:

2011.09.6$ uname -a
Linux VUbuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC
2011 i686 i686 i386 GNU/Linux

Best regards,
Hans