Commit 46b94c48 authored by Ban Feng's avatar Ban Feng Committed by Guenter Roeck
Browse files

hwmon: Add driver for I2C chip Nuvoton NCT7363Y



The NCT7363Y is a fan controller which provides up to 16
independent FAN input monitors. It can report each FAN input count
values. The NCT7363Y also provides up to 16 independent PWM
outputs. Each PWM can output specific PWM signal by manual mode to
control the FAN duty outside.

Signed-off-by: default avatarBan Feng <kcfeng0@nuvoton.com>
Message-ID: <20241022052905.4062682-3-kcfeng0@nuvoton.com>
[groeck: Dropped unnecessary variable initialization, and , after { }]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 15cae9c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ Hardware Monitoring Kernel Drivers
   mpq8785
   nct6683
   nct6775
   nct7363
   nct7802
   nct7904
   npcm750-pwm-fan
+35 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

Kernel driver nct7363
=====================

Supported chip:

  * Nuvoton NCT7363Y

    Prefix: nct7363

    Addresses: I2C 0x20, 0x21, 0x22, 0x23

Author: Ban Feng <kcfeng0@nuvoton.com>


Description
-----------

The NCT7363Y is a fan controller which provides up to 16 independent
FAN input monitors, and up to 16 independent PWM outputs with SMBus interface.


Sysfs entries
-------------

Currently, the driver supports the following features:

==========  ==========================================
fanX_input  provide current fan rotation value in RPM
fanX_alarm  report fan low speed real status
fanX_min    get or set fan count threshold

pwmX        get or set PWM fan control value.
==========  ==========================================
+2 −0
Original line number Diff line number Diff line
@@ -15955,6 +15955,8 @@ M: Ban Feng <kcfeng0@nuvoton.com>
L:	linux-hwmon@vger.kernel.org
S:	Maintained
F:	Documentation/devicetree/bindings/hwmon/nuvoton,nct7363.yaml
F:	Documentation/hwmon/nct7363.rst
F:	drivers/hwmon/nct7363.c
NETCONSOLE
M:	Breno Leitao <leitao@debian.org>
+11 −0
Original line number Diff line number Diff line
@@ -1681,6 +1681,17 @@ config SENSORS_NCT6775_I2C
	  This driver can also be built as a module. If so, the module
	  will be called nct6775-i2c.

config SENSORS_NCT7363
	tristate "Nuvoton NCT7363Y"
	depends on I2C
	select REGMAP_I2C
	help
	  If you say yes here you get support for the Nuvoton NCT7363Y
	  hardware monitoring chip.

	  This driver can also be built as a module. If so, the module
	  will be called nct7363.

config SENSORS_NCT7802
	tristate "Nuvoton NCT7802Y"
	depends on I2C
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@ obj-$(CONFIG_SENSORS_NCT6775_CORE) += nct6775-core.o
nct6775-objs			:= nct6775-platform.o
obj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
obj-$(CONFIG_SENSORS_NCT6775_I2C) += nct6775-i2c.o
obj-$(CONFIG_SENSORS_NCT7363)	+= nct7363.o
obj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
obj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
obj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
Loading