Home
last modified time | relevance | path

Searched refs:tps65910 (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-tps65910.c22 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 regmap_set_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_set()
49 regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_set()
57 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_output() local
62 return regmap_set_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_output()
69 struct tps65910 *tps65910 = tps65910_gpio->tps65910; in tps65910_gpio_input() local
71 return regmap_clear_bits(tps65910->regmap, TPS65910_GPIO0 + offset, in tps65910_gpio_input()
[all …]
H A DMakefile177 obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
/linux/drivers/mfd/
H A Dtps65910.c222 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()
234 dev_warn(tps65910->dev, "No interrupt support, no pdata\n"); in tps65910_irq_init()
238 switch (tps65910_chip_id(tps65910)) { in tps65910_irq_init()
247 tps65910->chip_irq = irq; in tps65910_irq_init()
248 ret = devm_regmap_add_irq_chip(tps65910->dev, tps65910->regmap, in tps65910_irq_init()
249 tps65910->chip_irq, in tps65910_irq_init()
251 tps6591x_irqs_chip, &tps65910->irq_data); in tps65910_irq_init()
253 dev_warn(tps65910->dev, "Failed to add irq_chip %d\n", ret); in tps65910_irq_init()
254 tps65910->chip_irq = 0; in tps65910_irq_init()
[all …]
H A Dtps65911-comparator.c53 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 …]
H A DMakefile104 obj-$(CONFIG_MFD_TPS65910) += tps65910.o
/linux/drivers/rtc/
H A Drtc-tps65910.c50 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 DMakefile188 obj-$(CONFIG_RTC_DRV_TPS65910) += rtc-tps65910.o
H A DKconfig625 will be called rtc-tps65910.
/linux/drivers/regulator/
H A Dtps65910-regulator.c309 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 …]
H A DMakefile187 obj-$(CONFIG_REGULATOR_TPS65910) += tps65910-regulator.o
/linux/arch/arm/boot/dts/
H A Dtps65910.dtsi8 * http://www.ti.com/lit/ds/symlink/tps65910.pdf
12 compatible = "ti,tps65910";
/linux/Documentation/devicetree/bindings/mfd/
H A Dtps65910.txt4 - 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/include/linux/mfd/
H A Dtps65910.h887 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 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 Domap3-echo.dts524 #include "../../tps65910.dtsi"
H A Dam335x-evmsk.dts520 #include "../../tps65910.dtsi"
H A Dam335x-evm.dts588 #include "../../tps65910.dtsi"
/linux/
H A DMAINTAINERS17181 F: drivers/mfd/tps65910.c
17191 F: drivers/regulator/tps65910-regulator.c