From patchwork Fri Jan 5 14:27:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13512221 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 8CD94C3DA6E for ; Fri, 5 Jan 2024 14:28:09 +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=VVyDfrvGzI5a6A IeWKnqXjSPpVtC6Kw8rRuCO6gnzyK/T+wm/YNl6abwInnVuDCv0d6DE6YJlLQm+C/LMoC5L6B/BhX 6TTtQfHnX3B2rZZcXR/EAtP+J2a5UgasPaMSek83uATwxJlAprZVXnxGwcN+n4hRCCnLDBcY7/o5u PFuZY904v+2XzCY+9lTN1MecJ8dVReP2LUWRPDKXgzY1uMj+IayJRUGdlNFIXaFyQ7kq1Z0op0+rF +ZdJWw+OxECaeudkdTs6XbLCRZp5hyM486oOcGBO2Ea3ReBm0172VL10CV3e12OvThlvESqAHCq77 hP6NR846Cw9d0NCQGNRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLlAl-00H39a-1E; Fri, 05 Jan 2024 14:27:43 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLlAh-00H36O-3A for linux-arm-kernel@lists.infradead.org; Fri, 05 Jan 2024 14:27:41 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40d5aefcc2fso15858835e9.0 for ; Fri, 05 Jan 2024 06:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704464856; x=1705069656; 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=bG9tFalIrI9Wp981ZD9cQHZyqII1ohJn90ilyBMtBVuk1KZxE2715fiaV55XJcuma/ KEdiIPAuCUCNV/h38+Q4Ok+Il6ff9M6yVhlkEBuBRdOh58qfcHoI3MoStEy5yECv6omp OgroL/UGB6qw1i6/cl2DLMXao9wxqN0uKLvn67B1Q+da7MV3iZAjoQ6LI8YhsbgDXQfw 7yTQnRvD/EsIYvizeaZX8fUMHLlpGzy8kHX5S2NM5W9JHgJ/wkfH39IgucFRezqvjx5b +F1ae26TsXAq1+sAA0rSiRDvOoj93sp3MRpBpyKTI/krgcgWO9Lrxhp4QUtAWS8Hf8r/ mX1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704464856; x=1705069656; 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=U5hjEimMN1ofFVDxFfXVEVuW/8/uDbSjjLKq66QsGMihL6OvKouxxDYnStAGzVSUKw dnwL/rOhdDex0u2548qxVw6St6Z3Te+EU2fB/B+7OeFLvVcIbNCwuy0pJsWkuf+vLi40 qOgqOkyi2dGtXHgcbhJmPuB4N+8nAIbQ2bkbQ+TGIlaWzMn+qf/zypgM+yaXfL0TQlTH w+BDY+OE0JgLSwWAtNsv4vS03z32kHwR1QRo76JNgq3ghgwGbVQ2hA6CcqgJ1MIUaSTI Kjc9H8hfnzSSRi6vQWsAFmAwZpc4V/GC2M7IduHCzfScyRZpF+h6wKYvc0H1eZg0vAx6 5pwQ== X-Gm-Message-State: AOJu0YxRD8UkNEz2XT2LVwFTxPdEXa9/ER2Vm8LgCKSNDvW10eF7BuRQ yI6k4So+cMv73akum+0lXow= X-Google-Smtp-Source: AGHT+IFfcXHjnx5V7BZ5cTpo27hQwIRRW+1mUNvK0E8CWe3CijUDyyx0xylOWwoq5V6gW0DLzKs6AQ== X-Received: by 2002:a05:600c:2154:b0:40d:6eb4:4b9b with SMTP id v20-20020a05600c215400b0040d6eb44b9bmr1190874wml.144.1704464855959; Fri, 05 Jan 2024 06:27:35 -0800 (PST) Received: from localhost.localdomain (host-80-116-159-187.retail.telecomitalia.it. [80.116.159.187]) by smtp.googlemail.com with ESMTPSA id j10-20020a05600c190a00b0040d87100733sm1721901wmq.39.2024.01.05.06.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 06:27:35 -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 v9 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Fri, 5 Jan 2024 15:27:14 +0100 Message-ID: <20240105142719.11042-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240105142719.11042-1-ansuelsmth@gmail.com> References: <20240105142719.11042-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240105_062740_018493_5EC948B4 X-CRM114-Status: GOOD ( 12.34 ) 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 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: