Home
last modified time | relevance | path

Searched +full:sg2042 +full:- +full:hwmon +full:- +full:mcu (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/hwmon/
Dsophgo,sg2042-hwmon-mcu.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sophgo SG2042 onboard MCU support
10 - Inochi Amaoto <inochiama@outlook.com>
14 const: sophgo,sg2042-hwmon-mcu
19 "#thermal-sensor-cells":
23 - compatible
24 - reg
[all …]
/linux-6.12.1/drivers/hwmon/
Dsg2042-mcu.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Sophgo power control mcu for SG2042
11 #include <linux/hwmon.h>
17 /* fixed MCU registers */
41 struct sg2042_mcu_data *mcu = seqf->private; \
43 ret = i2c_smbus_read_byte_data(mcu->client, (_reg)); \
63 struct sg2042_mcu_data *mcu = dev_get_drvdata(dev); in reset_count_show() local
66 ret = i2c_smbus_read_byte_data(mcu->client, REG_RST_COUNT); in reset_count_show()
77 struct sg2042_mcu_data *mcu = dev_get_drvdata(dev); in uptime_show() local
81 ret = i2c_smbus_read_i2c_block_data(mcu->client, REG_UPTIME, in uptime_show()
[all …]
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 …]
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.
278 will be called as370-hwmon.
[all …]
/linux-6.12.1/arch/riscv/boot/dts/sophgo/
Dsg2042-milkv-pioneer.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include "sg2042.dtsi"
9 model = "Milk-V Pioneer";
10 compatible = "milkv,pioneer", "sophgo,sg2042";
13 stdout-path = "serial0";
18 clock-frequency = <25000000>;
22 clock-frequency = <25000000>;
26 clock-frequency = <25000000>;
30 bus-width = <4>;
31 no-sdio;
[all …]
/linux-6.12.1/Documentation/hwmon/
Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
10 hwmon-kernel-api
11 pmbus-core
12 submitting-patches
13 sysfs-interface
14 userspace-tools
24 acbel-fsg032
47 aspeed-g6-pwm-tach
48 aspeed-pwm-tacho
53 bel-pfe
[all …]