Home
last modified time | relevance | path

Searched full:pfsm (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dtps6594-pfsm.c3 * PFSM (Pre-configurable Finite State Machine) driver for TI TPS6594/TPS6593/LP8764 PMICs
51 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_read() local
65 ret = regmap_read(pfsm->regmap, pos + i, &val); in tps6594_pfsm_read()
81 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_write() local
98 ret = regmap_write(pfsm->regmap, pos + i, val); in tps6594_pfsm_write()
133 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_ioctl() local
141 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()
147 ret = regmap_write_bits(pfsm->regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_ioctl()
152 ret = regmap_set_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()
158 ret = regmap_write_bits(pfsm->regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_ioctl()
[all …]
H A DMakefile69 obj-$(CONFIG_TPS6594_PFSM) += tps6594-pfsm.o
H A DKconfig558 Support PFSM (Pre-configurable Finite State Machine) on TPS6594 PMIC devices.
563 will be called tps6594-pfsm.
/openbmc/linux/Documentation/misc-devices/
H A Dtps6594-pfsm.rst4 Texas Instruments TPS6594 PFSM driver
12 Strictly speaking, PFSM (Pre-configurable Finite State Machine) is not
19 The PFSM driver can be used to trigger transitions between configured
32 drivers/misc/tps6594-pfsm.c
74 # ls /dev/pfsm*
78 # hexdump -C /dev/pfsm-0-0x48
80 See PFSM events::
87 samples/pfsm/pfsm-wakeup.c
H A Dindex.rst31 tps6594-pfsm
/openbmc/linux/samples/pfsm/
H A Dpfsm-wakeup.c3 * TPS6594 PFSM userspace example
25 #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()
H A D.gitignore2 /pfsm-wakeup
H A DMakefile2 userprogs-always-y += pfsm-wakeup
/openbmc/linux/samples/
H A DKconfig255 bool "Build example program working with TPS6594 PFSM driver"
259 Build a sample program to work with PFSM devices.
H A DMakefile34 obj-$(CONFIG_SAMPLE_TPS6594_PFSM) += pfsm/
/openbmc/linux/drivers/mfd/
H A Dtps6594-core.c129 MFD_CELL_RES("tps6594-pfsm", tps6594_pfsm_resources),
358 * If CRC is not already enabled, force PFSM I2C_2 trigger to enable it in tps6594_set_crc_feature()
368 * Wait for PFSM to process trigger. in tps6594_set_crc_feature()
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dti,tps6594.yaml15 PFSM (Pre-configurable Finite State Machine) managing the state of the device.
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok1.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]