Home
last modified time | relevance | path

Searched refs:bbnsm (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-nxp-bbnsm.c72 time = bbnsm_read_counter(bbnsm); in bbnsm_rtc_read_time()
166 struct bbnsm_rtc *bbnsm; in bbnsm_rtc_probe() local
169 bbnsm = devm_kzalloc(&pdev->dev, sizeof(*bbnsm), GFP_KERNEL); in bbnsm_rtc_probe()
170 if (!bbnsm) in bbnsm_rtc_probe()
174 if (IS_ERR(bbnsm->rtc)) in bbnsm_rtc_probe()
175 return PTR_ERR(bbnsm->rtc); in bbnsm_rtc_probe()
178 if (IS_ERR(bbnsm->regmap)) { in bbnsm_rtc_probe()
180 return PTR_ERR(bbnsm->regmap); in bbnsm_rtc_probe()
184 if (bbnsm->irq < 0) in bbnsm_rtc_probe()
185 return bbnsm->irq; in bbnsm_rtc_probe()
[all …]
H A DMakefile36 obj-$(CONFIG_RTC_DRV_BBNSM) += rtc-nxp-bbnsm.o
H A DKconfig1792 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
56 if (state ^ bbnsm->keystate) { in bbnsm_pwrkey_check_for_events()
57 bbnsm->keystate = state; in bbnsm_pwrkey_check_for_events()
99 struct bbnsm_pwrkey *bbnsm; in bbnsm_pwrkey_probe() local
104 bbnsm = devm_kzalloc(&pdev->dev, sizeof(*bbnsm), GFP_KERNEL); in bbnsm_pwrkey_probe()
105 if (!bbnsm) in bbnsm_pwrkey_probe()
109 if (IS_ERR(bbnsm->regmap)) { in bbnsm_pwrkey_probe()
115 &bbnsm->keycode)) { in bbnsm_pwrkey_probe()
116 bbnsm->keycode = KEY_POWER; in bbnsm_pwrkey_probe()
121 if (bbnsm->irq < 0) in bbnsm_pwrkey_probe()
[all …]
H A DMakefile24 obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o
H A DKconfig127 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#
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";