| /linux-6.15/drivers/mfd/ |
| H A D | tc3589x.c | 42 int tc3589x_reg_read(struct tc3589x *tc3589x, u8 reg) in tc3589x_reg_read() argument 61 int tc3589x_reg_write(struct tc3589x *tc3589x, u8 reg, u8 data) in tc3589x_reg_write() argument 180 struct tc3589x *tc3589x = data; in tc3589x_irq() local 212 struct tc3589x *tc3589x = d->host_data; in tc3589x_irq_map() local 249 static int tc3589x_chip_init(struct tc3589x *tc3589x) in tc3589x_chip_init() argument 284 static int tc3589x_device_init(struct tc3589x *tc3589x) in tc3589x_device_init() argument 358 struct tc3589x *tc3589x; in tc3589x_probe() local 377 tc3589x = devm_kzalloc(&i2c->dev, sizeof(struct tc3589x), in tc3589x_probe() 432 struct tc3589x *tc3589x = i2c_get_clientdata(client); in tc3589x_remove() local 439 struct tc3589x *tc3589x = dev_get_drvdata(dev); in tc3589x_suspend() local [all …]
|
| H A D | Makefile | 33 obj-$(CONFIG_MFD_TC3589X) += tc3589x.o
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpio-tc3589x.c | 29 struct tc3589x *tc3589x; member 40 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get() local 55 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set() local 67 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_output() local 80 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_input() local 91 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get_direction() local 110 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set_config() local 197 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_irq_sync_unlock() local 263 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_irq() local 296 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); in tc3589x_gpio_probe() local [all …]
|
| H A D | Makefile | 169 obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | tc3589x-keypad.c | 105 struct tc3589x *tc3589x; member 117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() local 192 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_irq() local 217 tc3589x_set_bits(tc3589x, TC3589x_KBDIC, in tc3589x_keypad_irq() 220 tc3589x_set_bits(tc3589x, TC3589x_KBDMSK, in tc3589x_keypad_irq() 228 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_enable() local 264 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_disable() local 268 ret = tc3589x_set_bits(tc3589x, TC3589x_KBDIC, in tc3589x_keypad_disable() 274 ret = tc3589x_set_bits(tc3589x, TC3589x_KBDMSK, in tc3589x_keypad_disable() 375 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); in tc3589x_keypad_probe() local [all …]
|
| H A D | Makefile | 68 obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o
|
| H A D | Kconfig | 698 module will be called tc3589x-keypad.
|
| /linux-6.15/include/linux/mfd/ |
| H A D | tc3589x.h | 120 struct tc3589x { struct 131 extern int tc3589x_reg_write(struct tc3589x *tc3589x, u8 reg, u8 data); argument 132 extern int tc3589x_reg_read(struct tc3589x *tc3589x, u8 reg); 133 extern int tc3589x_block_read(struct tc3589x *tc3589x, u8 reg, u8 length, 135 extern int tc3589x_block_write(struct tc3589x *tc3589x, u8 reg, u8 length, 137 extern int tc3589x_set_bits(struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val);
|
| /linux-6.15/Documentation/devicetree/bindings/mfd/ |
| H A D | tc3589x.txt | 28 - compatible : must be "toshiba,tc3589x-gpio" 29 - interrupts : interrupt on the parent, which must be the tc3589x MFD device 48 - compatible : must be "toshiba,tc3589x-keypad" 72 compatible = "toshiba,tc3589x-gpio"; 81 compatible = "toshiba,tc3589x-keypad";
|
| /linux-6.15/arch/arm/boot/dts/st/ |
| H A D | ste-href-tvk1281618-r3.dtsi | 42 compatible = "toshiba,tc3589x-gpio"; 51 compatible = "toshiba,tc3589x-keypad";
|
| H A D | ste-hrefprev60.dtsi | 42 compatible = "tc3589x-gpio";
|
| H A D | ste-href-tvk1281618-r2.dtsi | 47 compatible = "toshiba,tc3589x-gpio"; 56 compatible = "toshiba,tc3589x-keypad";
|
| /linux-6.15/Documentation/devicetree/bindings/power/ |
| H A D | wakeup-source.txt | 27 Documentation/devicetree/bindings/mfd/tc3589x.txt
|