/linux/Documentation/devicetree/bindings/iio/afe/ |
H A D | voltage-divider.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/voltage-divider.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the midpoint of a voltage divider, the 18 Vin ----. 20 .-----. 22 '-----' 24 +---- Vout [all …]
|
H A D | temperature-sense-rtd.yaml | 1 # 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 <liambeguin@gmail.com> 17 When an io-channel measures the output voltage across an RTD such as a 19 temperature, not the voltage output. This binding describes such a circuit. 25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc) 30 ----- 32 +---+----+ [all …]
|
H A D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 15 through the sense resistor, not the voltage output. This binding 20 const: current-sense-amplifier 22 io-channels: 25 Channel node of a voltage io-channel. [all …]
|
H A D | temperature-transducer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 19 When an io-channel measures the output voltage of a temperature analog front 21 always the corresponding temperature, not the voltage output. This binding 35 ----- 37 +---+---+ 39 +---+---+ ----- [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1 // 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 …]
|
H A D | aspeed-bmc-ibm-system1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,system1-bmc", "aspeed,ast2600"; 74 stdout-path = "uart5:115200n8"; 82 reserved-memory { 83 #address-cells = <1>; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-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/nxp-imx-8m-plus 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> 17 ain1_voltage_unmanaged: voltage-divider-ain1 { 18 compatible = "voltage-divider"; 19 #io-channel-cells = <1>; 20 io-channels = <&ivy_adc1 0>; [all …]
|
H A D | imx8mm-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/nxp-imx-8m-mini-nano 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> 16 ain1_voltage_unmanaged: voltage-divider-ain1 { 17 compatible = "voltage-divider"; 18 #io-channel-cells = <1>; 19 io-channels = <&ivy_adc1 0>; 20 full-ohms = <19>; [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | maxim,max34408.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ivan Mikhaylov <fr0st61te@gmail.com> 13 The MAX34408/MAX34409 are two- and four-channel current monitors that are 15 unidirectional current sensor offers precision high-side operation with a 16 low full-scale sense voltage. The devices automatically sequence through 17 two or four channels and collect the current-sense samples and average them 19 user-programmable digital thresholds to indicate overcurrent conditions. 20 Overcurrent conditions trigger a hardware output to provide an immediate [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> 13 The PAC1921 is a power/current monitoring device with an analog output 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: [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 …]
|
H A D | k3-am62-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-am62 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> 17 ain1_voltage_unmanaged: voltage-divider-ain1 { 18 compatible = "voltage-divider"; 19 #io-channel-cells = <1>; 20 io-channels = <&ivy_adc1 0>; [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | fsl,mxs-usbphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xu Yang <xu.yang_2@nxp.com> 15 - enum: 16 - fsl,imx23-usbphy 17 - fsl,imx7ulp-usbphy 18 - fsl,vf610-usbphy 19 - items: [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad3552r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf 24 - adi,ad3541r 25 - adi,ad3542r [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> 13 The smart switch provides no output regulation, but independent fault protection 24 - maxim,max5970 25 - maxim,max5978 39 "#address-cells": 42 "#size-cells": 46 "^led@[0-3]$": [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt6893-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt6893-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 17 const: mediatek,mt6893-pinctrl 21 - description: pin controller base 22 - description: rm group IO 23 - description: bm group IO 24 - description: lm group IO [all …]
|
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: 33 bias-pull-up: [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() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() 86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale() [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 23 the DP83869HM can run 1000BASE-X-to-1000BASE-T and 100BASE-FX-to-100BASE-TX [all …]
|
H A D | ti,dp83867.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-controller.yaml# 14 - Andrew Davis <afd@ti.com> 18 transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX 19 and 1000BASE-T Ethernet protocols. 34 nvmem-cells: 40 nvmem-cell-names: 42 - const: io_impedance_ctrl [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | st,stc3117.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hardevsinh Palaniya <hardevsinh.palaniya@siliconsignals.io> 11 - Bhavin Sharma <bhavin.sharma@siliconsignals.io> 15 It provides accurate battery state-of-charge (SOC) monitoring, tracks 17 and aging, and allows the application to get a battery state-of-health 20 An alarm output signals low SOC or low voltage conditions and also 27 - $ref: power-supply.yaml# 32 - st,stc3117 [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | rtc-ds1307.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/rtc-ds1307.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - enum: 16 - dallas,ds1307 17 - dallas,ds1308 18 - dallas,ds1337 19 - dallas,ds1338 [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nuvoton,nau8325.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Seven Lee <WTLI@nuvoton.com> 13 - $ref: dai-common.yaml# 22 nuvoton,vref-impedance-ohms: 24 The vref impedance to be used in ohms. Middle of voltage enables 25 Tie-Off selection options. Due to the high impedance of the VREF 26 pin, it is important to use a low-leakage capacitor. 30 nuvoton,dac-vref-microvolt: [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinconf-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 22 #include <linux/pinctrl/pinconf-generic.h> 28 #include "pinctrl-utils.h" 35 PCONFDUMP(PIN_CONFIG_BIAS_PULL_DOWN, "input bias pull down", "ohms", true), 37 "input bias pull to pin specific state", "ohms", true), 38 PCONFDUMP(PIN_CONFIG_BIAS_PULL_UP, "input bias pull up", "ohms", true), 39 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL, false), 40 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL, false), [all …]
|