Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2062016lqz; Tue, 2 Apr 2024 06:21:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrhg80dzfU79Au8I3H2vNhAhqcfzZoUJoulwJ4s6PWGswcfZ1WSR6Mvym8UzA9akaErOKUpDe7J128s/eUjAGIhrq1P7YOEJH/N6a/lw== X-Google-Smtp-Source: AGHT+IFO951i8R3LzBMs9A/pxTEvesIvu24B3yGtOLgrRjzVVdO2chxITx57Stry5IH4U6BY3VBN X-Received: by 2002:a17:906:f591:b0:a4e:1d5f:73ae with SMTP id cm17-20020a170906f59100b00a4e1d5f73aemr13897283ejd.12.1712064098568; Tue, 02 Apr 2024 06:21:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712064098; cv=pass; d=google.com; s=arc-20160816; b=cixDP3sYHaATGZEab4l5T8a/hzfqvzIZtSQGSK2YMzcDr8fYHS3V5lOTlMV6AkMNUA DBoe3z2xa4P8Z6VqczhlmrA1bv4893i3TmpUmR8jD62zZNieCZOpNQPbAGLFtRriJRbx As+g04tTsOs9he43qM5LCnL5Km1IozJk2t4AvHK+sJhxlvmh5GzGY74j0ZlyqUTFOWHq /8WNyCtVlDO2uiJOKo1hH8LsQIwsZt2W4lvMO+IQf9BG96gvGN1JBpCJJvSGLNkG9GFc mvOdjRNuYgENxjPzx24RVfB5rbfnf/bpHhjas9xmuo6khLxEGxjvXFROVdbA5aMN765A QOSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2/vEfiS7p1tvpm1iCwze8UOFTjeARFYWDLcVkpwTG+o=; fh=4Y9LYk1mNJRKxiyde1JZtHOPLk3eMIW0j1YXurIIPt0=; b=fXflAmR+zfbehP+ZpMFWYOtlA0Dgq7e6FWl+neR26uJMM8oO+8OXiAEeV6NfbUEZHI mBsbPAm271bngJqeR3iZW7CJNgTRwfvSn8zZKyp88eZiPRzieTvDmBY2uNC/BPru+Esk 5/8UORFxTTFYw2XREyalbhsB/FIDIcOCO/N+IdnaYcLGHkk7SYmInfBlqLGvat4EpENL KmSHpFrPeq2T3czom+aeazdVWX5b0t3XrIX7TfhM2LRmnu06odab8yOXY+I3j73FJa5N 9XnCeHpYVbguzXvBvB/WvhTW57alt+p9IoUYbJZlH3212mdztxIMIyWu1ycSgl8haoJ5 xKpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-128030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j7-20020a1709062a0700b00a46eaf02628si5563213eje.441.2024.04.02.06.21.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 06:21:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-128030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4D7C91F21EC0 for ; Tue, 2 Apr 2024 13:21:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 208DC83CC3; Tue, 2 Apr 2024 13:21:24 +0000 (UTC) Received: from irl.hu (irl.hu [95.85.9.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E54E78062A; Tue, 2 Apr 2024 13:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.85.9.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064083; cv=none; b=INORBFMIRaT3oJ0yEAilIIGiKtmNrvdaFCimaGJs0YuKNS/38HGvLU/mVrT4Sz1DGCcDoNMwDXe1eyHAD+EQK4OLWm6gfIa3nc2jQrX90XCX9VbFEw/oCZLhPU4gJof6DUTAS+62UpfcrWD4Z1QKysfpiy1L+ZE1bCUTWl87j+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064083; c=relaxed/simple; bh=sdtIYg3ZdiO4IP9Alix4cpyyxg6EShPVCuhYfIi63w0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Mime-Version:Content-Type; b=HvphE8vgyB1Iw29X+FtuyjHqtINeAr+ng1iRfmJIOiU1H8rOq8Yl2p205MbHCKi7w9TfRWxKQ/e68U6FjoJDh8I8FZs5mP8W7KnYjGHinoZV8oLbzJiAyszUoIVQSTokbl+yE8+loN9R6g3x+Y8xl+CqWs5byB+b1GvQ/93Nc1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu; spf=pass smtp.mailfrom=irl.hu; arc=none smtp.client-ip=95.85.9.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irl.hu Received: from fedori.lan (51b69867.dsl.pool.telekom.hu [::ffff:81.182.152.103]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 0000000000064387.00000000660C0649.002529B9; Tue, 02 Apr 2024 15:21:12 +0200 From: Gergo Koteles To: Ike Panhc , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, Gergo Koteles Subject: [PATCH 1/3] dt-bindings: leds: add LED_FUNCTION_FNLOCK Date: Tue, 2 Apr 2024 15:21:00 +0200 Message-ID: <8ac95e85a53dc0b8cce1e27fc1cab6d19221543b.1712063200.git.soyer@irl.hu> X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mime-Autoconverted: from 8bit to 7bit by courier 1.0 Newer laptops have FnLock LED. Add a define for this very common function. Signed-off-by: Gergo Koteles --- include/dt-bindings/leds/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index ecea167930d9..d7c980bdf383 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -46,6 +46,7 @@ #define LED_FUNCTION_CAPSLOCK "capslock" #define LED_FUNCTION_SCROLLLOCK "scrolllock" #define LED_FUNCTION_NUMLOCK "numlock" +#define LED_FUNCTION_FNLOCK "fnlock" /* Obsolete equivalents: "tpacpi::thinklight" (IBM/Lenovo Thinkpads), "lp5523:kb{1,2,3,4,5,6}" (Nokia N900) */ #define LED_FUNCTION_KBD_BACKLIGHT "kbd_backlight" -- 2.44.0