Searched +full:rt5120 +full:- +full:pwrkey (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/mfd/ |
D | rt5120.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 .name = "rt5120-pmic", 75 DEFINE_RES_IRQ_NAMED(RT5120_INT_PWRKEY_PRESS, "pwrkey-press"), 76 DEFINE_RES_IRQ_NAMED(RT5120_INT_PWRKEY_REL, "pwrkey-release"), 80 MFD_CELL_RES("rt5120-regulator", rt5120_regulator_resources), 81 MFD_CELL_OF("rt5120-pwrkey", rt5120_pwrkey_resources, NULL, 0, 0, "richtek,rt5120-pwrkey"), 86 struct device *dev = &i2c->dev; in rt5120_probe() 96 ret = devm_regmap_add_irq_chip(dev, regmap, i2c->irq, IRQF_ONESHOT, 0, in rt5120_probe() 107 { .compatible = "richtek,rt5120" }, 114 .name = "rt5120", [all …]
|
/linux-6.12.1/drivers/input/misc/ |
D | rt5120-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat); in rt5120_pwrkey_handler() 34 input_report_key(priv->input, KEY_POWER, in rt5120_pwrkey_handler() 36 input_sync(priv->input); in rt5120_pwrkey_handler() 44 struct device *dev = &pdev->dev; in rt5120_pwrkey_probe() 50 return -ENOMEM; in rt5120_pwrkey_probe() 52 priv->regmap = dev_get_regmap(dev->parent, NULL); in rt5120_pwrkey_probe() 53 if (!priv->regmap) { in rt5120_pwrkey_probe() 55 return -ENODEV; in rt5120_pwrkey_probe() 58 press_irq = platform_get_irq_byname(pdev, "pwrkey-press"); in rt5120_pwrkey_probe() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-$(CONFIG_INPUT_88PM860X_ONKEY) += 88pm860x_onkey.o 9 obj-$(CONFIG_INPUT_88PM80X_ONKEY) += 88pm80x_onkey.o 10 obj-$(CONFIG_INPUT_88PM886_ONKEY) += 88pm886-onkey.o 11 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o 12 obj-$(CONFIG_INPUT_AD714X) += ad714x.o 13 obj-$(CONFIG_INPUT_AD714X_I2C) += ad714x-i2c.o 14 obj-$(CONFIG_INPUT_AD714X_SPI) += ad714x-spi.o 15 obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o 16 obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 48 Mix-Sig PMIC. 51 will be called ab8500-ponkey. 71 module will be called ad714x-i2c. 81 module will be called ad714x-spi. 92 will be called ariel-pwrbutton. 102 module will be called arizona-haptics. 113 module will be called atc260x-onkey. 158 module will be called cs40l50-vibra. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | richtek,rt5120.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/richtek,rt5120.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT5120 PMIC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5120 provides four high-efficiency buck converters and one LDO voltage 22 - richtek,rt5120 30 interrupt-controller: true 32 "#interrupt-cells": [all …]
|