Searched +full:msc313 +full:- +full:rtc (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/rtc/ |
D | mstar,msc313-rtc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mstar MSC313e RTC 10 - $ref: rtc.yaml# 13 - Daniel Palmer <daniel@0x0f.com> 14 - Romain Perier <romain.perier@gmail.com> 19 - mstar,msc313-rtc 27 start-year: true [all …]
|
/linux-6.12.1/arch/arm/boot/dts/sigmastar/ |
D | mstar-v7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mstar-msc313-mpll.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 14 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a7"; [all …]
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-msc313.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/rtc.h> 55 seconds = readw(priv->rtc_base + REG_RTC_MATCH_VAL_L) in msc313_rtc_read_alarm() 56 | ((unsigned long)readw(priv->rtc_base + REG_RTC_MATCH_VAL_H) << 16); in msc313_rtc_read_alarm() 58 rtc_time64_to_tm(seconds, &alarm->time); in msc313_rtc_read_alarm() 60 if (!(readw(priv->rtc_base + REG_RTC_CTRL) & INT_MASK_BIT)) in msc313_rtc_read_alarm() 61 alarm->enabled = 1; in msc313_rtc_read_alarm() 71 reg = readw(priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_alarm_irq_enable() 76 writew(reg, priv->rtc_base + REG_RTC_CTRL); in msc313_rtc_alarm_irq_enable() 85 seconds = rtc_tm_to_time64(&alarm->time); in msc313_rtc_set_alarm() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for RTC class/drivers. 6 ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG 8 obj-$(CONFIG_RTC_LIB) += lib.o 9 obj-$(CONFIG_RTC_CLASS) += rtc-core.o 10 obj-$(CONFIG_RTC_MC146818_LIB) += rtc-mc146818-lib.o 11 rtc-core-y := class.o interface.o 13 rtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o 14 rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o 15 rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RTC class/drivers configuration 19 Generic RTC class support. If you say yes here, you will 26 bool "Set system time from RTC on startup and resume" 30 the value read from a specified RTC device. This is useful to avoid 34 string "RTC used to set the system time" 38 The RTC device that will be used to (re)initialize the system 44 This clock should be battery-backed, so that it reads the correct 45 time when the system boots from a power-off state. Otherwise, your 50 sleep states. Do not specify an RTC here unless it stays powered [all …]
|
/linux-6.12.1/ |
D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|