| /linux/drivers/gpio/ |
| H A D | gpio-tps65910.c | 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 74 return regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_input() [all …]
|
| /linux/drivers/mfd/ |
| H A D | tps65910.c | 3 * tps65910.c -- TI TPS6591x chip family multi-function driver 20 #include <linux/mfd/tps65910.h> 37 .name = "tps65910-gpio", 40 .name = "tps65910-pmic", 43 .name = "tps65910-rtc", 48 .name = "tps65910-power", 204 .name = "tps65910", 215 .name = "tps65910", 225 static int tps65910_irq_init(struct tps65910 *tps65910, in in tps65910_irq_init() 222 tps65910_irq_init(struct tps65910 * tps65910,int irq,struct tps65910_platform_data * pdata) tps65910_irq_init() argument 261 struct tps65910 *tps65910 = dev_get_drvdata(dev); is_volatile_reg() local 287 tps65910_ck32k_init(struct tps65910 * tps65910,struct tps65910_board * pmic_pdata) tps65910_ck32k_init() argument 305 tps65910_sleepinit(struct tps65910 * tps65910,struct tps65910_board * pmic_pdata) tps65910_sleepinit() argument 428 struct tps65910 *tps65910; tps65910_power_off() local 440 struct tps65910 *tps65910; tps65910_i2c_probe() local [all...] |
| H A D | tps65911-comparator.c | 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() 119 ret = comp_threshold_set(tps65910, COMP1, pdata->vmbch_threshold); in tps65911_comparator_probe() 125 ret = comp_threshold_set(tps65910, COMP2, pdata->vmbch2_threshold); in tps65911_comparator_probe() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-tps65910.c | 50 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() 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() 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() 250 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_get_calibration() 333 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_interrupt() 367 struct tps65910 *tps65910 = NULL; in tps65910_rtc_probe() local 373 tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_rtc_probe() [all …]
|
| H A D | Makefile | 193 obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
|
| H A D | Kconfig | 647 will be called rtc-tps65910.
|
| /linux/drivers/regulator/ |
| H A D | tps65910-regulator.c | 309 struct tps65910 *mfd; 824 struct tps65910 *mfd = pmic->mfd; 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() 1073 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_probe() local 1082 pmic_plat_data = dev_get_platdata(tps65910->dev); in tps65910_probe() 1083 if (!pmic_plat_data && tps65910->dev->of_node) in tps65910_probe() 1096 pmic->mfd = tps65910; in tps65910_probe() 1105 switch (tps65910_chip_id(tps65910)) { in tps65910_probe() 1168 if (tps65910_chip_id(tps65910) == TPS65910) { in tps65910_probe() [all …]
|
| /linux/include/linux/mfd/ |
| H A D | tps65910.h | 887 struct tps65910 { struct 906 static inline int tps65910_chip_id(struct tps65910 *tps65910) in tps65910_chip_id() argument 908 return tps65910->id; in tps65910_chip_id()
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-tqma335x.dtsi | 125 /* Filled in by tps65910.dtsi */ 151 #include "../../tps65910.dtsi"
|
| H A D | am335x-lxm.dts | 175 compatible = "ti,tps65910"; 180 /include/ "../../tps65910.dtsi"
|
| H A D | am335x-moxa-uc-8100-common.dtsi | 197 compatible = "ti,tps65910"; 236 #include "../../tps65910.dtsi"
|
| H A D | am3517-craneboard.dts | 72 #include "../../tps65910.dtsi"
|
| H A D | am335x-baltos.dtsi | 86 tps65910_pins: tps65910-pins { 277 #include "../../tps65910.dtsi"
|
| H A D | am335x-igep0033.dtsi | 224 #include "../../tps65910.dtsi"
|
| H A D | am335x-phycore-som.dtsi | 236 #include "../../tps65910.dtsi"
|
| H A D | am335x-icev2.dts | 363 #include "../../tps65910.dtsi"
|
| H A D | am335x-pdu001.dts | 404 #include "../../tps65910.dtsi"
|
| H A D | omap3-echo.dts | 524 #include "../../tps65910.dtsi"
|
| H A D | am335x-evmsk.dts | 520 #include "../../tps65910.dtsi"
|
| H A D | am335x-evm.dts | 588 #include "../../tps65910.dtsi"
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3066a-bqcurie2.dts | 83 compatible = "ti,tps65910";
|
| H A D | rk3066a-marsboard.dts | 99 compatible = "ti,tps65910";
|
| H A D | rk3066a-rayeager.dts | 201 compatible = "ti,tps65910";
|
| /linux/ |
| H A D | MAINTAINERS | 19858 F: drivers/mfd/tps65910.c 19868 F: drivers/regulator/tps65910-regulator.c
|