Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4872616ybi; Tue, 30 Jul 2019 09:35:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYPA9c5WZ4HmCnZOsZRkO+2Cz4WqPkNCetxxqc7mMiZB/LItG17vk8kFc6mPkzZjS6Klcr X-Received: by 2002:a17:90a:26ef:: with SMTP id m102mr116310539pje.50.1564504532983; Tue, 30 Jul 2019 09:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504532; cv=none; d=google.com; s=arc-20160816; b=KxuX5xlwGa5Ta+VoHlaA8GFEV/T3LhlBNFqZsJ08elhWc11gsaIMI1x58IVZZJyKKm CBm4A8qzrI5AoueZVy1r4SQd4kWw/fc2KnfRYghFvW6mHT4RdX/B1ek1usMy5CFiSc7x k79e63gcfl0174NpBk0ze6MPazPp4Q8pWAgT/qY7XM+F3+nOg1aImCspSIvaVf1MDgN+ MRlGSzfAbvR/K2EsZwZN2INq0iQiLn1Ra8Ors6vv1ii55HuS4bfQsfxegf+WY43X42N1 niwYAEtO5qs6M1aZy+Om/jF+JncioF1e36fJKsmPeR3QwnaLJODMUyYHBtiK4COoYU4M UvLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lTtE/XJYw6H32/RhxGsmURhaXVkUR39iM2/kEC+BNiA=; b=ZBFYDAsUvScC/Fca5H7zVj61f93qDyihulHNZo3OdiJwfgJaQy6s0xlw1ykOfE3reh NPaq0rrncXpK3Fh3yvvWosVQLwNNE6dR0gA4nIDL1zlOKIOEnDSi6HB08y6/SYWdGS5g rsAGoNtc2oVbwBlqRjP9m8oueMEb8EEks3VVN8F/tiKvwKEdiC/n4X7/YFBBLOO7tEYH 9Ysv7CmGiS/7R5I23jl7vsu5gY9iJbWrOn5V8ldqfB8p+4WLPszX/DxfEui6rdI2C+oD 0VBkgDJuoWD43aczuT0/YuRGE69+exqp72i2j0cVijeMmTq3KofeBHNmjNfFEldU0VZy qLPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="wMLq/Rzu"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si27656594pla.259.2019.07.30.09.35.18; Tue, 30 Jul 2019 09:35:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="wMLq/Rzu"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730322AbfG3OJd (ORCPT + 99 others); Tue, 30 Jul 2019 10:09:33 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:47866 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728769AbfG3OJd (ORCPT ); Tue, 30 Jul 2019 10:09:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lTtE/XJYw6H32/RhxGsmURhaXVkUR39iM2/kEC+BNiA=; b=wMLq/RzuiKa/yz4+tFl8J1cywl BWLMefAow1MDAwfsCqwJefskIwzP90lTewHhinOKKBTWy9tGii1XL6ULTC7WFJrW6DmH9AT6qEWnR qskAG2gz+pGwcfo1CxpzflJi6eP/pVHoJNtA8asDlcTAZ+IPRoGboEbVo+zx08+mcWXc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hsSok-0008AC-4c; Tue, 30 Jul 2019 16:09:30 +0200 Date: Tue, 30 Jul 2019 16:09:30 +0200 From: Andrew Lunn To: Hubert Feurstein Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vivien Didelot , Florian Fainelli , "David S. Miller" Subject: Re: [PATCH 1/2] net: dsa: mv88e6xxx: add support to setup led-control register through device-tree Message-ID: <20190730140930.GM28552@lunn.ch> References: <20190730101451.845-1-h.feurstein@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190730101451.845-1-h.feurstein@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 12:14:50PM +0200, Hubert Feurstein wrote: > So it is possible to change the default behaviour of the switch LEDs. Sorry, but this is not going to be accepted. There is an ongoing discussion about PHY LEDs and how they should be configured. Switch LEDs are no different from PHY LEDs. So they should use the same basic concept. Please take a look at the discussion around: [RFC] dt-bindings: net: phy: Add subnode for LED configuration Marvell designers have made this more difficult than it should be by moving the registers out of the PHY address space and into the switch address space. So we are going to have to implement this code twice :-( Andrew