/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AT91 sama9260 and similar Analog to Digital Converter (ADC) 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - atmel,at91sam9260-adc 16 - atmel,at91sam9rl-adc 17 - atmel,at91sam9g45-adc 18 - atmel,at91sam9x5-adc [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-emstamp-argon.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 23 stdout-path = "serial0:115200n8"; 31 reserved-memory { 32 #address-cells = <1>; 33 #size-cells = <1>; 37 compatible = "shared-dma-pool"; [all …]
|
H A D | stm32mp15xx-dhcor-testbench.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 17 stdout-path = "serial0:115200n8"; 20 sd_switch: regulator-sd_switch { 21 compatible = "regulator-gpio"; 22 regulator-name = "sd_switch"; 23 regulator-min-microvolt = <1800000>; 24 regulator-max-microvolt = <2900000>; 25 regulator-type = "voltage"; 26 regulator-always-on; 29 gpios-states = <0>; [all …]
|
H A D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
H A D | stm32mp15xc-lxa-tac.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 9 #include "stm32mp15xx-osd32.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pwm/pwm.h> 28 stdout-path = &uart4; 31 led-controller-0 { [all …]
|
H A D | stm32mp15xx-dkx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/mfd/st,stpmic1.h> 22 reserved-memory { 23 #address-cells = <1>; 24 #size-cells = <1>; 28 compatible = "shared-dma-pool"; 30 no-map; 34 compatible = "shared-dma-pool"; [all …]
|
H A D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/st,stpmic1.h> 17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 24 stdout-path = "serial0:115200n8"; 32 reserved-memory { [all …]
|
H A D | stm32h743i-eval.dts | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "stm32h7-pinctrl.dtsi" 48 model = "STMicroelectronics STM32H743i-EVAL board"; 49 compatible = "st,stm32h743i-eval", "st,stm32h743"; 53 stdout-path = "serial0:115200n8"; 65 vdda: regulator-vdda { 66 compatible = "regulator-fixed"; 67 regulator-name = "vdda"; [all …]
|
H A D | stm32mp157c-phycore-stm32mp15-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de> 4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/leds/leds-pca9532.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | reset.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Luis Rodriguez <mcgrof@winlab.rutgers.edu> 5 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org> 6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 30 #include <linux/pci.h> /* To determine if a card is pci-e */ 43 * that don't fit on other places such as clock, sleep and power control 52 * ath5k_hw_register_timeout() - Poll a register for a flag/field change 64 * Returns -EAGAIN if we exceeded AR5K_TUNE_REGISTER_TIMEOUT * 15us or 0 73 for (i = AR5K_TUNE_REGISTER_TIMEOUT; i > 0; i--) { in ath5k_hw_register_timeout() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am437x-gp-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/pinctrl/am43xx.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/gpio/gpio.h> 17 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; 24 stdout-path = &uart0; 27 evm_v3_3d: fixedregulator-v3_3d { 28 compatible = "regulator-fixed"; [all …]
|
H A D | am335x-myirtech-myd.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */ 4 /* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ */ 6 /dts-v1/; 8 #include "am335x-myirtech-myc.dtsi" 10 #include <dt-bindings/display/tda998x.h> 11 #include <dt-bindings/input/input.h> 14 model = "MYIR MYD-AM335X"; 15 compatible = "myir,myd-am335x", "myir,myc-am335x", "ti,am33xx"; 18 stdout-path = &uart0; [all …]
|
H A D | am335x-icev2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 11 /dts-v1/; 16 model = "TI AM3359 ICE-V2"; 17 compatible = "ti,am3359-icev2", "ti,am33xx"; 25 stdout-path = &uart3; 29 compatible = "regulator-fixed"; 30 regulator-name = "vbat"; 31 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <5000000>; [all …]
|
H A D | am43x-epos-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/pinctrl/am43xx.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/pwm/pwm.h> 14 #include <dt-bindings/sound/tlv320aic31xx.h> 18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43"; 25 stdout-path = &uart0; 28 vmmcsd_fixed: fixedregulator-sd { [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments PCM186x Universal Audio ADC 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 47 SOC_DOUBLE_R_S_TLV("ADC Capture Volume", PCM186X_PGA_VAL_CH1_L, 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-asrock-x570d4u.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/common.h> 9 compatible = "asrock,x570d4u-bmc", "aspeed,ast2500"; 19 stdout-path = &uart5; 26 reserved-memory { 27 #address-cells = <1>; 28 #size-cells = <1>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-brppt1-mmc.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (MMC)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-brppt1-spi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (SPI)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am437x-gp-evm.dts | 2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 11 /dts-v1/; 14 #include <dt-bindings/pinctrl/am43xx.h> 15 #include <dt-bindings/pwm/pwm.h> 16 #include <dt-bindings/gpio/gpio.h> 20 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43"; 28 stdout-path = &uart0; 29 tick-timer = &timer2; 32 vmmcsd_fixed: fixedregulator-sd { 33 compatible = "regulator-fixed"; [all …]
|
/openbmc/linux/include/linux/ |
H A D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 46 #define WM97XX_ADCSEL_MASK 0x7000 /* ADC selection mask */ 47 #define WM97XX_COO 0x0800 /* enable coordinate mode */ 48 #define WM97XX_CTC 0x0400 /* enable continuous mode */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 73 #define WM9712_WAIT 0x0200 /* wait until adc is read before next sample */ 90 #define WM9705_WAIT 0x0100 /* wait until adc is read before next sample */ 102 #define WM9713_CTC 0x0100 /* enable continuous mode */ 106 #define WM9713_COO 0x0001 /* enable coordinate mode */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 touchscreen, ADC, PWM or rotator. It can contain one or several different 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | me_daq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * ME-2000i, ME-2600i, ME-3000vm1 13 * Devices: [Meilhaus] ME-2600i (me-2600i), ME-2000i (me-2000i) 35 * PCI BAR2 Memory map (dev->mmio) 76 #define ME_TIMER_DATA_REG(x) (0x0a + ((x) * 2)) /* - | W */ 83 #define ME_DAC_CTRL_BIPOLAR(x) BIT(7 - ((x) & 0x3)) 84 #define ME_DAC_CTRL_GAIN(x) BIT(11 - ((x) & 0x3)) 87 #define ME_AO_DATA_REG(x) (0x14 + ((x) * 2)) /* - | W */ 88 #define ME_COUNTER_ENDDATA_REG(x) (0x1c + ((x) * 2)) /* - | W */ 89 #define ME_COUNTER_STARTDATA_REG(x) (0x20 + ((x) * 2)) /* - | W */ [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | gp2ap002.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * https://lore.kernel.org/lkml/1315556546-7445-1-git-send-email-dg77.kim@samsung.com/ 17 * https://lore.kernel.org/linux-input/20190125175045.22576-1-pawel.mikolaj.chmiel@gmail.com/ 18 * Based partly on code from the Samsung GT-S7710 by <mjchen@sta.samsung.com> 28 #include <linux/iio/consumer.h> /* To get our ADC channel */ 29 #include <linux/iio/types.h> /* To deal with our ADC channel */ 42 /* ------------------------------------------------------------------------ */ 45 /* ------------------------------------------------------------------------ */ 52 /* ------------------------------------------------------------------------ */ 54 /* LED0 :Select switch for LED driver's On-registence(0:2x higher, 1:normal)*/ [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the ADC present in the Atmel AT91 evaluation boards. 36 #define AT91_ADC_MR 0x04 /* Mode Register */ 37 #define AT91_ADC_TSAMOD (3 << 0) /* ADC mode */ 38 #define AT91_ADC_TSAMOD_ADC_ONLY_MODE (0 << 0) /* ADC Mod [all...] |
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 22 compatible = "pwm-backlight"; 23 brightness-levels = <0 45 63 88 119 158 203 255>; 24 default-brightness-level = <4>; 25 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpio_bl_on>; [all …]
|