From nobody Mon Feb 9 12:43:28 2026 Received: from mx0b-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (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 A19A818DB34; Thu, 3 Apr 2025 02:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.135.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743648413; cv=none; b=YeCTpHPruqMYWMjB4pT8LZgGeKdMeJAcIqODbIPQYs5mqDyQYSg8+APvliCa+D7Xl+T+coy1qXYXiEfTEMm7fmapcuGj0rEZlXuL/Clg+uv+zkLoLS3TxDvgN5fAClMwKEgOc6UK77UTOKiI5Ot0z8qhKj3IBzE41pVYTHhigso= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743648413; c=relaxed/simple; bh=YOzriDgRrk2tPyMiBrQt6htYSSYL1hXU2UICBS9d/Tc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=E3cRg6oOHtNrGoG0rXsxDlLuwKJuKTMYdtjZk57Nl0ABzS2BILVHV4Zays7ro7caOTV6Xm9UnYDtlnMvJxsd+EGGqhSPTCVwLNR0MyB71okxCSc7KIeAjby+Yr6ve+HTEwZ8/TftIWt3nIenuedDr5gWkleA3L3EGVQO7hbfl4s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com; spf=pass smtp.mailfrom=analog.com; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b=lsRpcMe6; arc=none smtp.client-ip=148.163.135.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=analog.com header.i=@analog.com header.b="lsRpcMe6" Received: from pps.filterd (m0375855.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5332TVK3023392; Wed, 2 Apr 2025 22:46:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=DKIM; bh=O4KWb t85tjufigcGItFSDoHHeybK267nB9Ih0HP3wRE=; b=lsRpcMe6zfQ6AaRHw96Mm 3inVMCcuwHeBUbX/SeG+44YdQ+z83ev4IIXkDmowf19jkzralgrnzFoqGFJuEb/u 8DQ4yhCKCXSzgA+jochsVLrt3ePqaoRskznZKT0yKpLGYjzK78kIXTQ0XhRnbcke Wfmam5qwjKoqtdi6AF1Armzky5IUZ8H/m6C1217fx/HcgV3mA2zUvXgizKVS3UPB rpfTPyNQ3mNpe7Mjxt1JZy347tB6ehFr6pPjLvDG3/JojaILfmbr5yvkShKmbX9p v4I3iJ90+oAagE4zNmGZPIOeYeM8ka3STQy+ra1TGiHvFbVKguFGY24XZ6077Py1 Q== Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 45shkd022c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Apr 2025 22:46:42 -0400 (EDT) Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 5332kfLw060375 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Apr 2025 22:46:41 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 2 Apr 2025 22:46:40 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Wed, 2 Apr 2025 22:46:40 -0400 Received: from ATORRENO-L02.ad.analog.com ([10.117.223.13]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 5332kQpg031488; Wed, 2 Apr 2025 22:46:34 -0400 From: Alexis Czezar Torreno Date: Thu, 3 Apr 2025 10:43:10 +0800 Subject: [PATCH v3 1/2] regulator: dt-bindings: adi,adp5055-regulator: Add adp5055 support 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: <20250403-upstream-adp5055-v3-1-8eb170f4f94e@analog.com> References: <20250403-upstream-adp5055-v3-0-8eb170f4f94e@analog.com> In-Reply-To: <20250403-upstream-adp5055-v3-0-8eb170f4f94e@analog.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , Alexis Czezar Torreno X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1743648386; l=6606; i=alexisczezar.torreno@analog.com; s=20250213; h=from:subject:message-id; bh=YOzriDgRrk2tPyMiBrQt6htYSSYL1hXU2UICBS9d/Tc=; b=H1vbnjkJdQ/aXbyGdOkljjpZesexZnlCaxV0UsUweGvb+THnEvs16oRy8tlMzsE1ak/UbSmwH 46viNxyrRYHBqRHXISQTpmhvbIbIjvtikLzTOKYsJsxBFkgdp6rLjao X-Developer-Key: i=alexisczezar.torreno@analog.com; a=ed25519; pk=XpXmJnRjnsKdDil6YpOlj9+44S+XYXVFnxvkbmaZ+10= X-ADIRuleOP-NewSCL: Rule Triggered X-Authority-Analysis: v=2.4 cv=N8cpF39B c=1 sm=1 tr=0 ts=67edf692 cx=c_pps a=3WNzaoukacrqR9RwcOSAdA==:117 a=3WNzaoukacrqR9RwcOSAdA==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=gEfo2CItAAAA:8 a=gAnH3GRIAAAA:8 a=VwQbUJbxAAAA:8 a=LYgrlvm2vjqWaEuYVCwA:9 a=QEXdDO2ut3YA:10 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: O83FE1Usn28pmmTCX9tAsxWUnzzS5pHX X-Proofpoint-ORIG-GUID: O83FE1Usn28pmmTCX9tAsxWUnzzS5pHX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-03_01,2025-04-02_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 adultscore=0 impostorscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 phishscore=0 mlxscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504030012 Add documentation for devicetree bindings for ADP5055. The device consists of 3 buck regulators able to connect to high input voltages of up to 18V with no preregulators. Signed-off-by: Alexis Czezar Torreno Reviewed-by: Krzysztof Kozlowski --- .../bindings/regulator/adi,adp5055-regulator.yaml | 157 +++++++++++++++++= ++++ MAINTAINERS | 6 + 2 files changed, 163 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/adi,adp5055-regula= tor.yaml b/Documentation/devicetree/bindings/regulator/adi,adp5055-regulato= r.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a55d564d8d0783fe5d503d4c5e2= f6a38fc0702cd --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,adp5055-regulator.yaml @@ -0,0 +1,157 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,adp5055-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADP5055 Triple Buck Regulator + +maintainers: + - Alexis Czezar Torreno + +description: | + The ADP5055 combines three high performance buck regulator. The device e= nables + direct connection to high input voltages up to 18 V with no preregulator= s. + https://www.analog.com/media/en/technical-documentation/data-sheets/adp5= 055.pdf + +properties: + compatible: + enum: + - adi,adp5055 + + reg: + enum: + - 0x70 + - 0x71 + + adi,tset-us: + description: + Setting time used by the device. This is changed via soldering speci= fic + resistor values on the CFG2 pin. + enum: [2600, 20800] + default: 2600 + + adi,ocp-blanking: + description: + If present, overcurrent protection (OCP) blanking for all regulator = is on. + type: boolean + + adi,delay-power-good: + description: + Configures delay timer of the power good (PWRGD) pin. Delay is based= on + Tset which can be 2.6 ms or 20.8 ms. + type: boolean + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^buck[0-2]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + properties: + enable-gpios: + maxItems: 1 + description: + GPIO specifier to enable the GPIO control for each regulator. The + driver supports two modes of enable, hardware only (GPIOs) or so= ftware + only (Registers). Pure hardware enabling requires each regulator= to + contain this property. If at least one regulator does not have t= his, + the driver automatically switches to software only mode. + + adi,dvs-limit-upper-microvolt: + description: + Configure the allowable upper side limit of the voltage output o= f each + regulator in microvolt. Relative to the default Vref trimming va= lue. + Vref =3D 600 mV. Voltages are in 12 mV steps, value is autoadjus= ted. + Vout_high =3D Vref_trim + dvs-limit-upper. + minimum: 12000 + maximum: 192000 + default: 192000 + + adi,dvs-limit-lower-microvolt: + description: + Configure the allowable lower side limit of the voltage output o= f each + regulator in microvolt. Relative to the default Vref trimming va= lue. + Vref =3D 600 mV. Voltages are in 12 mV steps, value is autoadjus= ted. + Vout_low =3D Vref_trim + dvs-limit-lower. + minimum: -190500 + maximum: -10500 + default: -190500 + + adi,fast-transient: + description: + Configures the fast transient sensitivity for each regulator. + "none" - No fast transient. + "3G_1.5%" - 1.5% window with 3*350uA/V + "5G_1.5%" - 1.5% window with 5*350uA/V + "5G_2.5%" - 2.5% window with 5*350uA/V + enum: [none, 3G_1.5%, 5G_1.5%, 5G_2.5%] + default: 5G_2.5 + + adi,mask-power-good: + description: + If present, masks individual regulators PWRGD signal to the exte= rnal + PWRGD hardware pin. + type: boolean + + required: + - regulator-name + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + regulator@70 { + compatible =3D "adi,adp5055"; + reg =3D <0x70>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + adi,tset-us =3D <2600>; + adi,ocp-blanking; + adi,delay-power-good; + + buck0 { + regulator-name =3D "buck0"; + enable-gpios =3D <&gpio 17 GPIO_ACTIVE_HIGH>; + adi,dvs-limit-upper-microvolt =3D <192000>; + adi,dvs-limit-lower-microvolt =3D <(-190500)>; + adi,fast-transient =3D "5G_2.5%"; + adi,mask-power-good; + }; + + buck1 { + regulator-name =3D "buck1"; + enable-gpios =3D <&gpio 18 GPIO_ACTIVE_HIGH>; + adi,dvs-limit-upper-microvolt =3D <192000>; + adi,dvs-limit-lower-microvolt =3D <(-190500)>; + adi,fast-transient =3D "5G_2.5%"; + adi,mask-power-good; + }; + + buck2 { + regulator-name =3D "buck2"; + enable-gpios =3D <&gpio 19 GPIO_ACTIVE_HIGH>; + adi,dvs-limit-upper-microvolt =3D <192000>; + adi,dvs-limit-lower-microvolt =3D <(-190500)>; + adi,fast-transient =3D "5G_2.5%"; + adi,mask-power-good; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 896a307fa06545e2861abe46ea7029f9b4d3628e..b2ec43f84d84765c319d8403fb5= 650afa273db83 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1525,6 +1525,12 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/iio/filter/adi,admv8818.yaml F: drivers/iio/filter/admv8818.c =20 +ANALOG DEVICES INC ADP5055 DRIVER +M: Alexis Czezar Torreno +S: Supported +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/regulator/adi,adp5055-regulator.yaml + ANALOG DEVICES INC ADP5061 DRIVER M: Michael Hennerich L: linux-pm@vger.kernel.org --=20 2.34.1