Searched full:stmfx (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/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 | 274 obj-$(CONFIG_MFD_STMFX) += stmfx.o
|
D | Kconfig | 2171 tristate "Support for STMicroelectronics Multi-Function eXpander (STMFX)"
|
/linux-6.12.1/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander 10 #include <linux/mfd/stmfx.h> 53 * STMFX pinctrl can have up to 24 pins if STMFX other functions are not used. 85 struct stmfx *stmfx; member 113 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get() 124 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 136 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction() 138 * On stmfx, gpio pins direction is (0)input, (1)output. in stmfx_gpio_get_direction() 155 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input() 167 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output() [all …]
|
D | Kconfig | 504 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" 511 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
|
D | Makefile | 53 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
|
/linux-6.12.1/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) 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 …]
|
/linux-6.12.1/include/linux/mfd/ |
D | stmfx.h | 98 * 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);
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stm32746g-eval.dts | 160 stmfx: stmfx@42 { label 161 compatible = "st,stmfx-0300"; 167 compatible = "st,stmfx-0300-pinctrl";
|
D | stm32mp157c-ev1.dts | 201 stmfx: stmfx@42 { label 202 compatible = "st,stmfx-0300"; 209 compatible = "st,stmfx-0300-pinctrl";
|