All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rudolf Marek <r.marek@assembler.cz>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 2/2]  hwmon: (it87) Add support for IT8623E
Date: Mon, 24 Mar 2014 22:23:39 +0000	[thread overview]
Message-ID: <5330B06B.5030207@assembler.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

Hi all,

The attached patch adds support for the IT8623E found on Asus motherboards. It 
has same hardware monitoring block as IT8603E.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>

Compile tested. Martin, please can you test?

Thanks
Rudolf


[-- Attachment #2: it8623.patch --]
[-- Type: text/x-diff, Size: 2521 bytes --]

Index: linux-3.14-rc7/Documentation/hwmon/it87
===================================================================
--- linux-3.14-rc7.orig/Documentation/hwmon/it87	2014-03-17 02:51:24.000000000 +0100
+++ linux-3.14-rc7/Documentation/hwmon/it87	2014-03-24 23:01:24.946438930 +0100
@@ -2,7 +2,7 @@
 ==================
 
 Supported chips:
-  * IT8603E
+  * IT8603E/IT8623E
     Prefix: 'it8603'
     Addresses scanned: from Super I/O config space (8 I/O ports)
     Datasheet: Not publicly available
@@ -94,9 +94,9 @@
 Description
 -----------
 
-This driver implements support for the IT8603E, IT8705F, IT8712F, IT8716F,
-IT8718F, IT8720F, IT8721F, IT8726F, IT8728F, IT8758E, IT8771E, IT8772E,
-IT8782F, IT8783E/F, and SiS950 chips.
+This driver implements support for the IT8603E, IT8623E, IT8705F, IT8712F,
+IT8716F, IT8718F, IT8720F, IT8721F, IT8726F, IT8728F, IT8758E, IT8771E,
+IT8772E, IT8782F, IT8783E/F, and SiS950 chips.
 
 These chips are 'Super I/O chips', supporting floppy disks, infrared ports,
 joysticks and other miscellaneous stuff. For hardware monitoring, they
@@ -133,7 +133,7 @@
 The IT8728F, IT8771E, and IT8772E are considered compatible with the IT8721F,
 until a datasheet becomes available (hopefully.)
 
-The IT8603E is a custom design, hardware monitoring part is similar to
+The IT8603E/IT8623E is a custom design, hardware monitoring part is similar to
 IT8728F. It only supports 16-bit fan mode, the full speed mode of the
 fan is not supported (value 0 of pwmX_enable).
 
Index: linux-3.14-rc7/drivers/hwmon/it87.c
===================================================================
--- linux-3.14-rc7.orig/drivers/hwmon/it87.c	2014-03-24 22:57:57.213050493 +0100
+++ linux-3.14-rc7/drivers/hwmon/it87.c	2014-03-24 22:54:27.000000000 +0100
@@ -11,6 +11,7 @@
  *  similar parts.  The other devices are supported by different drivers.
  *
  *  Supports: IT8603E  Super I/O chip w/LPC interface
+ *            IT8623E  Super I/O chip w/LPC interface
  *            IT8705F  Super I/O chip w/LPC interface
  *            IT8712F  Super I/O chip w/LPC interface
  *            IT8716F  Super I/O chip w/LPC interface
@@ -148,6 +149,7 @@
 #define IT8782F_DEVID 0x8782
 #define IT8783E_DEVID 0x8783
 #define IT8603E_DEVID 0x8603
+#define IT8623E_DEVID 0x8623
 #define IT87_ACT_REG  0x30
 #define IT87_BASE_REG 0x60
 
@@ -1767,6 +1769,7 @@
 		sio_data->type = it8783;
 		break;
 	case IT8603E_DEVID:
+	case IT8623E_DEVID:
 		sio_data->type = it8603;
 		break;
 	case 0xffff:	/* No device at all */

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

             reply	other threads:[~2014-03-24 22:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24 22:23 Rudolf Marek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-02 19:17 [lm-sensors] [PATCH 2/2] hwmon: (it87) Add support for IT8772E Guenter Roeck
2014-03-25  8:24 ` [lm-sensors] [PATCH 2/2] hwmon: (it87) Add support for IT8623E Jean Delvare
2014-03-25 10:12 ` Martin Herrholz
2014-03-25 11:36 ` Jean Delvare
2014-03-25 11:57 ` Martin Herrholz
2014-03-25 14:59 ` Rudolf Marek
2014-03-25 15:20 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5330B06B.5030207@assembler.cz \
    --to=r.marek@assembler.cz \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.