Searched full:stmfx (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/mfd/ |
D | stmfx.c | 3 * 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 …]
|
D | Makefile | 264 obj-$(CONFIG_MFD_STMFX) += stmfx.o
|
D | Kconfig | 2055 tristate "Support for STMicroelectronics Multi-Function eXpander (STMFX)"
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander 10 #include <linux/mfd/stmfx.h> 50 * STMFX pinctrl can have up to 24 pins if STMFX other functions are not used. 82 struct stmfx *stmfx; member 111 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get() 122 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 134 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction() 136 * On stmfx, gpio pins direction is (0)input, (1)output. in stmfx_gpio_get_direction() 153 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input() 165 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output() [all …]
|
D | Kconfig | 268 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" 275 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
|
D | Makefile | 44 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | st,stmfx.yaml | 4 $id: http://devicetree.org/schemas/mfd/st,stmfx.yaml# 7 title: STMicroelectonics Multi-Function eXpander (STMFX) bindings 9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for 19 const: st,stmfx-0300 37 const: st,stmfx-0300-pinctrl 50 description: if all STMFX pins[24:0] are available (no other STMFX function in use), 52 if agpio[3:0] are not available (STMFX Touchscreen function in use), 54 if agpio[7:4] are not available (STMFX IDD function in use), 99 stmfx@42 { 100 compatible = "st,stmfx-0300"; [all …]
|
/Linux-v5.10/include/linux/mfd/ |
D | stmfx.h | 98 * struct stmfx_ddata - STMFX MFD structure 101 * @vdd: STMFX power supply 108 struct stmfx { struct 122 int stmfx_function_enable(struct stmfx *stmfx, u32 func); argument 123 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | stm32746g-eval.dts | 162 stmfx: stmfx@42 { label 163 compatible = "st,stmfx-0300"; 169 compatible = "st,stmfx-0300-pinctrl";
|
D | stm32mp157c-ev1.dts | 205 stmfx: stmfx@42 { label 206 compatible = "st,stmfx-0300"; 213 compatible = "st,stmfx-0300-pinctrl";
|