/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | canaan,k210-fpioa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/canaan,k210-fpioa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Damien Le Moal <dlemoal@kernel.org> 16 a per-pin basis. 20 const: canaan,k210-fpioa 29 - description: Controller reference clock source 30 - description: APB interface clock source 32 clock-names: [all …]
|
/linux/Documentation/devicetree/bindings/display/ti/ |
H A D | ti,omap4-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap4-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 14 - clocks: handle to fclk 15 - clock-names: "fck" 18 - DISPC 21 - DSS Submodules: RFBI, VENC, DSI, HDMI 22 - Video port for DPI output [all …]
|
H A D | ti,omap3-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap3-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 14 - clocks: handle to fclk 15 - clock-names: "fck" 18 - Video ports: 19 - Port 0: DPI output 20 - Port 1: SDI output [all …]
|
H A D | ti,omap2-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap2-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 16 - Video port for DPI output 19 - data-lines: number of lines used 23 ----- 26 - compatible: "ti,omap2-dispc" 27 - reg: address and length of the register space [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 15 analog output, analog input, digital output, digital input, resistance 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 14 converter's output voltage in mV. The range is from 2550mV to 12000mV with 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value. 32 - cirrus,multi-amp-mode : Boolean to determine if there are more than 33 one amplifier in the system. If more than one it is best to Hi-Z the ASP 34 port to prevent bus contention on the output signal [all …]
|
H A D | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 28 '#sound-dai-cells': 33 reset-gpios: 36 VA-supply: 39 VP-supply: [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 16 DAC for headphone output, two integrated Class D amplifiers for 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 35 vdd-a-supply: 39 vdd-d-supply: [all …]
|
H A D | everest,es8326.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Yang <yangxiaohua@everest-semi.com> 21 - description: clock for master clock (MCLK) 23 clock-names: 25 - const: mclk 27 "#sound-dai-cells": 30 everest,jack-pol: 33 just the value of reg 57. Bit(3) decides whether the jack polarity is inverted. [all …]
|
/linux/include/dt-bindings/sound/ |
H A D | cs35l45.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header 12 * cirrus,asp-sdout-hiz-ctrl 14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots. 15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled. 21 * Optional GPIOX Sub-nodes: 22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3]) 23 * sub-nodes for configuring the GPIO pins. 25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl' 27 * 0 = Output [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 49 dividend = dest->period; in pwm_gpio_round() 51 dest->period -= remainder; in pwm_gpio_round() 53 dividend = dest->duty_cycle; in pwm_gpio_round() 55 dest->duty_cycle -= remainder; in pwm_gpio_round() 60 const struct pwm_state *state = &gpwm->state; in pwm_gpio_toggle() 61 bool invert = state->polarity == PWM_POLARITY_INVERSED; in pwm_gpio_toggle() local 63 gpwm->level = level; in pwm_gpio_toggle() 64 gpiod_set_value(gpwm->gpio, gpwm->level ^ invert); in pwm_gpio_toggle() 66 if (!state->duty_cycle || state->duty_cycle == state->period) { in pwm_gpio_toggle() [all …]
|
H A D | pwm-samsung.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org> 59 * struct samsung_pwm_channel - private data of PWM channel 71 * struct samsung_pwm_chip - private data of PWM chip 73 * @inverter_mask: inverter status for all channels - one bit per channel 74 * @disabled_mask: disabled status for all channels - one bit per channel 95 * PWM block is shared between pwm-samsung and samsung_pwm_timer drivers 123 unsigned int tcon_chan = to_tcon_channel(pwm->hwpwm); in __pwm_samsung_manual_update() 126 tcon = readl(our_chip->base + REG_TCON); in __pwm_samsung_manual_update() 128 writel(tcon, our_chip->base + REG_TCON); in __pwm_samsung_manual_update() [all …]
|
H A D | pwm-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 7 * - The .apply callback doesn't complete the currently running period before 15 #include <linux/mfd/ingenic-tcu.h> 40 u32 pwm_channels_mask = GENMASK(chip->npwm - 1, 2); in jz4740_pwm_can_use_chn() 42 device_property_read_u32(pwmchip_parent(chip)->parent, in jz4740_pwm_can_use_chn() 43 "ingenic,pwm-channels-mask", in jz4740_pwm_can_use_chn() 56 if (!jz4740_pwm_can_use_chn(chip, pwm->hwpwm)) in jz4740_pwm_request() 57 return -EBUSY; in jz4740_pwm_request() 59 snprintf(name, sizeof(name), "timer%u", pwm->hwpwm); in jz4740_pwm_request() [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | st,st-vgxy61.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/i2c/st,st-vgxy61.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Mugnier <benjamin.mugnier@foss.st.com> 12 - Sylvain Petinot <sylvain.petinot@foss.st.com> 14 description: |- 15 STMicroelectronics VGxy61 family has a CSI-2 output port. CSI-2 output is a 19 - VG5661 and VG6661 are 1.6 Mpx (1464 x 1104) monochrome and color sensors. 21 - VG5761 and VG6761 are 2.3 Mpx (1944 x 1204) monochrome and color sensors. [all …]
|
/linux/drivers/media/i2c/ |
H A D | tda1997x_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* Page 0x00 - General Control */ 158 #define HPD_MAN_CTRL_5VEN BIT(2) /* Output 5V */ 165 #define RT_MAN_CTRL_RT_B BIT(1) /* enable TMDS pull-up on Input B */ 166 #define RT_MAN_CTRL_RT_A BIT(0) /* enable TMDS pull-up on Input A */ 212 #define PCLK_DELAY_SHIFT 4 /* Pixel delay (-8..+7) */ 227 /* Page 0x01 - HDMI info and packets */ 247 /* Page 0x12 - HDMI Extra control and debug */ 279 /* Page 0x13 - HDMI Extra control and debug */ 351 /* Page 0x14 - Audio Extra control and debug */ [all …]
|
/linux/include/media/i2c/ |
H A D | tda1997x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * tda1997x - NXP HDMI receiver 17 /* pin polarity (1=invert) */ 22 /* clock delays (0=-8, 1=-7 ... 15=+7 pixels) */ 32 /* Audio Port Output */ 39 bool audio_auto_mute; /* enable hardware audio auto-mute */
|
/linux/Documentation/hwmon/ |
H A D | ds1621.rst | 47 - Christian W. Zuckschwerdt <zany@triq.net> 48 - valuable contributions by Jan M. Sendler <sendler@sendler.de> 49 - ported to 2.6 by Aurelien Jarno <aurelien@aurel32.net> 53 ------------------ 55 * polarity int 56 Output's polarity: 62 ----------- 66 programmed into non-volatile on-chip registers). Temperature range is -55 68 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 71 As for the thermostat, behavior can also be programmed using the polarity [all …]
|
/linux/include/sound/sof/ |
H A D | dai-intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 61 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */ 93 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */ 101 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */ 112 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */ 118 * 1. If a device mixes different microphones types with different polarity 119 * and/or the absolute polarity matters the PCM signal from a microphone 138 uint16_t polarity_mic_a; /**< Optionally invert mic A signal (0 or 1) */ 139 uint16_t polarity_mic_b; /**< Optionally invert mic B signal (0 or 1) */ 155 * range 1.0 - 3.2 MHz is usually supported microphones. Some microphones are [all …]
|
/linux/include/linux/iio/frequency/ |
H A D | ad9523.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * struct ad9523_channel_spec - Output channel configuration 40 * @channel_num: Output channel number. 41 * @divider_output_invert_en: Invert the polarity of the output clock. 42 * @sync_ignore_en: Ignore chip-level SYNC signal. 43 * @low_power_mode_en: Reduce power used in the differential output modes. 46 * @driver_mode: Output driver mode (logic level family). 49 * @channel_divider: 10-bit channel divider. 106 * struct ad9523_platform_data - platform specific information 109 * @refa_diff_rcv_en: REFA differential/single-ended input selection. [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-k210.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/pinctrl/pinconf-generic.h> 21 #include <dt-bindings/pinctrl/k210-fpioa.h> 25 #include "pinctrl-utils.h" 45 * output enabled == PC_OE & (PC_OE_INV ^ FUNCTION_OE) 48 #define K210_PC_OE BIT(12) /* Output Enable */ 49 #define K210_PC_OE_INV BIT(13) /* INVert Output Enable */ 50 #define K210_PC_DO_OE BIT(14) /* set Data Out to Output Enable sig */ 51 #define K210_PC_DO_INV BIT(15) /* INVert final Data Output */ 58 #define K210_PC_IE_INV BIT(21) /* INVert Input Enable */ [all …]
|
/linux/sound/soc/codecs/ |
H A D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ 85 SND_SOC_DAPM_PGA("DAC Output", AD193X_DAC_CTRL0, 0, 1, NULL, 0), 105 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in ad193x_check_pll() 108 return !!ad193x->sysclk; in ad193x_check_pll() 113 { "DAC Output", NULL, "DAC" }, 114 { "DAC Output", NULL, "VMID" }, [all …]
|
H A D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 50 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 56 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 57 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
/linux/sound/soc/sunxi/ |
H A D | sun4i-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Maxime Ripard <maxime.ripard@free-electrons.com> 22 #include <sound/soc-dai.h> 85 #define SUN4I_I2S_CHAN_SEL(num_chan) (((num_chan) - 1) << 0) 93 /* Defines required for sun8i-h3 support */ 106 #define SUN8I_I2S_FMT0_LRCK_PERIOD(period) ((period - 1) << 8) 119 #define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(chan) ((chan - 1) << 4) 121 #define SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM(chan) (chan - 1) 128 #define SUN8I_I2S_TX_CHAN_EN(num_chan) (((1 << num_chan) - 1) << 4) 133 /* Defines required for sun50i-h6 support */ [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-pca953x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include <linux/pinctrl/pinconf-generic.h> 135 { "irq-gpios", &pca953x_irq_gpios, 1, ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER }, 161 * relative. Since first controller (gpio-sch.c) and 162 * second (gpio-dwapb.c) are at the fixed bases, we may 184 #define NBANK(chip) DIV_ROUND_UP(chip->gpio_chip.ngpio, BANK_SZ) 188 int output; member 190 int invert; member 195 .output = PCA953X_OUTPUT, 197 .invert = PCA953X_INVERT, [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad9467.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2020 Analog Devices Inc. 32 * ADI High-Speed ADC common spi interface registers 33 * See Application-Note AN-877: 34 * https://www.analog.com/media/en/technical-documentation/application-notes/AN-877.pdf 85 * Analog Devices AD9265 16-Bit, 125/105/80 MSPS ADC 93 * Analog Devices AD9434 12-Bit, 370/500 MSPS ADC 101 * Analog Devices AD9467 16-Bit, 200/250 MSPS ADC 109 * Analog Devices AD9643 14-Bit, 170/210/250 MSPS ADC 116 * Analog Devices AD9652 16-bit 310 MSPS ADC [all …]
|