hwmon: (w83773g) Add documentation
PATCH 2/3 hwmon: (w83773g) Add documentation
Add documentation for the w83773g driver.
Signed-off-by Lei YU <[email protected]>
--- Documentation/hwmon/w83773g | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/hwmon/w83773g
Documentation/hwmon/w83773g new file +28 -0
@@ -0,0 +1,28 @@ +Kernel driver w83773g +==================== + +Supported chips: + * Nuvoton W83773G + Prefix: 'w83773g' + Addresses scanned: I2C 0x4c and 0x4d + Datasheet: https://www.nuvoton.com/resource-files/W83773G_SG_DatasheetV1_2.pdf + +Authors: + Lei YU <[email protected]> + +Description +----------- + +This driver implements support for Nuvoton W83773G temperature sensor +chip. This chip implements one local and two remote sensors. +Temperature is measured in degrees Celsius. +The chip is wired over I2C/SMBus and specified over a temperature +range of -40 to +125 degrees Celsius (for local sensor) and -40 to +127 +degrees Celsius (for remote sensors). +Resolution for both the local and remote channels is 0.125 degree C. + +The chip supports only temperature measurement. The driver exports +the temperature values via the following sysfs files: + +temp[1-3]_input +temp[2-3]_fault
Signature · 1 line
1.9.1
PATCH 3/3 ARM: aspeed: romulus: Add w83773g temp sensor
Signed-off-by Lei YU <[email protected]>
--- arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +4 -1
@@ -255,8 +255,11 @@ /* CPLD */ /* Power Supply */ /* Temp Sensor */ - /* Temp Sensor */ + w83773g@4c { + compatible = "nuvoton,w83773g"; + reg = <0x4c>; + }; }; &i2c13 {
Signature · 1 line
1.9.1
Re: [PATCH linux dev-4.10 3/3] ARM: aspeed: romulus: Add w83773g temp sensor
Quoted 1 line · Lei YU
Signed-off-by Lei YU <[email protected]>
Reviewed-by Joel Stanley <[email protected]>
When you send v2, you can add my reviewed-by tag to the commit message for this commit.
Cheers,
Joel