From nobody Fri Dec 19 17:18:15 2025 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 5D8D0331A48 for ; Thu, 6 Nov 2025 14:11:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762438319; cv=none; b=JXl0tmMGwHUklbQxGoGZgcJv3i+Ru4WcTfQyDfLfwXHwmm0gJ70Jsg4aRJhFnh5sWLT/9eiYCTjhAHzk81DdbBCfUFnETIhbyySQepZ/D+vlIWyAXDpwxNuxfBjjJ98xqrxU+qnLgARZPTojGvoAcsnGMWpljK/c9pJqDLsuS4I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762438319; c=relaxed/simple; bh=XpqlKZjHzTmLvSm+nckycnojsWHa2lg6Y8cnK210Lcs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jqPe5GY5PWK+atbfVZ7XxAIpb+99nON4GvZlV8jjeXScY7PkBbwEb4VqL60QyR+I7ghUPeFJwPi5QP8ryFKLCgwghGOy2iQjVQECvdGKDKOXVjS+p+Hu3XLJZ7KQSsjs/zJTaqLJZK4t9l+pNUCK36RjMvh/ZVDBpKOVZbreO64= 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=kXON5HZH; arc=none smtp.client-ip=185.246.85.4 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="kXON5HZH" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id A51944E4156D; Thu, 6 Nov 2025 14:11:55 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7749B6068C; Thu, 6 Nov 2025 14:11:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6AF4911850DB9; Thu, 6 Nov 2025 15:11:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1762438314; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=EqLXomScIwCFlw0WQOWiUhZrnkDjdcW4X0TXbsmBNvk=; b=kXON5HZHPf88h52xYRb3H1sdlItjIRnVAM7+0l2TId6S/9F9CsikxG+kbScyc7HCUja3T5 3p5d4HanXI3quqJYNHuzO6Uaah0LtT/6ex2v545D9hKIIT8siEW5Wb/q2rruxVjcMrHgzw 2KXzI3ydlFaHmzFBWMPpGvEcIwXbKqo6kn3pgDSvw5puZEoyVOmPdQ4rkghiYfecFuluGG zcVTnVt65fU6a9m1B5a40nSMBKbToKZn5FOyEfp8EEKpYeiA3u5E8kbcHoMFeofNWOPxdk zLLZOBPu2ZQIiDhSd3d+Q4eISbuhH3EoP12rLNExYqbXRcXBxSgOvckE5CEl6A== From: Romain Gantois Date: Thu, 06 Nov 2025 15:11:46 +0100 Subject: [PATCH v3 1/5] regulator: dt-bindings: Add Linear Technology LTM8054 regulator Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251106-ltm8054-driver-v3-1-fd1feae0f65a@bootlin.com> References: <20251106-ltm8054-driver-v3-0-fd1feae0f65a@bootlin.com> In-Reply-To: <20251106-ltm8054-driver-v3-0-fd1feae0f65a@bootlin.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko Cc: Hans de Goede , Thomas Petazzoni , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Romain Gantois X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 The Linear Technology LTM8054 is a Buck-Boost voltage regulator with an input range of 5V to 36V and an output range of 1.2V to 36V. The LTM8054's output voltage level is typically set using a voltage divider between the Vout and FB pins, the FB pin being constantly regulated to 1.2V. The output current limit of the LTM8054 may be statically set by placing a sense resistor on a dedicated pin. This limit can then be lowered by controlling the voltage level on the CTL pin. Describe the LTM8054 voltage regulator. Signed-off-by: Romain Gantois Reviewed-by: Conor Dooley --- .../devicetree/bindings/regulator/adi,ltm8054.yaml | 71 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 76 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/adi,ltm8054.yaml b= /Documentation/devicetree/bindings/regulator/adi,ltm8054.yaml new file mode 100644 index 000000000000..a982daecb4cf --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,ltm8054.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,ltm8054.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices LTM8054 buck-boost regulator + +maintainers: + - Romain Gantois + +description: + This regulator operates over an input voltage range of 5V to 36V, and can + output from 1.2V to 36V. The output voltage level is typically set with a + voltage divider between the Vout pin and the FB pin which is internally + regulated to 1.2V. + + The output current of the LTM8054 can be limited by tying the Iout pin t= o a + current sense resistor. This limit can be further lowered by applying a + voltage below 1.2V to the CTL pin. + +allOf: + - $ref: /schemas/regulator/regulator.yaml# + +properties: + compatible: + const: adi,ltm8054 + + enable-gpios: + description: GPIO connected to the RUN pin. + maxItems: 1 + + regulator-fb-voltage-divider-ohms: + description: Feedback voltage divider resistor values, in Ohms. + items: + - description: Top resistor value. + - description: Bottom resistor value. + + adi,iout-rsense-micro-ohms: + description: + Value of the output current sense resistor, in micro Ohms. + + io-channels: + items: + - description: DAC controlling the voltage level of the CTL pin. + + io-channel-names: + items: + - const: ctl + +required: + - compatible + - regulator-fb-voltage-divider-ohms + +additionalProperties: false + +examples: + - | + #include + regulator { + compatible =3D "adi,ltm8054"; + + enable-gpios =3D <&gpio0 1 GPIO_ACTIVE_HIGH>; + + regulator-fb-voltage-divider-ohms =3D <1000000 68000>; + + adi,iout-rsense-micro-ohms =3D <20000>; + + io-channels =3D <&dac 1>; + io-channel-names =3D "ctl"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 8fd3be0162dc..96552be2fcdd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14785,6 +14785,11 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt F: drivers/i2c/muxes/i2c-mux-ltc4306.c =20 +LTM8054 REGULATOR DRIVER +M: Romain Gantois +S: Maintained +F: Documentation/devicetree/bindings/regulator/adi,ltm8054.yaml + LTP (Linux Test Project) M: Andrea Cervesato M: Cyril Hrubis --=20 2.51.2