From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B885D3CDBB1 for ; Sun, 16 Aug 2026 10:08:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786874917; cv=none; b=sBJ4aLQhaRknvVeGKlYISY9PHO2bGGNMU7NtqcHlgDv0C/vANuNu2W7/q5jiBFqfvfuVt7sspn+MeWHDMuD17vK7KL2S9ZmXNyOT3PxbaMr6EHzFZzKXcHb3XwML1S1bt9jS+VtlTFG3fRmWf0JFxDi8DO7edcKJICIhYGTBucs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786874917; c=relaxed/simple; bh=Ovmya19diuJa8fThJwiSxRQRTCHQqR5ZBDnhXhgDcYY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PZT01aolG6JfsL/Gbux2HfKtSFnRr3RKC8IuTyESoutB+2rIM5r5dN/1Ll0N58zn4V2L9EAupPk1ITmcnw7e0EagPRhb2xdYGIrSlJ1HJtnAeno1T3BTkEHmpT5B1I6+IrxQcKxyaLchKlZrmo54knuT9z6fCjCj6MaAH4l6/cU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=qPT7QnrN; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qPT7QnrN" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-84a4d8fd6ecso2417654b3a.1 for ; Sun, 16 Aug 2026 03:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786874915; x=1787479715; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=SRr1s5vo5lxVg/PZVIM+bsf+HNxgZ/bwzmlUjnCJ/ns=; b=qPT7QnrN/QKU+ssV7KlWPxk4ukykRMDpNrPyw4zjAN5lDT1W61C+fMUnB7JZ8MAWeE NXf54wTEs7SksFpIBovR0Q5p6RB1HobhlcInt1CKOP9dfZhDa3yY3Hm6WDhTasPOxD6U ZS5OpT7VUl/RYFsqvot14N1447OqZxu4aubRIdb1/M0sKi0RW6wDsP//cheGRl+gj4k9 W68nVFu/LksOM5J+9svO4yb+X+K0Q6Tmjz9YaRKBheW2GhDtxNG5PGJXtHyhT3gM38pT pDYmLFJZ8dISkmGVDarLAfH2S4anTvq80FJrqsBAPv1Bms/43jvrihvUB17Vl+LbHIY5 7i4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786874915; x=1787479715; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=SRr1s5vo5lxVg/PZVIM+bsf+HNxgZ/bwzmlUjnCJ/ns=; b=oSsnIT+Ka3nvlkKn+ufgZuYJQGdvsv4aBx33dgiQx1+XuER2piha3c1eu1dHlZiIcn uReJW/SL1kInt0S/YkR9eb9g2E2ArBA5ygOTZYiCrLAdlOJU5TDf+KceW3aKzpFiH9lV 8CxpySECSYpH+0nfVayY7UkNdRIrhu/LnYvhL3aStoQES4R8Th4RiE8xZjgCOzuN3QQt IwZuR4Id4cLIUhcxr1VlsVhU94SQrHw43K/C6mvRFo2rFsmcusy3G9hawjqly60zkYZI eu6tjliure/TgF7PSxMbYKW3P3xZu0g/8wXabLbi0Sg4D9aA2mZvXLkkyXNyfsWSyruV EM5w== X-Forwarded-Encrypted: i=1; AHgh+RrjLPvmMm5shG0L1p8aW5SgMtpII3dC396Ov3sCggI5IiQmJho2dfap5vgI5G26jD1lcXoNhin6YkN4gwQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyGbthN+XkQCcdrTx1rPFJq92C/P5F2LxAWWnTu8ZYP7eXZKtPb OAAox35U9zEUk662a6msZTOxhk7zOW5ouuw1FDPOZ9PFRJ0UkJh9TDi5 X-Gm-Gg: AR+sD108iuecXkdpbYYw8jMV48433l6LQi1+/mPfPBS2wkNN9JIUa9DPW+YSkzJyTPE Pl13esDtAiFH16NO/+RvlKjLIz1FInnsoMjIittW6qV+E2IJpS9IKYxlvFY4dJXgJq+vFxiQHxi 3xM5vUQmY/Zf64f5gbntOnlCrMpA0Pm4NTdjSKqPWW+XXsaRKRer8RiRaao4Mtge9QuXMP3/UGK u+yrGb9nrH7F1Ka86g5cYePEIYW5SUaznhAJMU9N9AOrMZJhiWOthTrsIxkcpAqCt3HaUUhGC4P aGDtp42lpR06/fLPVaeGtZ5y2iI8/ZuuKqeuA4W50f78tQLYzs0MqFlZxtM0enhOK04tjweC5bc ARiB2lg99MItn7/Aq6UDoKzrmC8NQ8kysVIEOFXouolIjU02w0b+/Ret2QJGwIpjmb/wXLqIi05 FioVgqGYhdGZWVKxwg1ndOZRgIVIsuEiVemgU= X-Received: by 2002:a05:6a00:348c:b0:845:c8f9:6ce0 with SMTP id d2e1a72fcca58-84fde2e93eamr19143804b3a.21.1786874914904; Sun, 16 Aug 2026 03:08:34 -0700 (PDT) Received: from qby-laptop ([2a13:edc0:18:16f::a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8517d01f15dsm1759601b3a.20.2026.08.16.03.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Aug 2026 03:08:34 -0700 (PDT) From: Mingyou Chen To: qby140326@gmail.com Cc: W_Armin@gmx.de, foxido@foxido.dev, hansg@kernel.org, ilpo.jarvinen@linux.intel.com, linux-kernel@vger.kernel.org, nika@nikableh.moe, platform-driver-x86@vger.kernel.org, vlku.milos.fun@gmail.com, i@rsplwe.com, wolf109909@outlook.com, rahulbheda131313@gmail.com Subject: [PATCH v5 0/6] Merge redmi-wmi into bitland-mifs-wmi Date: Sun, 16 Aug 2026 18:08:07 +0800 Message-ID: <20260816100813.300450-1-qby140326@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series consolidates the standalone 'redmi-wmi' driver into the 'bitland-mifs-wmi' driver to eliminate code duplication and centralize the maintenance of overlapping ACPI WMI event streams. Bitland is the ODM manufacturer for various Xiaomi Redmibook models. Both platforms share the exact same keyboard event stream WMI GUID (46C93E13-EE9B-4262-8488-563BCA757FEF). While redmi-wmi previously parsed the 4-byte payload as a bulk u32 scancode, bitland-mifs-wmi deconstructed it into discrete type/id/value fields. Redmi operations are not verified on real hardware, the operations are reversed from the proprietary software (XiaomiGCommandCenter) Additionally, this series cleans up the redundant Kconfig/Makefile hooks, updates the MAINTAINERS entry accordingly, and introduces a newly reported mic-mute hotkey definition for Redmibooks. Testing status: - Fully regression-tested on native Bitland hardware. - Redmi-specific logic blocks are compile-tested only. Feedback from Redmibook hardware owners is highly appreciated. v5: Correct Xiaomi DMI vendor name v4: Map PLATFORM_PROFILE_PERFORMANCE to wmi performance mode if the device doesn't support full-speed mode. Mingyou Chen (6): MAINTAINERS: Add maintainer entry of bitland-mifs-wmi driver platform/x86: bitland-mifs-wmi: Merge the function of redmi-wmi into the bitland driver platform/x86: bitland-mifs-wmi: Add Redmi mic-mute key entries platform/x86: redmi-wmi: Drop redmi-wmi driver platform/x86: bitland-mifs-wmi: Add per-machine ops table platform/x86: bitland-mifs-wmi: Add Redmi laptop support MAINTAINERS | 5 +- drivers/platform/x86/Kconfig | 12 - drivers/platform/x86/Makefile | 1 - drivers/platform/x86/bitland-mifs-wmi.c | 556 ++++++++++++++++++++---- drivers/platform/x86/redmi-wmi.c | 154 ------- 5 files changed, 482 insertions(+), 246 deletions(-) delete mode 100644 drivers/platform/x86/redmi-wmi.c base-commit: 967a69120f57273e2ea4396074eceb0daa35a9c4 -- 2.55.0