| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
| D | aspeed-bmc-lenovo-hr855xg2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500"; 29 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; [all …]
|
| D | aspeed-bmc-lenovo-hr630.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2019-present Lenovo 8 /dts-v1/; 10 #include "aspeed-g5.dtsi" 11 #include <dt-bindings/gpio/aspeed-gpio.h> 15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500"; 29 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; [all …]
|
| 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-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 …]
|
| D | aspeed-bmc-opp-mowgli.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,mowgli-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; [all …]
|
| D | aspeed-bmc-microsoft-olympus.dts | 1 //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 …]
|
| D | aspeed-bmc-opp-romulus.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ibm,romulus-bmc", "aspeed,ast2500"; 11 stdout-path = &uart5; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 25 no-map; [all …]
|
| D | aspeed-bmc-inspur-fp5280g2.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 = "inspur,fp5280g2-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
| D | aspeed-bmc-amd-ethanolx.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 7 #include <dt-bindings/gpio/aspeed-gpio.h> 11 compatible = "amd,ethanolx-bmc", "aspeed,ast2500"; 21 stdout-path = &uart5; 25 compatible = "gpio-leds"; 28 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; 32 gpios = <&gpio ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; 35 iio-hwmon { [all …]
|
| D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 15 marvell,function = "gpio"; 18 pmx_fanctrl_15: pmx-fanctrl-15 { 20 marvell,function = "gpio"; 23 pmx_fanctrl_16: pmx-fanctrl-16 { 25 marvell,function = "gpio"; 28 pmx_fanctrl_17: pmx-fanctrl-17 { 30 marvell,function = "gpio"; [all …]
|
| D | aspeed-bmc-opp-lanyang.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "inventec,lanyang-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| D | fan.c | 27 #include <subdev/bios/fan.h> 28 #include <subdev/gpio.h> 32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument 34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update() 35 struct nvkm_subdev *subdev = &therm->subdev; in nvkm_fan_update() 36 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update() 41 /* update target fan speed, restricting to allowed range */ in nvkm_fan_update() 42 spin_lock_irqsave(&fan->lock, flags); in nvkm_fan_update() 44 target = fan->percent; in nvkm_fan_update() 45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update() [all …]
|
| D | fantog.c | 26 #include <subdev/gpio.h> 39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument 41 struct nvkm_therm *therm = fan->base.parent; in nvkm_fantog_update() 42 struct nvkm_device *device = therm->subdev.device; in nvkm_fantog_update() 43 struct nvkm_timer *tmr = device->timer; in nvkm_fantog_update() 44 struct nvkm_gpio *gpio = device->gpio; in nvkm_fantog_update() local 48 spin_lock_irqsave(&fan->lock, flags); in nvkm_fantog_update() 50 percent = fan->percent; in nvkm_fantog_update() 51 fan->percent = percent; in nvkm_fantog_update() 53 duty = !nvkm_gpio_get(gpio, 0, DCB_GPIO_FAN, 0xff); in nvkm_fantog_update() [all …]
|
| D | fanpwm.c | 29 #include <subdev/bios/fan.h> 30 #include <subdev/gpio.h> 40 struct nvkm_fanpwm *fan = (void *)therm->fan; in nvkm_fanpwm_get() local 41 struct nvkm_device *device = therm->subdev.device; in nvkm_fanpwm_get() 42 struct nvkm_gpio *gpio = device->gpio; in nvkm_fanpwm_get() local 43 int card_type = device->card_type; in nvkm_fanpwm_get() 47 ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); in nvkm_fanpwm_get() 50 if (card_type <= NV_40 || (fan->func.log[0] & 1)) in nvkm_fanpwm_get() 51 duty = divs - duty; in nvkm_fanpwm_get() 55 return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100; in nvkm_fanpwm_get() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| D | fan.c | 27 #include <subdev/bios/fan.h> 28 #include <subdev/gpio.h> 32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument 34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update() 35 struct nvkm_subdev *subdev = &therm->subdev; in nvkm_fan_update() 36 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update() 41 /* update target fan speed, restricting to allowed range */ in nvkm_fan_update() 42 spin_lock_irqsave(&fan->lock, flags); in nvkm_fan_update() 44 target = fan->percent; in nvkm_fan_update() 45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update() [all …]
|
| D | fantog.c | 26 #include <subdev/gpio.h> 39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument 41 struct nvkm_therm *therm = fan->base.parent; in nvkm_fantog_update() 42 struct nvkm_device *device = therm->subdev.device; in nvkm_fantog_update() 43 struct nvkm_timer *tmr = device->timer; in nvkm_fantog_update() 44 struct nvkm_gpio *gpio = device->gpio; in nvkm_fantog_update() local 48 spin_lock_irqsave(&fan->lock, flags); in nvkm_fantog_update() 50 percent = fan->percent; in nvkm_fantog_update() 51 fan->percent = percent; in nvkm_fantog_update() 53 duty = !nvkm_gpio_get(gpio, 0, DCB_GPIO_FAN, 0xff); in nvkm_fantog_update() [all …]
|
| D | fanpwm.c | 29 #include <subdev/bios/fan.h> 30 #include <subdev/gpio.h> 40 struct nvkm_fanpwm *fan = (void *)therm->fan; in nvkm_fanpwm_get() local 41 struct nvkm_device *device = therm->subdev.device; in nvkm_fanpwm_get() 42 struct nvkm_gpio *gpio = device->gpio; in nvkm_fanpwm_get() local 43 int card_type = device->card_type; in nvkm_fanpwm_get() 47 ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); in nvkm_fanpwm_get() 50 if (card_type <= NV_40 || (fan->func.log[0] & 1)) in nvkm_fanpwm_get() 51 duty = divs - duty; in nvkm_fanpwm_get() 55 return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100; in nvkm_fanpwm_get() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | aspeed-bmc-opp-romulus.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ibm,romulus-bmc", "aspeed,ast2500"; 11 stdout-path = &uart5; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 25 no-map; [all …]
|
| D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 15 marvell,function = "gpio"; 18 pmx_fanctrl_15: pmx-fanctrl-15 { 20 marvell,function = "gpio"; 23 pmx_fanctrl_16: pmx-fanctrl-16 { 25 marvell,function = "gpio"; 28 pmx_fanctrl_17: pmx-fanctrl-17 { 30 marvell,function = "gpio"; [all …]
|
| D | aspeed-bmc-opp-lanyang.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "inventec,lanyang-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
| D | kirkwood-linkstation-lswxl.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Buffalo Linkstation LS-WXL 9 /dts-v1/; 10 #include "kirkwood-linkstation-duo-6281.dtsi" 13 model = "Buffalo Linkstation LS-WXL"; 14 compatible = "buffalo,lswxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 22 pinctrl: pin-controller@10000 { 23 pmx_led_hdderr0: pmx-led-hdderr0 { 25 marvell,function = "gpio"; 27 pmx_led_hdderr1: pmx-led-hdderr1 { [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | gpio-fan.txt | 1 Bindings for fan connected to GPIO lines 4 - compatible : "gpio-fan" 7 - gpios: Specifies the pins that map to bits in the control value, 8 ordered MSB-->LSB. 9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the 12 - alarm-gpios: This pin going active indicates something is wrong with 13 the fan, and a udev event will be fired. 14 - #cooling-cells: If used as a cooling device, must be <2> 16 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml 17 min and max states are derived from the speed-map of the fan. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/hwmon/ |
| D | gpio-fan.txt | 1 Bindings for fan connected to GPIO lines 4 - compatible : "gpio-fan" 7 - gpios: Specifies the pins that map to bits in the control value, 8 ordered MSB-->LSB. 9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the 12 - alarm-gpios: This pin going active indicates something is wrong with 13 the fan, and a udev event will be fired. 14 - #cooling-cells: If used as a cooling device, must be <2> 16 min and max states are derived from the speed-map of the fan. 18 Note: At least one the "gpios" or "alarm-gpios" properties must be set. [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | adm1026.rst | 16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing 17 - Justin Thiessen <jthiessen@penguincomputing.com> 20 ----------------- 23 List of GPIO pins (0-16) to program as inputs 26 List of GPIO pins (0-16) to program as outputs 29 List of GPIO pins (0-16) to program as inverted 32 List of GPIO pins (0-16) to program as normal/non-inverted 35 List of GPIO pins (0-7) to program as fan tachs 39 ----------- 45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit), [all …]
|
| /kernel/linux/linux-4.19/Documentation/hwmon/ |
| D | adm1026 | 16 ----------------- 19 List of GPIO pins (0-16) to program as inputs 21 List of GPIO pins (0-16) to program as outputs 23 List of GPIO pins (0-16) to program as inverted 25 List of GPIO pins (0-16) to program as normal/non-inverted 27 List of GPIO pins (0-7) to program as fan tachs 31 ----------- 37 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit), 44 generated. The interrupts can be masked. In addition, there are over-temp 49 Fan rotation speeds are reported in RPM (rotations per minute) but measured [all …]
|