From patchwork Tue Jan 2 18:38:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13509265 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 E264EC46CD2 for ; Tue, 2 Jan 2024 18:39:28 +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=nQ9DLoi/9198G6blbTh8ys2eQbkykfvzTJD5GM8T3lw=; b=F6qIJP65FdVCXi ed/u78HOlU8ecDYOWBvMct879YGQaOEYLAD+Q8SV4c1Ywa5YE1POlotZdiH0pAMiJPr3tYftRGWh3 V83ucCltv22dkXjd5hcuGXUKh5EZ0fzTGWfqK6dVMzddKVFFJmMo87Kew517fm07+0T34CRAXrUUU dqGgRRa8AIZ2UcRrgQXaYaLDdDudY8Yg/PUwbxIf81MzpaXNtnwcHDyhqfu62xbCOfRVPPgaVg2ke 648Ej+33fTg5Er2ZOWB0xozuiZw9+ZHOcQ36/cJUDRE48DssSvXHRQ7N+1aNSLpmKrTFLJc69MNnU 0RZ9OmoGYFTktBaycXSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKjfM-008ja2-2x; Tue, 02 Jan 2024 18:39:05 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKjfI-008jWM-2g for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 18:39:03 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40d3c4bfe45so102785945e9.1 for ; Tue, 02 Jan 2024 10:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704220734; x=1704825534; 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=GcUZ4vm1rSPsRUwCzo7AkcTm5VLBxV3HcN4vc65kHms=; b=dFlasuPDyU52LLZwJOJ4Hn2ya1jbTytCscJuZjvGgHgSDfvzR2giKEssehK6hjwkBA nei3RO1XqBcH6/d2UWz8oVgVw4t8qEpnC2kCIjcEtx2r9AkyuHMJGfFXkb7dJGpGEoH/ QaD/Pgnr47K/0zwoWjyEaDgfIRW1loNI5mFniNyeZnR5WEKG6xFz/n1+ZVC6QGPX3Ao0 ytVFgcFRg+qoyofsqlIoYkKKOO8f7RAzULZ2s6YNKlskaynbChgZrBQ1V8s83+9mG7XY TqhYRAygFv83tVke3H25Cxf7N+h6qa0NqRuuYm3ZyRYzFbzzUPPAcu9CoUClRR6GDdag 4Mwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704220734; x=1704825534; 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=GcUZ4vm1rSPsRUwCzo7AkcTm5VLBxV3HcN4vc65kHms=; b=k134ttEV+5+1Puh6Sw1VPijCpzPQqzKndvIkslvM3AquZn9r6aq1t1C0PYul+C0mBK ORHogE+ImA/7r5FVJhHPiU3aLzKkZmB/BveuK9R+EE36eN+uDSA9dZGKwr9E/5yWbfkl yjjcpfkGtZlgExCKYffvuH/5ekqxyvOn0vzSrMZSd28i8zub9K5zJ2n2QQhi3tU1Rpv8 8nOKwf2SOrCmYPP0DrIBp5FHbrU95dZwikWaCkcNrTgZ/P5Bb3mhzB3uHEoFPLGX1Blh BSLcf699yQU3ayrqjXnmHSHBB3+QoSgHjgJFoVnFxeDL4nLbgZzdRaNllQUG1ZGuVxfm yHIA== X-Gm-Message-State: AOJu0YyVy2/OJjDiCMoko10O35abrhAnlmnUCqiTW7Vfs9NRMteDe/R6 9Afppnsuj1F5ieud0YfuUiQ= X-Google-Smtp-Source: AGHT+IG2pSckG1PHUYNy3YxM7pXKgDcud+HdSBT6t5jofi46SzOyR64N936joZAMYxi4RPr3iwsGdw== X-Received: by 2002:a05:600c:5207:b0:40d:88ad:5aad with SMTP id fb7-20020a05600c520700b0040d88ad5aadmr842755wmb.362.1704220734080; Tue, 02 Jan 2024 10:38:54 -0800 (PST) Received: from localhost.localdomain (host-87-10-250-100.retail.telecomitalia.it. [87.10.250.100]) by smtp.googlemail.com with ESMTPSA id p15-20020a05600c468f00b0040d4e1393dcsm37963071wmo.20.2024.01.02.10.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 10:38:53 -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 v6 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Tue, 2 Jan 2024 19:38:31 +0100 Message-ID: <20240102183835.5332-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240102183835.5332-1-ansuelsmth@gmail.com> References: <20240102183835.5332-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240102_103900_868525_864EC10B X-CRM114-Status: GOOD ( 13.10 ) 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: