/Linux-v6.6/drivers/input/misc/ |
D | atc260x-onkey.c | 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() 93 onkey->params->reset_time_bm; in atc2603x_onkey_hw_init() [all …]
|
D | da9063_onkey.c | 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() 116 input_report_key(onkey->input, KEY_POWER, 0); in da9063_poll_on() 117 input_sync(onkey->input); in da9063_poll_on() 126 error = regmap_read(onkey->regmap, in da9063_poll_on() 130 dev_warn(&onkey->input->dev, in da9063_poll_on() [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() 40 input_report_key(onkey->input, KEY_POWER, pressed); in da9052_onkey_query() 41 input_sync(onkey->input); in da9052_onkey_query() 49 schedule_delayed_work(&onkey->work, in da9052_onkey_query() 56 struct da9052_onkey *onkey = container_of(work, struct da9052_onkey, in da9052_onkey_work() local 59 da9052_onkey_query(onkey); in da9052_onkey_work() 64 struct da9052_onkey *onkey = data; in da9052_onkey_irq() local 66 da9052_onkey_query(onkey); in da9052_onkey_irq() [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() 37 input_report_key(onkey->input, KEY_POWER, 0); in da9055_onkey_query() 38 input_sync(onkey->input); 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 56 da9055_onkey_query(onkey); in da9055_onkey_work() 61 struct da9055_onkey *onkey = data; in da9055_onkey_irq() local 63 input_report_key(onkey->input, KEY_POWER, 1); in da9055_onkey_irq() [all …]
|
D | max77650-onkey.c | 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() 64 error = device_property_read_u32(dev, "linux,code", &onkey->code); in max77650_onkey_probe() [all …]
|
D | stpmic1_onkey.c | 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() 65 return onkey->irq_falling; in stpmic1_onkey_probe() [all …]
|
D | Makefile | 20 obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o 52 obj-$(CONFIG_INPUT_MAX77650_ONKEY) += max77650-onkey.o
|
/Linux-v6.6/Documentation/devicetree/bindings/input/ |
D | da9062-onkey.txt | 12 "dlg,da9061-onkey", "dlg,da9062-onkey" 13 "dlg,da9062-onkey" 14 "dlg,da9063-onkey" 25 onkey { 26 compatible = "dlg,da9063-onkey"; 34 onkey { 35 compatible = "dlg,da9062-onkey"; 40 Example: DA9061 using a fall-back compatible for the DA9062 onkey driver 43 onkey { 44 compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | da9062.txt | 13 da9062-onkey : : On Key 23 da9062-onkey : : On Key 87 - onkey : See ../input/da9062-onkey.txt
|
D | max8925.txt | 20 max8925-onkey : : On key
|
D | da9055.txt | 9 da9055-onkey : : On key
|
/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";
|
D | stm32mp157c-emstamp-argon.dtsi | 334 onkey { 335 compatible = "st,stpmic1-onkey"; 337 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp157c-phycore-stm32mp15-som.dtsi | 363 onkey { 364 compatible = "st,stpmic1-onkey"; 367 interrupt-names = "onkey-falling", 368 "onkey-rising";
|
D | stm32mp15xx-dhcom-som.dtsi | 379 onkey { 380 compatible = "st,stpmic1-onkey"; 382 interrupt-names = "onkey-falling", "onkey-rising";
|
D | stm32mp15xx-dkx.dtsi | 410 onkey { 411 compatible = "st,stpmic1-onkey"; 413 interrupt-names = "onkey-falling", "onkey-rising";
|
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/ |
D | imx6ull-dhcor-som.dtsi | 86 onkey { 87 compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
|
D | imx6qdl-phytec-phycore-som.dtsi | 110 da9062_onkey: onkey { 111 compatible = "dlg,da9062-onkey";
|
/Linux-v6.6/Documentation/devicetree/bindings/thermal/ |
D | da9062-thermal.txt | 29 Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
|
/Linux-v6.6/arch/riscv/boot/dts/sifive/ |
D | hifive-unmatched-a00.dts | 127 onkey { 128 compatible = "dlg,da9063-onkey";
|
/Linux-v6.6/arch/arm/boot/dts/renesas/ |
D | r8a7790-stout.dts | 336 onkey { 337 compatible = "dlg,da9063-onkey";
|