Lines Matching +full:twl4030 +full:- +full:madc

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * twl4030.h - header for TWL4030 PM and audio CODEC device
5 * Copyright (C) 2005-2006 Texas Instruments, Inc.
18 * Using the twl4030 core we address registers using a pair
23 * The module IDs are meaningful only to the twl4030 core code,
28 /* Module IDs for similar functionalities found in twl4030/twl6030 */
44 /* Modules only available in twl4030 series */
89 * Offset from TWL6030_IRQ_BASE / pdata->irq_base
167 * Read and write several 8-bit registers at once.
173 * Read and write single 8-bit registers
224 return -EIO; in twl6030_mmc_card_detect()
227 /*----------------------------------------------------------------------*/
233 * a driver-private file, unless some of the registers in a block
242 /*----------------------------------------------------------------------*/
296 /*----------------------------------------------------------------------*/
309 /*I2C1 and I2C4(SR) SDA/SCL pull-up control bits */
318 /*----------------------------------------------------------------------*/
333 /*----------------------------------------------------------------------*/
348 /*----------------------------------------------------------------------*/
369 /*----------------------------------------------------------------------*/
384 /*----------------------------------------------------------------------*/
401 /*----------------------------------------------------------------------*/
416 /*----------------------------------------------------------------------*/
462 /*----------------------------------------------------------------------*/
466 /* The TWL4030/5030 splits its power-management resources (the various
467 * regulators, clock and reset lines) into 3 processor groups - P1, P2 and
468 * P3. These groups can then be configured to transition between sleep, wait-on
470 * Power Resources of TWL4030 TRM
563 /*----------------------------------------------------------------------*/
578 /* package the two LED signals as output-only GPIOs? */
581 /* gpio-n should control VMMC(n+1) if BIT(n) in mmc_cd is set */
584 /* if BIT(N) is set, or VMMC(n+1) is linked, debounce GPIO-N */
587 /* For gpio-N, bit (1 << N) in "pullups" is set if that pullup
605 /* Boards have unique mappings of {row, col} --> keycode.
666 #define TWL4030_RESCONFIG_UNDEF ((u8)-1)
692 int audpwron_gpio; /* audio power-on gpio */
701 struct twl4030_madc_platform_data *madc; member
707 /* Common LDO regulators for TWL4030/TWL6030 */
715 /* TWL4030 LDO regulators */
758 /* chip-specific feature flags, for twl_regulator_driver_data.features */
759 #define TWL4030_VAUX2 BIT(0) /* pre-5030 voltage ranges */
770 /*----------------------------------------------------------------------*/
786 /*----------------------------------------------------------------------*/
788 /* Linux-specific regulator identifiers ... for now, we only support
794 /* TWL4030 SMPS/LDO's */
795 /* EXTERNAL dc-to-dc buck converters */
808 #define TWL4030_REG_VAUX2_4030 10 /* (twl4030-specific) */
822 /* EXTERNAL dc-to-dc buck convertor controllable via SR */
827 /* Non SR compliant dc-to-dc buck convertors */