Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp420443rwe; Wed, 24 Aug 2022 03:24:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Wzx1T7RJkX1KJZfi5Mhc3uw5TDXbMph0WYBdi/jWnhfreOri8w4KUwSINm0ACUxPhJ9h0 X-Received: by 2002:aa7:d990:0:b0:447:8c86:a8ab with SMTP id u16-20020aa7d990000000b004478c86a8abmr1031103eds.157.1661336698460; Wed, 24 Aug 2022 03:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661336698; cv=none; d=google.com; s=arc-20160816; b=qLZ9lAI3PfAnbg4mvJZcMzLGsIPCBzjzdrQYkbQwde0jnDkZdE4bVrj87J4aY6g+yG zYGOi1amqTcaRqZc2r9+rLdlAufbtAkAGnfAFjOG+QpxVWc7gsaJZg7A9flrmRyni2zk uj5fsZu0VBUhrS5q+LhEQD6L9ipcBFg209OLXK93OTcrvPEbELCCJbHNFZR1y7od5eYz 8+kyqKXnHkdanhosV664mrHf/VPEcCDA77PFNaoUBtUgfZ6moJtvfTAxukvI9CFZ4F5V SsT8iyjzA/Mionj3g3mQxjzwc/EI8Pg3Isd9IueeXd6bI/hbFmM59VViNxZDnUSA18pu 4H4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fXUI0ef9HtUxemcBiVDr4UCtjaKADZSxWJ0IxdOzU1Y=; b=xflMGLSw+a7tskD1uLKR+dcWpl6V3ccgN0MfzookC0x1KgorjKvxXkvdMD31u92kbM Izn+eSF79sAm1By2Uv//E2H/NDVYb4FvIQBA5oiTBbTKn+DIcEBJCr6IqIlBRleHKCfr eSzciDhmBh8WP7CJdKC6lBGTG5jgwT2+2hfV2rtWu0EbgX5puf6WO40+MtG16a7m+3Cr SFYWu3UdyPI7mGVd0LvnJN3n6nlltSdEDsQzSkYnsH8KS896sCseb4KuTX1eiNDwOf+c GufYsKoz5M27138kdkSBICKe55nMsekOFOZ87B75UnoMqtrL3ixUPgHO7kRen5AOBE/H yKGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=RrOYGMu6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a056402269000b00446fe97fd17si4521204edd.559.2022.08.24.03.24.32; Wed, 24 Aug 2022 03:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=RrOYGMu6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236622AbiHXKGY (ORCPT + 99 others); Wed, 24 Aug 2022 06:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236579AbiHXKGU (ORCPT ); Wed, 24 Aug 2022 06:06:20 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00EC56476; Wed, 24 Aug 2022 03:06:18 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 54E4B1C0005; Wed, 24 Aug 2022 12:06:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1661335577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fXUI0ef9HtUxemcBiVDr4UCtjaKADZSxWJ0IxdOzU1Y=; b=RrOYGMu6vFus1kjdfs/BNP5QZgymLMo+Xw8k//d57RcyoJmjiSzgDq0V0ewj3TGMGR/xq4 RwmwNPJTkfBP17JwN9aD/ZxgFpxDma+N2Q8/lC++dviYlm/JQyb9bZgbby/LVDyjtSCFkD lAxH251do62v22lO8phVUhOWld2aQHU= Date: Wed, 24 Aug 2022 12:06:15 +0200 From: Pavel Machek To: PaddyKP_Yao@asus.com Cc: andy.shevchenko@gmail.com, hdegoede@redhat.com, acpi4asus-user@lists.sourceforge.net, corentin.chary@gmail.com, ispaddy@gmail.com, linux-kernel@vger.kernel.org, luke@ljones.dev, mgross@linux.intel.com, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH v2 1/1] platform/x86: asus-wmi: Add mic-mute LED classdev support Message-ID: <20220824100615.GA1049@bug> References: <20220711024718.1700067-1-PaddyKP_Yao@asus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220711024718.1700067-1-PaddyKP_Yao@asus.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > In some new ASUS devices, hotkey Fn+F13 is used for mic mute. If mic-mute > LED is present by checking WMI ASUS_WMI_DEVID_MICMUTE_LED, we will add a > mic-mute LED classdev, asus::micmute, in the asus-wmi driver to control > it. The binding of mic-mute LED controls will be swithched with LED > trigger. > > Signed-off-by: PaddyKP_Yao > --- > V1 -> V2: fix typo for 'present' and remove unnecessary pr_info() log > > drivers/platform/x86/Kconfig | 2 ++ > drivers/platform/x86/asus-wmi.c | 25 ++++++++++++++++++++++ > include/linux/platform_data/x86/asus-wmi.h | 1 + > 3 files changed, 28 insertions(+) > > asus->micmute_led.name = "asus::micmute"; Please see/modify well-known-leds.txt file. We want this consistent on all devices. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html