Searched +full:rset +full:- +full:ohms (Results 1 – 9 of 9) sorted by relevance
/linux-6.14.4/drivers/misc/ |
D | qcom-coincell.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 /* if enable==0, rset and vset are ignored */ 30 static int qcom_coincell_chgr_config(struct qcom_coincell *chgr, int rset, in qcom_coincell_chgr_config() argument 37 return regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 38 chgr->base_addr + QCOM_COINCELL_REG_ENABLE, 0); in qcom_coincell_chgr_config() 40 /* find index for current-limiting resistor */ in qcom_coincell_chgr_config() 42 if (rset == qcom_rset_map[i]) in qcom_coincell_chgr_config() 46 dev_err(chgr->dev, "invalid rset-ohms value %d\n", rset); in qcom_coincell_chgr_config() 47 return -EINVAL; in qcom_coincell_chgr_config() 56 dev_err(chgr->dev, "invalid vset-millivolts value %d\n", vset); in qcom_coincell_chgr_config() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/ |
D | qcom,pm8941-coincell.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Sebastian Reichel <[email protected]> 20 - items: 21 - enum: 22 - qcom,pm8998-coincell 23 - const: qcom,pm8941-coincell 25 - const: qcom,pm8941-coincell [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/iio/light/ |
D | vishay,veml6075.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Javier Carrasco <[email protected]> 18 - vishay,veml6040 19 - vishay,veml6070 20 - vishay,veml6075 25 vishay,rset-ohms: 32 vdd-supply: true 35 - compatible [all …]
|
/linux-6.14.4/drivers/iio/light/ |
D | veml6070.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor 5 * Copyright 2016 Peter Meerwald-Stadler <[email protected]> 7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39) 39 #define VEML6070_MIN_IT_US 15625 /* Rset = 75 kohm, IT = 1/2 */ 46 u32 rset; member 54 data->rset = 270000; in veml6070_calc_it() 55 device_property_read_u32(dev, "vishay,rset-ohms", &data->rset); in veml6070_calc_it() 57 if (data->rset < 75000 || data->rset > 1200000) in veml6070_calc_it() 58 return dev_err_probe(dev, -EINVAL, "Rset out of range\n"); in veml6070_calc_it() [all …]
|
D | cm3605.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 * struct cm3605 - CM3605 state 41 * @als_max: maximum LUX detection (depends on RSET) 62 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq() 66 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq() 67 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq() 69 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq() 79 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux() 83 dev_dbg(cm3605->dev, "read %d mV from ADC\n", res); in cm3605_get_lux() 94 dev_err(cm3605->dev, "device out of range\n"); in cm3605_get_lux() [all …]
|
/linux-6.14.4/arch/arm/boot/dts/qcom/ |
D | qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-0 = <&gpio_keys_pin_a>; 25 pinctrl-names = "default"; [all …]
|
D | qcom-msm8974pro-oneplus-bacon.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 chassis-type = "handset"; 12 qcom,msm-id = <194 0x10000>; 13 qcom,board-id = <8 0>; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
/linux-6.14.4/drivers/iio/dac/ |
D | ad8460.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/iio/buffer-dma.h> 24 #include <linux/iio/buffer-dmaengine.h> 96 ret = regmap_set_bits(state->regmap, AD8460_CTRL_REG(0x00), in ad8460_hv_reset() 103 return regmap_clear_bits(state->regmap, AD8460_CTRL_REG(0x00), in ad8460_hv_reset() 109 struct device *dev = &state->spi->dev; in ad8460_reset() 124 return regmap_write(state->regmap, AD8460_CTRL_REG(0x03), 1); in ad8460_reset() 131 ret = regmap_update_bits(state->regmap, AD8460_CTRL_REG(0x02), in ad8460_enable_apg_mode() 137 return regmap_update_bits(state->regmap, AD8460_CTRL_REG(0x00), in ad8460_enable_apg_mode() 146 ret = regmap_read(state->regmap, AD8460_CTRL_REG(0x0E), &val); in ad8460_read_shutdown_flag() [all …]
|