Searched +full:imx93 +full:- +full:bbnsm +full:- +full:pwrkey (Results 1 – 2 of 2) sorted by relevance
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | nxp,bbnsm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/nxp,bbnsm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Battery-Backed Non-Secure Module 10 - Jacky Bai <ping.bai@nxp.com> 13 NXP BBNSM serves as non-volatile logic and storage for the system. 17 significant 32 bits of the real-time counter match the value in the 19 The ON/OFF logic inside the BBNSM allows for connecting directly to 26 - enum: [all …]
|
| /linux/drivers/input/misc/ |
| H A D | nxp-bbnsm-pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0+ 48 struct bbnsm_pwrkey *bbnsm = timer_container_of(bbnsm, t, check_timer); in bbnsm_pwrkey_check_for_events() local 49 struct input_dev *input = bbnsm->input; in bbnsm_pwrkey_check_for_events() 52 regmap_read(bbnsm->regmap, BBNSM_EVENTS, &state); in bbnsm_pwrkey_check_for_events() 57 if (state ^ bbnsm->keystate) { in bbnsm_pwrkey_check_for_events() 58 bbnsm->keystate = state; in bbnsm_pwrkey_check_for_events() 59 input_event(input, EV_KEY, bbnsm->keycode, state); in bbnsm_pwrkey_check_for_events() 61 pm_relax(bbnsm->input->dev.parent); in bbnsm_pwrkey_check_for_events() 66 mod_timer(&bbnsm->check_timer, in bbnsm_pwrkey_check_for_events() 73 struct bbnsm_pwrkey *bbnsm = platform_get_drvdata(pdev); in bbnsm_pwrkey_interrupt() local [all …]
|