Home
last modified time | relevance | path

Searched +full:lpc3220 +full:- +full:rtc (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/rtc/
H A Dnxp,lpc3220-rtc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rtc/nxp,lpc3220-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP LPC32xx SoC Real-time Clock
10 - Frank Li <Frank.Li@nxp.com>
15 - nxp,lpc3220-rtc
26 start-year: true
29 - compatible
30 - reg
[all …]
/linux/drivers/rtc/
H A Drtc-lpc32xx.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <linux/rtc.h>
43 __raw_readl((dev)->rtc_base + (reg))
45 __raw_writel((val), (dev)->rtc_base + (reg))
51 struct rtc_device *rtc; member
58 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_time() local
60 elapsed_sec = rtc_readl(rtc, LPC32XX_RTC_UCOUNT); in lpc32xx_rtc_read_time()
68 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_time() local
72 spin_lock_irq(&rtc->lock); in lpc32xx_rtc_set_time()
74 /* RTC must be disabled during count update */ in lpc32xx_rtc_set_time()
[all …]
/linux/drivers/clk/nxp/
H A Dclk-lpc32xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
12 #include <dt-bindings/clock/lpc32xx-clock.h>
200 LPC32XX_CLK_DEFINE(RTC, "rtc", 0x0, LPC32XX_CLK_XTAL_32K),
392 regmap_read(clk_regmap, clk->reg, &val); in clk_mask_enable()
394 if (clk->busy_mask && (val & clk->busy_mask) == clk->busy) in clk_mask_enable()
395 return -EBUSY; in clk_mask_enable()
397 return regmap_update_bits(clk_regmap, clk->reg, in clk_mask_enable()
398 clk->enable_mask, clk->enable); in clk_mask_enable()
405 regmap_update_bits(clk_regmap, clk->reg, in clk_mask_disable()
[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 …]