Home
last modified time | relevance | path

Searched full:stmfx (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dstmfx.c3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) core
13 #include <linux/mfd/stmfx.h>
78 .of_compatible = "st,stmfx-0300-pinctrl",
79 .name = "stmfx-pinctrl",
84 .of_compatible = "st,stmfx-0300-idd",
85 .name = "stmfx-idd",
90 .of_compatible = "st,stmfx-0300-ts",
91 .name = "stmfx-ts",
116 int stmfx_function_enable(struct stmfx *stmfx, u32 func) in stmfx_function_enable() argument
122 ret = regmap_read(stmfx->map, STMFX_REG_SYS_CTRL, &sys_ctrl); in stmfx_function_enable()
[all …]
H A DMakefile267 obj-$(CONFIG_MFD_STMFX) += stmfx.o
H A DKconfig2133 tristate "Support for STMicroelectronics Multi-Function eXpander (STMFX)"
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-stmfx.c3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander
10 #include <linux/mfd/stmfx.h>
52 * STMFX pinctrl can have up to 24 pins if STMFX other functions are not used.
84 struct stmfx *stmfx; member
112 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get()
123 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set()
135 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction()
137 * On stmfx, gpio pins direction is (0)input, (1)output. in stmfx_gpio_get_direction()
154 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input()
166 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output()
[all …]
H A DKconfig438 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
445 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
H A DMakefile48 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmfx.yaml4 $id: http://devicetree.org/schemas/mfd/st,stmfx.yaml#
7 title: STMicroelectonics Multi-Function eXpander (STMFX)
9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for
19 const: st,stmfx-0300
36 const: st,stmfx-0300-pinctrl
49 description: if all STMFX pins[24:0] are available (no other STMFX function in use),
51 if agpio[3:0] are not available (STMFX Touchscreen function in use),
53 if agpio[7:4] are not available (STMFX IDD function in use),
99 stmfx@42 {
100 compatible = "st,stmfx-0300";
[all …]
/openbmc/linux/include/linux/mfd/
H A Dstmfx.h98 * struct stmfx_ddata - STMFX MFD structure
101 * @vdd: STMFX power supply
108 struct stmfx { struct
120 int stmfx_function_enable(struct stmfx *stmfx, u32 func); argument
121 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32746g-eval.dts160 stmfx: stmfx@42 { label
161 compatible = "st,stmfx-0300";
167 compatible = "st,stmfx-0300-pinctrl";
H A Dstm32mp157c-ev1.dts201 stmfx: stmfx@42 { label
202 compatible = "st,stmfx-0300";
209 compatible = "st,stmfx-0300-pinctrl";
/openbmc/linux/
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log[all...]