From patchwork Thu Jan 25 20:36:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13531692 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 C1C2DC48260 for ; Thu, 25 Jan 2024 20:37:48 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kHb3VAsd2PaTSs74l7Ls6uvbwWDXqH4DKaG1Kbo5k1Q=; b=Y10jT6SRWPOw6z Y/T5DdDt38gyR2WusyvH5ivVLbNnzrGDQE4cFjJOavZEbYctLy4xBtv5YvuttiEEdgXISFGU7Vurh nqi/ZnbX1eEGqZWcf445/udVfsJZmrgb1P9aG9PooQX2Cxf6C0rT5buI4qxRWTNwLH9UOeq2Q40cU 6axEtUFSzJvwRo+4mVW5YmUubOdz2zfl2g/XfQTh11Np73F/zS/qOHs569MfVPqXQB1TSKWLkalYx xP7gYYsdywMSZR3UzB/XtWi39ohi+bRpxL4K800SUddVkeS8kHUN/r667KAezjGjTUGa4xAKa0NCj cHmYoLt5Uh4n5ase1WtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT6Te-00000001oHE-225o; Thu, 25 Jan 2024 20:37:34 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT6TU-00000001oBy-17sc for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 20:37:25 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3392291b21bso6067358f8f.1 for ; Thu, 25 Jan 2024 12:37:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706215042; x=1706819842; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DdqsoEdNiWCYgQOHXWofWt/j3+GwbBKp3oAusyj+aKk=; b=SGuc1TGMJ5kPKME48qjKdf7WJB/Wj8bGT0Eyw3uC9V0gU0PuzNzp+wDOWAlXcDVgI/ tXs5uan6axmSqCAf52ec1LLGbYzaB3Ojtw3DNzYb8estpygDcPzZWdRZMm04zOaujTcj uH4BI+VGmnTT+1ssiE2/SgWxLoq8L7kn33fdx7bVp2aX8/MBNnR3co+E8jOfoxAiGnYE XVf4q+QySsA7tu82fmAG8AxZv0GOC/ggplSGRAuOvjbfzJ7kpgZOXTzkpv7Mj4tp4Fww M4V+SzHM8lfGaHgtLMnHi2kDz9Lc/p8I/AhlcAuUJhqYi7NR+V72RzaShYp4s8fpa8Or UWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706215042; x=1706819842; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DdqsoEdNiWCYgQOHXWofWt/j3+GwbBKp3oAusyj+aKk=; b=Md2+rrneNh6NJVnL6xH0dUty8uRERwRbYwVVqHCYFjosmnoPn4NRs9WoVXc+hO9Gkl c5tPfFDk/VXYkDhrmDn8fA42qgkDRW5YyzN+AsH0+ziIoaD+Z0vNStpRN8XQmAl+9TlD CjAZiSg6xNWcgRW50S95yj+iOfUOMwmkk8hvQIaRQjYNRU5jkVplQsuqL3vVvsGYidUj M1RMC/UEx9kT7KDJyNurnONfuYPSjjTU4EHGsJTzEvCeo0UJ8xVf4ddqLrCAYNQLx9N6 M0wlZRbTx5zPSvyFVJ0XB7ca7GjIVFPssrCePsZ0a+JzS1976oI5D592hAdY2dPnm13b H1Kg== X-Gm-Message-State: AOJu0Yy8HRbufL7amE2j71O2TGDQ0cMolkz2eQ1Wo6Ae1d4Ph7BwMZUs chDx9CtlbWSh2MIRfaT7D+d1EYc68Nmhrk94I6B4ZTiyjNwpbv4o X-Google-Smtp-Source: AGHT+IHhFgLNNSTjFD514m1PHP93teE8cgPHHoYOOmXZIYY8+ymSxt9skwZFAjunslVwGF3tLzVadA== X-Received: by 2002:a05:600c:540c:b0:40e:ce97:444c with SMTP id he12-20020a05600c540c00b0040ece97444cmr183159wmb.58.1706215041381; Thu, 25 Jan 2024 12:37:21 -0800 (PST) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id j32-20020a05600c1c2000b0040e813f1f31sm3817700wms.25.2024.01.25.12.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 12:37:21 -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 Cc: Rob Herring Subject: [net-next PATCH v10 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Thu, 25 Jan 2024 21:36:58 +0100 Message-ID: <20240125203702.4552-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240125203702.4552-1-ansuelsmth@gmail.com> References: <20240125203702.4552-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_123724_355707_69D936C1 X-CRM114-Status: GOOD ( 12.46 ) 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 Reviewed-by: Andrew Lunn Acked-by: Lee Jones Reviewed-by: Rob Herring --- Changes v10: - Add Review and Ack tags 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 5633e0aa6bdf..8a3c2398b10c 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: