Trying to understand how to use regulator supplies

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

 



I've got a OMAP3530 board with a tsc2004 touch controller that is
powered off of VAUX1(VAUX1_30 on my schematic) at 3V, and I'm trying to
understand how to code it up so that vaux1 power comes up before the i2c
code tries to probe for the touch controller.

Looking at some of the board files, I've added in:

/* VAUX1 for mainboard (touch and productID) */
static struct regulator_init_data omap3logic_vaux1 = {
        .constraints = {
                .min_uV                 = 3000000,
                .max_uV                 = 3000000,
                .name                   = "VAUX1_30"
                .apply_uV               = true,
                .valid_modes_mask       = REGULATOR_MODE_NORMAL
                                        | REGULATOR_MODE_STANDBY,
                .valid_ops_mask         = REGULATOR_CHANGE_MODE
                                        | REGULATOR_CHANGE_STATUS,
        },
};

as well as a corresponding:

        .vaux1          = &omap3logic_vaux1,

in the twl4030_platform_data structure, but the voltage doesn't come up.
How do I tell the kernel to turn on vaux1 so I can detect the tsc2004
chip?
--
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