From patchwork Wed Oct 30 16:53:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13856901 X-Patchwork-Delegate: kuba@kernel.org Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 826FB22802B; Wed, 30 Oct 2024 16:54:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730307252; cv=none; b=Xqnogl+uxWtuFuLo69w61hUqQ3evB2QHhmtQ+pt9E5cdwqQQUhySKxpcfKB3hzWw8uFsHJam72t6rRy5kka9F74lR+nLJochE7MMqEuM1xMW89FCP/bPdZy6CwluAelWTvT/SxFg5+GdRyPputMllxJQKsS7nZ/vGbLmSmqf/lA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730307252; c=relaxed/simple; bh=PmcM6Eq4mUZeQnTjPYQUDIKawcn+VUJWOtS6yiaro5w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Vp+HIkGKv47T4LSWQgbN+PHTjmcRyKJPHIj3Giz4xD8x6TpiZtqhqieeA7Iz0J8o4JDwToRjY0iy/55baBk+59QsMkjgWPn2pR24o8A9+awWMAJLdX1opTpISaV9zkL3HNjldMaVQMs70esH6kbpsC2o5BtaVd01ji1fiH7cEUM= 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=KwPTMdmK; arc=none smtp.client-ip=217.70.183.198 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="KwPTMdmK" Received: by mail.gandi.net (Postfix) with ESMTPSA id CAF1BC0013; Wed, 30 Oct 2024 16:54:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1730307248; 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=eH94oL4C+uAtHpUg+7hvQnupTMOvyV/l+52BXsH7jwA=; b=KwPTMdmKSgaQCp5EMrAGyqtd7uzCpA3dkipCPWLf7ADvWya0q0zuaHbdf+82d1WL6csOnY /wvcyn3ve/ZEIs2Uiakm6+WhovXRVwMGzY10RlE90Fyg9kXaLdcoXPP6cmSX0gKWt7W8k7 wkjNTAZlfXpsjFQQzzwnyPmuWhKdldOe4UIeCJrzuBZa3cMh1vFC1pGUtZ+60Xxr79lToG zlFvrirkWfb1nO/ya05vevuSg17SByewArYdyXbY/2FrmQ8RrHKusT4Q/wB0AVy5p5GTqM uqs72vwmf6Frnqncaa5BHsxUW41UhSv3eozK4wlajMthRMwzee0ux27EFRMRQA== From: Kory Maincent Date: Wed, 30 Oct 2024 17:53:14 +0100 Subject: [PATCH RFC net-next v2 12/18] 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: <20241030-feature_poe_port_prio-v2-12-9559622ee47a@bootlin.com> References: <20241030-feature_poe_port_prio-v2-0-9559622ee47a@bootlin.com> In-Reply-To: <20241030-feature_poe_port_prio-v2-0-9559622ee47a@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 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 , Kory Maincent X-Mailer: b4 0.15-dev-8cb71 X-GND-Sasl: kory.maincent@bootlin.com X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC 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 v2: - new patch. --- Documentation/devicetree/bindings/regulator/regulator.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index 1ef380d1515e..52a410b51769 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -34,6 +34,9 @@ properties: regulator-input-current-limit-microamp: description: maximum input current regulator allows + regulator-power-budget: + description: power budget of the regulator in mW + regulator-always-on: description: boolean, regulator should never be disabled type: boolean