/freebsd-src/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM) 4 controller outputs and 16 Fan tachometer controller inputs. 6 The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM) 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 10 - #address-cells : should be 1. 11 - #size-cells : should be 0. 12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX. [all …]
|
H A D | aspeed-pwm-tacho.txt | 1 ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver 3 The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan Tacho 4 controller can support upto 16 Fan tachometer inputs. 6 There can be upto 8 fans supported. Each fan can have one PWM output and 7 one/two Fan tach inputs. 9 Required properties for pwm-tacho node: 10 - #address-cells : should be 1. 12 - #size-cells : should be 1. 14 - #cooling-cells: should be 2. 16 - reg : address and length of the register set for the device. [all …]
|
H A D | pwm-fan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fan connected to PWM lines 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 15 const: pwm-fan 17 cooling-levels: 18 description: PWM duty cycle values corresponding to thermal cooling states. [all …]
|
H A D | g762.txt | 1 GMT G762/G763 PWM Fan controller 5 - "compatible": must be either "gmt,g762" or "gmt,g763" 6 - "reg": I2C bus address of the device 7 - "clocks": a fixed clock providing input clock frequency 12 - "fan_startv": fan startup voltage. Accepted values are 0, 1, 2 and 3. 15 - "pwm_polarity": pwm polarity. Accepted values are 0 (positive duty) 18 - "fan_gear_mode": fan gear mode. Supported values are 0, 1 and 2. 21 unmodified (e.g. u-boot installed value). 25 at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf. 30 #address-cells = <1>; [all …]
|
H A D | hpe,gxp-fan-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HPE GXP Fan Controller 10 - Nick Hawkins <nick.hawkins@hpe.com> 13 The HPE GXP fan controller controls the fans through an external CPLD 18 const: hpe,gxp-fan-ctrl 22 - description: Fan controller PWM 23 - description: Programmable logic [all …]
|
H A D | max31785.txt | 1 Bindings for the Maxim MAX31785 Intelligent Fan Controller 8 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan 9 management with temperature and remote voltage sensing. Various fan control 10 features are provided, including PWM frequency control, temperature hysteresis, 11 dual tachometer measurements, and fan health monitoring. 14 - compatible : One of "maxim,max31785" or "maxim,max31785a" 15 - reg : I2C address, one of 0x52, 0x53, 0x54, 0x55.
|
/freebsd-src/sys/powerpc/powermac/ |
H A D | fcu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 54 * /u3@0,f8000000/i2c@f8001000/fan@15e 56 #define FCU_RPM_FAIL 0x0b /* fans states in bits 0<1-6>7 */ 66 #define FCU_PWM_SGET(x) 0x30 + (x) * 2 /* Set or get PWM. */ 69 struct pmac_fan fan; member 89 /* We can read the PWM and the RPM from a PWM controlled fan. 106 static int fcu_fan_set_rpm(struct fcu_fan *fan, int rpm); 107 static int fcu_fan_get_rpm(struct fcu_fan *fan); 108 static int fcu_fan_set_pwm(struct fcu_fan *fan, int pwm); [all …]
|
H A D | smu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 75 struct pmac_fan fan; member 88 /* We can read the PWM and the RPM from a PWM controlled fan. 276 sc->sc_cmd_phy in smu_phys_callback() 657 smu_fan_check_old_style(struct smu_fan * fan) smu_fan_check_old_style() argument 688 smu_fan_set_rpm(struct smu_fan * fan,int rpm) smu_fan_set_rpm() argument 729 smu_fan_read_rpm(struct smu_fan * fan) smu_fan_read_rpm() argument 765 smu_fan_set_pwm(struct smu_fan * fan,int pwm) smu_fan_set_pwm() argument 812 smu_fan_read_pwm(struct smu_fan * fan,int * pwm,int * rpm) smu_fan_read_pwm() argument 862 struct smu_fan *fan; smu_fanrpm_sysctl() local 863 int pwm = 0, rpm, error = 0; smu_fanrpm_sysctl() local 910 struct smu_fan *fan; smu_fill_fan_prop() local 990 struct smu_fan *fan; smu_attach_fans() local [all...] |
/freebsd-src/sys/dev/iicbus/pwm/ |
H A D | adm1030.c | 1 /*- 55 struct pmac_fan fan; member 69 static int adm1030_set(struct adm1030_softc *fan, int pwm); 108 return (-1); in adm1030_write_byte() 129 if (strcmp(name, "fan") != 0 || strcmp(compatible, "adm1030") != 0) in adm1030_probe() 133 if (OF_getprop(handle, "platform-getTemp", &thermostat, sizeof(thermostat)) < 0) in adm1030_probe() 137 sc->sc_dev = dev; in adm1030_probe() 138 sc->sc_addr = iicbus_get_addr(dev); in adm1030_probe() 140 device_set_desc(dev, "G4 MDD Fan driver"); in adm1030_probe() 154 sc->enum_hook.ich_func = adm1030_start; in adm1030_attach() [all …]
|
H A D | adt746x.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 73 struct pmac_fan fan; member 119 static int adt746x_fan_set_pwm(struct adt746x_fan *fan, int pwm); 120 static int adt746x_fan_get_pwm(struct adt746x_fan *fan); 169 return (-1); in adt746x_write() 198 return (-1); in adt746x_read() 216 if (strcmp(name, "fan") != 0 || in adt746x_probe() 222 sc->sc_dev = dev; in adt746x_probe() 223 sc->sc_addr = iicbus_get_addr(dev); in adt746x_probe() [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3399-nanopc-t4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * FriendlyElec NanoPC-T4 board device tree source 11 /dts-v1/; 12 #include "rk3399-nanopi4.dtsi" 15 model = "FriendlyElec NanoPC-T4"; 16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399"; 18 vcc12v0_sys: vcc12v0-sys { 19 compatible = "regulator-fixed"; 20 regulator-always-on; 21 regulator-boot-on; [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/nvidia/ |
H A D | tegra234-p3737-0000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/sound/rt5640.h> 6 compatible = "nvidia,p3737-0000"; 15 dai-format = "i2s"; 16 remote-endpoint = <&rt5640_ep>; 32 vcc-supply = <&vdd_1v8_sys>; 33 address-width = <8>; 36 read-only; 43 audio-codec@1c { 46 interrupt-parent = <&gpio>; [all …]
|
H A D | tegra234-p3768-0000+p3767-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra234-p3768-0000+p3767.dtsi" 7 compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234";
|
H A D | tegra234-p3768-0000+p3767-0005.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra234-p3768-0000+p3767.dtsi" 7 compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234";
|
/freebsd-src/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt7986a-bananapi-bpi-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Frank Wunderlich <frank-w@public-files.de> 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-binding 41 fan: pwm-fan { global() label [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6ull-tarragon-slavext.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 5 #include "imx6ull-tarragon-common.dtsi" 9 compatible = "chargebyte,imx6ull-tarragon-slavext", "fsl,imx6ull"; 11 fan0: pwm-fan { [all...] |
H A D | imx6ull-tarragon-master.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 5 #include "imx6ull-tarragon-common.dtsi" 9 compatible = "chargebyte,imx6ull-tarragon-master", "fsl,imx6ull"; 11 fan0: pwm-fan { [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-opp-swift.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,swift-bm [all...] |
H A D | aspeed-bmc-opp-tacoma.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-binding [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/amlogic/ |
H A D | meson-g12b-odroid.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/gpio/meson-g12a-gpio.h> 9 #include <dt-bindings/sound/meson-g12a-toacode 33 fan: gpio-fan { global() label [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/ |
H A D | kontron,sl28cpld.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/marvell/ |
H A D | armada-8040-clearfog-gt-8k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040", 17 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 20 stdout-path = "serial0:115200n8"; 34 fan: pwm { label 35 compatible = "pwm-fan"; 37 cooling-levels = <0 51 102 153 204 255>; [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos4412-odroidu3.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel's Exynos4412 based ODROID-U3 board device tree source 7 * Device tree source file for Hardkernel's ODROID-U3 board which is based 11 /dts-v1/; 12 #include <dt-bindings/leds/common.h> 13 #include "exynos4412-odroid-common.dtsi" 14 #include "exynos4412-prime.dtsi" 17 model = "Hardkernel ODROID-U3 board based on Exynos4412"; 18 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; 29 vbus_otg_reg: regulator-1 { [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/pwm/ |
H A D | intel,lgm-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/intel,lgm-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LGM SoC PWM fan controller 10 - Rahul Tanwar <rtanwar@maxlinear.com> 13 - $ref: pwm.yaml# 17 const: intel,lgm-pwm 22 "#pwm-cells": 32 - compatible [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/ |
H A D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-ma [all...] |