From patchwork Thu Jan 4 11:01:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13511011 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 DD2BFC4707C for ; Thu, 4 Jan 2024 11:02:07 +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=xlCtkMD4Z/ZyGi 0amoLHdCP7HKH/ygyd7O6QGUCENrJPerca8c8SDb31t/uvZsyU/Bcy3JLxQfMTtPZt0ywU40O6LTd Td4TXiERrRqo687I0hTlBHVI7eD1b993uzTR2Yz5WvRxAKA7hwDgPWIwq0k8z70jV03VYdwOYgE4k 3ceBohvfLFin6D4J+FmOQvEemBS2hdu+THSbAMNP2iLkdMCNJLckJhnUexE4jjEfdqS42aBvOJUsj WOWryUZUcpEUpQ09fSXpPLCNloXtEihaFnLw2RWIq5BazyoB2d5fa4CD+JYsa8xEMwRzFAOauPXMf PrX2ySSGCOoxL3E7OVBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLLTi-00DcU3-1E; Thu, 04 Jan 2024 11:01:34 +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 1rLLTf-00DcRn-1L for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2024 11:01:32 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40d8909a6feso3616895e9.2 for ; Thu, 04 Jan 2024 03:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704366089; x=1704970889; 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=DDOWNSjwUX7lrLX3OAVrYA/HiqWTHTJmXQFy+C2axkv6zy09o5TeL6+gPr6/16cNjO fpDvpjyy4VFL8+JNgdftWN6miV5ijVhvFPhFa2NPfMdThAuV52M1sdMIt/dmAZcBj4KN XYK1zJpYdu8k6MRMgeL8QSydLdbaG47hopM5pCmChXUiXz6fxZQD3os5P7mnSd6TJ7/q naPyu1oVI3jVzTFZRiSAXu9oeHYouwFT4fej4tFwOZtm4/+vSPwtaGpzy9radIjR1Iw1 TEi82jhn5ualCNRjpkc8GLI5lvmH9OuKVUMe0XXMmDd8TBfQEsMSmMOavBIo5tVZxnvD hVdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704366089; x=1704970889; 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=STMtygDv0k0aPYAhxUmqGnpPvTgoUPrfjW8dLln+OEPKmPtEjAkRTYXkTyvFx2Tspn GTpDG1FNqT+wi95+So+k3oj6jAss7AdV89tnVQs7gYVPQFv9tOj2uDq1QK2TWWLp23Uk 0H4dW9eM3eTnLBRqm+mwU97qqYjltCCsEfOO8kEHLzmOhbCMnZO51snschKmA4emI6d5 O/qs9fEZuch7bxSr9GRkAa2Vz6//0W29zhiFpX5rqV96PfRx5IJUVynvzpT9JbWxW+qH by7nKgHOKBHPz+k61/mlIpRZLRyF83AX89F43GZkXt+Pb3u0qUETNg2KHEpxyh/zAxde ZFLw== X-Gm-Message-State: AOJu0YyisBPhsBl80KKpkgXLKwcJgbj2D/j7GpbqHei6BzJFcW5rY8L3 nwpSrMxxMyHEyg+NCnmvIRc= X-Google-Smtp-Source: AGHT+IFQAgwEgUrx4kY0PoYMtT7xEKwCbcr8FnfP625KPtcqR4xZ3Kl3APGhMSaC+DedNeVDazA0yg== X-Received: by 2002:a05:600c:78a:b0:40d:87ea:f7fb with SMTP id z10-20020a05600c078a00b0040d87eaf7fbmr173585wmo.93.1704366089164; Thu, 04 Jan 2024 03:01:29 -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 b14-20020adff90e000000b003373fe3d345sm9550242wrr.65.2024.01.04.03.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 03:01:28 -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 v8 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Thu, 4 Jan 2024 12:01:09 +0100 Message-ID: <20240104110114.2020-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240104110114.2020-1-ansuelsmth@gmail.com> References: <20240104110114.2020-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240104_030131_453930_B637997E X-CRM114-Status: GOOD ( 12.60 ) 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: