/linux/drivers/gpio/ |
A D | gpio-tps65910.c | 22 struct tps65910 *tps65910; member 28 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_get() local 43 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_set() local 57 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_output() local 69 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_input() local 77 struct tps65910 *tps65910, int chip_ngpio) in tps65910_parse_dt_for_gpio() argument 100 struct tps65910 *tps65910, int chip_ngpio) in tps65910_parse_dt_for_gpio() argument 108 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_gpio_probe() local 119 tps65910_gpio->tps65910 = tps65910; in tps65910_gpio_probe() 124 switch (tps65910_chip_id(tps65910)) { in tps65910_gpio_probe() [all …]
|
A D | Makefile | 155 obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
|
/linux/drivers/mfd/ |
A D | tps65910.c | 222 static int tps65910_irq_init(struct tps65910 *tps65910, int irq, in tps65910_irq_init() argument 248 ret = devm_regmap_add_irq_chip(tps65910->dev, tps65910->regmap, in tps65910_irq_init() 254 tps65910->chip_irq = 0; in tps65910_irq_init() 261 struct tps65910 *tps65910 = dev_get_drvdata(dev); in is_volatile_reg() local 287 static int tps65910_ck32k_init(struct tps65910 *tps65910, in tps65910_ck32k_init() argument 305 static int tps65910_sleepinit(struct tps65910 *tps65910, in tps65910_sleepinit() argument 314 dev = tps65910->dev; in tps65910_sleepinit() 435 struct tps65910 *tps65910; in tps65910_power_off() local 456 struct tps65910 *tps65910; in tps65910_i2c_probe() local 477 tps65910 = devm_kzalloc(&i2c->dev, sizeof(*tps65910), GFP_KERNEL); in tps65910_i2c_probe() [all …]
|
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() 145 struct tps65910 *tps65910; in tps65911_comparator_remove() local [all …]
|
A D | Makefile | 104 obj-$(CONFIG_MFD_TPS65910) += tps65910.o
|
/linux/drivers/rtc/ |
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 …]
|
A D | Makefile | 172 obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
|
/linux/drivers/regulator/ |
A D | tps65910-regulator.c | 310 struct tps65910 *mfd; 825 struct tps65910 *mfd = pmic->mfd; in tps65910_set_ext_sleep_config() 1003 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_parse_dt_reg_data() local 1021 switch (tps65910_chip_id(tps65910)) { in tps65910_parse_dt_reg_data() 1074 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); in tps65910_probe() local 1097 pmic->mfd = tps65910; in tps65910_probe() 1106 switch (tps65910_chip_id(tps65910)) { in tps65910_probe() 1177 tps65910_chip_id(tps65910) == TPS65910) { in tps65910_probe() 1196 dev_warn(tps65910->dev, in tps65910_probe() 1204 config.dev = tps65910->dev; in tps65910_probe() [all …]
|
A D | Makefile | 159 obj-$(CONFIG_REGULATOR_TPS65910) += tps65910-regulator.o
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | tps65910.txt | 4 - compatible: "ti,tps65910" or "ti,tps65911" 23 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1, 34 tps65910: 76 pmu: tps65910@d2 { 77 compatible = "ti,tps65910";
|
/linux/arch/arm/boot/dts/ |
A D | tps65910.dtsi | 8 * http://www.ti.com/lit/ds/symlink/tps65910.pdf 12 compatible = "ti,tps65910";
|
A D | am335x-lxm.dts | 175 compatible = "ti,tps65910"; 180 /include/ "tps65910.dtsi"
|
A D | am335x-moxa-uc-8100-common.dtsi | 197 compatible = "ti,tps65910"; 236 #include "tps65910.dtsi"
|
A D | am3517-craneboard.dts | 72 #include "tps65910.dtsi"
|
A D | rk3066a-bqcurie2.dts | 162 #include "tps65910.dtsi"
|
A D | rk3066a-marsboard.dts | 150 #include "tps65910.dtsi"
|
A D | am335x-igep0033.dtsi | 224 #include "tps65910.dtsi"
|
A D | am335x-phycore-som.dtsi | 236 #include "tps65910.dtsi"
|
A D | rk3066a-rayeager.dts | 294 #include "tps65910.dtsi"
|
A D | am335x-baltos.dtsi | 261 #include "tps65910.dtsi"
|
A D | am335x-icev2.dts | 363 #include "tps65910.dtsi"
|
A D | am335x-pdu001.dts | 403 #include "tps65910.dtsi"
|
A D | omap3-echo.dts | 524 #include "tps65910.dtsi"
|
A D | am335x-evmsk.dts | 520 #include "tps65910.dtsi"
|
/linux/include/linux/mfd/ |
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()
|