aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-16 23:40:32 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-17 15:11:22 +0200
commit20ea6adbf199097c4f5f591ffee088340630dae4 (patch)
treed6719d95e136611a1c25bbf7789652d6d402779d /target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch
parentbca05bd072180dc38ef740b37ded9572a6db1981 (diff)
downloadupstream-20ea6adbf199097c4f5f591ffee088340630dae4.tar.gz
upstream-20ea6adbf199097c4f5f591ffee088340630dae4.tar.bz2
upstream-20ea6adbf199097c4f5f591ffee088340630dae4.zip
bcm27xx: add support for linux v5.15
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch b/target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch
new file mode 100644
index 0000000000..ed542db83e
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0892-docs-hwmon-add-emc2305.rst-to-docs.patch
@@ -0,0 +1,60 @@
+From 653ef165247824be27e900ab28d1f8aa74c09604 Mon Sep 17 00:00:00 2001
+From: Michael Shych <michaelsh@nvidia.com>
+Date: Sat, 30 Apr 2022 14:49:05 +0300
+Subject: [PATCH] docs: hwmon: add emc2305.rst to docs
+
+Submitted to linux-hwmon mailing list at
+https://patchwork.kernel.org/project/linux-hwmon/patch/20220430114905.53448-4-michaelsh@nvidia.com/
+
+Add description of emc2305 driver.
+
+Signed-off-by: Michael Shych <michaelsh@nvidia.com>
+Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
+---
+ Documentation/hwmon/emc2305.rst | 40 +++++++++++++++++++++++++++++++++
+ 1 file changed, 40 insertions(+)
+ create mode 100644 Documentation/hwmon/emc2305.rst
+
+--- /dev/null
++++ b/Documentation/hwmon/emc2305.rst
+@@ -0,0 +1,40 @@
++.. SPDX-License-Identifier: GPL-2.0
++
++Kernel driver emc2305
++=====================
++
++Supported chips:
++ Microchip EMC2305, EMC2303, EMC2302, EMC2301
++
++ Addresses scanned: I2C 0x27, 0x2c, 0x2d, 0x2e, 0x2f, 0x4c, 0x4d
++ Prefixes: 'emc2305'
++
++ Datasheet: Publicly available at the Microchip website :
++ https://www.microchip.com/en-us/product/EMC2305
++
++Description:
++-----------
++This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
++The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives.
++Fan rotation speeds are reported in RPM.
++The driver supports the RPM-based PWM control to keep a fan at the desired speed.
++The driver provides the possibility to have one common PWM interface for all FANs
++or up to the maximum available or configured independent PWMs.
++
++The driver provides the following sysfs interfaces in hwmon subsystem:
++
++================= == ===================================================
++fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
++fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
++pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
++================= == ===================================================
++
++sysfs interfaces in thermal subsystem:
++
++================= == ========================================================================
++cur_state RW file for the current cooling state of the cooling device (0..max_state)
++max_state RO file for the maximum cooling state of the cooling device
++================= == ========================================================================
++
++Configuration is possible via device tree:
++Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml