From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013AbbLZO5A (ORCPT ); Sat, 26 Dec 2015 09:57:00 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33690 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbbLZO47 (ORCPT ); Sat, 26 Dec 2015 09:56:59 -0500 From: "=?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?=" X-Google-Original-From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= To: Darren Hart Cc: Corentin Chary , platform-driver-x86@vger.kernel.org, acpi4asus-user@lists.sourceforge.net, linux-kernel@vger.kernel.org, =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Subject: [RFCv2 0/4] Asus Wireless Radio Control driver Date: Sat, 26 Dec 2015 09:56:33 -0500 Message-Id: <1451141797-1066-1-git-send-email-jprvita@endlessm.com> X-Mailer: git-send-email 2.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the 2nd RFC for the "Asus Wireless Radio Control" device, addressing the comments on the previous RFC. The differences from the previous RFC are: - Generate input events accessing the input layer directly instead of using sparse_keymap, as this was considered overkill for a device which has only one event type. - Set the input device vendor id. - Clean-up the driver to make a little shorter: now the only extra bits comparing to Mousou's proposal is the "struct asus_wireless_data", which is used to keep all the driver's data (input device pointer, acpi device pointer and LEDs data). - Compile the driver as a module by default. - Select the necessary config options to compile the led_class subsystem when this driver is selected. - Change the module name from asus-wrc to asus-wireless. Since I am currently travelling I did not have a chance to test this changes, but I'll do so as soon as I get back to my home office on Jan 1st. I decided to send this updated version anyway to get feedback since this can't be merged until we have the airplane mode RFKill LED trigger merged in the wireless tree. I'll also send that patch to linux-wireless for feedback and integration later today. Regards, Joao Paulo João Paulo Rechi Vita (4): platform/x86: Add Asus Wireless Radio Control driver asus-wireless: Add ACPI HID ATK4001 net/rfkill: Create "airplane mode" LED trigger asus-wireless: Toggle airplane mode LED MAINTAINERS | 6 ++ drivers/platform/x86/Kconfig | 17 ++++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/asus-wireless.c | 187 +++++++++++++++++++++++++++++++++++ net/rfkill/core.c | 30 ++++++ 5 files changed, 241 insertions(+) create mode 100644 drivers/platform/x86/asus-wireless.c -- 2.5.0