Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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 DMakefile274 obj-$(CONFIG_MFD_STMFX) += stmfx.o
H A DKconfig2146 tristate "Support for STMicroelectronics Multi-Function eXpander (STMFX)"
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-stmfx.c3 * 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 …]
H A DKconfig273 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
280 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
H A DMakefile46 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
/OK3568_Linux_fs/kernel/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) 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 …]
/OK3568_Linux_fs/kernel/include/linux/mfd/
H A Dstmfx.h98 * 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);
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dstm32746g-eval.dts160 stmfx: stmfx@42 { label
161 compatible = "st,stmfx-0300";
167 compatible = "st,stmfx-0300-pinctrl";
H A Dstm32mp157c-ev1.dts205 stmfx: stmfx@42 { label
206 compatible = "st,stmfx-0300";
213 compatible = "st,stmfx-0300-pinctrl";
/OK3568_Linux_fs/buildroot/dl/uboot-tools/
HDu-boot-2021.07.tar.bz2pax_global_header u-boot-2021.07/ u-boot-2021.07/.azure-pipelines.yml ...