Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp477887rdb; Fri, 17 Nov 2023 04:33:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNWRKS3EL68Vf2d1TWqpedk0ocRH3MFOXZ2YYIkRggMzeuPokGL34KOo21reOFd+RFUPvj X-Received: by 2002:a17:902:e5d2:b0:1ce:5cc0:dc6d with SMTP id u18-20020a170902e5d200b001ce5cc0dc6dmr2188880plf.66.1700224423205; Fri, 17 Nov 2023 04:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700224423; cv=none; d=google.com; s=arc-20160816; b=OqjJLQrYdb0ZQ25GLB3cfFy/UxDT1cnWxqTVCHGKEQPuOiPC05+3xwiF9PjkvDN1c7 LThgtWS8PmdBMLlBL20O0WDTwZnVNOdp2vd4bOlcSlGEoGND8wWYFHcJgZllyEiPeLC6 ICF4Tfh4WMpncsC9zLmlUL/9RfDU6UegwOp6maUxHybqNBlP8NAKDy8KiLyN4L5K/zgS YrLy+tVooPX56xbCQS9HygA5yPohhH2w1Bu64fKnMfq8/W0zQ6wP04w6mgHCLknY16uH 492fV8CPhSPCzrP2j2PEtjixz3cv+rgHU9XD8hXqbTZG7izTMf94Kr8IcFLjwH7aD9kq Tkcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ww/QyVPEp1TUEyMsf8RW4j3E/Y0CDvug+obS+F+6KxE=; fh=h3DTsRrQrN+Ebcyxn1FSoqvn6NRd6wQBJ7LOj8D4jEs=; b=r8atYJs7yAyoi9LjwSXhAlOPzvVO585p8pX+nt3M8SSTaLwzpLow1t/dhuk/Vfdca1 MvuXTH+3L/66RNaFEbpQm2aI4jl3S8Jm9uL5UmHHWYFhk+h33UE6VkwwzcHpwmQTONJd la+itH7zG5cXR3EEQX7K4PcKsg3KOgP9PO99BY8S1uVTWx5v5ntVOrTbPWhVny7aeiw6 oXRqCYh097IOOkXNGklEN2LxOkMEEU2vI9pg2b2HS135RntYhwk49gvZc29r//9T4Ut4 gIypvHAhlfvy7Ogk58AjPO9KFRTzA1i9VjQTXCiWeIMge5prG2mPODWjfx6WRdf+YQLA BumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Q8/AkM6q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q18-20020a170902dad200b001bb8a57d518si1836083plx.379.2023.11.17.04.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:33:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Q8/AkM6q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7B1F98288C9F; Fri, 17 Nov 2023 04:33:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjKQMdK (ORCPT + 99 others); Fri, 17 Nov 2023 07:33:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjKQMdJ (ORCPT ); Fri, 17 Nov 2023 07:33:09 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9744120 for ; Fri, 17 Nov 2023 04:33:06 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AD36C433C8; Fri, 17 Nov 2023 12:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700224386; bh=6GwD/+0RW2AAON4W/qJdWK7zK0D+kuihmnQOP4ByGns=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q8/AkM6qMsYZXczTXA7cHWvewZuvlhCf7ZVVeo5iIVmwEZrVSyLiGZZJG5PFlIfYS adUik5JSfkw38cS68Ei5jwSAKcMIXgU6HTEe/kTg+RVSUKl0awhTx6+WDooxzfZzyk 424/QbYjoMaoLyOc17nb3t2UD0sRpNCVrDWl9fVdkC5ijyALU9eHK36KrP8mvm/OVU vQDxefo/ZyS/AMjRUeIWVxgemBcQhL6iT2txRHYymjrfhcScw69JFVqUN8H4HBEn1x 3lrtRc+JPxWI2XkV0UDJ4XY2uZlW8Ykt2+qstKv00MyDsKbJp2rIs8W3RwjU0SzZ5T /D4yh+oSa3FCg== Date: Fri, 17 Nov 2023 12:32:59 +0000 From: Lee Jones To: Shiji Yang , Florian Fainelli , Andrew Lunn Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] dt-bindings: leds: add 'internet' and 'signal' function definitions Message-ID: <20231117123259.GA153049@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 04:33:20 -0800 (PST) [Intentional top-post] Andrew, Florian, Does this fall into your area of expertise? On Fri, 03 Nov 2023, Shiji Yang wrote: > These two types of LEDs are widely used in routers and NICs. > > The 'signal' LED is used to display the wireless signal strength. > Usually, there are 3~4 LEDs in one group to indicate the signal > strength, similar to the signal icon on a mobile phone. > > The 'internet' LED can indicate whether the device can access a > specific server. It's different from 'wan'. 'wan' usually indicates > whether the WAN port is connected to the modem (internet services > may still be unavailable). But the 'internet' shows if the device > can successfully ping servers such as 8.8.8.8 to detect the internet > connection status. When the router is running in AP only mode, we > can even connect LAN port to the AC/modem to connect to the internet. > In this case, the 'internet' LED should be on. On some routers, both > 'internet' and 'wan' are available and can be controlled separately. > > Signed-off-by: Shiji Yang > --- > > Changes in v2: > * Remove the LED name sorting patch as it changes the ABI. > * Add "devicetree@vger.kernel.org" to '--to' list. > Thanks to Rob Herring and Krzysztof Kozlowski for letting me know I > can send patch to multiple mailing list at once. > > Changes in v3: > * Add more information about the new added LEDs. > * Remove the missing LED fix as Jisheng Zhang has already sent a > similar one. I should search the mailing list first... > > v1: > https://lore.kernel.org/all/TYAP286MB0315FE921FF113BF76F7B700BCA0A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM/ > > v2: > https://lore.kernel.org/all/TYAP286MB03159A83A77E6FD59F271D9BBCA0A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM/ > > include/dt-bindings/leds/common.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h > index 9a0d33d02..55a426e39 100644 > --- a/include/dt-bindings/leds/common.h > +++ b/include/dt-bindings/leds/common.h > @@ -88,11 +88,13 @@ > #define LED_FUNCTION_FLASH "flash" > #define LED_FUNCTION_HEARTBEAT "heartbeat" > #define LED_FUNCTION_INDICATOR "indicator" > +#define LED_FUNCTION_INTERNET "internet" > #define LED_FUNCTION_LAN "lan" > #define LED_FUNCTION_MAIL "mail" > #define LED_FUNCTION_MTD "mtd" > #define LED_FUNCTION_PANIC "panic" > #define LED_FUNCTION_PROGRAMMING "programming" > +#define LED_FUNCTION_RSSI "rssi" > #define LED_FUNCTION_RX "rx" > #define LED_FUNCTION_SD "sd" > #define LED_FUNCTION_STANDBY "standby" > -- > 2.39.2 > -- Lee Jones [李琼斯]