Searched +full:sp7021 +full:- +full:reset (Results 1 – 8 of 8) sorted by relevance
/linux/arch/arm/boot/dts/sunplus/ |
H A D | sunplus-sp7021.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for Sunplus SP7021 8 #include <dt-bindings/clock/sunplus,sp7021-clkc.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/reset/sunplus,sp7021-reset.h> 11 #include <dt-bindings/pinctrl/sppctl-sp7021.h> 12 #include <dt-bindings/gpio/gpio.h> 17 compatible = "sunplus,sp7021"; 18 model = "Sunplus SP7021"; 22 compatible = "fixed-clock"; [all …]
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | sunplus,reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/reset/sunplus,reset.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Sunplus SoC Reset Controller 11 - Qin Jian <qinjian@cqplus1.com> 15 const: sunplus,sp7021-reset 20 "#reset-cells": 24 - compatible 25 - reg [all …]
|
/linux/drivers/reset/ |
H A D | reset-sunplus.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * SP7021 reset driver 13 #include <linux/reset-controller.h> 21 /* SP7021: mo_reset0 ~ mo_reset9 */ 115 struct sp_reset *reset = to_sp_reset(rcdev); in sp_reset_update() local 121 writel(val, reset->base + (index * 4)); in sp_reset_update() 141 struct sp_reset *reset = to_sp_reset(rcdev); in sp_reset_status() local 146 reg = readl(reset->base + (index * 4)); in sp_reset_status() 160 struct sp_reset *reset = container_of(nb, struct sp_reset, notifier); in sp_restart() local 162 sp_reset_assert(&reset->rcdev, 0); in sp_restart() [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-sunplus.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * The RTC driver for Sunplus SP7021 17 #include <linux/reset.h> 69 *secs = (unsigned long)readl(sp_rtc->reg_base + RTC_TIMER_OUT); in sp_get_seconds() 76 writel((u32)secs, sp_rtc->reg_base + RTC_TIMER_SET); in sp_set_seconds() 105 alarm_time = rtc_tm_to_time64(&alrm->time); in sp_rtc_set_alarm() 107 writel((u32)alarm_time, sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_set_alarm() 117 alarm_time = readl(sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_read_alarm() 121 alrm->enabled = 0; in sp_rtc_read_alarm() 123 alrm->enabled = 1; in sp_rtc_read_alarm() [all …]
|
/linux/drivers/phy/sunplus/ |
H A D | phy-sunplus-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Sunplus SP7021 USB 2.0 phy driver 8 * Note 1 : non-posted write command for the registers accesses of 9 * Sunplus SP7021. 18 #include <linux/nvmem-consumer.h> 22 #include <linux/reset.h> 86 cell = nvmem_cell_get(usbphy->dev, disc_name); in update_disc_vol() 88 if (PTR_ERR(cell) == -EPROBE_DEFER) in update_disc_vol() 89 return -EPROBE_DEFER; in update_disc_vol() 98 set = (set >> usbphy->disc_vol_addr_off) & J_DISC; in update_disc_vol() [all …]
|
/linux/drivers/watchdog/ |
H A D | sunplus_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/reset.h> 33 #define DEVICE_NAME "sunplus-wdt" 55 void __iomem *base = priv->base; in sp_wdt_restart() 69 void __iomem *base = priv->base; in sp_wdt_ping() 72 if (wdev->timeout > SP_WDT_MAX_TIMEOUT) { in sp_wdt_ping() 73 /* WDT_CONMAX sets the count to the maximum (down-counting). */ in sp_wdt_ping() 78 * Watchdog timer is a 20-bit down-counting based on STC_CLK. in sp_wdt_ping() 82 count = (wdev->timeout * STC_CLK) >> 4; in sp_wdt_ping() 93 void __iomem *base = priv->base; in sp_wdt_stop() [all …]
|
/linux/drivers/tty/serial/ |
H A D | sunplus-uart.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Note1: This driver is 8250-like uart, but are not register compatible. 28 #include <linux/reset.h> 82 writel(ch, port->membase + SUP_UART_DATA); in sp_uart_put_char() 87 unsigned int lsr = readl(port->membase + SUP_UART_LSR); in sunplus_tx_buf_not_full() 94 unsigned int lsr = readl(port->membase + SUP_UART_LSR); in sunplus_tx_empty() 101 unsigned int mcr = readl(port->membase + SUP_UART_MCR); in sunplus_set_mctrl() 128 writel(mcr, port->membase + SUP_UART_MCR); in sunplus_set_mctrl() 135 mcr = readl(port->membase + SUP_UART_MCR); in sunplus_get_mctrl() 159 isc = readl(port->membase + SUP_UART_ISC); in sunplus_stop_tx() [all …]
|
/linux/ |
H A 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 …]
|