Home
last modified time | relevance | path

Searched +full:sp7021 +full:- +full:reset (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/reset/
H A Dsunplus,reset.yaml1 # 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 …]
/openbmc/linux/drivers/reset/
H A Dreset-sunplus.c1 // 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 …]
/openbmc/linux/drivers/rtc/
H A Drtc-sunplus.c1 // 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 …]
/openbmc/linux/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c1 // 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 …]
/openbmc/linux/drivers/watchdog/
H A Dsunplus_wdt.c1 // 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 …]
/openbmc/linux/drivers/spi/
H A Dspi-sunplus-sp7021.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Author: Li-hao Kuo <lhjeff911@gmail.com>
8 #include <linux/dma-mapping.h>
14 #include <linux/reset.h>
104 data_status = readl(pspim->s_base + SP7021_DATA_RDY_REG); in sp7021_spi_slave_irq()
106 writel(data_status , pspim->s_base + SP7021_DATA_RDY_REG); in sp7021_spi_slave_irq()
107 complete(&pspim->slave_isr); in sp7021_spi_slave_irq()
115 complete(&pspim->slave_isr); in sp7021_spi_slave_abort()
116 complete(&pspim->isr_done); in sp7021_spi_slave_abort()
122 struct sp7021_spi_ctlr *pspim = spi_controller_get_devdata(spi->controller); in sp7021_spi_slave_tx()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dsunplus-uart.c1 // 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 …]
/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_driver.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/nvmem-consumer.h>
12 #include <linux/reset.h>
28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open()
31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open()
33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open()
38 mask = readl(comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open()
40 writel(mask, comm->l2sw_reg_base + L2SW_SW_INT_MASK_0); in spl2sw_ethernet_open()
42 phy_start(ndev->phydev); in spl2sw_ethernet_open()
52 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_stop()
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dsunplus-mmc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Author: Li-hao Kuo <lhjeff911@gmail.com>
11 #include <linux/dma-mapping.h>
18 #include <linux/mmc/slot-gpio.h>
24 #include <linux/reset.h>
180 return readl_poll_timeout(host->base + SPMMC_SD_STATE_REG, state, in spmmc_wait_finish()
189 return readl_poll_timeout(host->base + SPMMC_SD_STATUS_REG, status, in spmmc_wait_sdstatus()
202 if (!(cmd->flags & MMC_RSP_PRESENT)) in spmmc_get_rsp()
204 if (cmd->flags & MMC_RSP_136) { in spmmc_get_rsp()
207 value0_3 = readl(host->base + SPMMC_SD_RSPBUF0_3_REG); in spmmc_get_rsp()
[all …]
/openbmc/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 …]
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]
H A Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]
/openbmc/
Dopengrok1.0.log1 2025-01-22 03:00:43.118-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-01-22 03:00:43.231-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-01-21 03:00:49.509-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-01-21 03:00:49.626-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]