| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | ti,keystone-irq.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ti,keystone-irq.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Keystone 2 IRQ controller IP 10 - Grygorii Strashko <grygorii.strashko@ti.com> 13 On Keystone SOCs, DSP cores can send interrupts to ARM host using the IRQ 14 controller IP. It provides 28 IRQ signals to ARM. The IRQ handler running on 17 Keystone SOCs. 21 const: ti,keystone-irq [all …]
|
| H A D | ti,sci-intr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/ti,sci-intr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lokesh Vutla <lokeshvutla@ti.com> 13 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 22 +----------------------+ 24 +-------+ | +------+ +-----+ | 25 | GPIO |----------->| | irq0 | | 0 | | Host IRQ 26 +-------+ | +------+ +-----+ | controller [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | ti,keystone-dsp-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/ti,keystone-dsp-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Keystone 2 DSP GPIO controller 10 - Grygorii Strashko <grygorii.strashko@ti.com> 14 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core. 15 This is one of the component used by the IPC mechanism used on Keystone SOCs. 18 - 8 for C66x CorePacx CPUs 0-7 20 Keystone 2 DSP GPIO controller has specific features: [all …]
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | ti,keystone-timer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ti,keystone-timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI Keystone timer 10 - Alexander A. Klimov <grandmaster@al2klimov.de> 11 - Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> 14 A 64-bit timer in the KeyStone architecture devices. The timer can be 15 configured as a general-purpose 64-bit timer, dual general-purpose 32-bit 16 timers. When configured as dual 32-bit timers, each half can operate in [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-keystone.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Keystone broadcast clock-event 17 #define TIMER_NAME "timer-keystone" 117 static irqreturn_t keystone_timer_interrupt(int irq, void *dev_id) in keystone_timer_interrupt() argument 121 evt->event_handler(evt); in keystone_timer_interrupt() 148 int irq, error; in keystone_timer_init() local 150 irq = irq_of_parse_and_map(np, 0); in keystone_timer_init() 151 if (!irq) { in keystone_timer_init() 153 return -EINVAL; in keystone_timer_init() 159 return -ENXIO; in keystone_timer_init() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-keystone.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Texas Instruments Keystone IRQ controller IP driver 10 #include <linux/irq.h> 24 #define KEYSTONE_N_IRQ (32 - BIT_OFS) 30 int irq; member 42 ret = regmap_read(kirq->devctrl_regs, kirq->devctrl_offset, &val); in keystone_irq_readl() 44 dev_dbg(kirq->dev, "irq read failed ret(%d)\n", ret); in keystone_irq_readl() 53 ret = regmap_write(kirq->devctrl_regs, kirq->devctrl_offset, value); in keystone_irq_writel() 55 dev_dbg(kirq->dev, "irq write failed ret(%d)\n", ret); in keystone_irq_writel() 62 kirq->mask |= BIT(d->hwirq); in keystone_irq_setmask() [all …]
|
| /linux/arch/arm/boot/dts/ti/keystone/ |
| H A D | keystone.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/gpio/gpio.h> 10 compatible = "ti,keystone"; 11 model = "Texas Instruments Keystone 2 SoC"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&gic>; 30 gic: interrupt-controller@2561000 { [all …]
|
| H A D | keystone-k2g.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/keystone.h> 10 #include <dt-bindings/gpio/gpio.h> 13 compatible = "ti,k2g","ti,keystone"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; 32 #address-cells = <1>; [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pci-keystone.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe host controller driver for Texas Instruments Keystone SoCs 5 * Copyright (C) 2013-2014 Texas Instruments., Ltd. 8 * Author: Murali Karicheri <m-karicheri2@ti.com> 9 * Implementation based on pci-exynos.c and pcie-designware.c 31 #include "pcie-designware.h" 59 #define PCIE_LEGACY_IRQ_ENABLE_SET(n) (0x188 + (0x10 * ((n) - 1))) 60 #define PCIE_LEGACY_IRQ_ENABLE_CLR(n) (0x18c + (0x10 * ((n) - 1))) 65 /* IRQ register defines */ 84 #define ERR_NONFATAL BIT(2) /* Non-fatal error */ [all …]
|
| /linux/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,k2g-dss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/ti/ti,k2g-dss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jyri Sarha <jsarha@ti.com> 12 - Tomi Valkeinen <tomi.valkeinen@ti.com> 15 The K2G DSS is an ultra-light version of TI Keystone Display 21 const: ti,k2g-dss 25 - description: cfg DSS top level 26 - description: common DISPC common [all …]
|
| H A D | ti,j721e-dss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/ti/ti,j721e-dss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jyri Sarha <jsarha@ti.com> 12 - Tomi Valkeinen <tomi.valkeinen@ti.com> 15 The J721E TI Keystone Display SubSystem with four output ports and 22 const: ti,j721e-dss 26 - description: common_m DSS Master common 27 - description: common_s0 DSS Shared common 0 [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | ti,am65-pci-host.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,am65-pci-host.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: /schemas/pci/pci-host-bridge.yaml# 19 - ti,am654-pcie-rc 20 - ti,keystone-pcie 26 reg-names: [all …]
|
| /linux/drivers/soc/ti/ |
| H A D | knav_qmss_queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Keystone Queue Manager subsystem driver 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/dma-mapping.h> 44 * are to be re-defined 57 (kdev->instances + (idx << kdev->inst_shift)) 60 list_for_each_entry_rcu(qh, &inst->handles, list, \ 64 for (idx = 0, inst = kdev->instances; \ 65 idx < (kdev)->num_queues_in_use; \ 84 * @inst: - qmss queue instance like accumulator [all …]
|
| H A D | knav_qmss.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Keystone Navigator QMSS driver internal header 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com 32 #define ACC_LIST_ENTRY_DESC_IDX (ACC_LIST_ENTRY_WORDS - 1) 45 #define ACC_DESCS_MASK (ACC_DESCS_MAX - 1) 243 * @irq_num: irq line number 248 * @irq_name: irq line name 324 int irq; member 349 list_for_each_entry(region, &kdev->regions, list) 352 list_first_entry_or_null(&kdev->regions, \ [all …]
|
| H A D | knav_qmss_acc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Keystone accumulator queue manager 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com 11 #include <linux/dma-mapping.h> 21 (range->queue_base_inst + (q << kdev->inst_shift)) 26 struct knav_device *kdev = range->kdev; in __knav_acc_notify() 30 range_base = kdev->base_id + range->queue_base; in __knav_acc_notify() 32 if (range->flags & RANGE_MULTI_QUEUE) { in __knav_acc_notify() 33 for (queue = 0; queue < range->num_queues; queue++) { in __knav_acc_notify() 36 if (inst->notify_needed) { in __knav_acc_notify() [all …]
|
| /linux/drivers/edac/ |
| H A D | ti_edac.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 63 /* IRQ bit definitions */ 71 #define EDAC_MOD_NAME "ti-emif-edac" 84 return readl_relaxed(edac->reg + offset); in ti_edac_readl() 89 writel_relaxed(val, edac->reg + offset); in ti_edac_writel() 92 static irqreturn_t ti_edac_isr(int irq, void *data) in ti_edac_isr() argument 95 struct ti_edac *edac = mci->pvt_info; in ti_edac_isr() 108 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr() 109 mci->ctl_name, "1B"); in ti_edac_isr() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2006-2007 David Brownell 15 #include <linux/irq.h> 41 typedef struct irq_chip *(*gpio_get_irq_chip_cb_t)(unsigned int irq); 43 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */ 73 /*--------------------------------------------------------------------------*/ 86 g = d->regs[bank]; in __davinci_direction() 87 spin_lock_irqsave(&d->lock, flags); in __davinci_direction() 88 temp = readl_relaxed(&g->dir); in __davinci_direction() 91 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 this symbol, but new drivers should use the generic gpio-regmap 60 non-sleeping contexts. They can make bitbanged serial protocols 81 numberspace-based functionalities of the sysfs interface. 137 Enables support for the idio-16 library functions. The idio-16 library 139 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 141 If built as a module its name will be gpio-idio-16. 147 tristate "GPIO driver for 74xx-ICs with MMIO access" 151 Say yes here to support GPIO functionality for 74xx-compatible ICs 166 If driver is built as a module it will be called gpio-altera. [all …]
|
| /linux/drivers/mailbox/ |
| H A D | ti-msgmgr.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2022 Texas Instruments Incorporated - https://www.ti.com/ 22 #include <linux/soc/ti/ti-msgmgr.h> 41 * struct ti_msgmgr_valid_queue_desc - SoC valid queues meant for this processor 53 * struct ti_msgmgr_desc - Description of message manager integration 92 * struct ti_queue_inst - Description of a queue instance 96 * @irq: IRQ for Rx Queue 110 int irq; member 122 * struct ti_msgmgr_inst - Description of a Message Manager Instance 148 * ti_msgmgr_queue_get_num_messages() - Get the number of pending messages [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/dma-mapping.h> 22 #include <linux/platform_data/spi-davinci.h> 111 u32 irq; member 136 if (dspi->rx) { in davinci_spi_rx_buf_u8() 137 u8 *rx = dspi->rx; in davinci_spi_rx_buf_u8() 139 dspi->rx = rx; in davinci_spi_rx_buf_u8() 145 if (dspi->rx) { in davinci_spi_rx_buf_u16() 146 u16 *rx = dspi->rx; in davinci_spi_rx_buf_u16() 148 dspi->rx = rx; in davinci_spi_rx_buf_u16() [all …]
|
| /linux/drivers/pci/ |
| H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 102 int ret = -ENOTTY; in pcie_failed_link_retrain() 105 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 112 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 173 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups() 174 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type PCI serial ports. 98 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */ 104 * > 0 - number of ports 105 * = 0 - use board->num_ports 106 * < 0 - error 156 "Please send the output of lspci -vv, this\n" in moan_device() 159 "modem board to <linux-serial@vger.kernel.org>.\n", in moan_device() 160 str, dev->vendor, dev->device, in moan_device() 161 dev->subsystem_vendor, dev->subsystem_device); in moan_device() [all …]
|