From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 255A5C433E1 for ; Mon, 24 Aug 2020 22:51:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07E2020706 for ; Mon, 24 Aug 2020 22:51:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728071AbgHXWu7 (ORCPT ); Mon, 24 Aug 2020 18:50:59 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:48014 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726664AbgHXWu6 (ORCPT ); Mon, 24 Aug 2020 18:50:58 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kALIk-00BhXX-Uf; Tue, 25 Aug 2020 00:50:54 +0200 Date: Tue, 25 Aug 2020 00:50:54 +0200 From: Andrew Lunn To: Kurt Kanzenbach Cc: Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Sebastian Andrzej Siewior , Richard Cochran , Kamil Alkhouri , ilias.apalodimas@linaro.org, Vladimir Oltean Subject: Re: [PATCH v3 6/8] net: dsa: hellcreek: Add PTP status LEDs Message-ID: <20200824225054.GL2403519@lunn.ch> References: <20200820081118.10105-1-kurt@linutronix.de> <20200820081118.10105-7-kurt@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200820081118.10105-7-kurt@linutronix.de> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Aug 20, 2020 at 10:11:16AM +0200, Kurt Kanzenbach wrote: > The switch has two controllable I/Os which are usually connected to LEDs. This > is useful to immediately visually see the PTP status. > > These provide two signals: > > * is_gm > > This LED can be activated if the current device is the grand master in that > PTP domain. > > * sync_good > > This LED can be activated if the current device is in sync with the network > time. > > Expose these via the LED framework to be controlled via user space > e.g. linuxptp. > > Signed-off-by: Kurt Kanzenbach Reviewed-by: Andrew Lunn Andrew