Home
last modified time | relevance | path

Searched +full:micro +full:- +full:ohm (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.14.4/drivers/hwmon/pmbus/
Dltc4286.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 * The rsense value used in MBR formula in LTC4286 datasheet should be ohm unit.
40 * However, the rsense value that user input is micro ohm.
43 .R[PSC_CURRENT_OUT] = 3 - 6,
47 * The rsense value used in MBR formula in LTC4286 datasheet should be ohm unit.
48 * However, the rsense value that user input is micro ohm.
51 .R[PSC_POWER] = 4 - 6,
78 return dev_err_probe(&client->dev, ret, in ltc4286_probe()
88 return dev_err_probe(&client->dev, -ENODEV, in ltc4286_probe()
94 return dev_err_probe(&client->dev, ret, in ltc4286_probe()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/hwmon/
Dntc-thermistor.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 ---
3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml#
4 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Linus Walleij <[email protected]>
13 vary in resistance in an often non-linear way in relation to temperature.
16 temperature is non-linear, software drivers most often need to use a look
20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this:
22 + e.g. 5V = pull-up voltage (puv)
24 +-+
[all …]
Dadi,ltc2945.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Guenter Roeck <linux@roeck-us.net>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf
20 - adi,ltc2945
25 shunt-resistor-micro-ohms:
27 Shunt resistor value in micro-Ohms
31 - compatible
32 - reg
[all …]
Drenesas,isl28022.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Carsten Spieß <mail@carsten-spiess.de>
26 shunt-resistor-micro-ohms:
28 Shunt resistor value in micro-Ohm
32 renesas,shunt-range-microvolt:
34 Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV
38 renesas,average-samples:
46 - compatible
[all …]
Dti,ina3221.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jean Delvare <[email protected]>
11 - Guenter Roeck <linux@roeck-us.net>
20 ti,single-shot:
22 This chip has two power modes: single-shot (chip takes one measurement
25 hardware monitor type device, but the single-shot mode is more power-
26 friendly and useful for battery-powered device which cares power
29 If this property is present, the single-shot mode will be used, instead
[all …]
Dti,ina2xx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Krzysztof Kozlowski <[email protected]>
14 The INA209 is a high-side current shunt and power monitor with
23 - silergy,sy24655
24 - ti,ina209
25 - ti,ina219
26 - ti,ina220
27 - ti,ina226
[all …]
/linux-6.14.4/drivers/power/supply/
Dug3105_battery.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is
7 * its coulomb-counter before it can wrap (must be read every 400 seconds!).
9 * Since Linux does not monitor coulomb-counter changes while the device
25 * readings, esp. in the 30-70% range and allow userspace to estimate time
28 * capacity during run-time ?
32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R.
37 #include <linux/devm-helpers.h>
75 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */
76 int intern_res[UG3105_MOV_AVG_WINDOW]; /* milli-ohm */
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href.dtsi"
9 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
10 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
12 thermal-zones {
13 chassis-thermal {
15 polling-delay = <20000>;
17 polling-delay-passive = <2000>;
19 thermal-sensors = <&therm1>, <&therm2>;
[all …]
Dste-href.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include "ste-href-family-pinctrl.dtsi"
17 compatible = "simple-battery";
18 battery-type = "lithium-ion-polymer";
21 thermal-zones {
22 battery-thermal {
24 polling-delay = <0>;
[all …]
Dste-ux500-samsung-golden.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
4 #include "ste-db8500.dtsi"
5 #include "ste-ab8505.dtsi"
6 #include "ste-dbx5x0-pinctrl.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 * You need an intermediate, device-tree compatible bootloader
[all …]
Dste-ux500-samsung-skomer.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8505.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-gavini.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-codina-tmo.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO,
4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively
5 * for T-Mobile in the United States.
8 * - No CPU speed cap, full ~1GHz rate
9 * - Different power management IC, AB8505
10 * - As AB8505 has a micro USB phy, no TI TSU6111
11 * - Different power routing such as the removal of the external LDO for the
13 * - Using a regulator for the key backlight LED
14 * - Using the Samsung S6D27A1 panel by default
[all …]
Dste-ux500-samsung-kyle.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle.
10 /dts-v1/;
11 #include "ste-db8500.dtsi"
12 #include "ste-ab8505.dtsi"
13 #include "ste-dbx5x0-pinctrl.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-janice.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
Dste-ux500-samsung-codina.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina.
11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China).
12 * The GT-I8160 plain is known as the "europe" variant.
13 * The GT-I8160P is the CDMA version and it appears to not use the ST
15 * The GT-I8160chn appears to be the same as the europe variant.
17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device
21 /dts-v1/;
22 #include "ste-db8500.dtsi"
23 #include "ste-ab8500.dtsi"
[all …]
Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
25 thermal-zones {
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/iio/afe/
Dtemperature-sense-rtd.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <[email protected]>
17 When an io-channel measures the output voltage across an RTD such as a
25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc)
30 -----
32 +---+----+
34 +---+----+
[all …]
/linux-6.14.4/drivers/platform/x86/x86-android-tablets/
Dlenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <[email protected]>
27 #include "shared-psy-info.h"
28 #include "x86-android-tablets.h"
33 * The Android kernels have a hack in the i915 driver to write a non-standard
34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
46 * But on some models the panel's PWM output defaults to a duty-cycle of
65 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
66 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150),
75 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol
[all …]
/linux-6.14.4/arch/arm64/boot/dts/exynos/
Dexynos5433-tm2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/sound/samsung-i2s.h>
48 stdout-path = &serial_1;
56 gpio-keys {
57 compatible = "gpio-keys";
[all …]
/linux-6.14.4/drivers/hwmon/
Dadm1177.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2015-2019 Analog Devices Inc.
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()
89 * ((105.84mV / 4096) x raw) / senseResistor(ohm) in adm1177_read()
92 4096 * st->r_sense_uohm); in adm1177_read()
[all …]
Dtps23861.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/hwmon-sysfs.h>
110 #define RESISTANCE_LSB 110966 /* 11.0966 Ohm*/
111 #define RESISTANCE_LSB_LOW 157216 /* 15.7216 Ohm*/
131 err = regmap_read(data->regmap, TEMPERATURE, &regval); in tps23861_read_temp()
135 *val = ((long)regval * TEMPERATURE_LSB) - 20000; in tps23861_read_temp()
148 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage()
152 err = regmap_bulk_read(data->regmap, in tps23861_read_voltage()
173 if (data->shunt_resistor == SHUNT_RESISTOR_DEFAULT) in tps23861_read_current()
178 err = regmap_bulk_read(data->regmap, in tps23861_read_current()
[all …]
/linux-6.14.4/drivers/phy/st/
Dphy-stm32-combophy.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <dt-bindings/phy/phy.h>
114 #define DEFAULT_IMP_INDEX 3 /* Default impedance is 50 Ohm */
122 u32 min_imp = imp_lookup[imp_size - 1].microohm; in stm32_impedance_tune()
127 if (!of_property_read_u32(combophy->dev->of_node, "st,output-micro-ohms", &val)) { in stm32_impedance_tune()
129 dev_err(combophy->dev, "Invalid value %u for output ohm\n", val); in stm32_impedance_tune()
130 return -EINVAL; in stm32_impedance_tune()
138 return -EINVAL; in stm32_impedance_tune()
140 dev_dbg(combophy->dev, "Set %u micro-ohms output impedance\n", in stm32_impedance_tune()
143 regmap_update_bits(combophy->regmap, SYSCFG_PCIEPRGCR, in stm32_impedance_tune()
[all …]
/linux-6.14.4/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ibm-sbp1.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/i2c/i2c.h>
9 #include "aspeed-g6.dtsi"
13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600";
16 stdout-path = &uart1;
[all …]
/linux-6.14.4/drivers/iio/adc/
Dqcom-spmi-iadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
73 #define IADC_INT_RSENSE_IDEAL_VALUE 10000 /* micro Ohms */
74 #define IADC_INT_RSENSE_DEFAULT_VALUE 7800 /* micro Ohms */
75 #define IADC_INT_RSENSE_DEFAULT_GF 9000 /* micro Ohms */
76 #define IADC_INT_RSENSE_DEFAULT_SMIC 9700 /* micro Ohms */
94 * struct iadc_chip - IADC Current ADC device structure.
98 * @rsense: Values of the internal and external sense resister in micro Ohms.
122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read()
132 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write()
[all …]

12