Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp760718pxb; Thu, 30 Sep 2021 17:08:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBxrE5IdPMDXDMy32igXMS5K9cvsBVeziaF7cprqhMd7/9Vw22Znd3x8NPSL+A7i+cCBRE X-Received: by 2002:a63:185b:: with SMTP id 27mr7257849pgy.0.1633046889334; Thu, 30 Sep 2021 17:08:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633046889; cv=none; d=google.com; s=arc-20160816; b=E2w/NixkdN2OLDxig85b4BIibaagifPEA9v77tv146DsZic3dfcYbpfVpKnj0xtruV QSj4xnm5afEnF5BREkt+IJntfl2CSZbq1G3dcDhsKiLhhs0DlRF8wrrs6ywpuZiWVA5r 7tkC4cRhuahzMKKfkiY0xkhhJMV3Byw4kLiC5ctP4qqrH6VwI2mmPJUfrvwsbN2jCo6X spWS80cVIYu1LBLffl5RJkBK66XJC+A48fQVouKuvjpRFFd78Y/4iOudNj7+5z4j6XMg bTTooETCqtwebqY4WfKjh2tVjpTD9wH9MO6MbNZGhJucdoNrp7mfFzAiHNw5rkd88iX8 sBVw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AYZ78MbKE7o+ckLapKuGnIkQLgJnUysGF/DpNN6Cl/M=; b=UhSqqhWkmEl4K7DxdP5GpSOb3WbpWNfsBy5reGGpQO4rjYqWNsbyGaALVfoP1gtY1G lmuYSEdQEeaxPBaq5hZomEF6AiCQ0kYFZk+dnUfdNp0lgmqDy8tIU/xh4ah8SOQUVBXq 3NbNbrU7i824G9ORK9kU7fX8u+FdtBn0n50gAvwd04y6AvZm3uf6R7NbOg+HgAkERcyV WTG84b4bb2SfJHRWGqKuajcVbgrM0krsBUVI0XqrNPPyhcDB/yjMZQYDmtDgblXMCXsH UXmcpbMazU0gitQm41cl3aw/qmmIE4Ozg2UglSNi7hFGZJh8XdbXnGlbq1+VVlcX5LMd Vplg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wCgNyofg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si5240949pga.101.2021.09.30.17.07.51; Thu, 30 Sep 2021 17:08:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wCgNyofg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351316AbhJAAHT (ORCPT + 99 others); Thu, 30 Sep 2021 20:07:19 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42126 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351319AbhJAAHG (ORCPT ); Thu, 30 Sep 2021 20:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=AYZ78MbKE7o+ckLapKuGnIkQLgJnUysGF/DpNN6Cl/M=; b=wCgNyofgxHVLiJOIpzWGKYIK4V x3vc55G92ccdld/b1h1gR+bQ6E6SOYp5wql/RqmMMxmj2tbTnAie2vRFPxtvqmg1aQZ3Y0SKo856d v3kefxLxBtw25YrQn9+Tv0TRPfBYqFiCx8ZLpq6SkpYMz84gsPq8h/TSTNul+XnRzJOw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mW636-0091Sh-7f; Fri, 01 Oct 2021 02:05:12 +0200 Date: Fri, 1 Oct 2021 02:05:12 +0200 From: Andrew Lunn To: Frieder Schrempf Cc: "David S. Miller" , Heiner Kallweit , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Frieder Schrempf , Bjarni Jonasson , Ioana Ciornei , Russell King , Steen Hegelund Subject: Re: [PATCH 1/3] net: phy: mscc: Add possibilty to disable combined LED mode Message-ID: References: <20210930125747.2511954-1-frieder@fris.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210930125747.2511954-1-frieder@fris.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 02:57:43PM +0200, Frieder Schrempf wrote: > From: Frieder Schrempf > > By default the LED modes offer to combine two indicators like speed/link > and activity in one LED. In order to use a LED only for the first of the > two modes, the combined feature needs to be disabled. > > In order to do this we introduce a boolean devicetree property > 'vsc8531,led-[N]-combine-disable' and wire it up to the matching > bits in the LED behavior register. Sorry, but no DT property. Each PHY has its own magic combination of DT properties, nothing shared, nothing common. This does not scale. Please look at the work being done to control PHY LEDs using the Linux LED infrastructure. That should give us one uniform interface for all PHY LEDs. Andrew