| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | ti,tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
| H A D | cirrus,cs42l43.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 for portable applications. It provides a high dynamic range, stereo 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 33 Power supply for the high voltage interface. 35 vdd-a-supply: [all …]
|
| /linux/drivers/irqchip/ |
| H A D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 47 #define pin_to_hwirq(r, p) ((r)->parent_base + (p) - (r)->pin_base) 79 /* Use previous DRV (client) region and shift to bank 3-4 */ in pdc_x1e_irq_enable_write() 84 /* Use our own region and shift to bank 0-2 */ in pdc_x1e_irq_enable_write() 86 bank -= 2; in pdc_x1e_irq_enable_write() 129 __pdc_enable_intr(d->hwirq, on); in pdc_enable_intr() 146 * GIC does not handle falling edge or active low. To allow falling edge and 148 * falling edge into a rising edge and active low into an active high. 152 * Rising edge sensitive NOT USED [all …]
|
| H A D | irq-lpc32xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2015-2016 Vladimir Zapolskiy <vz@mleia.com> 37 return readl_relaxed(ic->base + reg); in lpc32xx_ic_read() 43 writel_relaxed(val, ic->base + reg); in lpc32xx_ic_write() 49 u32 val, mask = BIT(d->hwirq); in lpc32xx_irq_mask() 58 u32 val, mask = BIT(d->hwirq); in lpc32xx_irq_unmask() 67 u32 mask = BIT(d->hwirq); in lpc32xx_irq_ack() 75 u32 val, mask = BIT(d->hwirq); in lpc32xx_irq_set_type() 76 bool high, edge; in lpc32xx_irq_set_type() local 80 edge = true; in lpc32xx_irq_set_type() [all …]
|
| H A D | irq-aspeed-vic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2015 - Ben Herrenschmidt, IBM Corp. 7 * Based on irq-vic.c: 9 * Copyright (C) 1999 - 2003 ARM Limited 32 * register set that interleaves "high" and "low". The offsets 33 * below are for the "low" register, add 4 to get to the high one 63 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR); in vic_init_hw() 64 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4); in vic_init_hw() 67 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR); in vic_init_hw() 68 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4); in vic_init_hw() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | m88ds3103.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * enum m88ds3103_ts_mode - TS connection mode 47 * struct m88ds3103_platform_data - Platform data for the m88ds3103 driver 52 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising 53 * edge. 59 * @lnb_hv_pol: LNB H/V pin polarity. 0: pin high set to VOLTAGE_18, pin low to 60 * set VOLTAGE_13. 1: pin high set to VOLTAGE_13, pin low to set VOLTAGE_18. 61 * @lnb_en_pol: LNB enable pin polarity. 0: pin high to disable, pin low to 62 * enable. 1: pin high to enable, pin low to disable. 88 * struct m88ds3103_config - m88ds3102 configuration [all …]
|
| /linux/Documentation/core-api/ |
| H A D | genericirq.rst | 7 :Copyright: |copy| 2005-2010: Thomas Gleixner 8 :Copyright: |copy| 2005-2006: Ingo Molnar 29 __do_IRQ() super-handler, which is able to deal with every type of 36 - Level type 38 - Edge type 40 - Simple type 44 - Fast EOI type 46 In the SMP world of the __do_IRQ() super-handler another type was 49 - Per CPU type 51 This split implementation of high-level IRQ handlers allows us to [all …]
|
| /linux/drivers/media/rc/ |
| H A D | serial_ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * serial_ir - Device driver that records pulse- and pause-lengths 6 * (space-lengths) between DDCD event on a serial port. 8 * Copyright (C) 1996,97 Ralph Metzler <rjkm@thp.uni-koeln.de> 13 * Copyright (C) 2016 Sean Young <sean@mess.org> (port to rc-core) 28 #include <media/rc-core.h> 37 void (*send_pulse)(unsigned int length, ktime_t edge); 56 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ 57 static bool txsense; /* 0 = active high, 1 = active low */ 60 static void send_pulse_irdeo(unsigned int length, ktime_t edge); [all …]
|
| /linux/drivers/iio/common/st_sensors/ |
| H A D | st_sensors_trigger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 19 * st_sensors_new_samples_available() - check if more samples came in 24 * false - no new samples available or read error 25 * true - new samples available 33 if (!sdata->sensor_settings->drdy_irq.stat_drdy.addr) in st_sensors_new_samples_available() 37 if (!indio_dev->active_scan_mask) in st_sensors_new_samples_available() 40 ret = regmap_read(sdata->regmap, in st_sensors_new_samples_available() 41 sdata->sensor_settings->drdy_irq.stat_drdy.addr, in st_sensors_new_samples_available() 44 dev_err(indio_dev->dev.parent, in st_sensors_new_samples_available() [all …]
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 15 This binding supports level and edge triggered reset. At driver load time, the driver will 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-timing.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 20 +-------+----------+-------------------------------------+----------+ 24 +-------+----------+-------------------------------------+----------+ 28 +-------+----------#######################################----------+ 33 |<----->|<-------->#<-------+--------------------------->#<-------->| [all …]
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | img,pdc-intc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/img,pdc-intc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - James Hogan <jhogan@kernel.org> 19 const: img,pdc-intc 24 interrupt-controller: true 26 '#interrupt-cells': 28 <1st-cell>: The interrupt-number that identifies the interrupt source. 29 0-7: Peripheral interrupts [all …]
|
| H A D | arm,gic-v5-iwb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v5-iwb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lpieralisi@kernel.org> 11 - Marc Zyngier <maz@kernel.org> 24 - $ref: /schemas/interrupt-controller.yaml# 28 const: arm,gic-v5-iwb 32 - description: IWB control frame 34 "#address-cells": [all …]
|
| /linux/include/media/i2c/ |
| H A D | tvp7002.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* Texas Instruments Triple 8-/10-BIT 165-/110-MSPS Video and Graphics 6 * Author: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com> 19 * struct tvp7002_config - Platform dependent data 21 * 0 - Data clocked out on rising edge of DATACLK signal 22 * 1 - Data clocked out on falling edge of DATACLK signal 24 * 0 - Active low HSYNC output, 1 - Active high HSYNC output 26 * 0 - Active low VSYNC output, 1 - Active high VSYNC output 27 *@fid_polarity: Active-high Field ID polarity. 28 * 0 - The field ID output is set to logic 1 for an odd field [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-axi-clkgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 9 #include <linux/adi-axi-common.h> 12 #include <linux/clk-provider.h> 151 d_min = max(DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params() 152 d_max = min(fin / limits->fpfd_min, 80); in axi_clkgen_calc_params() 155 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params() 156 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params() 171 if (abs(f - fout) < abs(best_f - fout)) { in axi_clkgen_calc_params() [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | rotary-encoder.rst | 2 rotary-encoder - a generic driver for GPIO connected devices 8 -------- 11 peripherals with two wires. The outputs are phase-shifted by 90 degrees 16 a stable state with both outputs high (half-period mode) and some have 17 a stable state in all steps (quarter-period mode). 33 |<-------->| 36 |<-->| 37 one step (half-period mode) 40 one step (quarter-period mode) 47 ---------------------- [all …]
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| H A D | maxim-ds1302.txt | 1 * Maxim/Dallas Semiconductor DS-1302 RTC 5 The device uses the standard MicroWire half-duplex transfer timing. 7 edge. Master input is set by the RTC on the trailing edge and is sensed 12 - compatible : Should be "maxim,ds1302" 16 - reg : Should be address of the device chip select within 19 - spi-max-frequency : DS-1302 has 500 kHz if powered at 2.2V, 22 - spi-3wire : The device has a shared signal IN/OUT line. 24 - spi-lsb-first : DS-1302 requires least significant bit first 27 - spi-cs-high: DS-1302 has active high chip select line. This is 33 #address-cells = <1>; [all …]
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | icpdas-lp8841-spi-rtc.txt | 1 * ICP DAS LP-8841 SPI Controller for RTC 3 ICP DAS LP-8841 contains a DS-1302 RTC. RTC is connected to an IO 6 The device uses the standard MicroWire half-duplex transfer timing. 8 edge. Master input is set by the RTC on the trailing edge and is sensed 13 - #address-cells: should be 1 15 - #size-cells: should be 0 17 - compatible: should be "icpdas,lp8841-spi-rtc" 19 - reg: should provide IO memory address 23 - There can be only one slave device. 25 - The spi slave node should claim the following flags which are [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | uncore-memory.json | 12 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (w/ and w/out auto-pre)", 30 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM RD_CAS (w/ and w/out auto-pre)", 57 …"BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read… 66 …"BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Writ… 79 "PublicDescription": "Uncore Fixed Counter - uclks", 95 "EventName": "UNC_M_DRAM_REFRESH.HIGH", 126 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 136 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 146 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… 156 …ected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or di… [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-at91.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Parallel I/O Controller (PIO) - System peripherals registers. 29 #define PIO_MDER 0x50 /* Multi-driver Enable Register */ 30 #define PIO_MDDR 0x54 /* Multi-driver Disable Register */ 31 #define PIO_MDSR 0x58 /* Multi-driver Status Register */ 32 #define PIO_PUDR 0x60 /* Pull-up Disable Register */ 33 #define PIO_PUER 0x64 /* Pull-up Enable Register */ 34 #define PIO_PUSR 0x68 /* Pull-up Status Register */ 45 #define PIO_PPDDR 0x90 /* Pad Pull-down Disable Register */ 46 #define PIO_PPDER 0x94 /* Pad Pull-down Enable Register */ [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | nvidia,tegra20-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/nvidia,tegra20-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra GPIO Controller (Tegra20 - Tegra210) 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - enum: 17 - nvidia,tegra20-gpio 18 - nvidia,tegra30-gpio [all …]
|
| H A D | socionext,uniphier-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/socionext,uniphier-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 14 pattern: "^gpio@[0-9a-f]+$" 17 const: socionext,uniphier-gpio 22 gpio-controller: true 24 "#gpio-cells": 27 interrupt-controller: true [all …]
|
| H A D | aspeed,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Jeffery <andrew@aj.id.au> 17 - Support interrupt option for each input port and various interrupt 18 sensitivity option (level-high, level-low, edge-high, edge-low) 19 - Support reset tolerance option for each output port 20 - Directly connected to APB bus and its shift clock is from APB bus clock 22 - Co-work with external signal-chained TTL components (74LV165/74LV595) 27 - aspeed,ast2400-sgpio [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 26 non-dedicated pin can be configured as a GPIO; and most chips have at least 31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 36 - Output values are writable (high=1, low=0). Some chips also have 38 value might be driven, supporting "wire-OR" and similar schemes for the 41 - Input values are likewise readable (1, 0). Some chips support readback 42 of pins configured as "output", which is very useful in such "wire-OR" 44 input de-glitch/debounce logic, sometimes with software controls. 46 - Inputs can often be used as IRQ signals, often edge triggered but [all …]
|