Searched +full:sparx5 +full:- +full:temp (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/ |
D | microchip,sparx5-temp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip Sparx5 Temperature Monitor 10 - Lars Povlsen <lars.povlsen@microchip.com> 13 Microchip Sparx5 embedded temperature monitor 18 - microchip,sparx5-temp 25 - description: AHB reference clock 27 '#thermal-sensor-cells': [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | sparx5-temp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Sparx5 SoC temperature sensor driver 38 u32 val = readl(hwmon->base + TEMP_CFG); in s5_temp_enable() 39 u32 clk = clk_get_rate(hwmon->clk) / USEC_PER_SEC; in s5_temp_enable() 45 writel(val, hwmon->base + TEMP_CFG); in s5_temp_enable() 49 u32 attr, int channel, long *temp) in s5_read() argument 57 stat = readl_relaxed(hwmon->base + TEMP_STAT); in s5_read() 59 return -EAGAIN; in s5_read() 63 * Temp(C) = TEMP_SENSOR_STAT.TEMP / 4096 * 352.2 - 109.4 in s5_read() 65 value = DIV_ROUND_CLOSEST(value * 3522, 4096) - 1094; in s5_read() [all …]
|
D | Makefile | 1 # 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 15 obj-$(CONFIG_SENSORS_ASB100) += asb100.o 16 obj-$(CONFIG_SENSORS_W83627HF) += w83627hf.o 17 obj-$(CONFIG_SENSORS_W83773G) += w83773g.o 18 obj-$(CONFIG_SENSORS_W83792D) += w83792d.o 19 obj-$(CONFIG_SENSORS_W83793) += w83793.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 sensors-detect script from the lm_sensors package. Read 21 <file:Documentation/hwmon/userspace-tools.rst> for details. 52 will be called abx500-temp. 267 will be called as370-hwmon. 290 will be called axi-fan-control 299 lm-sensors 2.10.1 for proper userspace support. 348 Only Intel-based Apple's computers are supported (MacBook Pro, 355 the laptop to act as a pinball machine-esque joystick. 370 will be called scmi-hwmon. [all …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | sparx5-temp.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Microchip SparX-5 SoC 8 * VSC7546, VSC7549, VSC755, VSC7556, and VSC7558 (Sparx5 series) 10 Prefix: 'sparx5-temp' 12 Addresses scanned: - 19 ----------- 21 The Sparx5 SoC contains a temperature sensor based on the MR74060 24 The sensor has a range of -40°C to +125°C and an accuracy of +/-5°C. 27 -------------
|
D | index.rst | 8 hwmon-kernel-api 9 pmbus-core 10 inspur-ipsps1 11 submitting-patches 12 sysfs-interface 13 userspace-tools 46 aspeed-pwm-tacho 48 bel-pfe 49 bt1-pvt 51 corsair-cpro [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/microchip/ |
D | sparx5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/microchip,sparx5.h> 11 compatible = "microchip,sparx5"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <1>; 23 stdout-path = "serial0:115200n8"; 27 #address-cells = <2>; [all …]
|