Home
last modified time | relevance | path

Searched +full:internal +full:- +full:bias +full:- +full:resistor (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dbrcm,nsp-gpio.txt4 - compatible:
5 Must be "brcm,nsp-gpio-a"
7 - reg:
11 - #gpio-cells:
16 - gpio-controller:
19 - ngpios:
23 - interrupts:
26 - interrupt-controller:
29 - gpio-ranges:
30 Specifies the mapping between gpio controller and pin-controllers pins.
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dallwinner,sun50i-a64-codec-analog.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
15 const: allwinner,sun50i-a64-codec-analog
20 cpvdd-supply:
24 allwinner,internal-bias-resistor:
26 Enable the internal 2.2K bias resistor between HBIAS and MICDET pins
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-a64-pinephone-1.0.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64-pinephone.dtsi"
10 compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64";
14 allwinner,internal-bias-resistor;
18 enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
19 flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
H A Dsun50i-a64-pinephone-1.1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64-pinephone.dtsi"
10 compatible = "pine64,pinephone-1.1", "pine64,pinephone", "allwinner,sun50i-a64";
14 power-supply = <&reg_ldo_io0>;
22 brightness-levels = <
28 num-interpolated-steps = <50>;
29 default-brightness-level = <400>;
33 allwinner,internal-bias-resistor;
37 enable-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
[all …]
/linux/drivers/phy/mediatek/
H A Dphy-mtk-pcie.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/nvmem-consumer.h>
15 #include "phy-mtk-io.h"
18 /* Internal Resistor Selection of TX Bias Current */
36 * struct mtk_pcie_lane_efuse - eFuse data for each lane
50 * struct mtk_pcie_phy_data - phy data for each SoC
60 * struct mtk_pcie_phy - PCIe phy driver main structure
66 * @efuse_glb_intr: internal resistor selection of TX bias current data
83 struct mtk_pcie_lane_efuse *data = &pcie_phy->efuse[lane]; in mtk_pcie_efuse_set_lane()
86 if (!data->lane_efuse_supported) in mtk_pcie_efuse_set_lane()
[all …]
/linux/sound/soc/sunxi/
H A Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver supports the analog controls for the internal codec
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analog.c
22 #include <sound/soc-dapm.h>
25 #include "sun8i-adda-pr-regmap.h"
178 -450, 150, 0);
184 static const DECLARE_TLV_DB_SCALE(sun50i_codec_hp_vol_scale, -6300, 100, 1);
188 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
193 2, 31, TLV_DB_SCALE_ITEM(-4350, 150, 0),
[all …]
H A Dsun8i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the digital controls for the internal codec
6 * (C) Copyright 2010-2016
9 * Mylène Josserand <mylene.josserand@free-electrons.com>
27 #include <sound/soc-dapm.h>
251 ret = clk_prepare_enable(scodec->clk_bus); in sun8i_codec_runtime_resume()
257 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
259 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
272 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
273 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend()
[all …]
/linux/sound/soc/codecs/
H A Dmsm8916-wcd-analog.c1 // SPDX-License-Identifier: GPL-2.0
109 #define MICB_VOLTAGE_REGVAL(v) (((v - MICB_MIN_VAL)/MICB_STEP_SIZE) << 3)
283 "vdd-cdc-io",
284 "vdd-cdc-tx-rx-cx",
302 /* Voltage threshold when internal current source of 100uA is used */
304 /* Voltage threshold when microphone bias is ON */
358 if (wcd->micbias_mv) { in pm8916_wcd_analog_micbias_enable()
361 MICB_VOLTAGE_REGVAL(wcd->micbias_mv)); in pm8916_wcd_analog_micbias_enable()
366 if (wcd->micbias_mv >= 2700) in pm8916_wcd_analog_micbias_enable()
394 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pm8916_wcd_analog_enable_micbias_int()
[all …]
H A Dmt6359-accdet.c1 // SPDX-License-Identifier: GPL-2.0
3 // mt6359-accdet.c -- ALSA SoC mt6359 accdet driver
27 #include "mt6359-accdet.h"
31 #define REGISTER_VAL(x) ((x) - 1)
73 if (priv->data->eint_detect_mode == 0x3 || in adjust_eint_analog_setting()
74 priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting()
76 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
79 if (priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting()
80 if (priv->caps & ACCDET_PMIC_EINT0) { in adjust_eint_analog_setting()
82 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
[all …]
H A Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
44 { 0x12, 0x00 }, /* 12 Mic Bias Voltage */
95 { 0x42, 0x00 }, /* 42 Bias Control */
279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset()
283 dev_err(max98090->component->dev, in max98090_reset()
300 -600, 600, 0);
303 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0),
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8060-dragonboard.dts1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
7 #include "qcom-msm8660.dtsi"
12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
19 stdout-path = "serial0:115200n8";
23 vph: regulator-fixed {
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Dsalvator-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for common parts of Salvator-X board variants
5 * Copyright (C) 2015-2016 Renesas Electronics Corp.
9 * SSI-AK4613
31 #include <dt-bindings/gpio/gpio.h>
32 #include <dt-bindings/input/input.h>
54 stdout-path = "serial0:115200n8";
57 audio_clkout: audio-clkout {
60 * but needed to avoid cs2000/rcar_sound probe dead-lock
62 compatible = "fixed-clock";
[all …]
/linux/drivers/phy/samsung/
H A Dphy-exynos5-usbdrd.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <linux/soc/samsung/exynos-regs-pmu.h>
253 /* Exynos9 - GS101 */
387 for (; (tune)->region != PTR_INVALID; ++(tune))
441 * struct exynos5_usbdrd_phy - driver data for USB 3.0 PHY
449 * @hs_phy: pointer to non-Samsung IP high-speed phy controller
457 * @orientation: TypeC connector orientation - normal or flipped
487 phys[(inst)->index]); in to_usbdrd_phy()
524 return -EINVAL; in exynos5_rate_to_clk()
535 if (!inst->reg_pmu) in exynos5_usbdrd_phy_isol()
[all …]