Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4342225pxb; Thu, 14 Oct 2021 03:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNUBgKcBnbei6lfRRdpePk4i+Ah33Oc8J45GmcOKtyChr3oUweLwEpowWXJSPAcslsjvr7 X-Received: by 2002:a17:90a:ec17:: with SMTP id l23mr5247072pjy.184.1634207440537; Thu, 14 Oct 2021 03:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634207440; cv=none; d=google.com; s=arc-20160816; b=S2NbrA7hK0c4P1ULu7zycqJvnnoZ9ruLWC6hQ1yLZyYbGDdpDbx/oI7g3nR/uM6X7V fd1f2evZutUOWlAoHJxJLmCVjnQItvv3EJWhxXP+2O53K7AC+asttnZ/poyD6zpP01D3 2zv3TwuURrnoK4RaK9INSibqFSlJYgyXlEZZK4vlogu00dqwyZndTs+9Z49LmWd2/TK5 xLghmMyo/FNoNWmzbWZnTfJubFAJrsDFTFMTKhD/p8+AmzDkjKGHWrR6bUnyXy4iSAxD VOrr6XfJ1402iMGettWHvBJv8+vfWEbrD2ZgXNduSp8DymP5vQuVqk9jeLGoerO+OSuW HgEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2ePvP5L0qrt3G7V16BJawGCpfRKULRDfwN7Lr8TzDSk=; b=RbrEu1l+gOhUStvmDgV5ct+8fUqOEhZSMCk2FYXhQXb7Vjl7r8qzYLjLEOR6vcNKDN FM8rRyxqSJ6wgWXgELEGaowQKS5nKAMdZ/wV+0RWffhlmoKdBUpe0ONzrZ9eZNpoxKmp FumH/L+LtEABmJ7mB7ASJQVWdnC+epq0AcL38kF5npqi1wYYYRdD4JmGf65j3H6fZuyN SuzbgRBL7MgQybJYYKhPO4A6WQset2g6avayDO0ICWUyuUF2tS2oV5kKV8wgi3szFJKn EmgVsCxW9cChVAyx6al2NYdh52fBdTd9O9ELwaTM8Ke6iH2E816dlDvspP9OKBQR48Gr VOvA== ARC-Authentication-Results: i=1; mx.google.com; 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 s7si2971813pjp.159.2021.10.14.03.30.26; Thu, 14 Oct 2021 03:30:40 -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; 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 S230172AbhJNKbZ (ORCPT + 99 others); Thu, 14 Oct 2021 06:31:25 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:50828 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbhJNKbY (ORCPT ); Thu, 14 Oct 2021 06:31:24 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 15E591C0B79; Thu, 14 Oct 2021 12:29:19 +0200 (CEST) Date: Thu, 14 Oct 2021 12:29:18 +0200 From: Pavel Machek To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: devicetree@vger.kernel.org, linux-leds@vger.kernel.org, Andrew Lunn , robh+dt@kernel.org, Jacek Anaszewski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] dt-bindings: leds: Add `excludes` property Message-ID: <20211014102918.GA21116@duo.ucw.cz> References: <20211013204424.10961-1-kabel@kernel.org> <20211013204424.10961-2-kabel@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20211013204424.10961-2-kabel@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Some RJ-45 connectors have LEDs wired in the following way: >=20 > LED1 > +--|>|--+ > | | > A---+--|<|--+---B > LED2 >=20 > With + on A and - on B, LED1 is ON and LED2 is OFF. Inverting the > polarity turns LED1 OFF and LED2 ON. >=20 > So these LEDs exclude each other. >=20 > Add new `excludes` property to the LED binding. The property is a > phandle-array to all the other LEDs that are excluded by this LED. I don't think this belongs to the LED binding. This is controller limitation, and the driver handling the controller needs to know about it... so it does not need to learn that from the LED binding. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYWgGfgAKCRAw5/Bqldv6 8tjGAKDEHgctZRD6mG5vf+QZs7ZcN+C3dQCbBqfqtZ5W+LSbVcGqw2RcIVq9FPk= =HXa9 -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--