From patchwork Fri Jan 3 21:13:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13925940 X-Patchwork-Delegate: kuba@kernel.org Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 846201FE454; Fri, 3 Jan 2025 21:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735938867; cv=none; b=BESX2En+vuK5z01V1OwSqL6jefnqrwUW616pG5XV2mfUYqPTtr/DzxgIWmOuIq0lMenQAsk3jAaTNBzSs7Ay0p/7LjIfYpmkUgCx3xtYGDc7w56A6hRYKXG72ibb18le+yH2LZNVnK+Bu58Er4+q+G9TBfCTlG77m082ah/S7L8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735938867; c=relaxed/simple; bh=eRTDKa7YJxbJg6W8hg75dz6zce+b/nvsVSqGfZ41wb4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oiisReAGoDpp1LZqvzYW8Ep8ygtQM120PL+IOS9kusoMgI1GGOJ/Jl12wVlS0KZ4JdzNY0UXyavaZY/fwQGKbdxHtn6L1MDysi4fWY3j5zXEFNW5Qvc8TRjXynlH8SkbEtmlOJVls2tDpPWiYsi/TPI2tNMWnFEntKsOC2OtgOk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=btfhaA3X; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="btfhaA3X" Received: by mail.gandi.net (Postfix) with ESMTPSA id 5D829FF803; Fri, 3 Jan 2025 21:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1735938862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CpuDqXWaCxqA2x1yVVS8hTH+qPZUUdlXXGqJTCtoiKs=; b=btfhaA3XRRURe8asNXt13pOh35U6gvFCUWhzUskGK5JcFpjk9vdZicBJI7AbD+iBbZOUg5 nyzbGDukI37SxOm1W5r3lvwT/bV6vUkNk6AstLkWIXVp5W2wU2v40wgQAzKArWlVv8Dfwd 7JHjz07H1jNN4O+N8y8u5Ck5uwEK0ViCbjj0VzSDY0vLWrBBdxN4lpChccgI3Ifsu+bAQS /KjGRWg0bR5aRqonzTete+euJ1dcu7sR9yYFCBkeVbKyuK4KDdgcVmxVObGuXoEARnkway tazXKoLGqkgXWO8+l5ACwEXN6w/Lm/fIQZq3RtvEpmH+97fTnQREQJDeMeeIhg== From: Kory Maincent Date: Fri, 03 Jan 2025 22:13:07 +0100 Subject: [PATCH net-next v4 18/27] regulator: dt-bindings: Add regulator-power-budget property Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250103-feature_poe_port_prio-v4-18-dc91a3c0c187@bootlin.com> References: <20250103-feature_poe_port_prio-v4-0-dc91a3c0c187@bootlin.com> In-Reply-To: <20250103-feature_poe_port_prio-v4-0-dc91a3c0c187@bootlin.com> To: Andrew Lunn , Oleksij Rempel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Donald Hunter , Rob Herring , Andrew Lunn , Simon Horman , Heiner Kallweit , Russell King , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, Kyle Swenson , Dent Project , kernel@pengutronix.de, Maxime Chevallier , devicetree@vger.kernel.org, Kory Maincent X-Mailer: b4 0.15-dev-8cb71 X-GND-Sasl: kory.maincent@bootlin.com X-Patchwork-Delegate: kuba@kernel.org From: Kory Maincent (Dent Project) Introduce a new property to describe the power budget of the regulator. This property will allow power management support for regulator consumers like PSE controllers, enabling them to make decisions based on the available power capacity. Signed-off-by: Kory Maincent --- Changes in v3: - Add type. - Add unit in the name. Changes in v2: - new patch. --- Documentation/devicetree/bindings/regulator/regulator.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index 1ef380d1515e..c5a6b24ebe7b 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -34,6 +34,11 @@ properties: regulator-input-current-limit-microamp: description: maximum input current regulator allows + regulator-power-budget-miniwatt: + description: power budget of the regulator + $ref: /schemas/types.yaml#/definitions/uint32 + + regulator-always-on: description: boolean, regulator should never be disabled type: boolean