/Linux-v6.6/drivers/input/misc/ |
D | atc260x-onkey.c | 3 * Onkey driver for Actions Semi ATC260x PMICs. 74 static int atc2603x_onkey_hw_init(struct atc260x_onkey *onkey, in atc2603x_onkey_hw_init() argument 80 reg_bm = onkey->params->long_int_pnd_bm | in atc2603x_onkey_hw_init() 81 onkey->params->short_int_pnd_bm | in atc2603x_onkey_hw_init() 82 onkey->params->kdwn_int_pnd_bm | in atc2603x_onkey_hw_init() 83 onkey->params->press_int_en_bm | in atc2603x_onkey_hw_init() 84 onkey->params->kdwn_int_en_bm; in atc2603x_onkey_hw_init() 87 reg_bm |= onkey->params->press_time_bm; in atc2603x_onkey_hw_init() 90 reg_bm |= onkey->params->reset_en_bm; in atc2603x_onkey_hw_init() 92 reg_bm |= onkey->params->reset_en_bm | in atc2603x_onkey_hw_init() [all …]
|
D | da9052_onkey.c | 24 static void da9052_onkey_query(struct da9052_onkey *onkey) in da9052_onkey_query() argument 28 ret = da9052_reg_read(onkey->da9052, DA9052_STATUS_A_REG); in da9052_onkey_query() 30 dev_err(onkey->da9052->dev, in da9052_onkey_query() 31 "Failed to read onkey event err=%d\n", ret); in da9052_onkey_query() 34 * Since interrupt for deassertion of ONKEY pin is not in da9052_onkey_query() 35 * generated, onkey event state determines the onkey in da9052_onkey_query() 40 input_report_key(onkey->input, KEY_POWER, pressed); in da9052_onkey_query() 41 input_sync(onkey->input); in da9052_onkey_query() 44 * Interrupt is generated only when the ONKEY pin in da9052_onkey_query() 49 schedule_delayed_work(&onkey->work, in da9052_onkey_query() [all …]
|
D | da9055_onkey.c | 23 static void da9055_onkey_query(struct da9055_onkey *onkey) in da9055_onkey_query() argument 27 key_stat = da9055_reg_read(onkey->da9055, DA9055_REG_STATUS_A); in da9055_onkey_query() 29 dev_err(onkey->da9055->dev, in da9055_onkey_query() 30 "Failed to read onkey event %d\n", key_stat); in da9055_onkey_query() 34 * Onkey status bit is cleared when onkey button is released. in da9055_onkey_query() 37 input_report_key(onkey->input, KEY_POWER, 0); in da9055_onkey_query() 38 input_sync(onkey->input); in da9055_onkey_query() 43 * Interrupt is generated only when the ONKEY pin is asserted. in da9055_onkey_query() 47 schedule_delayed_work(&onkey->work, msecs_to_jiffies(10)); in da9055_onkey_query() 53 struct da9055_onkey *onkey = container_of(work, struct da9055_onkey, in da9055_onkey_work() local [all …]
|
D | da9063_onkey.c | 3 * OnKey device driver for DA9063, DA9062 and DA9061 PMICs 74 .name = "da9062-onkey", 78 { .compatible = "dlg,da9063-onkey", .data = &da9063_regs }, 79 { .compatible = "dlg,da9062-onkey", .data = &da9062_regs }, 86 struct da9063_onkey *onkey = container_of(work, in da9063_poll_on() local 89 const struct da906x_chip_config *config = onkey->config; in da9063_poll_on() 96 error = regmap_read(onkey->regmap, in da9063_poll_on() 100 dev_err(onkey->dev, in da9063_poll_on() 106 error = regmap_update_bits(onkey->regmap, in da9063_poll_on() 111 dev_err(onkey->dev, in da9063_poll_on() [all …]
|
D | max77650-onkey.c | 6 // ONKEY driver for MAXIM 77650/77651 charger/power-supply. 27 struct max77650_onkey *onkey = data; in max77650_onkey_falling() local 29 input_report_key(onkey->input, onkey->code, 0); in max77650_onkey_falling() 30 input_sync(onkey->input); in max77650_onkey_falling() 37 struct max77650_onkey *onkey = data; in max77650_onkey_rising() local 39 input_report_key(onkey->input, onkey->code, 1); in max77650_onkey_rising() 40 input_sync(onkey->input); in max77650_onkey_rising() 48 struct max77650_onkey *onkey; in max77650_onkey_probe() local 60 onkey = devm_kzalloc(dev, sizeof(*onkey), GFP_KERNEL); in max77650_onkey_probe() 61 if (!onkey) in max77650_onkey_probe() [all …]
|
D | stpmic1_onkey.c | 15 * struct stpmic1_onkey - OnKey data 28 struct stpmic1_onkey *onkey = ponkey; in onkey_falling_irq() local 29 struct input_dev *input_dev = onkey->input_dev; in onkey_falling_irq() 40 struct stpmic1_onkey *onkey = ponkey; in onkey_rising_irq() local 41 struct input_dev *input_dev = onkey->input_dev; in onkey_rising_irq() 55 struct stpmic1_onkey *onkey; in stpmic1_onkey_probe() local 59 onkey = devm_kzalloc(dev, sizeof(*onkey), GFP_KERNEL); in stpmic1_onkey_probe() 60 if (!onkey) in stpmic1_onkey_probe() 63 onkey->irq_falling = platform_get_irq_byname(pdev, "onkey-falling"); in stpmic1_onkey_probe() 64 if (onkey->irq_falling < 0) in stpmic1_onkey_probe() [all …]
|
D | Kconfig | 17 tristate "88PM860x ONKEY support" 20 Support the ONKEY of Marvell 88PM860x PMICs as an input device 27 tristate "88PM80x ONKEY support" 30 Support the ONKEY of Marvell 88PM80x PMICs as an input device 98 tristate "Actions Semi ATC260x PMIC ONKEY" 101 Support the ONKEY of ATC260x PMICs as an input device reporting 102 power button status. ONKEY can be used to wakeup from low power 106 module will be called atc260x-onkey. 217 tristate "Maxim MAX77650 ONKEY support" 220 Support the ONKEY of the MAX77650 PMIC as an input device. [all …]
|
D | 88pm80x_onkey.c | 2 * Marvell 88PM80x ONKEY driver 42 /* 88PM80x gives us an interrupt when ONKEY is held */ 106 IRQF_ONESHOT, "onkey", info); in pm80x_onkey_probe() 121 /* Enable long onkey detection */ in pm80x_onkey_probe() 153 .name = "88pm80x-onkey", 163 MODULE_DESCRIPTION("Marvell 88PM80x ONKEY driver"); 165 MODULE_ALIAS("platform:88pm80x-onkey");
|
D | max8925_onkey.c | 2 * MAX8925 ONKEY driver 43 * MAX8925 gives us an interrupt when ONKEY is pressed or released. 57 dev_dbg(info->dev, "onkey state:%d\n", state); in max8925_onkey_handler() 104 "onkey-down", info); in max8925_onkey_probe() 113 "onkey-up", info); in max8925_onkey_probe() 165 .name = "max8925-onkey", 172 MODULE_DESCRIPTION("Maxim MAX8925 ONKEY driver");
|
D | 88pm860x_onkey.c | 2 * 88pm860x_onkey.c - Marvell 88PM860x ONKEY driver 44 /* 88PM860x gives us an interrupt when ONKEY is held */ 55 /* Enable 8-second long onkey detection */ in pm860x_onkey_handler() 100 "onkey", info); in pm860x_onkey_probe() 137 .name = "88pm860x-onkey", 144 MODULE_DESCRIPTION("Marvell 88PM860x ONKEY driver");
|
/Linux-v6.6/Documentation/devicetree/bindings/input/ |
D | da9062-onkey.txt | 1 * Dialog DA9061/62/63 OnKey Module 12 "dlg,da9061-onkey", "dlg,da9062-onkey" 13 "dlg,da9062-onkey" 14 "dlg,da9063-onkey" 19 entry exists the OnKey driver will remove support for the KEY_POWER key 20 press when triggered using a long press of the OnKey. 25 onkey { 26 compatible = "dlg,da9063-onkey"; 34 onkey { 35 compatible = "dlg,da9062-onkey"; [all …]
|
D | max77650-onkey.yaml | 4 $id: http://devicetree.org/schemas/input/max77650-onkey.yaml# 7 title: Onkey driver for MAX77650 PMIC from Maxim Integrated. 16 The onkey controller is represented as a sub-node of the PMIC node on 24 const: maxim,max77650-onkey 29 maxim,onkey-slide:
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | st,stpmic1.yaml | 29 onkey: 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 45 - const: onkey-falling 46 - const: onkey-rising 48 st,onkey-clear-cc-flag: 49 description: onkey is able power on after an over-current shutdown event. 52 st,onkey-pu-inactive: 53 description: onkey pull up is not active [all …]
|
D | max77650.yaml | 20 LEDs and onkey) refer to the binding documents under the respective 64 onkey: 65 $ref: ../input/max77650-onkey.yaml 143 onkey { 144 compatible = "maxim,max77650-onkey"; 146 maxim,onkey-slide;
|
D | dlg,da9063.yaml | 61 onkey: 67 const: dlg,da9063-onkey 74 power down is enabled and the OnKey will support both KEY_POWER and 115 onkey { 116 compatible = "dlg,da9063-onkey";
|
D | da9062.txt | 13 da9062-onkey : : On Key 23 da9062-onkey : : On Key 87 - onkey : See ../input/da9062-onkey.txt
|
/Linux-v6.6/drivers/mfd/ |
D | da9062-core.c | 181 DEFINE_RES_IRQ_NAMED(DA9061_IRQ_ONKEY, "ONKEY"), 193 MFD_CELL_OF("da9061-onkey", da9061_onkey_resources, NULL, 0, 0, 194 "dlg,da9061-onkey"), 202 MFD_CELL_OF("da9061-onkey", NULL, NULL, 0, 0, "dlg,da9061-onkey"), 227 DEFINE_RES_NAMED(DA9062_IRQ_ONKEY, 1, "ONKEY", IORESOURCE_IRQ), 249 MFD_CELL_OF("da9062-onkey", da9062_onkey_resources, NULL, 0, 0, 250 "dlg,da9062-onkey"), 261 MFD_CELL_OF("da9062-onkey", NULL, NULL, 0, 0, "dlg,da9062-onkey"),
|
D | da9055-core.c | 258 DEFINE_RES_IRQ_NAMED(DA9055_IRQ_NONKEY, "ONKEY"); 321 .of_compatible = "dlg,da9055-onkey", 322 .name = "da9055-onkey",
|
/Linux-v6.6/arch/arm/boot/dts/st/ |
D | stm32mp15xx-osd32.dtsi | 187 onkey { 188 compatible = "st,stpmic1-onkey"; 190 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp157c-odyssey-som.dtsi | 207 onkey { 208 compatible = "st,stpmic1-onkey"; 210 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp15xx-dhcor-som.dtsi | 204 onkey { 205 compatible = "st,stpmic1-onkey"; 207 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp157a-stinger96.dtsi | 229 onkey { 230 compatible = "st,stpmic1-onkey"; 232 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp157c-ed1.dts | 290 onkey { 291 compatible = "st,stpmic1-onkey"; 293 interrupt-names = "onkey-falling", "onkey-rising";
|
/Linux-v6.6/include/linux/mfd/pcf50633/ |
D | core.h | 171 PCF50633_INT2_ONKEYR = 0x01, /* ONKEY rising edge */ 172 PCF50633_INT2_ONKEYF = 0x02, /* ONKEY falling edge */ 189 PCF50633_INT3_ONKEY1S = 0x80, /* ONKEY pressed 1 second */
|
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/ |
D | imx6ull-dhcor-som.dtsi | 86 onkey { 87 compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
|