Searched +full:imx93 +full:- +full:bbnsm +full:- +full:rtc (Results 1 – 3 of 3) sorted by relevance
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 Module10 - Jacky Bai <ping.bai@nxp.com>13 NXP BBNSM serves as non-volatile logic and storage for the system.14 it Intergrates RTC & ON/OFF control.15 The RTC can retain its state and continues counting even when the17 significant 32 bits of the real-time counter match the value in the[all …]
1 // SPDX-License-Identifier: GPL-2.0+14 #include <linux/rtc.h>36 struct rtc_device *rtc; member42 static u32 bbnsm_read_counter(struct bbnsm_rtc *bbnsm) in bbnsm_read_counter() argument52 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() local68 regmap_read(bbnsm->regmap, BBNSM_CTRL, &val); in bbnsm_rtc_read_time()70 return -EINVAL; in bbnsm_rtc_read_time()[all …]
1 // 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 …]