From nobody Tue Dec 2 02:18:22 2025 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 CFE5E337BAC for ; Thu, 20 Nov 2025 12:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763643342; cv=none; b=vDvhFQIGCXIWA2uFyIrYchV7NBpu1R3YuAXMiqQt1khx9Z/36hmgZrwH48oZprfMtOmSY0Nh81c0dmyuiSApYw1wZH9p/3a2YdYWidlRJp3CfZVQ3elgTWpgcc52SzSDOuSjhZy8N101qN6kugrSd0vpcvByP8+CfluZUjhnoms= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763643342; c=relaxed/simple; bh=7Qop9pQOba4WavvdpVLkW1HzG/gkZvlgTI8mQYbwu8s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=X4CKt4d0PkTNepgB3Wr1e0Wg1CBC4brnnbTQg1gyvncWziq0Nh5wf8FPPou1pd6DHYMXWUGzM+l470AD/JYm7KlwIPmqX7hR6s5+0L2QzIBTbOOMdqsPPswudJUWkq66isdEE1rim4ctDa+JjQCWsGElx8s17Y2nnlQ0p2wc/Ws= 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=Tr0PIsWT; arc=none smtp.client-ip=209.85.215.175 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Tr0PIsWT" Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-ba599137cf8so378024a12.0 for ; Thu, 20 Nov 2025 04:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763643340; x=1764248140; 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=RT4QXy2Xbpg+0ghciHdo8WcFPq/mhKF8gSFMuIRCiIg=; b=Tr0PIsWTqYidsSwWk9AuKbtimWlzYoqS3TGZr2agdJznHMKVgq6jwKdY+AKjDJ/YKJ btU8ncG5jz8SvWt6omAnsiWaWnhYg0yGom9Q8ZuGQdcs6BFAZpXsRNj+N6VSgx1kF1Jn VHLOQtvLDoKqyPTjAR78M8LqBPfhVtF1ZqCLye5Xa+fIlWQjUyOYNy6YN0kzMtlHOVmk nqH6eHwBicYygGn9T0u7IHuHZWmhrfbotdLTIYt2aun2kTmwtZqtzwa+sL+lfHOEKzla 4uvYONCh2b5WUsTb998A1+OeMDSEefXySzcwsuAW29qOcm6LJlr1aQ7fXEe/+F7ZaDb+ M78A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763643340; x=1764248140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=RT4QXy2Xbpg+0ghciHdo8WcFPq/mhKF8gSFMuIRCiIg=; b=miUePF2XqCfJRJYp2+UJwUa4aRpbXpJde5HDCVjaA2lQXdPGtEHdmw0FtDOxTeAMXq eP9bXQGi82DR6U6Og0ZH11k5qp4gxrT4XR66vicj+ibxN2CR7gVTUTAMdx9rCBSUhubR 5tW34dUnIAkfh9IFssHeH2n/ZX4Zw3p09orh3SHofWRY34lxR779UVOYACyxdTguXzQh aXJqtfPB7xFRf0/SN2VfeYjkklgFK/MUJKVBxfOBegAsyuXXJ/ZpcU1WM6DqB1gOFai6 MygYUYowYw4Kdgh4dEZMhWeu/zldZPU367jHdABYHDGeK/Odxf++Rum9uxePdi2NZCD9 4ShA== X-Forwarded-Encrypted: i=1; AJvYcCWAYgzKBNXBKHTxvCAtVwSnhFXrCwt0nC8T+LlXnmPyXra5Kp3tn/i8AMpEq66gMX3DXPoCgi9zHziR6iQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxT4DE58fErB4uNrrKXDsC7gHNrKr4tZd530GvifazzGWjS/ajr kPo4g2nXEZtv0pPocjzr7jM5/Wib3YjH3ET/jTSv79oIaaPP5wpnMj8j X-Gm-Gg: ASbGncsjD9XLN4sMGw3ntrUG41g98lqhmX+ckqLu7HLKGg2ZbiWoTaaQE2xbgXFjA7q 6ytIejD8KYT5EoHj7FT2O3ZppNZH6KZ6risKvv9tdJPfzsg8MAFglQrUILsYVgSsE1S6rljDS0u PzxqwZFaTdEleNZwPMJE37XBJ0uaGuRp7aGEnt9lteJ0xbfWubgBkpR39fPAaLXaLo4RCYX+fH5 r9CsIyhK80kZ1oVM7Exw7ljawZ/APi9ScIt04c7pswtgnuiDTsj0zqxHz89Riv78SikYzpeiV3+ m62AhkAs7P+icF3tsexXd9qoxU3XkoRhtkrSId8GX45c4SzTgwJfeqIDyAnB94jxmaALnizQKjJ eYd+xjkzKyoMqlzD0bO4/geIueTet7M4ajmoPk0myqBkShOk970Rd61smUuC3cbPFzRyF0dEQC1 yuJcTjlMG75c3GjLMbT2hFTkKnwqBsuw== X-Google-Smtp-Source: AGHT+IEB2LOc/vPb8PA7yWNBC8M3aZXFReRgFhNjQzoIAbwNm9dOdzdw2FZf6jVb2r+s5SUHlS8PYg== X-Received: by 2002:a17:90b:5210:b0:343:6a63:85d5 with SMTP id 98e67ed59e1d1-3472988d12cmr2798067a91.16.1763643340150; Thu, 20 Nov 2025 04:55:40 -0800 (PST) Received: from HYB-iPCgmhaB8Cy.ad.analog.com ([59.9.235.253]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34726696b52sm2586746a91.1.2025.11.20.04.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 04:55:39 -0800 (PST) From: Joan-Na-adi X-Google-Original-From: Joan-Na-adi To: Liam Girdwood Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Joan Na Subject: [PATCH v6 1/2] regulator: dt-bindings: Add MAX77675 regulator Date: Thu, 20 Nov 2025 21:54:48 +0900 Message-Id: <20251120125449.26530-2-joan.na@analog.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251120125449.26530-1-joan.na@analog.com> References: <20251120125449.26530-1-joan.na@analog.com> 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 From: Joan Na Add device tree binding YAML schema for the Maxim MAX77675 PMIC regulator. Signed-off-by: Joan Na Reviewed-by: Rob Herring (Arm) --- .../bindings/regulator/adi,max77675.yaml | 188 ++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/adi,max7767= 5.yaml diff --git a/Documentation/devicetree/bindings/regulator/adi,max77675.yaml = b/Documentation/devicetree/bindings/regulator/adi,max77675.yaml new file mode 100644 index 000000000000..54cbbd59ff5b --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77675.yaml @@ -0,0 +1,188 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/adi,max77675.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77675 PMIC Regulator + +maintainers: + - Joan Na + +description: + The MAX77675 is a Power Management IC providing four switching buck + regulators (SBB0=E2=80=93SBB3) accessible via I2C. It supports configura= tion + of output voltages and enable controls for each regulator. + +allOf: + - $ref: /schemas/input/input.yaml + - $ref: /schemas/pinctrl/pincfg-node.yaml + +properties: + compatible: + const: adi,max77675 + + reg: + maxItems: 1 + + reset-time-sec: + description: Manual reset time in seconds + enum: [4, 8, 12, 16] + default: 4 + + bias-disable: + type: boolean + description: Disable internal pull-up for EN pin + default: false + + input-debounce: + description: Debounce time for the enable pin, in microseconds + items: + - enum: [100, 30000] + default: 100 + + adi,en-mode: + description: | + Enable mode configuration. + The debounce time set by 'adi,debounce-time-us' applies to + both push-button and slide-switch modes. + "push-button" - A long press triggers power-on or power-down + "slide-switch" - Low : powers on, High : powers down + "logic" - Low : powers on, High : powers down (no debounce ti= me) + $ref: /schemas/types.yaml#/definitions/string + enum: [push-button, slide-switch, logic] + default: slide-switch + + adi,voltage-change-latency-us: + description: + Specifies the delay (in microseconds) between an output voltage chan= ge + request and the start of the SBB voltage ramp. + enum: [10, 100] + default: 100 + + adi,drv-sbb-strength: + description: | + SIMO Buck-Boost Drive Strength Trim. + Controls the drive strength of the SIMO regulator's power MOSFETs. + This setting affects switching speed, impacting power efficiency and= EMI. + "max" =E2=80=93 Maximum drive strength (~0.6 ns transition time) + "high" =E2=80=93 High drive strength (~1.2 ns transition time) + "low" =E2=80=93 Low drive strength (~1.8 ns transition time) + "min" =E2=80=93 Minimum drive strength (~8 ns transition time) + $ref: /schemas/types.yaml#/definitions/string + enum: [max, high, low, min] + default: max + + adi,dvs-slew-rate-mv-per-us: + description: + Dynamic rising slew rate for output voltage transitions, in mV/=CE= =BCs. + This setting is only used when 'adi,fixed-slew-rate' is not present. + enum: [5, 10] + default: 5 + + adi,bias-low-power-request: + type: boolean + description: Request low-power bias mode + default: false + + adi,simo-ldo-always-on: + type: boolean + description: Set internal LDO to always supply 1.8V + default: false + + regulators: + type: object + description: Regulator child nodes + patternProperties: + "^sbb[0-3]$": + type: object + $ref: regulator.yaml# + properties: + adi,fps-slot: + description: | + FPS (Flexible Power Sequencer) slot selection. + The Flexible Power Sequencer allows resources to power up un= der + hardware or software control. Additionally, each resource can + power up independently or among a group of other regulators = with + adjustable power-up and power-down slots. + "slot0" - Assign to FPS Slot 0 + "slot1" - Assign to FPS Slot 1 + "slot2" - Assign to FPS Slot 2 + "slot3" - Assign to FPS Slot 3 + "default" - Use the default FPS slot value stored in register + $ref: /schemas/types.yaml#/definitions/string + enum: [slot0, slot1, slot2, slot3, default] + default: default + + adi,fixed-slew-rate: + type: boolean + description: + When this property is present, the device uses a constant 2 = mV/=CE=BCs + slew rate and ignores any dynamic slew rate configuration. + When absent, the device uses the dynamic slew rate specified + by 'adi,dvs-slew-rate-mv-per-us' + default: true + + unevaluatedProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + max77675: pmic@44 { + compatible =3D "adi,max77675"; + reg =3D <0x44>; + + reset-time-sec =3D <4>; + input-debounce =3D <100>; + + adi,en-mode =3D "slide-switch"; + adi,voltage-change-latency-us =3D <100>; + adi,drv-sbb-strength =3D "max"; + adi,dvs-slew-rate-mv-per-us =3D <5>; + + regulators { + sbb0: sbb0 { + regulator-name =3D "sbb0"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb1: sbb1 { + regulator-name =3D "sbb1"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb2: sbb2 { + regulator-name =3D "sbb2"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + + sbb3: sbb3 { + regulator-name =3D "sbb3"; + regulator-min-microvolt =3D <500000>; + regulator-max-microvolt =3D <5500000>; + adi,fps-slot =3D "default"; + adi,fixed-slew-rate; + }; + }; + }; + }; + -- 2.34.1