Home
last modified time | relevance | path

Searched full:tps65910 (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/mfd/
H A Dtps65910.c3 * tps65910.c -- TI TPS6591x chip family multi-function driver
20 #include <linux/mfd/tps65910.h>
34 .name = "tps65910-gpio",
37 .name = "tps65910-pmic",
40 .name = "tps65910-rtc",
45 .name = "tps65910-power",
201 .name = "tps65910",
212 .name = "tps65910",
222 static int tps65910_irq_init(struct tps65910 *tps65910, int irq, in tps65910_irq_init() argument
229 dev_warn(tps65910->dev, "No interrupt support, no core IRQ\n"); in tps65910_irq_init()
[all …]
H A Dtps65911-comparator.c3 * tps65910.c -- TI TPS6591x
18 #include <linux/mfd/tps65910.h>
53 static int comp_threshold_set(struct tps65910 *tps65910, int id, int voltage) in comp_threshold_set() argument
72 ret = regmap_write(tps65910->regmap, tps_comp.reg, val); in comp_threshold_set()
77 static int comp_threshold_get(struct tps65910 *tps65910, int id) in comp_threshold_get() argument
83 ret = regmap_read(tps65910->regmap, tps_comp.reg, &val); in comp_threshold_get()
94 struct tps65910 *tps65910 = dev_get_drvdata(dev->parent); in comp_threshold_show() local
105 uVolt = comp_threshold_get(tps65910, id); in comp_threshold_show()
115 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65911_comparator_probe() local
116 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev); in tps65911_comparator_probe()
[all …]
H A DMakefile104 obj-$(CONFIG_MFD_TPS65910) += tps65910.o
/linux/drivers/gpio/
H A Dgpio-tps65910.c17 #include <linux/mfd/tps65910.h>
22 struct tps65910 *tps65910; member
28 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_get() local
31 regmap_read(tps65910->regmap, TPS65910_GPIO0 + offset, &val); in tps65910_gpio_get()
43 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_set() local
46 return regmap_set_bits(tps65910->regmap, in tps65910_gpio_set()
49 return regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_set()
57 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_output() local
65 return regmap_set_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_output()
72 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_input() local
[all …]
H A Dgpio-altera-a10sr.c7 * Adapted from gpio-tps65910.c
H A DMakefile185 obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
H A DKconfig1635 bool "TPS65910 GPIO"
1638 Select this option to enable GPIO driver for the TPS65910
/linux/drivers/rtc/
H A Drtc-tps65910.c3 * rtc-tps65910.c -- TPS65910 Real Time Clock interface
24 #include <linux/mfd/tps65910.h>
50 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable()
60 * Gets current tps65910 RTC time and date parameters.
71 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_time()
102 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_time()
138 * Gets current tps65910 RTC alarm time.
144 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_alarm()
174 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_alarm()
205 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_calibration()
[all …]
H A DMakefile189 obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
H A DKconfig609 tristate "TI TPS65910 RTC driver"
613 TPS65910 chips.
616 will be called rtc-tps65910.
/linux/drivers/regulator/
H A Dtps65910-regulator.c3 * tps65910.c -- TI tps65910
20 #include <linux/mfd/tps65910.h>
34 /* VSEL tables for TPS65910 specific LDOs and dcdc's */
309 struct tps65910 *mfd;
824 struct tps65910 *mfd = pmic->mfd; in tps65910_set_ext_sleep_config()
878 /* External EN3 control for TPS65910 LDO only */ in tps65910_set_ext_sleep_config()
879 if ((tps65910_chip_id(mfd) == TPS65910) && in tps65910_set_ext_sleep_config()
1002 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_parse_dt_reg_data() local
1020 switch (tps65910_chip_id(tps65910)) { in tps65910_parse_dt_reg_data()
1021 case TPS65910: in tps65910_parse_dt_reg_data()
[all …]
H A Dmax8907-regulator.c8 * Portions based on drivers/regulator/tps65910-regulator.c,
H A DMakefile189 obj-$(CONFIG_REGULATOR_TPS65910) += tps65910-regulator.o
H A DKconfig1647 tristate "TI TPS65910/TPS65911 Power Regulators"
1650 This driver supports TPS65910/TPS65911 voltage regulator chips.
/linux/include/linux/mfd/
H A Dtps65910.h3 * tps65910.h -- TI TPS6591x
19 #define TPS65910 0 macro
27 * List of registers for component TPS65910
126 * List of register bitfields for component TPS65910
278 /* Registers LDO1 to LDO8 in tps65910 */
811 /* Max number of TPS65910/11 GPIOs */
842 /* Max number of TPS65910/11 regulators */
884 * struct tps65910 - tps65910 sub-driver chip access routines
887 struct tps65910 { struct
906 static inline int tps65910_chip_id(struct tps65910 *tps65910) in tps65910_chip_id() argument
[all …]
/linux/arch/arm/boot/dts/
H A Dtps65910.dtsi8 * http://www.ti.com/lit/ds/symlink/tps65910.pdf
12 compatible = "ti,tps65910";
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-lxm.dts175 compatible = "ti,tps65910";
180 /include/ "../../tps65910.dtsi"
H A Dam335x-moxa-uc-8100-common.dtsi197 compatible = "ti,tps65910";
236 #include "../../tps65910.dtsi"
H A Dam3517-craneboard.dts72 #include "../../tps65910.dtsi"
H A Dam335x-igep0033.dtsi224 #include "../../tps65910.dtsi"
H A Dam335x-phycore-som.dtsi236 #include "../../tps65910.dtsi"
H A Dam335x-icev2.dts363 #include "../../tps65910.dtsi"
H A Dam335x-pdu001.dts404 #include "../../tps65910.dtsi"
H A Dam335x-evmsk.dts520 #include "../../tps65910.dtsi"
/linux/arch/arm/boot/dts/rockchip/
H A Drk3066a-marsboard.dts183 #include "../tps65910.dtsi"

12