| /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 | cs35l34.txt | 5   - compatible : "cirrus,cs35l34"7   - reg : the I2C address of the device for I2C.
 9   - VA-supply, VP-supply : power supplies for the device,
 13   - cirrus,boost-vtge-millivolt : Boost Voltage Value.  Configures the boost
 17   - cirrus,boost-nanohenry: Inductor value for boost converter. The value is
 22   - reset-gpios: GPIO used to reset the amplifier.
 24   - interrupts : IRQ line info CS35L34.
 25     (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
 28   - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The
 32   - cirrus,i2s-sdinloc : ADSP SDIN I2S channel location. Indicates whether the
 [all …]
 
 | 
| /linux/drivers/irqchip/ | 
| H A D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.03  * 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
 147  * active low interrupts to be handled at GIC, PDC has an inverter that inverts
 148  * falling edge into a rising edge and active low into an active high.
 [all …]
 
 | 
| H A D | irq-aspeed-vic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  *  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/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/drivers/iio/common/st_sensors/ | 
| H A D | st_sensors_trigger.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  * 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/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/drivers/media/rc/ | 
| H A D | serial_ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later5  * 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/Documentation/arch/arm/pxa/ | 
| H A D | mfp.rst | 7 MFP stands for Multi-Function Pin, which is the pin-mux logic on PXA3xx and15 mechanism is introduced from PXA3xx to completely move the pin-mux functions
 16 out of the GPIO controller. In addition to pin-mux configurations, the MFP
 17 also controls the low power state, driving strength, pull-up/down and event
 21  +--------+
 22  |        |--(GPIO19)--+
 24  |        |--(GPIO...) |
 25  +--------+            |
 26                        |       +---------+
 27  +--------+            +------>|         |
 [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/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ | 
| H A D | fsl,qe-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: PowerQUICC QE Time-slot assigner (TSA) controller
 10   - Herve Codina <herve.codina@bootlin.com>
 13   The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
 14   Its purpose is to route some TDM time-slots to other internal serial
 20       - enum:
 21           - fsl,mpc8321-tsa
 [all …]
 
 | 
| /linux/drivers/staging/greybus/ | 
| H A D | audio_apbridgea.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */3  * Copyright (c) 2015-2016 Google Inc.
 8  * we can predefine several low-level attributes of the communication
 11  *	- there are two channels (i.e., stereo)
 12  *	- the low-level protocol is I2S as defined by Philips/NXP
 13  *	- the DSP on the MSM8994 is the clock master for MCLK, BCLK, and WCLK
 14  *	- WCLK changes on the falling edge of BCLK
 15  *	- WCLK low for left channel; high for right channel
 16  *	- TX data is sent on the falling edge of BCLK
 17  *	- RX data is received/latched on the rising edge of BCLK
 
 | 
| /linux/Documentation/input/devices/ | 
| H A D | rotary-encoder.rst | 2 rotary-encoder - a generic driver for GPIO connected devices8 --------
 11 peripherals with two wires. The outputs are phase-shifted by 90 degrees
 15 Some encoders have both outputs low in stable states, others also have
 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)
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/spi/ | 
| H A D | icpdas-lp8841-spi-rtc.txt | 1 * ICP DAS LP-8841 SPI Controller for RTC3 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.
 7 Master output is set on low clock and sensed by the RTC on the rising
 8 edge. Master input is set by the RTC on the trailing edge and is sensed
 9 by the master on low clock.
 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
 [all …]
 
 | 
| /linux/drivers/clk/ | 
| H A D | clk-axi-clkgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only5  * 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/core-api/ | 
| H A D | genericirq.rst | 7 :Copyright: |copy| 2005-2010: Thomas Gleixner8 :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/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 …]
 
 | 
| /linux/Documentation/devicetree/bindings/rtc/ | 
| H A D | maxim-ds1302.txt | 1 * Maxim/Dallas Semiconductor DS-1302 RTC5 The device uses the standard MicroWire half-duplex transfer timing.
 6 Master output is set on low clock and sensed by the RTC on the rising
 7 edge. Master input is set by the RTC on the trailing edge and is sensed
 8 by the master on low clock.
 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
 [all …]
 
 | 
| /linux/Documentation/driver-api/gpio/ | 
| H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled25 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 …]
 
 | 
| /linux/sound/pci/ice1712/ | 
| H A D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */8  *   Lowlevel functions for M-Audio Delta 1010, 44, 66, Dio2496, Audiophile
 44  *  MidiMan M-Audio Delta GPIO definitions
 47 /* MidiMan M-Audio Delta shared pins */
 57 					/* (writing on rising edge - 0->1) */
 64 /* MidiMan M-Audio DeltaDiO */
 73 /* MidiMan M-Audio Delta1010 */
 79 					/* 1 - clock are taken from S/PDIF input */
 80 					/* 0 - clock are taken from Word Clock input */
 85 /* MidiMan M-Audio Delta66 */
 [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/atm/ | 
| H A D | nicstarmac.c | 1 // SPDX-License-Identifier: GPL-2.027 /* Write Data To EEProm from SI line on rising edge of CLK */
 28 /* Read Data From EEProm on falling edge of CLK */
 31 #define CS_LOW		0x0000	/* Chip select low (active low) */
 33 #define CLK_LOW		0x0000	/* Clock low  */
 35 #define SI_LOW		0x0000	/* Serial input data low */
 132 	/* Done sending instruction - now pull data off of bit 16, MSB first */
 133 	/* Data clocked out of eeprom on falling edge of clock */
 136 	for (i = 7, j = 0; i >= 0; i--) {
 173 	for (i = 7; i >= 0; i--) {  in read_eprom_byte()
 [all …]
 
 |