/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | microchip,pac1934.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marius Cristea <marius.cristea@microchip.com> 16 …oads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/PAC1931-Family-Data-Sheet-DS20005850E.… 21 - microchip,pac1931 22 - microchip,pac1932 23 - microchip,pac1933 24 - microchip,pac1934 29 "#address-cells": [all …]
|
H A D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 27 Value in micro Ohms of the shunt resistor connected between the RS+ and 28 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
H A D | microchip,pac1921.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip PAC1921 High-Side Power/Current Monitor with Anaog Output 10 - Matteo Martelli <matteomartelli3@gmail.com> 17 https://ww1.microchip.com/downloads/en/DeviceDoc/PAC1921-Data-Sheet-DS20005293E.pdf 26 vdd-supply: true 28 "#io-channel-cells": 31 shunt-resistor-micro-ohms: 33 Value in micro Ohms of the shunt resistor connected between [all …]
|
H A D | ti,lmp92064.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Leonard Göhrs <l.goehrs@pengutronix.de> 22 - ti,lmp92064 27 vdd-supply: 30 vdig-supply: 34 shunt-resistor-micro-ohms: 36 Value of the shunt resistor (in µΩ) connected between INCP and INCN, 40 reset-gpios: [all …]
|
H A D | richtek,rtq6056.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus 17 The device monitors both of the drops across sense resistor and the BUS 19 internal analog-to-digital converter ADC. The programmable calibration, 24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf 29 - enum: [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max5970.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrick Rudolph <patrick.rudolph@9elements.com> 24 - maxim,max5970 25 - maxim,max5978 39 "#address-cells": 42 "#size-cells": 46 "^led@[0-3]$": 57 vss1-supply: [all …]
|
/linux/Documentation/devicetree/bindings/iio/afe/ |
H A D | current-sense-shunt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Shunt 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the voltage over a current sense shunt, 15 shunt, not the voltage over it. This binding describes such a current 20 const: current-sense-shunt 22 io-channels: [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc2945.yaml | 1 # 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 …]
|
H A D | ti,ina3221.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jean Delvare <jdelvare@suse.com> 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 …]
|
H A D | lltc,ltc4151.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 19 shunt-resistor-micro-ohms: 21 Shunt resistor value in micro-Ohms 25 - compatible 26 - reg 29 - $ref: hwmon-common.yaml# 34 - | [all …]
|
H A D | adi,ltc2992.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandru Tachici <alexandru.tachici@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf 19 - adi,ltc2992 24 '#address-cells': 27 '#size-cells': 30 avcc-supply: true 33 "^channel@([0-1])$": [all …]
|
H A D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 19 - adi,adm1177 24 avcc-supply: 28 shunt-resistor-micro-ohms: 30 The value of current sense resistor in microohms. If not provided, 33 adi,shutdown-threshold-microamp: [all …]
|
H A D | hwmon-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guenter Roeck <linux@roeck-us.net> 16 shunt-resistor-micro-ohms: 17 description: The value of current sense resistor.
|
/linux/Documentation/devicetree/bindings/hwmon/pmbus/ |
H A D | ti,lm25066.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs 11 - Zev Weiss <zev@bewilderbeest.net> 14 The LM25066 family of power-management ICs (a.k.a. hot-swap 23 - ti,lm25056 24 - ti,lm25066 25 - ti,lm5064 26 - ti,lm5066 [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186-p3310.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 27 stdout-path = "serial0:115200n8"; 38 phy-reset-gpios = <&gpio TEGRA186_MAIN_GPIO(M, 4) 40 phy-handle = <&phy>; 41 phy-mode = "rgmii"; 44 #address-cells = <1>; 45 #size-cells = <0>; 47 phy: ethernet-phy@0 { 48 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
H A D | tegra234-p3701.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 41 dma-controller@2930000 { 45 interrupt-controller@2a40000 { 58 vcc-supply = <&vdd_1v8_hs>; 59 address-width = <8>; 62 read-only; 70 compatible = "jedec,spi-nor"; 72 spi-max-frequency = <102000000>; 73 spi-tx-bus-width = <4>; 74 spi-rx-bus-width = <4>; [all …]
|
H A D | tegra194-p2888.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 27 stdout-path = "serial0:115200n8"; 34 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 5) GPIO_ACTIVE_LOW>; 35 phy-handle = <&phy>; 36 phy-mode = "rgmii-id"; 39 #address-cells = <1>; 40 #size-cells = <0>; 42 phy: ethernet-phy@0 { 43 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
H A D | tegra234-p3767.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 28 dma-controller@2930000 { 32 interrupt-controller@2a40000 { 45 vcc-supply = <&vdd_1v8_hs>; 46 address-width = <8>; 49 read-only; 57 compatible = "jedec,spi-nor"; 59 spi-max-frequency = <102000000>; 60 spi-tx-bus-width = <4>; 61 spi-rx-bus-width = <4>; [all …]
|
H A D | tegra194-p3668.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 24 stdout-path = "serial0:115200n8"; 31 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(R, 1) GPIO_ACTIVE_LOW>; 32 phy-handle = <&phy>; 33 phy-mode = "rgmii-id"; 36 #address-cells = <1>; 37 #size-cells = <0>; 39 phy: ethernet-phy@0 { 40 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
/linux/drivers/hwmon/ |
H A D | ltc4151.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #include <linux/hwmon-sysfs.h> 42 unsigned int shunt; /* in micro ohms */ member 51 struct i2c_client *client = data->client; in ltc4151_update_device() 54 mutex_lock(&data->update_lock); in ltc4151_update_device() 58 * (Conversion Rate 6 - 9 Hz) in ltc4151_update_device() 60 if (time_after(jiffies, data->last_updated + HZ / 6) || !data->valid) { in ltc4151_update_device() 63 dev_dbg(&client->dev, "Starting ltc4151 update\n"); in ltc4151_update_device() 66 for (i = 0; i < ARRAY_SIZE(data->regs); i++) { in ltc4151_update_device() 77 data->regs[i] = val; in ltc4151_update_device() [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama7d65_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board 10 /dts-v1/; 11 #include "sama7d65-pinfunc.h" 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/pinctrl/at91.h> 18 compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65", 26 stdout-path = "serial0:115200n8"; 34 reg_5v: regulator-5v { 35 compatible = "regulator-fixed"; [all …]
|
H A D | at91-sama7g54_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g54_curiosity.dts - Device Tree file for SAMA7G54 Curiosity Board 10 /dts-v1/; 11 #include "sama7g5-pinfunc.h" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/mfd/atmel-flexcom.h> 16 #include <dt-bindings/pinctrl/at91.h> 20 compatible = "microchip,sama7g54-curiosity", "microchip,sama7g5", "microchip,sama7"; 28 stdout-path = "serial0:115200n8"; [all …]
|
/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 33 *val *= rescale->numerator; in rescale_process_scale() 34 if (rescale->denominator == 1) in rescale_process_scale() 36 *val2 = rescale->denominator; in rescale_process_scale() 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale() 53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale() 54 tmp *= rescale->numerator; in rescale_process_scale() 80 * For IIO_VAL_INT_PLUS_{MICRO,NANO} scale types if either *val in rescale_process_scale() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74413r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74412R and AD74413R are quad-channel software configurable input/output 18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide 20 The AD74413R differentiates itself from the AD74412R by being HART-compatible. 27 - adi,ad74412r 28 - adi,ad74413r 33 '#address-cells': [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62p-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62p 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 21 ain1_voltage_unmanaged: voltage-divider-ain1 { 22 compatible = "voltage-divider"; 23 #io-channel-cells = <1>; 24 io-channels = <&ivy_adc1 0>; [all …]
|