Home
last modified time | relevance | path

Searched full:bbnsm (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-nxp-bbnsm.c42 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()
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()
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
84 regmap_update_bits(bbnsm->regmap, BBNSM_CTRL, RTC_EN_MSK, 0); in bbnsm_rtc_set_time()
87 regmap_write(bbnsm->regmap, BBNSM_RTC_LS, time << CNTR_TO_SECS_SH); in bbnsm_rtc_set_time()
88 regmap_write(bbnsm->regmap, BBNSM_RTC_MS, time >> (32 - CNTR_TO_SECS_SH)); in bbnsm_rtc_set_time()
[all …]
H A DMakefile36 obj-$(CONFIG_RTC_DRV_BBNSM) += rtc-nxp-bbnsm.o
H A DKconfig1783 tristate "NXP BBNSM RTC support"
1789 If you say yes here you get support for the NXP BBNSM RTC module.
1792 will be called "rtc-bbnsm".
/openbmc/linux/drivers/input/misc/
H A Dnxp-bbnsm-pwrkey.c47 struct bbnsm_pwrkey *bbnsm = from_timer(bbnsm, t, check_timer); in bbnsm_pwrkey_check_for_events() local
48 struct input_dev *input = bbnsm->input; in bbnsm_pwrkey_check_for_events()
51 regmap_read(bbnsm->regmap, BBNSM_EVENTS, &state); in bbnsm_pwrkey_check_for_events()
56 if (state ^ bbnsm->keystate) { in bbnsm_pwrkey_check_for_events()
57 bbnsm->keystate = state; in bbnsm_pwrkey_check_for_events()
58 input_event(input, EV_KEY, bbnsm->keycode, state); in bbnsm_pwrkey_check_for_events()
60 pm_relax(bbnsm->input->dev.parent); in bbnsm_pwrkey_check_for_events()
65 mod_timer(&bbnsm->check_timer, in bbnsm_pwrkey_check_for_events()
72 struct bbnsm_pwrkey *bbnsm = platform_get_drvdata(pdev); in bbnsm_pwrkey_interrupt() local
75 regmap_read(bbnsm->regmap, BBNSM_EVENTS, &event); in bbnsm_pwrkey_interrupt()
[all …]
H A DMakefile24 obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o
H A DKconfig123 tristate "NXP BBNSM Power Key Driver"
127 This is the bbnsm powerkey driver for the NXP i.MX application
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dnxp,bbnsm.yaml4 $id: http://devicetree.org/schemas/mfd/nxp,bbnsm.yaml#
13 NXP BBNSM serves as non-volatile logic and storage for the system.
19 The ON/OFF logic inside the BBNSM allows for connecting directly to
27 - nxp,imx93-bbnsm
41 - nxp,imx93-bbnsm-rtc
61 - nxp,imx93-bbnsm-pwrkey
87 bbnsm: bbnsm@44440000 {
88 compatible = "nxp,imx93-bbnsm", "syscon", "simple-mfd";
92 compatible = "nxp,imx93-bbnsm-rtc";
97 compatible = "nxp,imx93-bbnsm-pwrkey";
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx93.dtsi332 bbnsm: bbnsm@44440000 { label
333 compatible = "nxp,imx93-bbnsm", "syscon", "simple-mfd";
337 compatible = "nxp,imx93-bbnsm-rtc";
342 compatible = "nxp,imx93-bbnsm-pwrkey";
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok1.0.log[all...]