Searched full:pfsm (Results 1 – 9 of 9) sorted by relevance
3 * PFSM (Pre-configurable Finite State Machine) driver for the following59 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_read() local73 ret = regmap_read(pfsm->regmap, pos + i, &val); in tps6594_pfsm_read()89 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_write() local106 ret = regmap_write(pfsm->regmap, pos + i, val); in tps6594_pfsm_write()141 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_ioctl() local150 if (pfsm->chip_id != TPS65224 && pfsm->chip_id != TPS652G1) { in tps6594_pfsm_ioctl()151 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()159 ret = regmap_write_bits(pfsm->regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_ioctl()164 if (pfsm->chip_id == TPS65224 || pfsm->chip_id == TPS652G1) in tps6594_pfsm_ioctl()[all …]
589 Support PFSM (Pre-configurable Finite State Machine) on TPS6594 PMIC devices.594 will be called tps6594-pfsm.
4 Texas Instruments TPS6594 PFSM driver12 Strictly speaking, PFSM (Pre-configurable Finite State Machine) is not19 The PFSM driver can be used to trigger transitions between configured32 drivers/misc/tps6594-pfsm.c74 # ls /dev/pfsm*78 # hexdump -C /dev/pfsm-0-0x4880 See PFSM events::87 samples/pfsm/pfsm-wakeup.c
29 tps6594-pfsm
3 * TPS6594 PFSM userspace example25 #define PMIC_A "/dev/pfsm-0-0x48"26 #define PMIC_B "/dev/pfsm-0-0x4c"27 #define PMIC_C "/dev/pfsm-2-0x58"47 perror("Failed to open PFSM device."); in main()
2 /pfsm-wakeup
2 userprogs-always-y += pfsm-wakeup
266 bool "Build example program working with TPS6594 PFSM driver"270 Build a sample program to work with PFSM devices.
36 obj-$(CONFIG_SAMPLE_TPS6594_PFSM) += pfsm/