Home
last modified time | relevance | path

Searched +full:as370 +full:- +full:hwmon (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/hwmon/
H A Das370-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
3 * Synaptics AS370 SoC Hardware Monitoring Driver
10 #include <linux/hwmon.h>
32 static void init_pvt(struct as370_hwmon *hwmon) in init_pvt() argument
35 void __iomem *addr = hwmon->base + CTRL; in init_pvt()
51 struct as370_hwmon *hwmon = dev_get_drvdata(dev); in as370_hwmon_read() local
55 val = readl_relaxed(hwmon->base + STS) & BN_MASK; in as370_hwmon_read()
56 *temp = DIV_ROUND_CLOSEST(val * 251802, 4096) - 85525; in as370_hwmon_read()
59 return -EOPNOTSUPP; in as370_hwmon_read()
98 struct as370_hwmon *hwmon; in as370_hwmon_probe() local
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_HWMON) += hwmon.o
7 obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
10 obj-$(CONFIG_SENSORS_ACPI_POWER) += acpi_power_meter.o
11 obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
12 obj-$(CONFIG_SENSORS_ASUS_EC) += asus-ec-sensors.o
13 obj-$(CONFIG_SENSORS_ASUS_WMI) += asus_wmi_sensors.o
14 obj-$(CONFIG_SENSORS_HP_WMI) += hp-wmi-sensors.o
18 obj-$(CONFIG_SENSORS_ASB100) += asb100.o
19 obj-$(CONFIG_SENSORS_W83627HF) += w83627hf.o
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 menuconfig HWMON config
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
24 will be called hwmon.
26 if HWMON
51 Documentation/hwmon/abituguru.rst
65 revision see Documentation/hwmon/abituguru3.rst
76 with SMpro co-processor.
272 tristate "Synaptics AS370 SoC hardware monitoring driver"
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dsyna,as370.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/hwmon/syna,as370.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synaptics AS370 PVT sensors
10 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
14 const: syna,as370-hwmon
22 - compatible
23 - reg
28 - |
[all …]