/linux/arch/arm64/boot/dts/nuvoton/ |
H A D | ma35d1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Author: Shan-Chun Hung <schung@nuvoton.com> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> 12 #include <dt-bindings/reset/nuvoton,ma35d1-reset.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
H A D | nuvoton-common-npcm8xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/clock/nuvoton,npcm845-clk.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 16 compatible = "simple-bus"; [all …]
|
/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc32xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com> 9 #include <dt-bindings/clock/lpc32xx-clock.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&mic>; 19 #address-cells = <1>; 20 #size-cells = <0>; 23 compatible = "arm,arm926ej-s"; [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | cv18xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/clock/sophgo,cv1800.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 timebase-frequency = <25000000>; 24 d-cache-block-size = <64>; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-lsio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 10 lsio_bus_clk: clock-lsio-bus { 11 compatible = "fixed-clock"; 12 #clock-cells = <0>; 13 clock-frequency = <100000000>; 14 clock-output-names = "lsio_bus_clk"; 18 compatible = "simple-bus"; [all …]
|
H A D | imx8mn.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mn-clock.h> 7 #include <dt-bindings/power/imx8mn-power.h> 8 #include <dt-bindings/reset/imx8mq-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 14 #include "imx8mn-pinfunc.h" 17 interrupt-parent = <&gic>; [all …]
|
H A D | imx8mp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mp-clock.h> 7 #include <dt-bindings/power/imx8mp-power.h> 8 #include <dt-bindings/reset/imx8mp-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interconnect/fsl,imx8mp.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 15 #include "imx8mp-pinfunc.h" [all …]
|
H A D | imx8-ss-dma.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/dma/fsl-edma.h> 9 #include <dt-bindings/firmware/imx/rsrc.h> 11 dma_ipg_clk: clock-dma-ipg { 12 compatible = "fixed-clock"; 13 #clock-cells = <0>; 14 clock-frequency = <120000000>; 15 clock-output-names = "dma_ipg_clk"; [all …]
|
/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | nxp,imx8mq-dcss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/imx/nxp,imx8mq-dcss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Laurentiu Palcu <laurentiu.palcu@nxp.com> 17 2.2) or MIPI-DSI. The DCSS is intended to support up to 4kp60 displays. HDR10 23 const: nxp,imx8mq-dcss 27 - description: DCSS base address and size, up to IRQ steer start 28 - description: DCSS BLKCTL base address and size 32 - description: Context loader completion and error interrupt [all …]
|
/linux/drivers/clocksource/ |
H A D | timer-of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk.h> 8 #include <linux/interrupt.h> 14 #include "timer-of.h" 17 * timer_of_irq_exit - Release the interrupt 26 struct clock_event_device *clkevt = &to->clkevt; in timer_of_irq_exit() 28 free_irq(of_irq->irq, clkevt); in timer_of_irq_exit() 32 * timer_of_irq_init - Request the interrupt 36 * Get the interrupt number from the DT from its definition and 37 * request it. The interrupt is gotten by falling back the following way: [all …]
|
H A D | timer-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-pxa/time.c 5 * PXA clocksource, clockevents, and OST interrupt handlers. 14 #include <linux/interrupt.h> 15 #include <linux/clk.h> 34 #define OIER 0x1C /* OS Timer Interrupt Enable Register */ 41 #define OIER_E0 (1 << 0) /* Interrupt enable channel 0 */ 73 c->event_handler(c); in pxa_ost0_interrupt() 88 return (signed)(next - oscr) <= MIN_OSCR_DELTA ? -ETIME : 0; in pxa_osmr0_set_next_event() 117 * the one-shot timer interrupt. We adjust OSMR0 in preference in pxa_timer_resume() [all …]
|
H A D | timer-lpc32xx.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * time-efm32 Copyright (C) 2013 Pengutronix 9 * mach-lpc32xx/timer.c Copyright (C) 2009 - 2010 NXP Semiconductors 14 #include <linux/clk.h> 18 #include <linux/interrupt.h> 72 * in MR0 register the match will trigger an interrupt. in lpc32xx_clkevt_next_event() 75 writel_relaxed(LPC32XX_TIMER_TCR_CRST, ddata->base + LPC32XX_TIMER_TCR); in lpc32xx_clkevt_next_event() 76 writel_relaxed(delta, ddata->base + LPC32XX_TIMER_MR0); in lpc32xx_clkevt_next_event() 77 writel_relaxed(LPC32XX_TIMER_TCR_CEN, ddata->base + LPC32XX_TIMER_TCR); in lpc32xx_clkevt_next_event() 88 writel_relaxed(0, ddata->base + LPC32XX_TIMER_TCR); in lpc32xx_clkevt_shutdown() [all …]
|
H A D | nomadik-mtu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010 Linus Walleij for ST-Ericsson 8 #include <linux/interrupt.h> 16 #include <linux/clk.h> 28 #define MTU_IMSC 0x00 /* Interrupt mask set/clear */ 29 #define MTU_RIS 0x04 /* Raw interrupt status */ 30 #define MTU_MIS 0x08 /* Masked interrupt status */ 31 #define MTU_ICR 0x0C /* Interrupt clear register */ 33 /* per-timer registers take 0..3 as argument */ 41 #define MTU_CRn_PERIODIC 0x40 /* if 0 = free-running */ [all …]
|
H A D | timer-cadence-ttc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Xilinx 10 #include <linux/clk.h> 11 #include <linux/interrupt.h> 23 * This driver configures the 2 16/32-bit count-up timers as follows: 30 * common to all the timer channels (T1, T2, and T3). With a pre-scaler of 32, 34 * obtained from device tree. The pre-scaler of 32 is used. 45 #define TTC_ISR_OFFSET 0x54 /* Interrupt Status Reg, RO */ 46 #define TTC_IER_OFFSET 0x60 /* Interrupt Enable Reg, RW */ 55 * Setup the timers to use pre-scaling, using a fixed value for now that will [all …]
|
/linux/arch/arm64/boot/dts/bitmain/ |
H A D | bm1880.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/bm1880-clock.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/reset/bitmain,bm1880-reset.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-a53"; [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7981b.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 #include <dt-bindings/clock/mediatek,mt7981-clk.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/reset/mt7986-resets.h> 9 interrupt-parent = <&gic>; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "arm,cortex-a53"; [all …]
|
/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/reset/altr,rst-mgr.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <0>; 24 enable-method = "altr,socfpga-smp"; 27 compatible = "arm,cortex-a9"; 30 next-level-cache = <&L2>; 33 compatible = "arm,cortex-a9"; [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. 16 First type is via irqmux, single interrupt is used by multiple gpio banks. This 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)] 26 Second type has a dedicated interrupt per gpio bank. [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-mxc_v2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc. 8 #include <linux/clk.h> 26 #define SRTC_LPSR_NVES BIT(14) /* lp non-valid state exit status */ 42 struct clk *clk; member 51 * The caller should hold the pdata->lock 63 if (!--timeout) { in mxc_rtc_sync_lp_locked() 71 /* This function is the RTC interrupt service routine. */ 76 void __iomem *ioaddr = pdata->ioaddr; in mxc_rtc_interrupt() 80 spin_lock(&pdata->lock); in mxc_rtc_interrupt() [all …]
|
/linux/arch/mips/lantiq/xway/ |
H A D | gptu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/interrupt.h> 16 #include "../clk.h" 24 /* interrupt node enable */ 26 /* interrupt control register */ 28 /* interrupt capture register */ 76 int timer = irq - irqres[0].start; in timer_irq_handler() 95 static int gptu_enable(struct clk *clk) in gptu_enable() argument 97 int ret = request_irq(irqres[clk->bits].start, timer_irq_handler, in gptu_enable() 105 GPTU_CON(clk->bits)); in gptu_enable() [all …]
|
/linux/drivers/watchdog/ |
H A D | sa1100_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * "AS-IS" and at no charge. 21 #include <linux/clk.h> 40 #define REG_OWER 0x0018 /* OS timer Watch-dog Enable Reg. */ 41 #define REG_OIER 0x001C /* OS timer Interrupt Enable Reg. */ 50 #define OIER_E3 (1 << 3) /* Interrupt enable channel 3 */ 51 #define OIER_E2 (1 << 2) /* Interrupt enable channel 2 */ 52 #define OIER_E1 (1 << 1) /* Interrupt enable channel 1 */ 53 #define OIER_E0 (1 << 0) /* Interrupt enable channel 0 */ 77 return -EBUSY; in sa1100dog_open() [all …]
|
/linux/drivers/spi/ |
H A D | spi-meson-spicc.c | 7 * SPDX-License-Identifier: GPL-2.0+ 11 #include <linux/clk.h> 12 #include <linux/clk-provider.h> 21 #include <linux/interrupt.h> 30 * - all transfers are cutted in 16 words burst because the FIFO hangs on 31 * TX underflow, and there is no TX "Half-Empty" interrupt, so we go by 33 * - CS management is dumb, and goes UP between every burst, so is really a 68 #define SPICC_TE_EN BIT(0) /* TX FIFO Empty Interrupt */ 69 #define SPICC_TH_EN BIT(1) /* TX FIFO Half-Full Interrupt */ 70 #define SPICC_TF_EN BIT(2) /* TX FIFO Full Interrupt */ [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,lpass-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Rohit kumar <quic_rohkumar@quicinc.com> 14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist 16 is a module to configure Low-Power Audio Interface(LPAIF) core registers 22 - qcom,lpass-cpu 23 - qcom,apq8016-lpass-cpu [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7885-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Exynos7885 SoC pin-mux and pin-config device tree source 8 * Samsung's Exynos7885 SoC pin-mux and pin-config options are listed as 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include "exynos-pinctrl.h" 16 etc0: etc0-gpio-bank { 17 gpio-controller; 18 #gpio-cells = <2>; 20 interrupt-controller; 21 #interrupt-cells = <2>; [all …]
|
/linux/arch/arc/boot/dts/ |
H A D | hsdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/reset/snps,hsdk-reset.h> 18 #address-cells = <2>; 19 #size-cells = <2>; 22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; 30 #address-cells = <1>; 31 #size-cells = <0>; 62 input_clk: input-clk { [all …]
|