Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp24090lql; Sun, 10 Mar 2024 11:52:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2+TWEaw4RIGkZPZ6Q0GQwELdST5TB+0cVL+Osi00a/GaMRrekVJI9bQoQbEDEtOeCAHCpkDovb3JnZ0b0rCn3VfBIgTh0gfq9PASTBw== X-Google-Smtp-Source: AGHT+IFaDPlj0sWiZIuakMrxiJv/s/IpZZYJfp/g0zEb2WDSUZEW4AMndaVNJTBcFMCRl2euVqNn X-Received: by 2002:a17:907:8b9b:b0:a46:2ad6:f44c with SMTP id tb27-20020a1709078b9b00b00a462ad6f44cmr128109ejc.57.1710096746288; Sun, 10 Mar 2024 11:52:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710096746; cv=pass; d=google.com; s=arc-20160816; b=dxt9+MvJSKKjtkm0sM3eM2hyvhYnF0Jwyl94jKQm5DWcfz0F5LePqHUVVsZWVWVYnc B5K0V4MXyeDVJLCUhvhEaBIr2qI5Qv5rjDXSo1b6A1/cNJvVm1cN1fR/6uQG5o6zY2UA JwCUZZ/K+ERCNGunmf84L7aC9XCLtFJCsKJMkYB1mYUbGgEpAwr6dFm05gPeNXSKJkjX ymoy+DEYHORS4e+/IJr59k9vuay1uB1HrIlwwPLwUurBTG8X8FNMEtUokY5KsV76iHyA tlUa4EWuAG4Cyek0hHRV/BggQo0wh3zTGh+oYBuQi8mHlOBUFk3jhELjEjOn8WZLPw6r KDkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uNlaw3g4wwBNanhEYw5cc+Vm2nzhdvAOPOMqtxqaW2M=; fh=83NZpPH7TdbOGdBk6aehdHdFwxhtKs6lRL3uE7a1u2g=; b=dRgv1O8CNZMjWpzm5nt2pLQ0IldNKwFC/uNtqDfcIyKmX++VL36lDd8W5yzPG87JqA i47vK/zuxDQRr/AzmMYomKspSPE7WnOuHtaxAwSuwoDMTngP98kZc91KwXB+/kkONyQ+ nObdE0QmdF1pYwvBBrmjrxYEufcmRU4Iw1Qs2GCaOgSJgsPdTMAKuQWxeF69K8SazQGn dRdU/oweiWPZjn7dVE5WQ1GFJt9i4dz8/tIh9DzuP4lLUujH7BIQKHMq6sgvNEMMyyfq lsD0czHjTkAEFUGxfSOCSNvlhMcF2OqlyS0/zm9SmcD0VWRcIgyJvjyfuhjJ/eKS++Bn Diyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LWuDYglI; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-98299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e22-20020a1709062c1600b00a45b2548126si1733815ejh.548.2024.03.10.11.52.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 11:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98299-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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LWuDYglI; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-98299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 0902E1F213EC for ; Sun, 10 Mar 2024 18:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D123B39FE0; Sun, 10 Mar 2024 18:52:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="LWuDYglI" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 59DD4200DD; Sun, 10 Mar 2024 18:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710096736; cv=none; b=jBqHRVYIRl1+Ojv3mkCma2jke1h4nQ14fsSEd60sghKjKs7ofakwblFoiK/Zty6guRp9+UXQhsuI362HuSueXZlQauxBhHON0Rw21ybT4dQ+/IraJGLarf8XXFtTusJ6TD3yieaGb3U/6ef6oxv9GAXrnKQl8FgEUJwojxKthAI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710096736; c=relaxed/simple; bh=PyiE+eMguPww4jANk/vO3f+RJgxXzpz5Dw9mnlTNxAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lw6KwchZI2jado+W+AWj4EpyPlD//3l3e1kHOIEpL2yfAlhtm7NZJZNa5g8+EfMGIHHl7emFmqtvnora12X8wInH/xI52FL87rzg1peLXfeFDLgusLO8eHr4lpd9PnReeod62jD3UrUl47my/hnZuMOLNUUKL8dp/0bXT0v/nVI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=LWuDYglI; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=uNlaw3g4wwBNanhEYw5cc+Vm2nzhdvAOPOMqtxqaW2M=; b=LWuDYglIL+fPB5EYJ0AyIE9GwB QQlTloupfzxxQJPXhTjHdk9jh3sMuF1HZRbbvIqb/Sw30LU7rVwZQVxCmM6iMqmuST2Ghuje/w7zn O51SbDiu1a0QhQMN/Pr9M7QQzWY5mSdSge2/JB0wSNR8gzr2/L+FGJI4LeKKPo2L6Ds8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rjOHn-009v7h-7U; Sun, 10 Mar 2024 19:52:39 +0100 Date: Sun, 10 Mar 2024 19:52:39 +0100 From: Andrew Lunn To: Luiz Angelo Daros de Luca Cc: Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 1/4] dt-bindings: net: dsa: realtek: describe LED usage Message-ID: <80fee2d0-356b-4baf-bd7a-b338df3644fa@lunn.ch> References: <20240310-realtek-led-v1-0-4d9813ce938e@gmail.com> <20240310-realtek-led-v1-1-4d9813ce938e@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240310-realtek-led-v1-1-4d9813ce938e@gmail.com> > + properties: > + reg: > + description: > + "reg indicates the LED group for this LED" > + enum: [0, 1, 2, 3] Having read the code, i don't think the binding needs to say anything about the group. It is implicit. Port LED 0 is in group 0. Port LED 1 is in group 1. So there is nothing here which is outside of the standard LED binding. So as Linus said, i don't think you need any YAML at all, the DSA port binding should be sufficient. Andrew