Home
last modified time | relevance | path

Searched +full:iio +full:- +full:hwmon (Results 1 – 25 of 64) sorted by relevance

123

/linux/Documentation/devicetree/bindings/hwmon/
H A Diio-hwmon.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC-attached Hardware Sensor
10 - Jonathan Cameron <jic23@kernel.org>
18 const: iio-hwmon
20 io-channels:
27 - compatible
28 - io-channels
[all …]
H A Damphenol,chipcap2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/amphenol,chipcap2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChipCap 2 humidity and temperature iio sensor
10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
16 https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
21 - const: amphenol,cc2d23
22 - items:
23 - enum:
[all …]
/linux/drivers/hwmon/
H A Diio_hwmon.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Hwmon client for industrial I/O devices
15 #include <linux/hwmon.h>
16 #include <linux/hwmon-sysfs.h>
17 #include <linux/iio/consumer.h>
18 #include <linux/iio/types.h>
21 * struct iio_hwmon_state - device instance state
22 * @channels: filled with array of channels from iio
42 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_label()
48 * Assumes that IIO and hwmon operate in the same base units.
[all …]
H A Dad7314.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Conversion to hwmon from IIO done by Jonathan Cameron <jic23@cam.ac.uk>
16 #include <linux/hwmon.h>
17 #include <linux/hwmon-sysfs.h>
48 ret = spi_read(chip->spi_dev, (u8 *)&chip->rx, sizeof(chip->rx)); in ad7314_spi_read()
50 dev_err(&chip->spi_dev->dev, "SPI read error\n"); in ad7314_spi_read()
54 return be16_to_cpu(chip->rx); in ad7314_spi_read()
68 switch (spi_get_device_id(chip->spi_dev)->driver_data) { in ad7314_temperature_show()
71 /* Invalid read-out, leading zero part is missing */ in ad7314_temperature_show()
72 return -EIO; in ad7314_temperature_show()
[all …]
/linux/Documentation/driver-api/iio/
H A Dintro.rst7 The main purpose of the Industrial I/O subsystem (IIO) is to provide support
9 analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC)
10 or both. The aim is to fill the gap between the somewhat similar hwmon and
11 :doc:`input <../input>` subsystems. Hwmon is directed at low sample rate
15 In some cases there is considerable overlap between these and IIO.
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-supermicro-x11spi.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
6 #include "aspeed-g5.dtsi"
10 compatible = "supermicro,x11spi-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
32 iio-hwmon {
[all …]
H A Daspeed-bmc-intel-s2600wf.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "aspeed-g5.dtsi"
9 compatible = "intel,s2600wf-bmc", "aspeed,ast2500";
12 stdout-path = &uart5;
20 reserved-memory {
21 #address-cells = <1>;
22 #size-cells = <1>;
26 no-map;
31 iio-hwmon {
[all …]
H A Daspeed-bmc-inspur-on5263m5.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "aspeed-g5.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
10 compatible = "inspur,on5263m5-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
[all …]
H A Daspeed-bmc-quanta-q71l.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g4.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "quanta,q71l-bmc", "aspeed,ast2400";
30 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
44 no-map;
[all …]
H A Daspeed-bmc-tyan-s8036.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "tyan,s8036-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
[all …]
H A Daspeed-bmc-facebook-galaxy100.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,galaxy100-bmc", "aspeed,ast2400";
12 stdout-path = &uart5;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>;
24 aspeed,reset-type = "system";
30 m25p,fast-read;
[all …]
H A Daspeed-bmc-microsoft-olympus.dts1 //SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g4.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
10 compatible = "microsoft,olympus-bmc", "aspeed,ast2400";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 no-map;
[all …]
H A Daspeed-bmc-facebook-wedge100.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,wedge100-bmc", "aspeed,ast2400";
12 stdout-path = &uart3;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
24 aspeed,reset-type = "system";
30 m25p,fast-read;
[all …]
H A Daspeed-bmc-facebook-wedge40.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2400-facebook-netbmc-common.dtsi"
9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400";
12 stdout-path = &uart3;
16 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_pwm0_default
[all …]
H A Daspeed-bmc-tyan-s7106.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "tyan,s7106-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
[all …]
H A Daspeed-bmc-opp-tacoma.dts1 // 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,tacoma-bmc", "aspeed,ast2600";
15 stdout-path = &uart5;
24 reserved-memory {
25 #address-cells = <1>;
[all …]
H A Daspeed-bmc-facebook-greatlakes.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include <dt-bindings/i2c/i2c.h>
12 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600";
23 iio-hwmon {
24 compatible = "iio-hwmon";
25 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
H A Daspeed-bmc-amd-daytonax.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "amd,daytonax-bmc", "aspeed,ast2500";
16 reserved-memory {
17 #address-cells = <1>;
18 #size-cells = <1>;
24 compatible = "shared-dma-pool";
[all …]
H A Daspeed-bmc-amd-ethanolx.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
6 #include "aspeed-g5.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
12 compatible = "amd,ethanolx-bmc", "aspeed,ast2500";
18 reserved-memory {
19 #address-cells = <1>;
20 #size-cells = <1>;
26 compatible = "shared-dma-pool";
[all …]
H A Daspeed-bmc-asrock-spc621d8hm3.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/leds/common.h>
12 compatible = "asrock,spc621d8hm3-bmc", "aspeed,ast2500";
22 stdout-path = &uart5;
30 compatible = "gpio-leds";
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dpm8058.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #interrupt-cells = <2>;
7 interrupt-controller;
8 #address-cells = <1>;
9 #size-cells = <0>;
12 compatible = "qcom,pm8058-pwrkey";
14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>,
17 pull-up;
21 compatible = "qcom,pm8058-keypad-led";
27 compatible = "qcom,pm8058-vib";
[all …]
/linux/drivers/thermal/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y to add a debugfs-based thermal core testing facility.
53 int "Emergency poweroff delay in milli-seconds"
70 prompt "Expose thermal sensors as hwmon device"
71 depends on HWMON=y || HWMON=THERMAL
76 as a hwmon. The sensor will then have the common
77 hwmon sysfs interface.
80 have hwmon sysfs interface too.
145 bool "Fair-share thermal governor"
147 Enable this to manage platform thermals using fair-share governor.
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-mlxreg-io1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
6 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
25 forward direction - relevant bit is set 0;
26 reversed direction - relevant bit is set 1.
30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
39 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
48 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-ab8505.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
24 interrupt-parent = <&intc>;
26 interrupt-controller;
27 #interrupt-cells = <2>;
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]

123