From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbbBVLu4 (ORCPT ); Sun, 22 Feb 2015 06:50:56 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:48987 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbbBVLuw (ORCPT ); Sun, 22 Feb 2015 06:50:52 -0500 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Guenter Roeck , Arnd Bergmann , "Greg Kroah-Hartman" , Steven Honeyman , Jean Delvare , Valdis.Kletnieks@vt.edu, Jochen Eisinger , Gabriele Mazzotta , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org Subject: i8k: move driver from char to hwmon Date: Sun, 22 Feb 2015 12:50:49 +0100 User-Agent: KMail/1.13.7 (Linux/3.13.0-45-generic; KDE/4.14.2; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8639756.QICyvGlI7y"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201502221250.49466@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart8639756.QICyvGlI7y Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, currently i8k driver for DELLDIAG SMM operations (charger,=20 battery, hotkeys, temperature and fan control) supports two=20 interfaces: 1) old /proc/i8k char device 2) new hwmon interface Driver now lives in char subsystem, but nowadays I think lot of=20 people are interested only in hwmon interface which provides=20 temperature & fan control. Power management and hotkeys support=20 (which is missing in 2) but provided by 1)) is already handled by=20 ACPI or input subsystem for new laptops. Also name "i8k" is really non intuitive what it means and=20 supports... (I was told it is abbreviation for Inspirion 8000=20 model which was probably first dell model supported by that=20 DELLDIAG interface). Now driver is used on Vostro, Latitude and=20 also Precision and XPS models. I think at least "dell" should be=20 part of driver name and config option. So I have idea for some changes: 1) Move driver from char subsystem to hwmon 2) Rename driver from i8k to something like delldiag or dellsmm 3) Add new CONFIG_ option to enable/disable /proc/i8k device and=20 compile only hwmon interface support What do you think about it? I do not want to delete /proc/i8k interface (or break support for=20 it) as there are still userspace applications which use this old=20 interface and for old models it is probably only way how to=20 detect power supply and multimedia hotkeys... =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart8639756.QICyvGlI7y Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlTpwpkACgkQi/DJPQPkQ1KmigCgpnyPy/wF3L6YESgV+o0AgRtL lBYAnjdmkjkMjaiiJiIZ49vqugkSQkig =HdsF -----END PGP SIGNATURE----- --nextPart8639756.QICyvGlI7y--