/openbmc/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 …]
|
/openbmc/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,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 …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | pca953x_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Take linux kernel driver drivers/gpio/gpio-pca953x.c for reference. 14 * Also the Polarity Inversion feature is not supported now. 19 * 3. Support Polarity Inversion 30 #include <dt-bindings/gpio/gpio.h> 53 * struct pca953x_info - Data for pca953x 57 * @invert: Polarity inversion or not 61 * @reg_output: array to hold the value of output registers 67 int invert; member 79 int bank_shift = fls((info->gpio_count - 1) / BANK_SZ); in pca953x_write_single() [all …]
|
H A D | pca953x.c | 1 // SPDX-License-Identifier: GPL-2.0 68 return -1; in pca953x_reg_write() 76 return -1; in pca953x_reg_write() 94 return -1; in pca953x_reg_read() 98 return -1; in pca953x_reg_read() 105 * Set output value of IO pins in 'mask' to corresponding value in 'data' 114 * Set read polarity of IO pins in 'mask' to corresponding value in 'data' 124 * 0 = output, 1 = input 139 return -1; in pca953x_get_val() 153 int msb = nr_gpio - 1; in pca953x_info() [all …]
|
H A D | tca642x.c | 20 * MA 02111-1307 USA 58 ret = -1; in tca642x_reg_write() 80 ret = -1; in tca642x_reg_read() 92 * Set output value of IO pins in 'reg_bit' to corresponding value in 'data' 104 * Set read polarity of IO pins in 'reg_bit' to corresponding value in 'data' 117 * 0 = output, 1 = input 136 return -1; in tca642x_get_val() 181 return -1; in tca642x_info() 183 for (j = 7; j >= 0; j--) in tca642x_info() 189 return -1; in tca642x_info() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 38 * For an example userspace keep-alive daemon, see: 86 /* -- Low level function ----------------------------------------*/ 124 /* -- Medium level functions ------------------------------------*/ 128 /* -- General Purpose I/O Bit 1.2 -- in gpio_bit12() 129 * Bit 0, In/Out: 0 = Output, 1 = Input in gpio_bit12() [all …]
|
/openbmc/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 */
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 62 #define ADV7511_REG_GC(x) (0x4b + (x)) /* 0x4b - 0x51 */ 66 #define ADV7511_REG_AVI_INFOFRAME(x) (0x55 + (x)) /* 0x55 - 0x6f */ 70 #define ADV7511_REG_AUDIO_INFOFRAME(x) (0x73 + (x)) /* 0x73 - 0x7c */ 77 #define ADV7511_REG_AN(x) (0xb0 + (x)) /* 0xb0 - 0xb7 */ 80 #define ADV7511_REG_BKSV(x) (0xc0 + (x)) /* 0xc0 - 0xc3 */ 84 #define ADV7511_REG_BSTATUS(x) (0xca + (x)) /* 0xca - 0xcb */ 89 #define ADV7511_REG_SYNC_ADJUSTMENT(x) (0xd7 + (x)) /* 0xd7 - 0xdc */ 251 * enum adv7511_sync_polarity - Polarity for the input sync signals 252 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [all …]
|
/openbmc/u-boot/drivers/phy/marvell/ |
H A D | comphy_a3700.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2015-2016 Marvell International Ltd. 67 /*-----------------------------------------------------------*/ 144 for (timeout = PLL_LOCK_TIMEOUT; timeout > 0; timeout--) { in comphy_poll_reg() 165 static int comphy_pcie_power_up(u32 speed, u32 invert) in comphy_pcie_power_up() argument 197 * 6. Enable the output of 100M/125M/500M clock in comphy_pcie_power_up() 226 * 10. Check the Polarity invert bit in comphy_pcie_power_up() 228 if (invert & PHY_POLARITY_TXD_INVERT) in comphy_pcie_power_up() 231 if (invert & PHY_POLARITY_RXD_INVERT) in comphy_pcie_power_up() 286 * 1. Select 40-bit data width width in comphy_sata_power_up() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/pwm/ |
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 74 * @inverter_mask: inverter status for all channels - one bit per channel 75 * @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(chip->base + REG_TCON); in __pwm_samsung_manual_update() 128 writel(tcon, 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> 41 u32 pwm_channels_mask = GENMASK(jz->chip.npwm - 1, 2); in jz4740_pwm_can_use_chn() 43 device_property_read_u32(jz->chip.dev->parent, in jz4740_pwm_can_use_chn() 44 "ingenic,pwm-channels-mask", in jz4740_pwm_can_use_chn() 57 if (!jz4740_pwm_can_use_chn(jz, pwm->hwpwm)) in jz4740_pwm_request() 58 return -EBUSY; in jz4740_pwm_request() 60 snprintf(name, sizeof(name), "timer%u", pwm->hwpwm); in jz4740_pwm_request() [all …]
|
/openbmc/linux/arch/sh/boards/mach-microdev/ |
H A D | fdc37c93xapm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * SuperH SH4-202 MicroDev board support. 61 /* General-Purpose base address on CPU-board FPGA */ 80 return -ENODEV; in smsc_superio_setup() 141 * bit[0] In/Out 1==input; 0==output in smsc_superio_setup() 142 * bit[1] Polarity 1==invert; 0==no invert in smsc_superio_setup()
|