/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
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> 19 const: qcom,pmi8998-lab-ibb 26 qcom,soft-start-us: 27 description: Regulator soft start time in microseconds. 35 Short-circuit and over-current interrupts for lab. [all …]
|
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 …]
|
D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 15 description: A string used as a descriptive name for regulator outputs 18 regulator-min-microvolt: 21 regulator-max-microvolt: [all …]
|
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 24 $ref: regulator.yaml# 28 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 31 mps,switch-freq: [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | qcom-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> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
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 …]
|
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 …]
|
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-v6.1/arch/arm64/boot/dts/qcom/ |
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 …]
|
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 …]
|
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 …]
|
D | sdm845-xiaomi-beryllium.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 7 #include <dt-bindings/sound/qcom,q6afe.h> 8 #include <dt-bindings/sound/qcom,q6asm.h> 17 /delete-node/ &tz_mem; 18 /delete-node/ &adsp_mem; 19 /delete-node/ &wlan_msa_mem; 20 /delete-node/ &mpss_region; [all …]
|
D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 24 /delete-node/ &rmtfs_mem; 25 /delete-node/ &adsp_mem; [all …]
|
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 = <&audio_mclk_pin>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
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-v6.1/include/linux/regulator/ |
D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 9 * Regulator Machine/Board Interface. 15 #include <linux/regulator/consumer.h> 18 struct regulator; 21 * Regulator operation constraint flags. These flags are used to enable 22 * certain regulator operations and can be OR'ed together. 24 * VOLTAGE: Regulator output voltage can be changed by software on this 26 * CURRENT: Regulator output current can be changed by software on this 28 * MODE: Regulator operating mode can be changed by software on this [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | sht15.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sht15.c - support for the SHT15 Temperature and Humidity Sensor 5 * Portions Copyright (c) 2010-2012 Savoir-faire Linux Inc. 21 #include <linux/hwmon-sysfs.h> 28 #include <linux/regulator/consumer.h> 46 #define SHT15_TSRST 11 /* (msecs) soft reset time */ 65 * struct sht15_temppair - elements of voltage dependent temp calc 74 /* Table 9 from datasheet - relates temperature calculation to supply voltage */ 76 { 2500000, -39400 }, 77 { 3000000, -39600 }, [all …]
|
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 29 * @reg: regulator info for the power supply of the device 36 struct regulator *reg; 44 return i2c_master_recv(st->client, data, num); in adm1177_read_raw() 49 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd() 58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
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-v6.1/drivers/regulator/ |
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 …]
|
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 …]
|
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 …]
|
D | of_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OF helpers for regulator framework 12 #include <linux/regulator/machine.h> 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/of_regulator.h> 19 [PM_SUSPEND_STANDBY] = "regulator-state-standby", 20 [PM_SUSPEND_MEM] = "regulator-state-mem", 21 [PM_SUSPEND_MAX] = "regulator-state-disk", 41 "regulator-oc-%s-microamp", in of_get_regulator_prot_limits() 42 "regulator-ov-%s-microvolt", in of_get_regulator_prot_limits() [all …]
|
/Linux-v6.1/drivers/staging/fbtft/ |
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-v6.1/drivers/net/wireless/ti/wl1251/ |
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 …]
|