Home
last modified time | relevance | path

Searched +full:mt7622 +full:- +full:rtc (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/devicetree/bindings/rtc/
H A Dmediatek,mt7622-rtc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/rtc/mediatek,mt7622-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT7622 on-SoC RTC
10 - $ref: rtc.yaml#
13 - Sean Wang <sean.wang@mediatek.com>
18 - const: mediatek,mt7622-rtc
19 - const: mediatek,soc-rtc
30 clock-names:
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7622.dtsi6 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/clock/mt7622-clk.h>
12 #include <dt-bindings/phy/phy.h>
13 #include <dt-bindings/power/mt7622-power.h>
14 #include <dt-bindings/reset/mt7622-reset.h>
15 #include <dt-bindings/thermal/thermal.h>
18 compatible = "mediatek,mt7622";
19 interrupt-parent = <&sysirq>;
[all …]
/linux/drivers/clk/mediatek/
H A Dclk-mt7622-aud.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
14 #include "clk-mtk.h"
15 #include "clk-gate.h"
17 #include <dt-bindings/clock/mt7622-clk.h>
57 GATE_AUDIO0(CLK_AUDIO_AFE, "audio_afe", "rtc", 2),
120 dev_err(&pdev->dev, in clk_mt7622_aud_probe()
122 pdev->name, r); in clk_mt7622_aud_probe()
127 r = devm_of_platform_populate(&pdev->dev); in clk_mt7622_aud_probe()
140 of_platform_depopulate(&pdev->dev); in clk_mt7622_aud_remove()
[all …]
H A Dclk-mt7622.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
12 #include "clk-cpumux.h"
13 #include "clk-gate.h"
14 #include "clk-mtk.h"
16 #include <dt-bindings/clock/mt7622-clk.h>
269 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024),
515 { .compatible = "mediatek,mt7622-topckgen", .data = &topck_desc },
516 { .compatible = "mediatek,mt7622-pericfg", .data = &peri_desc },
523 .name = "clk-mt7622",
[all …]
/linux/drivers/rtc/
H A Drtc-mt7622.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for MediaTek SoC based RTC
14 #include <linux/rtc.h>
49 * Ranges from 0x40 to 0x78 provide RTC time setup for year, month,
65 * The lowest value for the valid tm_year. RTC hardware would take incorrectly
72 * The most year the RTC can hold is 99 and the next to 99 in year register
73 * would be wraparound to 0, for MT7622.
84 /* Types of the function the RTC provides are time counter and alarm. */
102 struct rtc_device *rtc; member
108 static void mtk_w32(struct mtk_rtc *rtc, u32 reg, u32 val) in mtk_w32() argument
[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/
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 …]