Searched +full:rset +full:- +full:ohms (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/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.12.1/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 <sre@kernel.org> 20 - items: 21 - enum: 22 - qcom,pm8998-coincell 23 - const: qcom,pm8941-coincell 25 - const: qcom,pm8941-coincell [all …]
|
/linux-6.12.1/drivers/iio/light/ |
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.12.1/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 …]
|