| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | qcom-labibb-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator 10 - Sumit Semwal <sumit.semwal@linaro.org> 20 - const: qcom,pmi8998-lab-ibb 21 - items: 22 - enum: 23 - qcom,pmi8950-lab-ibb [all …]
|
| H A D | mps,mpq7920.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/mps,mpq7920.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Saravanan Sekar <sravanhome@gmail.com> 14 pattern: "pmic@[0-9a-f]{1,2}" 17 - mps,mpq7920 27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 30 mps,switch-freq: 40 $ref: regulator.yaml# [all …]
|
| H A D | qcom,spmi-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robert Marko <robimarko@gmail.com> 15 - qcom,pm6125-regulators 16 - qcom,pm660-regulators 17 - qcom,pm660l-regulators 18 - qcom,pm8004-regulators 19 - qcom,pm8005-regulators [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8998-sony-xperia-yoshino-lilac.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include "msm8998-sony-xperia-yoshino.dtsi" 13 compatible = "sony,xperia-lilac", "qcom,msm8998"; 14 chassis-type = "handset"; 18 regulator-min-microvolt = <5500000>; 19 regulator-max-microvolt = <5500000>; 23 regulator-min-microvolt = <5500000>; 24 regulator-max-microvolt = <5500000>; 25 qcom,soft-start-us = <800>; [all …]
|
| H A D | msm8998-sony-xperia-yoshino-poplar.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include "msm8998-sony-xperia-yoshino.dtsi" 13 compatible = "sony,xperia-poplar", "qcom,msm8998"; 14 chassis-type = "handset"; 18 regulator-min-microvolt = <5600000>; 19 regulator-max-microvolt = <5600000>; 23 regulator-min-microvolt = <5600000>; 24 regulator-max-microvolt = <5600000>; 25 qcom,soft-start-us = <800>; [all …]
|
| H A D | msm8998-sony-xperia-yoshino-maple.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include "msm8998-sony-xperia-yoshino.dtsi" 13 compatible = "sony,xperia-maple", "qcom,msm8998"; 14 chassis-type = "handset"; 16 disp_dvdd_vreg: disp-dvdd-vreg { 17 compatible = "regulator-fixed"; 18 regulator-name = "disp_dvdd_en"; 19 regulator-min-microvolt = <1350000>; 20 regulator-max-microvolt = <1350000>; [all …]
|
| H A D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */ 19 qcom,board-id = <8 0>; 23 compatible = "gpio-gate-clock"; 24 pinctrl-0 = <&div_clk1>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| 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 | sun8i-s3-pinecube.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "gpio-leds"; 38 compatible = "regulator-fixed"; 39 regulator-name = "vcc5v0"; [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 …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 11 Documentation/devicetree/bindings/regulator/regulator.txt. 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
| /linux/drivers/regulator/ |
| H A D | rt6245-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/regulator/driver.h> 11 #include <linux/regulator/of_regulator.h> 25 /* HW Enable + Soft start time */ 31 #define RT6245_NUM_VOUT ((RT6245_VOUT_MAXUV - RT6245_VOUT_MINUV) / RT6245_VOUT_STEPUV + 1) 44 if (!priv->enable_gpio) in rt6245_enable() 47 gpiod_direction_output(priv->enable_gpio, 1); in rt6245_enable() 55 priv->enable_state = true; in rt6245_enable() 64 if (!priv->enable_gpio) in rt6245_disable() 65 return -EINVAL; in rt6245_disable() [all …]
|
| H A D | qcom_spmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 8 #include <linux/devm-helpers.h> 18 #include <linux/regulator/driver.h> 47 /* Soft start strength of a voltage switch type regulator */ 57 * struct spmi_regulator_init_data - spmi-regulator initialization data 59 * used to enable the regulator, if any 67 * used to force the regulator into high power 75 * @vs_soft_start_strength: This parameter sets the soft start strength for 79 * then the soft start strength will be left at its [all …]
|
| H A D | qcom-labibb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/regulator/driver.h> 11 #include <linux/regulator/of_regulator.h> 114 ret = regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 115 vreg->base + REG_LABIBB_INT_LATCHED_CLR, in qcom_labibb_ocp_hw_enable() 121 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 122 vreg->base + REG_LABIBB_INT_EN_SET, in qcom_labibb_ocp_hw_enable() 130 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_disable() 131 vreg->base + REG_LABIBB_INT_EN_CLR, in qcom_labibb_ocp_hw_disable() 136 * qcom_labibb_check_ocp_status - Check the Over-Current Protection status [all …]
|
| /linux/drivers/staging/fbtft/ |
| H A D | fb_upd161704.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2014 Seong-Woo Kim 26 par->fbtftops.reset(par); in init_display() 31 write_reg(par, 0x0003, 0x0001); /* Soft reset */ in init_display() 33 /* oscillator start */ in init_display() 37 /* y-setting */ in init_display() 66 write_reg(par, 0x001C, 0x0C01); /* Regulator voltage setting */ in init_display() 67 write_reg(par, 0x001D, 0x0000); /* Regulator current setting */ in init_display() 98 /*GS = 0: 260-k color (64 gray scale), GS = 1: 8 color (2 gray scale) */ in init_display() 115 switch (par->info->var.rotate) { in set_addr_win() [all …]
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | boot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); in wl1251_boot_target_enable_interrupts() 28 /* perform soft reset */ in wl1251_boot_soft_reset() 35 wl1251_debug(DEBUG_BOOT, "soft reset bootdata 0x%x", boot_data); in wl1251_boot_soft_reset() 40 /* 1.2 check pWhalBus->uSelfClearTime if the in wl1251_boot_soft_reset() 42 wl1251_error("soft reset timeout"); in wl1251_boot_soft_reset() 43 return -1; in wl1251_boot_soft_reset() 52 /* disable auto calibration on start*/ in wl1251_boot_soft_reset() 118 * PG 1.2: set the clock request time to be ref_clk_settling_time - in wl1251_boot_init_seq() 122 tmp = init_data - 0x21; in wl1251_boot_init_seq() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | adm1177.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ADM1177 Hot Swap Controller and Digital Power Monitor with Soft Start Pin 5 * Copyright 2015-2019 Analog Devices Inc. 14 #include <linux/regulator/consumer.h> 27 * struct adm1177_state - driver instance specific data 42 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 47 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 56 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() 62 ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, in adm1177_write_alert_thr() 67 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr() [all …]
|
| /linux/drivers/mfd/ |
| H A D | si476x-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD 17 #include <linux/regulator/consumer.h> 21 #include <linux/mfd/si476x-core.h> 27 * si476x_core_config_pinmux() - pin function configuration function 39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux() 41 core->pinmux.dclk, in si476x_core_config_pinmux() 42 core->pinmux.dfs, in si476x_core_config_pinmux() 43 core->pinmux.dout, in si476x_core_config_pinmux() 44 core->pinmux.xout); in si476x_core_config_pinmux() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | ssm3515.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 101 // The specced range is -71.25...24.00 dB with step size of 0.375 dB, 102 // and a mute item below that. This is represented by -71.62...24.00 dB 104 static DECLARE_TLV_DB_MINMAX_MUTE(ssm3515_dac_volume, -7162, 2400); 119 SOC_SINGLE("Soft Volume Ramping Switch", SSM3515_DAC, 141 dev_err(component->dev, "device reports:%s%s%s%s%s%s%s\n", in ssm3515_read_faults() 142 FIELD_GET(SSM3515_STATUS_UVLO_REG, ret) ? " voltage regulator fault" : "", in ssm3515_read_faults() 145 FIELD_GET(SSM3515_STATUS_AMP_OC, ret) ? " amp over-current fault" : "", in ssm3515_read_faults() 155 /* Start out muted */ in ssm3515_probe() 161 /* Disable the 'master power-down' */ in ssm3515_probe() [all …]
|
| H A D | cs35l56.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/regulator/consumer.h> 27 #include <sound/cs-amp-lib.h> 31 #include <sound/soc-dapm.h> 43 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready() 66 static DECLARE_TLV_DB_SCALE(vol_tlv, -10000, 25, 0); 181 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_play_event() 186 dev_dbg(cs35l56->base.dev, "play: %d\n", event); in cs35l56_play_event() 191 return regmap_write(cs35l56->base.regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_play_event() 195 ret = regmap_read_poll_timeout(cs35l56->base.regmap, in cs35l56_play_event() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | max11410.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/regulator/consumer.h> 139 struct regulator *avdd; 140 struct regulator *vrefp[3]; 141 struct regulator *vrefn[3]; 175 /* This driver only needs to write 8-bit registers */ in max11410_write_reg() 177 return -EINVAL; in max11410_write_reg() 179 return regmap_write(st->regmap, reg, val); in max11410_write_reg() 188 ret = regmap_bulk_read(st->regmap, reg, &st->scan.data, 3); in max11410_read_reg() 192 *val = get_unaligned_be24(&st->scan.data); in max11410_read_reg() [all …]
|
| H A D | ad7944.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/regulator/consumer.h> 26 #include <linux/iio/buffer-dmaengine.h> 40 /* datasheet calls this "4-wire mode" */ 42 /* datasheet calls this "3-wire mode" (not related to SPI_3WIRE!) */ 48 /* maps adi,spi-mode property value to enum */ 67 /* Chip-specific timing specifications. */ 73 /* Indicates TURBO is hard-wired to be always enabled. */ 118 * AD7944_DEFINE_CHIP_INFO - Define a chip info structure for a specific chip 170 * - There is no soft timestamp since everything is done in hardware. [all …]
|
| /linux/include/linux/clk/ |
| H A D | at91_pmc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Power Management Controller (PMC) - System peripherals registers. 50 #define AT91_PMC_PLL_ACR_UTMIVR (1 << 12) /* UPLL Voltage regulator Control */ 55 #define AT91_PMC_UPLLCOUNT (0xf << 20) /* UTMI PLL Start-up Time */ 57 #define AT91_PMC_BIASCOUNT (0xf << 28) /* UTMI BIAS Start-up Time */ 69 #define AT91_PMC_MOSCRCEN (1 << 3) /* Main On-Chip RC Oscillator Enable [some SAM9] */ 70 #define AT91_PMC_OSCOUNT (0xff << 8) /* Main Oscillator Start-up Time */ 181 #define AT91_PMC_SMD 0x3c /* Soft Modem Clock Register [some SAM9 only] */ 186 #define AT91_PMC_PCKR(n) (0x40 + ((n) * 4)) /* Programmable Clock 0-N Registers */ 207 #define AT91_PMC_MOSCRCS (1 << 17) /* Main On-Chip RC [some SAM9] */ [all …]
|