Searched +full:ssd202d +full:- +full:rtc (Results 1 – 4 of 4) sorted by relevance
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | mstar,ssd202d-rtc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mstar SSD202D Real Time Clock 10 - Daniel Palmer <daniel@0x0f.com> 11 - Romain Perier <romain.perier@gmail.com> 14 - $ref: rtc.yaml# 19 - mstar,ssd202d-rtc 24 - compatible [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-ssd202d.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Real time clocks driver for MStar/SigmaStar SSD202D SoCs. 14 #include <linux/rtc.h> 65 struct device *dev = &priv->rtc_dev->dev; in ssd202d_rtc_isoctrl() 73 writeb(sequence[i] & ISO_CTRL_MASK, priv->base + REG_ISO_CTRL); in ssd202d_rtc_isoctrl() 76 20 * 100, true, priv->base); in ssd202d_rtc_isoctrl() 87 ret = read_poll_timeout(read_iso_en, val, val, 100, 22 * 100, true, priv->base); in ssd202d_rtc_isoctrl() 100 /* Ask for the content of an RTC value into RDDATA by gating iso_en, in ssd202d_rtc_read_reg() 103 val = readw(priv->base + reg); in ssd202d_rtc_read_reg() 104 writew(val | field, priv->base + reg); in ssd202d_rtc_read_reg() [all …]
|
H A 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 …]
|
H A 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 …]
|