/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | aspeed,ast2600-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Billy Tsai <billy_tsai@aspeedtech.com> 13 • 10-bits resolution for 16 voltage channels. 16 • Channel scanning can be non-continuous. 21 • Built-in a compensating method. 22 • Built-in a register to trim internal reference voltage. 30 - aspeed,ast2600-adc0 [all …]
|
/linux/drivers/iio/dac/ |
H A D | ad3552r.c | 1 // SPDX-License-Identifier: GPL-2.0-only 103 #define AD3552R_REG_ADDR_CH_DAC_16B(ch) (0x2C - (1 - ch) * 2) 108 #define AD3552R_REG_ADDR_CH_INPUT_16B(ch) (0x36 - (1 - ch) * 2) 112 #define AD3552R_REG_ADDR_CH_DAC_24B(ch) (0x3D - (1 - ch) * 3) 117 #define AD3552R_REG_ADDR_CH_INPUT_24B(ch) (0x4B - (1 - ch) * 3) 134 /* Internal source with Vref I/O floating */ 136 /* Internal source with Vref I/O at 2.5V */ 138 /* External source with Vref I/O as input */ 156 /* Range from -5 V to 5 V. Requires Rfb2x connection */ 158 /* Range from -10 V to 10 V. Requires Rfb4x connection */ [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7-mba7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Device Tree Include file for TQ-Systems MBa7 carrier board. 5 * Copyright (C) 2016 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/net/ti-dp83867.h> 20 /delete-property/ mmc2; 26 compatible = "gpio-beeper"; 31 stdout-path = &uart6; 34 gpio_buttons: gpio-keys { [all …]
|
H A D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include "imx6ull-dhcor-som.dtsi" 10 /delete-property/ spi2; 11 /delete-property/ spi3; 28 stdout-path = "serial0:115200n8"; 31 reg_ext_3v3_ref: regulator-ext-3v3-ref { 32 compatible = "regulator-fixed"; 33 regulator-always-on; 34 regulator-max-microvolt = <3300000>; 35 regulator-min-microvolt = <3300000>; [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad7949.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* ad7949.c - Analog Devices ADC driver 14/16 bits 4/8 channels 6 * https://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf 33 /* BW: select bandwidth for low-pass filter. Full or Quarter */ 68 * struct ad7949_adc_chip - AD ADC chip 70 * @vref: regulator generating Vref 78 * @buf8b: be16 buffer to exchange data with the device in 8-bit transfers 82 struct regulator *vref; member 88 unsigned int current_channel; 93 static int ad7949_spi_write_cfg(struct ad7949_adc_chip *ad7949_adc, u16 val, in ad7949_spi_write_cfg() [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun5i-a13-licheepi-one.dts | 4 * Based on sun5i-a13-olinuxino.dts, which is 5 * Copyright 2012 Maxime Ripard <maxime.ripard@free-electrons.com> 8 * This file is dual-licensed: you can use it either under the terms 47 /dts-v1/; 48 #include "sun5i-a13.dtsi" 49 #include "sunxi-common-regulators.dtsi" 51 #include <dt-bindings/gpio/gpio.h> 52 #include <dt-bindings/input/input.h> 56 compatible = "licheepi,licheepi-one", "allwinner,sun5i-a13"; 63 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun5i-a13-pocketbook-614-plus.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "pocketbook,614-plus", "allwinner,sun5i-a13"; 24 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun5i-a13-hsg-h702.dts | 2 * Copyright 2014 Chen-Yu Tsai <wens@csie.org> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun5i-a13.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/input/input.h> 52 compatible = "hsg,h702", "allwinner,sun5i-a13"; 59 stdout-path = "serial0:115200n8"; 64 cpu-supply = <®_dcdc2>; [all …]
|
H A D | sun5i-a13-pocketbook-touch-lux-3.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pwm/pwm.h> 16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13"; 26 compatible = "pwm-backlight"; [all …]
|
H A D | sun4i-a10-topwise-a721.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "sun4i-a10.dtsi" 8 #include "sunxi-common-regulators.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pwm/pwm.h> 17 compatible = "topwise,a721", "allwinner,sun4i-a10"; 24 compatible = "pwm-backlight"; [all …]
|
H A D | sun5i-a13-empire-electronix-d709.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun5i-a13.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 53 compatible = "empire-electronix,d709", "allwinner,sun5i-a13"; 60 compatible = "pwm-backlight"; [all …]
|
H A D | sun4i-a10-gemei-g9.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun4i-a10.dtsi" 47 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "gemei,g9", "allwinner,sun4i-a10"; 61 stdout-path = "serial0:115200n8"; 71 * Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48 [all …]
|
H A D | sun4i-a10-dserve-dsrv9703c.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10"; 60 compatible = "pwm-backlight"; [all …]
|
H A D | sun4i-a10-inet97fv2.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun4i-a10.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/interrupt-controller/irq.h> 54 model = "INet-97F Rev 02"; 55 compatible = "primux,inet97fv2", "allwinner,sun4i-a10"; 62 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun7i-a20-wexler-tab7200.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 51 #include <dt-bindings/pwm/pwm.h> 55 compatible = "wexler,tab7200", "allwinner,sun7i-a20"; 62 compatible = "pwm-backlight"; [all …]
|
H A D | sun6i-a31s-primo81.dts | 4 * Copyright 2015 Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 46 #include "sun6i-a31s.dtsi" 47 #include "sunxi-common-regulators.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/input/input.h> 54 compatible = "msi,primo81", "allwinner,sun6i-a31s"; 56 hdmi-connector { 57 compatible = "hdmi-connector"; [all …]
|
H A D | sun5i-reference-design-tablet.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 42 #include "sunxi-reference-design-tablet.dtsi" 44 #include <dt-bindings/interrupt-controller/irq.h> 45 #include <dt-bindings/pwm/pwm.h> 53 compatible = "pwm-backlight"; 55 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; 56 default-brightness-level = <8>; 57 enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */ 58 power-supply = <®_vcc3v0>; 62 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun7i-a20-olinuxino-lime2.dts | 2 * Copyright 2014 - Iain Paton <ipaton0@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun7i-a20.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "Olimex A20-OLinuXino-LIME2"; 52 compatible = "olimex,a20-olinuxino-lime2", "allwinner,sun7i-a20"; 59 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sun4i-a10-pov-protab2-ips9.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "Point of View Protab2-IPS9"; 53 compatible = "pov,protab2-ips9", "allwinner,sun4i-a10"; [all …]
|
H A D | sun4i-a10-inet1.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 52 model = "iNet-1"; 53 compatible = "inet-tek,inet1", "allwinner,sun4i-a10"; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3328-roc-pc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (c) 2021 T-Chip Intelligent Technology Co., Ltd 4 /dts-v1/; 6 #include <dt-bindings/input/input.h> 8 #include "rk3328-roc-cc.dts" 11 model = "Firefly ROC-RK3328-PC"; 12 compatible = "firefly,roc-rk3328-pc", "rockchip,rk3328"; 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 0>; [all …]
|
H A D | px30-ringneck.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/leds/common.h> 18 emmc_pwrseq: emmc-pwrseq { 19 compatible = "mmc-pwrseq-emmc"; 20 pinctrl-0 = <&emmc_reset>; 21 pinctrl-names = "default"; 22 reset-gpios = <&gpio1 RK_PB3 GPIO_ACTIVE_HIGH>; 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; [all …]
|
/linux/sound/soc/codecs/ |
H A D | nau8325.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // nau8325.c -- Nuvoton NAU8325 audio codec driver 30 #define CLK_PROC_BYPASS (-1) 119 static bool nau8325_readable_reg(struct device *dev, unsigned int reg) in nau8325_readable_reg() 142 static bool nau8325_writeable_reg(struct device *dev, unsigned int reg) in nau8325_writeable_reg() 162 static bool nau8325_volatile_reg(struct device *dev, unsigned int reg) in nau8325_volatile_reg() 181 static const unsigned int nau8325_dac_oversampl_values[] = { 192 static const DECLARE_TLV_DB_MINMAX_MUTE(dac_vol_tlv, -8000, 600); 215 static int nau8325_dac_event(struct snd_soc_dapm_widget *w, in nau8325_dac_event() 216 struct snd_kcontrol *kcontrol, int event) in nau8325_dac_event() [all …]
|
/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-r89.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pwm/pwm.h> 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "ext_gmac"; 24 #clock-cells = <0>; 27 gpio-keys { [all …]
|
H A D | rk3288-miqi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 ext_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <125000000>; 27 clock-output-names = "ext_gmac"; 31 compatible = "gpio-leds"; [all …]
|