From patchwork Wed Dec 27 09:02:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13505232 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E844C46CD2 for ; Wed, 27 Dec 2023 09:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2IckP87kZMAl//IVH3pM8GXUpH9Esz+4Ky1fW2MOJ34=; b=D1BvkSEbDWGZjx t/vZm8Y2vtOGaHTbhrCCZYkM42Vhz+GuIj+7HsHrFEWhlyGD36ibNeQmIfMA6/qwobhZF3ia43zHj F1DhDFndJLjY8FYdLQlGG/ArsC1BGw4YSCHklW/P/TgP9t/+ts8yYqS05+Of7KBCpcK9R8jRdW0Xj LFIrapbT+go7LlUNmWNUbvpWIO7bzcM9WVp5OKQJObbhNMzTqXuA6ADuWyj/5+SFikR/n4pC1BCLo 0zitztn/Jmu9auDCMsuKDvsokYyDZQ0gxLQrNQooY7kAfYtD7AfnxKzkueMws46C+Vt8Qw6Otd0TV bu/1kr2teGcappjoXuHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIPoq-00EFQN-1s; Wed, 27 Dec 2023 09:03:16 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIPok-00EFN8-06 for linux-arm-kernel@lists.infradead.org; Wed, 27 Dec 2023 09:03:11 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-33694bf8835so3688705f8f.3 for ; Wed, 27 Dec 2023 01:03:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703667789; x=1704272589; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Cmsj+MoZd6CCP0Gk1jswJO8zXGhPor2mMopnaqDXKNM=; b=RQ7+nBWGNM32Gf/coFJIfU3S8Ww5/o80oNna3+pv/AfOCGX6BUkHCryHyc/qmhkTTg xlQJZBEjcTYDR8rgYR704JX9qt7hDRJ7UeAWUL9Mf20J59ay/an/TRJG2spQXVC2VzCr FSL9L99MNNtM4Za9q6JSZKMDXPVtPSSeI5l785+6+8OU2W5cHp/3Y3p+xBJjFgKRdy+O rfhg6xKR+2nqrsj2GDNAB57q8QWMFisOfoO1kLQCRms2axn3NU8sFaKeZ1j1SWnIAoXa PT9h5r2DUQVun2lO++P0PjeHKTlOSjRCw874iDtX/V2zq7UBfw9wL6/tkR+BegBQFW09 Kucw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703667789; x=1704272589; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Cmsj+MoZd6CCP0Gk1jswJO8zXGhPor2mMopnaqDXKNM=; b=e72OSKMkODwoTSJzeyQ4786OANVOvXR1JV8xyDbbQ4+mnintkzmb3CkOR4N+JEKLIT Q8pQPtlBHfDuyWna0SIg4DAIz4bPT/7i7JLDyq39FUJwzuyjkdDGFjqLe479LOSxIM/h i7hPwhg20xhMiPcAguwqFbv2osvyvInsz0vb/B5yt+AjmJVy12ohO2kMNbdlxlkz16x7 RMcIHxfY6xxDSvVZbVprzqPZKDxWEtuX2MDT7fHtBfJue8+d4ZAudwhPspB2bjSZdYbx wXUbNjKdpFiOOs7ZhGIJuOIOINsIOJwHn511rFiKxd+PtEjAEeuRXytm4P+vy9JaNxhF J6fw== X-Gm-Message-State: AOJu0Yzq0z8xXITzuS9JsaYsVIU82gncxgazEea2YU/KX7qmpIS1K49G dKjir0y9cdbiyqbctDXvb0E= X-Google-Smtp-Source: AGHT+IHHsaIuTdzyY6EGsQXG120Hnd9I7mUH54bEZwAsYXgidJXrJL92gmVnfimcwq3PRJHagcE36A== X-Received: by 2002:a5d:65cc:0:b0:336:7bf2:89da with SMTP id e12-20020a5d65cc000000b003367bf289damr4865220wrw.95.1703667788502; Wed, 27 Dec 2023 01:03:08 -0800 (PST) Received: from localhost.localdomain (host-95-250-248-68.retail.telecomitalia.it. [95.250.248.68]) by smtp.googlemail.com with ESMTPSA id c9-20020a056000104900b003368849129dsm13616525wrx.15.2023.12.27.01.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 01:03:08 -0800 (PST) From: Christian Marangi To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Heiner Kallweit , Russell King , Jacek Anaszewski , =?utf-8?q?Fern=C3=A1ndez_Roj?= =?utf-8?q?as?= , Sven Schwermer , Christian Marangi , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Subject: [net-next PATCH v5 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Wed, 27 Dec 2023 10:02:28 +0100 Message-Id: <20231227090231.4246-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231227090231.4246-1-ansuelsmth@gmail.com> References: <20231227090231.4246-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231227_010310_075426_F4DACF8C X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document LED inactive high impedance mode to set the LED to require high impedance configuration to be turned OFF. Signed-off-by: Christian Marangi --- Changes v5: - Add this patch Documentation/devicetree/bindings/leds/common.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index f5b40df6b421..9e7b4aabe0bb 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -206,6 +206,12 @@ properties: Makes LED active low. To turn the LED ON, line needs to be set to low voltage instead of high. + inactive-high-impedance: + type: boolean + description: + Set LED to high-impedance mode to turn the LED OFF. LED might also + describe this mode as tristate. + # Required properties for flash LED child nodes: flash-max-microamp: description: