/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | st,stih407-irq-syscfg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/st,stih407-irq-syscfg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrice Chotard <patrice.chotard@foss.st.com> 19 const: st,stih407-irq-syscfg 21 st,syscfg: 22 description: Phandle to Cortex-A9 IRQ system config registers 25 st,irq-device: 27 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-st.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This is a re-write of Christophe Kerello's PMU driver. 10 #include <dt-bindings/interrupt-controller/irq-st.h> 38 unsigned int syscfg; member 45 .compatible = "st,stih407-irq-syscfg", 52 int device, int channel, bool irq) in st_irq_xlate() argument 54 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate() 59 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate() 62 ddata->config |= ST_A9_IRQ_EN_EXT_1; in st_irq_xlate() 65 ddata->config |= ST_A9_IRQ_EN_EXT_2; in st_irq_xlate() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "IRQ chip support" 116 tristate "Broadcom BCM2712 MSI-X Interrupt Peripheral support" 125 Enable support for the Broadcom BCM2712 MSI-X target peripheral 126 (MIP) needed by brcmstb PCIe to handle MSI-X interrupts on 138 tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver" 146 tristate "Broadcom STB 7120-style L2 interrupt controller driver" 205 will be called irq-lan966x-oic. 246 bool "J-Core integrated AIC" if COMPILE_TEST 250 Support for the J-Core integrated AIC. [all …]
|
/linux/drivers/iio/adc/ |
H A D | stm32-adc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 8 * Inspired from: fsl-imx25-tsadc 30 #include "stm32-adc-core.h" 34 /* SYSCFG registers */ 38 /* SYSCFG bit fields */ 41 /* SYSCFG capability flags */ 46 * struct stm32_adc_common_regs - stm32 common registers 66 * struct stm32_adc_priv_cfg - stm32 core compatible configuration data 71 * @has_syscfg: SYSCFG capability flags [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stih407-family.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "stih407-pinctrl.dtsi" 7 #include <dt-bindings/mfd/st-lpc.h> 8 #include <dt-bindings/phy/phy.h> 9 #include <dt-bindings/reset/stih407-resets.h> 10 #include <dt-bindings/interrupt-controller/irq-st.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 15 reserved-memory { 16 #address-cells = <1>; [all …]
|
H A D | stm32h743.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 #include "../armv7-m.dtsi" 44 #include <dt-bindings/clock/stm32h7-clks.h> 45 #include <dt-bindings/mfd/stm32h7-rcc.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 53 clk_hse: clk-hse { 54 #clock-cells = <0>; [all …]
|
H A D | stm32f746.dtsi | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 43 #include "../armv7-m.dtsi" 44 #include <dt-bindings/clock/stm32fx-clock.h> 45 #include <dt-bindings/mfd/stm32f7-rcc.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 53 clk_hse: clk-hse { 54 #clock-cells = <0>; [all …]
|
H A D | stihxxx-b2120.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/clock/stih407-clks.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/media/c8sectpfe.h> 11 compatible = "gpio-leds"; 12 led-red { 15 linux,default-trigger = "heartbeat"; 17 led-green { 19 default-state = "off"; 24 compatible = "simple-audio-card"; [all …]
|
/linux/drivers/phy/st/ |
H A D | phy-stm32-combophy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <dt-bindings/phy/phy.h> 26 /* SYSCFG PCIEPRGCR */ 31 /* SYSCFG SYSCFG_COMBOPHY_SR */ 34 /* SYSCFG CR1 */ 42 /* SYSCFG CR4 */ 61 /* SYSCFG CR2 */ 68 /* SYSCFG CR5 */ 122 u32 min_imp = imp_lookup[imp_size - 1].microohm; in stm32_impedance_tune() 127 if (!of_property_read_u32(combophy->dev->of_node, "st,output-micro-ohms", &val)) { in stm32_impedance_tune() [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <media/cec-notifier.h> 45 * @syscfg: syscfg register for pll rejection configuration 50 * @irq: hdmi interrupt number 60 * @audio_pdev: ASoC hdmi-codec platform device 70 void __iomem *syscfg; member 75 int irq; member
|
/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_omap2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright © 2005-2006 Nokia Corporation 8 * IRQ and DMA support written by Timo Teras 17 #include <linux/omap-gpmc.h> 21 #include <linux/dma-mapping.h> 29 #define DRIVER_NAME "omap2-onenand" 50 static irqreturn_t omap2_onenand_interrupt(int irq, void *dev_id) in omap2_onenand_interrupt() argument 54 complete(&c->irq_done); in omap2_onenand_interrupt() 61 return readw(c->onenand.base + reg); in read_reg() 67 writew(value, c->onenand.base + reg); in write_reg() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-st.txt | 3 Each multi-function pin is controlled, driven and routed through the 5 and multiple alternate functions(ALT1 - ALTx) that directly connect 14 GPIO bank can have one of the two possible types of interrupt-wirings. 20 | |----> [gpio-bank (n) ] 21 | |----> [gpio-bank (n + 1)] 22 [irqN]-- | irq-mux |----> [gpio-bank (n + 2)] 23 | |----> [gpio-bank (... )] 24 |_________|----> [gpio-bank (n + 7)] 28 [irqN]----> [gpio-bank (n)] 33 - compatible : should be "st,stih407-<pio-block>-pinctrl" [all …]
|
H A D | mediatek,mt65xx-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@kernel.org> 18 - mediatek,mt2701-pinctrl 19 - mediatek,mt2712-pinctrl 20 - mediatek,mt6397-pinctrl 21 - mediatek,mt7623-pinctrl 22 - mediatek,mt8127-pinctrl [all …]
|
H A D | st,stm32-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Alexandre TORGUE <alexandre.torgue@foss.st.com> 17 on-chip controllers onto these pads. 22 - st,stm32f429-pinctrl 23 - st,stm32f469-pinctrl 24 - st,stm32f746-pinctrl 25 - st,stm32f769-pinctrl [all …]
|
/linux/drivers/usb/renesas_usbhs/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-1.0+ 33 * +-------+ +-----------+ 34 * | pipe0 |------>| fifo pio | 35 * +------------+ +-------+ +-----------+ 36 * | mod_gadget |=====> | pipe1 |--+ 37 * +------------+ +-------+ | +-----------+ 38 * | pipe2 | | +-| fifo dma0 | 39 * +------------+ +-------+ | | +-----------+ 40 * | mod_host | | pipe3 |<-|--+ 41 * +------------+ +-------+ | +-----------+ [all …]
|
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 28 #define SYSCFG 0x0000 macro 100 #define D2FIFOSEL 0x00F0 /* for R-Car Gen2 */ 101 #define D2FIFOCTR 0x00F2 /* for R-Car Gen2 */ 102 #define D3FIFOSEL 0x00F4 /* for R-Car Gen2 */ 103 #define D3FIFOCTR 0x00F6 /* for R-Car Gen2 */ 106 /* SYSCFG */ 108 #define CNEN (1 << 8) /* Single-ended receiver operation Enable */ 109 #define HSE (1 << 7) /* High-Speed Operation Enable */ 111 #define DRPD (1 << 5) /* D+ Line/D- Line Resistance Control */ [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 STM32 ADC is a successive approximation analog-to-digital converter. 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt8135.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/mt8135-clk.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/mt8135-resets.h> 12 #include <dt-bindings/pinctrl/mt8135-pinfunc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 18 interrupt-parent = <&sysirq>; 20 cpu-map { [all …]
|
H A D | mt2701.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/mt2701-clk.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/power/mt2701-power.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/memory/mt2701-larb-port.h> 14 #include <dt-bindings/reset/mt2701-resets.h> 15 #include "mt2701-pinfunc.h" 18 #address-cells = <2>; [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | st,stih4xx.txt | 3 - sti-vtg: video timing generator 5 - compatible: "st,vtg" 6 - reg: Physical base address of the IP registers and length of memory mapped region. 8 - interrupts : VTG interrupt number to the CPU. 9 - st,slave: phandle on a slave vtg 11 - sti-vtac: video timing advanced inter dye communication Rx and TX 13 - compatible: "st,vtac-main" or "st,vtac-aux" 14 - reg: Physical base address of the IP registers and length of memory mapped region. 15 - clocks: from common clock binding: handle hardware IP needed clocks, the 17 See ../clocks/clock-bindings.txt for details. [all …]
|
/linux/drivers/iommu/ |
H A D | omap-iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2010 Nokia Corporation 6 * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <linux/dma-mapping.h> 19 #include <linux/omap-iommu.h> 30 #include <linux/platform_data/iommu-omap.h> 32 #include "omap-iopgtable.h" 33 #include "omap-iommu.h" 56 * to_omap_domain - Get struct omap_iommu_domain from generic iommu_domain 65 * omap_iommu_save_ctx - Save registers for pm off-mode support [all …]
|
/linux/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/irq.h> 29 #include <linux/pinctrl/pinconf-generic.h> 36 #include "../pinctrl-utils.h" 37 #include "pinctrl-stm32.h" 150 return function - 1; in stm32_gpio_get_alt() 161 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value() 162 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value() 168 bank->pin_backup[offset] &= ~(STM32_GPIO_BKP_MODE_MASK | in stm32_gpio_backup_mode() 170 bank->pin_backup[offset] |= mode << STM32_GPIO_BKP_MODE_SHIFT; in stm32_gpio_backup_mode() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-stm32f7.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * This driver is based on i2c-stm32f4.c 21 #include <linux/i2c-smbus.h> 38 #include "i2c-stm32.h" 186 * struct stm32f7_i2c_regs - i2c f7 registers backup 202 * struct stm32f7_i2c_spec - private i2c specification timing 224 * struct stm32f7_i2c_setup - private I2C timing setup parameters 244 * struct stm32f7_i2c_timings - private I2C output parameters 262 * struct stm32f7_i2c_msg - client specific data 263 * @addr: 8-bit or 10-bit slave addr, including r/w bit [all …]
|
/linux/drivers/ata/ |
H A D | sata_sil.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_sil.c - Silicon Image SATA 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2003-2005 Red Hat, Inc. 13 * as Documentation/driver-api/libata.rst 16 * http://gkernel.sourceforge.net/specs/sii/3112A_SiI-DS-0095-B2.pdf.bz2 65 /* SYSCFG */ 78 SIL_DMA_RDWR = (1 << 3), /* DMA Rd-Wr */ 82 SIL_DMA_COMPLETE = (1 << 18), /* cmd complete / IRQ pending */ 127 /* TODO firmware versions should be added - eric */ [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-st.c | 1 // SPDX-License-Identifier: GPL-2.0-only 100 * (direction, retime-type, retime-clk, retime-delay) 102 * +----------------+ 103 *[31:28]| reserved-3 | 104 * +----------------+------------- 106 * +----------------+ v 108 * +----------------+ ^ 110 * +----------------+------------- 111 *[24] | reserved-2 | 112 * +----------------+------------- [all …]
|