From nobody Fri Dec 19 18:15:47 2025 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 B76892DF137 for ; Fri, 5 Dec 2025 04:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764910642; cv=none; b=d49jq8gjb6IKECbg98dBdAqysCjknzJZ2Y8qGbOtO6aguvv5ssxB7F3TMIqZOXLq1f2IMGrutIN1LZXmCImihEck4KHrXESxz3fy6NZYX3n55eu76EBoQ43oXDUTZ/ZFih/TRvk9QloLIZXOePadFsWHfR4K1J+zGNWVHtrNLDA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764910642; c=relaxed/simple; bh=odZcA19jVlGi8+rCxcCCR7FTAeYpE+Thsq2YMiv98H8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=AgNprmrHTl5BPKxHmnlLse/8q2fEFpWhvs5ceo0C0TmpZ+wbb7VbUvMVdq3bIa0eH71e/f/5tdUXLHzKp98jRDnkFchr1tViWPO0LbOLgOQIJry0ssNKcMddfMkM0BTZvND28nx7X9V98wfEI6ALzmbrCfIbz//OZIDor7J7m7U= 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=i0e01YZE; arc=none smtp.client-ip=209.85.210.179 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="i0e01YZE" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-7b9c17dd591so1496217b3a.3 for ; Thu, 04 Dec 2025 20:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764910640; x=1765515440; 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=Z0AujvcTL2WSwfyNlvlHZYB4UqH+/Clys4ABj2ZOK34=; b=i0e01YZERu2+2mBU8XrQZKMmw6JfhaevLHmE+lHnPpUbp9LTvb3Xuf9r6Y3uNVMKnh CJJ9tjwPMIWHnrMoQeVv6ee1xnRtMUP+Hx/EKL0gavqBTtNV+jod5D2xDIji1/VsOHwo PX/X04vm93f9ET6flh1hE/6OzR2ZhSR0G1PLThxjNT2rYxBoB/EE+GNHSGsGPflp6YOt m/TB8xowM69O9z4rU+u574z+jFILPZHd3zAyzLUQB1JXRXn+4Po7ocsR9RRLqLK4f5bD GBZjs96YSsBke6xXarlyvJydl4GsmTeWZF+mSHlzai+umJM766jnHJl2BDF0ybCy1mYX xaHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764910640; x=1765515440; 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=Z0AujvcTL2WSwfyNlvlHZYB4UqH+/Clys4ABj2ZOK34=; b=ABraWvP80yuK6n/V9OOVudvL2p1/HWTw3vhRqTWrabRro0UrSmmf5uQbTNsbRGtnwB trhUoUcfX6vVQpqgAxP51nIDKs8rh6mCafVJdN/+XClYC03jQOK3lh8BvzfXRQTMyHhx 361MBbXowHv+yi/rdkyu033zmfOrroDaBL/N40+cu8MLTqrloYWyAgZSRY105BDcjZym CPymsa+jjqrk+yhfZI0QIC9hlMys5jAS2JvoI7a9fXKP4J+ljz9VvhjiMzfcB8bUVjBD 8Dnhgd2bSywP6FZU9pZpuZcAX0GHgOQiEkZ5ZKRBCrUKBKLLBQgnSk+3jGbzbV/EG0GZ etew== X-Forwarded-Encrypted: i=1; AJvYcCWygRpw1hzpWJLkKm9SV1x2FuuuqqjdvSL5L+X6gcZRNq/Q4SdCwH7AN64K+HeFufnFfjvBXiOIMoPJRgE=@vger.kernel.org X-Gm-Message-State: AOJu0YzNuvF48ig2JGsQAQeGjB89/jJTY5DIk2/cgfIYdqv8tMl6h2sR DWf5Rksjoo/fOufJ3iTv/hVygGSSibUx2HtOg4wjLBwRrhbz2M58eBjQ X-Gm-Gg: ASbGncuLT4ghuz8hV+H+bhG/e3ULRu61Ued2ALl9R1y/FcCuxA928YZ44DkKnKeVu0h eUH1k21a4PXnJhd+GI4WnqJSbgY9Qx5m946U5vWuatA/Dz3DePQleI/ZDrMYSWY+mOoBE1KrNwZ qImtGlBrcXV+Y2Rhi9igQgF2MnfY0OcQ44WRkiEIzf0zYJB/Qkcv/ww1l+IP/uqiTJ1P6eRf9iD KbaNjm2bvqzUG9F2HPedxKuPdM29jPUF3T8XOjP/N4z924urCIaLvaQYiS5fD+B6tf5OVhmsuuG Hto3vMaAZXFsWsckE+0IcpvjMUgUn8eewqH46DoZBrePfe+UbKidGlqimlDVGxUfglBWtfmSFmO V6mogn6y8xC4JSwT1W6CU6Lryl8LHx09he0Q93tR+eDvq3t0ak380gGW2jmZ7xrTQJ0bx2kT6R9 NhLM+lgj15KLQwMnHFOr6AsrPAM4uje0Y= X-Google-Smtp-Source: AGHT+IGdLKz8Amu7cvt4sLrq2PSpJ5wJiAdU3loKdyrQYadfUCjERxbKkcgTKc3E2o4VHjtshuk2Eg== X-Received: by 2002:a05:6a21:99a5:b0:35f:aa4c:1b6f with SMTP id adf61e73a8af0-3640375cab8mr7054445637.3.1764910639813; Thu, 04 Dec 2025 20:57:19 -0800 (PST) Received: from HYB-iPCgmhaB8Cy.ad.analog.com ([122.35.77.229]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-bf6a32deff0sm3315936a12.34.2025.12.04.20.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 20:57:19 -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 v7 1/2] regulator: dt-bindings: Add MAX77675 regulator Date: Fri, 5 Dec 2025 13:56:47 +0900 Message-Id: <20251205045648.3725-2-joan.na@analog.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251205045648.3725-1-joan.na@analog.com> References: <20251205045648.3725-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 | 184 ++++++++++++++++++ 1 file changed, 184 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..c138e61380a4 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/adi,max77675.yaml @@ -0,0 +1,184 @@ +# 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 + + 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 'input-debounce' 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 + + adi,simo-ldo-always-on: + type: boolean + description: Set internal LDO to always supply 1.8V + + 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' + + 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