From patchwork Wed Jan 3 14:12:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 13510653 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 80E29C47074 for ; Wed, 3 Jan 2024 23:05:24 +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=DT7e+BucYUlcg+ yn/riZwFk+mZ0gi68kiUoPBDNx4PjIWb6Mls0J6rIGXZXgUM2Ct1rg4liru9DzUSTLkKFu2JpXySo 6BWY/mI892ERp1PTWgR3ju3cnMWwwfpEO0+W+QeRVPj0hBcln5jpBmHobgXbd65t/Gxoksi7rW5kc khOYZohWHYVEch7nPe455R3Rjub/m0H3QTgnQKNm1hNwBEWiiEtpjG2vvBVA8GE+nrWvVF5OeE8lf T71PwKFUVUn40kn9YSpCPldbD1LMyQbIoxJWfvxqBJjx3vt2MpcyUqvGImkoiTnNIv95+PWcypDdi /1qPKiW77gds9jYKGmTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLAIJ-00CMQ2-0N; Wed, 03 Jan 2024 23:05:03 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLAIE-00CMLq-0a for linux-arm-kernel@lists.infradead.org; Wed, 03 Jan 2024 23:05:00 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40d858c56cbso40289865e9.2 for ; Wed, 03 Jan 2024 15:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704323096; x=1704927896; 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=S1OacCPC1nen6r0So9Ve952UMxZcUAp5oi/zRm0BuQGdvS4ExWNlkivlpUsCRFJlIM zqS7ILduI4lZeXolB8EawMQbk2pHd5z3aIdWNvACNp6KOqtXEjOReUldvSHdMv3yfdlO UfvZNYhq1UI4KGx2hlRogBwVru/cggvgNrFVODBNsBixExsna7MZNI+e2xrPx+OLtARh uQycwJk7h4Nd7ovLv8Uadf5RfxRKP3+cSZSxdXRK10w+/SrWoTaRbzGvUQpn9iO2BnKe uGqZKkzAfRdCjQLj35bPmK+UPK04U7wVMbfA0orrdoZ2hXGSuZivuz7aONLzfSkyWL2i B6MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704323096; x=1704927896; 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=RBFPe9Xi9szYCnQS/5lrNAryI5sepa+F2biWR0f0gGjNCQ1JueetQQFSJVPf5o3wxv BYiYmYpIwwgXpPVGhDtu+g4ATvT73F9LRB6aC7OB21bXJOdwUN/n/sBAYiKYXrZjnrf6 u8T0yNc8+sBznbIdW/FAR0rJmHcwW9sjAF37qNhL2z++6aL/Ykuphj1f3jfuD3jXH3fw L5k5ta5s4BkKAWs+f7brvHMv9AKBOnUBOAL218XXtf0bZmVcYRXwpBx9HT/VebuNaUOI ulBRI0TZPsbSqczSzJpk49vl+RUIVIuzk3ssUbbq+BhENE4Gd2y0Xooigyk95HeQWWFr baEw== X-Gm-Message-State: AOJu0YxPwgVcHRz/5/KnJHHNOgdS3xr88YURhFxijWymCilZVikD3Shl TrsCuM9sCKH5khqYSJ+NEx8= X-Google-Smtp-Source: AGHT+IEAVNEAcleOlB2W5/bAdYXwKfnSvU9P7XbrS0xxugMIP+FNehY8AITsXS7fXv3uDf4OWrww7A== X-Received: by 2002:a05:600c:12c8:b0:40c:3dd7:98dc with SMTP id v8-20020a05600c12c800b0040c3dd798dcmr11664398wmd.75.1704323095960; Wed, 03 Jan 2024 15:04:55 -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 w13-20020a05600c474d00b0040c46719966sm3740969wmo.25.2024.01.03.15.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 15:04:55 -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 v7 2/5] dt-bindings: net: phy: Document LED inactive high impedance mode Date: Wed, 3 Jan 2024 15:12:35 +0100 Message-ID: <20240103141251.23446-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240103141251.23446-1-ansuelsmth@gmail.com> References: <20240103141251.23446-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240103_150458_218298_FDCC4CF7 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 --- 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: