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: 192296 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp242039dyb; Thu, 25 Jan 2024 12:40:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8dHnjUifgRS3VaIYWQqvABeb6xubSgeB2lYc3DE0LbH7DDMMCMsw6P2oOe2y0mqE49KtD X-Received: by 2002:a17:902:e805:b0:1d7:2403:ed20 with SMTP id u5-20020a170902e80500b001d72403ed20mr361987plg.16.1706215221914; Thu, 25 Jan 2024 12:40:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706215221; cv=pass; d=google.com; s=arc-20160816; b=xNXEz7wHazp6v/f+a/lLzZ71bOVl3w55zwOygGDLw9FQKc9O/ER2bh5TNxqQ3bZl6C 3mS3D0U8DQW7QdIOY+CS/7gSqMP+0fGVqn6mhcMIMO80b6gntCUcSPjHKECupx6OJK+3 JlRS6Y3lpFYIMHko8O366W0Fa6s/nvA2Wc9SPjmiupHlmiT5c+J/ULjSV1Rad3GR8cC+ 69dAbYW4AuFKdpQnvPJpWhP19BNShJ4cH0UggXjwjcvMpg4XnTfybZ5m5jfiPT1URZI0 zAePvxg/sdZC1ioJX01Knh+pih4NjrQ7xqYgL1pEgNEFiw62e6y7g2xs0uY7nLPOVxRV ot1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DdqsoEdNiWCYgQOHXWofWt/j3+GwbBKp3oAusyj+aKk=; fh=j0L8y0dZVS02WChc7Vt2DURt1HbUN50bnOhhpNDzNJY=; b=R8ySJGSLywFQ/g0rJ8HfwtO05T4Z0GJ3gbFRIT2zTWy5nzKhSW6FyUcch2ebRtZSMf S8bl09mR+NCbHivVfBcgqRaX9Juu+lBeLv1FjRdcrnVAmWD+LYsxCxQrO0M0S5lh1Dor +okD9rwPydhkn4aSUfWCzIxJgxJQhUoayXlfkmCDzZwu3puxNbH9g6BJWrDKOIWJVZBj SnYNChqFRXNS7f+O0yUOEbMMualkUmCT54Q3w8qULplMN9ivAxdVTZt2ccr7Uc12A6Ad Va/iq05IUsIo2i0hjS8npeNiM2yiZK5apulvhP9Bfx/xNg9lmWv7AdOFv2/F31rH96se khRA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AKNgm6fS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-39252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39252-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x21-20020a17090a8a9500b0029053d49842si1885752pjn.15.2024.01.25.12.40.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 12:40:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AKNgm6fS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-39252-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39252-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3800FB25444 for ; Thu, 25 Jan 2024 20:38:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC51813AA58; Thu, 25 Jan 2024 20:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AKNgm6fS" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 704D11386C4; Thu, 25 Jan 2024 20:37:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706215045; cv=none; b=qqmmIRkIPdUOavm/VyBZDSc4FVMYJYQyCWvc3xHMYH4NMtNcHkr+ev/3+X5g3vscuFe4bL8R+2DUkwklpPNozxxj2kESjnIqHCmYlaFfR85DvFpPJ5HtxgrfFUUYHygBTcjB6l0Q+a3LBG5VBORBSG2W2/JnVgUigd9wvzkhg34= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706215045; c=relaxed/simple; bh=iUsyVrZ4GJ5Klbm0Khe7vDzT24Z5RgHckASsUAvK0vk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ysz1oxl+EzanIU6EiKTtbk/L4yaXBcdy0r4qtvudyKsABfSfiva8wJKJctWzn6y2Qg1Ka9XzSMcCIIWGcVvIRAZSE6NPbnViCY5QgDPKtgWSyKu4z3xN9XttXyUXcX7IfvP6kk6BE7OCMLgefjf0odr+ruSNETrPZeO+0aU7Pl0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AKNgm6fS; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-40ececef212so12614875e9.1; Thu, 25 Jan 2024 12:37:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706215042; x=1706819842; darn=vger.kernel.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=AKNgm6fS0o39AfNP2ZHEvr7N6XjlZia4gOVL8foEDbIu1ETimzygBYJTqANqGPrQYG PYtPFMjvxPUmwvqveoRzsc/2K5EqUM5ZENfpU43k2qjaoIf8bwdg19yk/rGb7qv+V+7w 8g50fYRo2XTQGigbJYbwaRX+Tavrs8bpLGONjMFnZZcF13pGIRYV+v/wsQpQw5Ys8ily 7tM3w6rEz5loyGS1Z0aW/xA9hNGK99IOt5zkrvTqnctm1RHhtDqQsBFlWU/WL6AMm1D4 MLfBDNoen7F/V5NzNiDLrmtROsDL4BE7lBRcepMeYwN8oEp37sZ1BFaWrp7At6ZVspaP 2Y4g== 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=W/rZomPnlUClF6eCxb9/Ti5wXBXcs3K1UBiDcYScL6q4cy/WQVzmndm5m9Q+1AdnoU AnQG5EogOli9ZynspNEcGdCZer+737o+s3hPptc/cwx5lHp7eklTj2Gj95TCILDYm3WJ b32hO/8DqbKyWmRm4nztngRu0AtAUBv3LEfAMTGhIwX3pmpbUJ4ODRfN1FxTlMdozgEM rFLBq3mjzMjLQ4jZjd63/B0nHVQf65wJzbzmGO6IBJABt5qEcyyXrpcbU0aOcLqpFDWG fkVW2a7Xe0wi7z34XndDA/QXg7JXRoOeP/3ijItFQ5JHKNwz9b6BjlA0VsZfWSf6ORgM xXnA== X-Gm-Message-State: AOJu0YwtyHmntcjXDeWh68MawN4m6rBUWogiu0TVWa98IDKdv+sJAD7t K2Vr7+zCNZAGxoeygXheJJKrEr1bo2Ip/zeBZ/vFilp/t9SKVKEt 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789096332408698747 X-GMAIL-MSGID: 1789096332408698747 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: