Home
last modified time | relevance | path

Searched +full:mt2712 +full:- +full:rtc (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/rtc/
H A Dmediatek,mt2712-rtc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT2712 on-SoC RTC
10 - $ref: rtc.yaml#
13 - Ran Bi <ran.bi@mediatek.com>
17 const: mediatek,mt2712-rtc
26 - reg
27 - interrupts
[all …]
/linux/drivers/rtc/
H A Drtc-mt2712.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/rtc.h>
78 struct rtc_device *rtc; member
87 return readl(mt2712_rtc->base + reg); in mt2712_readl()
93 writel(val, mt2712_rtc->base + reg); in mt2712_writel()
107 dev_err(&mt2712_rtc->rtc->dev, in mt2712_rtc_write_trigger()
131 rtc_update_irq(mt2712_rtc->rtc, 1, RTC_IRQF | RTC_AF); in rtc_irq_handler_thread()
141 tm->tm_sec = mt2712_readl(mt2712_rtc, MT2712_TC_SEC) in __mt2712_rtc_read_time()
143 tm->tm_min = mt2712_readl(mt2712_rtc, MT2712_TC_MIN) in __mt2712_rtc_read_time()
145 tm->tm_hour = mt2712_readl(mt2712_rtc, MT2712_TC_HOU) in __mt2712_rtc_read_time()
[all …]
H A DMakefile1 # 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 …]
H A DKconfig1 # 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/arch/arm64/boot/dts/mediatek/
H A Dmt2712e.dtsi5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/clock/mt2712-clk.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/memory/mt2712-larb-port.h>
12 #include <dt-bindings/phy/phy.h>
13 #include <dt-bindings/power/mt2712-power.h>
14 #include "mt2712-pinfunc.h"
17 compatible = "mediatek,mt2712";
18 interrupt-parent = <&sysirq>;
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
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 …]