From patchwork Tue Nov 27 02:57:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayman Bagabas X-Patchwork-Id: 10699597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE64013BF for ; Tue, 27 Nov 2018 02:58:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C43E27F17 for ; Tue, 27 Nov 2018 02:58:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53DF12A82D; Tue, 27 Nov 2018 02:58:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9A2A2A4EA for ; Tue, 27 Nov 2018 02:58:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728129AbeK0Nyw (ORCPT ); Tue, 27 Nov 2018 08:54:52 -0500 Received: from mail-vs1-f66.google.com ([209.85.217.66]:33273 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727741AbeK0Nyv (ORCPT ); Tue, 27 Nov 2018 08:54:51 -0500 Received: by mail-vs1-f66.google.com with SMTP id p74so12846703vsc.0; Mon, 26 Nov 2018 18:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+SpCvJ6dOQ1Y5lk0r4h7DY38+z30ZZLzFsOr0MjWx4w=; b=I8LYJDTsNmZy4UEtcRhhcXe1sBltqIlquc7E5ObHN/py69RkGWKrr83SQRW0qKYRFR u+rkNYa56PnZPOOsYCbncSqQU8m5A/gZoS6500VaUMUkSlMFi9QFFyVV4Kms7syDZ63I OAUxfJKY98HSW3s6iVJJR+Nm9Z5h8qnKlU5/mbsqHcI83ePJtlX8+VTHtr5XwgtlHgEt EOfm+BfV0loUBgp/XAg5F1OPwG+3bcKrX/EUZcATF0xkE3BLWSWszXnsvIvpEWnIR7Yq w6ndAgWOdJMVvMqGr2+mDwJgr0VUo92woXN+MP6YYSAEAN0+2q3ulZT+xleZRSLmJjKm OyPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+SpCvJ6dOQ1Y5lk0r4h7DY38+z30ZZLzFsOr0MjWx4w=; b=mZPgbxryJfphfs2JcqhruO3FpFIlxTwDTEClGFLhNdM8y9INLFsxJI/ijKa/ZA0f71 4DGY5OyhKMgf33mbDECPVUoR5P3Rlrn1lCwdTHAkXOIpOXmW8Q3m2dQ7i6zWD/kPRtRR ZJIKF+cq98qRqgalvxsZ3ZuH5ESehXE603LZDwhDyXwL5XoaQWh5opx8uKBk20QJ/gKa so1OHMLa3jx4gcGhvk8yQJaPJ+d2Sz710LZ1ojUc3nRRLLnXkW4mWYbh5rCTzuC3cIxP joGk+tLBK/ykfUcE4BQFBb8/THDXLbP5U0CgYKLcSC0SKLFx9++IcpW95eEluMGcnPy/ KFZQ== X-Gm-Message-State: AA+aEWZF1i4xINOeXGZ6rrt7/hf05/dzMiFCW3++dkczm9Gs8WqVpNtR +zEVZnkOU8nl8f3Kudr4kw== X-Google-Smtp-Source: AJdET5fCROV/XZnFJ1//ypWwFqmsi1zmNZTbFKQ3ewJ/DgAv/iugvGuMLJmnoVPtyLHcY4ypytXxLw== X-Received: by 2002:a67:340f:: with SMTP id b15mr13311192vsa.202.1543287510139; Mon, 26 Nov 2018 18:58:30 -0800 (PST) Received: from localhost.localdomain ([2601:902:c200:6512:a50b:fc5d:3604:d966]) by smtp.gmail.com with ESMTPSA id j82sm1006934vsd.23.2018.11.26.18.58.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 18:58:29 -0800 (PST) From: Ayman Bagabas To: Darren Hart , Andy Shevchenko , Jaroslav Kysela , Takashi Iwai , Kailang Yang , Hui Wang , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, alsa-devel@alsa-project.org Cc: ayman.bagabas@gmail.com Subject: [PATCH v7 0/3] Huawei laptops Date: Mon, 26 Nov 2018 21:57:46 -0500 Message-Id: <20181127025752.6459-1-ayman.bagabas@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set is based on new audio LED triggers in branch topic/leds-trigger from git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git Changes from v6: * Use audio LED triggers patch set * Use KEY_CONFIG (XF86Tools) instead of KEY_PROG1. In Windows, the key is used to launch Huawei PC manager. XF86Tools is used by default on most desktop environments i.e. Gnome. Ayman Bagabas (3): ALSA: hda: fix front speakers on Huawei MBXP. x86: add support for Huawei WMI hotkeys. ALSA: hda: add support for Huawei WMI micmute LED drivers/platform/x86/Kconfig | 15 ++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/huawei-wmi.c | 247 ++++++++++++++++++++++++++++++ sound/pci/hda/patch_realtek.c | 22 +++ 4 files changed, 285 insertions(+) create mode 100644 drivers/platform/x86/huawei-wmi.c