Home
last modified time | relevance | path

Searched +full:imx93 +full:- +full:bbnsm (Results 1 – 4 of 4) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Dnxp,bbnsm.yaml1 # 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 <[email protected]>
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-6.14.4/drivers/input/misc/
Dnxp-bbnsm-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
48 struct bbnsm_pwrkey *bbnsm = from_timer(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 …]
/linux-6.14.4/drivers/rtc/
Drtc-nxp-bbnsm.c1 // SPDX-License-Identifier: GPL-2.0+
42 static u32 bbnsm_read_counter(struct bbnsm_rtc *bbnsm) in bbnsm_read_counter() argument
52 regmap_read(bbnsm->regmap, BBNSM_RTC_MS, &rtc_msb); in bbnsm_read_counter()
54 regmap_read(bbnsm->regmap, BBNSM_RTC_LS, &rtc_lsb); in bbnsm_read_counter()
57 } while (tmp != time && --timeout); in bbnsm_read_counter()
64 struct bbnsm_rtc *bbnsm = dev_get_drvdata(dev); in bbnsm_rtc_read_time() local
68 regmap_read(bbnsm->regmap, BBNSM_CTRL, &val); in bbnsm_rtc_read_time()
70 return -EINVAL; in bbnsm_rtc_read_time()
72 time = bbnsm_read_counter(bbnsm); in bbnsm_rtc_read_time()
80 struct bbnsm_rtc *bbnsm = dev_get_drvdata(dev); in bbnsm_rtc_set_time() local
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx93.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx93-clock.h>
7 #include <dt-bindings/dma/fsl-edma.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/fsl,imx93-power.h>
12 #include <dt-bindings/thermal/thermal.h>
14 #include "imx93-pinfunc.h"
17 interrupt-parent = <&gic>;
[all …]